Previous Thread
Next Thread
Print Thread
Joined: Feb 2021
Posts: 6
M
Mrtr32 Offline OP
Member
OP Offline
Member
M
Joined: Feb 2021
Posts: 6
Hi!

I'm trying to start nes pacman game from de command line:

C:\MAME\mame.exe nes -cart C:\mame\roms\nes\pacman.zip

I'm getting Fatal error


Atari 2600 work without problem!

C:\MAME\mame.exe a2600 -cart C:\mame\roms\a2600\pacman.zip

What I'm doing wrong??

I'm using MAME0.229

Thank you!

Last edited by Mrtr32; 03/04/21 05:20 PM.
Joined: Jan 2006
Posts: 3,688
Very Senior Member
Offline
Very Senior Member
Joined: Jan 2006
Posts: 3,688
It depends on the content of the zip files.
If they come from MAME softlists, then they shall be loaded with
Code
-cart pacman
not through their fullpath.

If they contain files from other game collections (which typically means, the actual game content, plus a few bytes of file header to specify the kind of hardware which was present inside the carts), then loading through the fullpath is correct but the content is not in the right format.

Given the path you used (your ROMs folder), I'd guess the former solution shall work...

Joined: Feb 2021
Posts: 6
M
Mrtr32 Offline OP
Member
OP Offline
Member
M
Joined: Feb 2021
Posts: 6
With this command:

c:\mame\mame.exe a7800 -cart pacman

I'm getting this result:

Error opening translation file English
7800.u7 NOT FOUND (tried in a7800)
Fatal error: Required files are missing, the machine cannot be run.

The game work properly in the GUI mame interface

Why cmd is not working?

Last edited by Mrtr32; 03/04/21 06:32 PM.
Joined: Mar 2001
Posts: 16,697
Likes: 8
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,697
Likes: 8
etabeta misread your post, you are clearly trying to run loose files, not software list items. mame a7800 -cart c:\roms\7800\pacman.zip should work.

If not, unzip it and try loading the actual rom file directly.

Last edited by R. Belmont; 03/04/21 06:56 PM.
Joined: Feb 2021
Posts: 6
M
Mrtr32 Offline OP
Member
OP Offline
Member
M
Joined: Feb 2021
Posts: 6
mame a7800 -cart c:\roms\7800\pacman.zip

Error opening translation file English
7800.u7 NOT FOUND (tried in a7800)
Fatal error: Required files are missing, the machine cannot be run.

the rom 7800.u7 is in the 7800.zip located in rom folder.

With the GUI Mame interface the game start without problem.

I want to start Atari 7800 cartridges from command line like Atari 2600

I'm using (merged) roms and (merged) software list.

Last edited by Mrtr32; 03/04/21 07:57 PM.
Joined: Apr 2006
Posts: 727
Senior Member
Offline
Senior Member
Joined: Apr 2006
Posts: 727
No idea what is causing you to lose your Atari 7800 bios image where the base machine doesn't even load.

Loosely loaded Atari 7800 cartridge images require a "header" in the file (header+data=image) - A78 Header Info
A small number of early consoles when emulation was first developed created a header (or some sort of in program detection) to handle images. In the Atari 7800's case for MAME, the softlist contains images ONLY (no headers) and each entry details exactly how to handle mapping and identification and can only be loaded though the internal specifications. Loading externally through the "picker" style of loading using command-line and specifying a location will only work with those files that have a header that information can be detected from (.a78). In short, as soon as you include a media type (-cart) and a literal location (c:\roms....) to load an image not controlled by rompath, it denotes the image as "picker" style loading and, as I mentioned before, for the Atari 7800 this requires a file with a header to be properly loaded and detected.

Assuming you are using the confirmed softlist roms:
= rompath=c:\roms

> mame a7800 pacman - WORKS
> mame a7800 -cart pacman - WORKS
> mame a7800 -cart c:\roms\7800\pacman.zip (assuming it is from the data only softlist image, without header) - DOESN'T WORK

Hopefully this helps.




Joined: Feb 2021
Posts: 6
M
Mrtr32 Offline OP
Member
OP Offline
Member
M
Joined: Feb 2021
Posts: 6
Ok I understand correctly!

mame a7800 -cart pacman - Work!!

In my frontend I simply enter the path info of MAME

All is working as expected!

Thank you very much for your help!


Link Copied to Clipboard
Who's Online Now
2 members (Golden Child, Dam0), 19 guests, and 3 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,909
Posts117,033
Members4,986
Most Online890
Jan 17th, 2020
Forum Host
These forums are hosted by www.retrogamesformac.com
Forum hosted by www.retrogamesformac.com