Previous Thread
Next Thread
Print Thread
Joined: May 1999
Posts: 586
Likes: 1
Carbon Offline OP
Senior Member
OP Offline
Senior Member
Joined: May 1999
Posts: 586
Likes: 1
I'm trying to load an Apple 2gs disk (.woz or .2mg). I'm using the -flop3 as they were 3.5" disks, but I always get the "Fatal error: Device 5.25" single density floppy drive load failed: Incompatible image format or corrupted data" error message. Why does MAME display Device 5.25" here?

I also tried with -flop1 through -flop4, with always the same result. The Apple // driver works fine.

Do I need to add a disk device on the command line? I'm on macOS 12.3.1 with the latest MAME (0.242).

Last edited by Carbon; 04/13/22 07:56 PM.
Joined: Mar 2001
Posts: 16,910
Likes: 56
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,910
Likes: 56
What is your actual full command line?

Joined: May 1999
Posts: 586
Likes: 1
Carbon Offline OP
Senior Member
OP Offline
Senior Member
Joined: May 1999
Posts: 586
Likes: 1
Found the problem: if I specify the complete path like this:
Code
./MAME apple2gs -flop3 /Applications/Emulation/MAME/Disks/Apple2gs/arkanoid2.woz
it doesn't work (I have MAME inside an Emulation folder inside my Applications folder; therein is a Disks folder with a folder for different systems, e.g. apple2gs for the Apple 2gs). But if I copy the file into the MAME folder, the following command line works:
Code
./MAME apple2gs -flop3 arkanoid2.woz
But it'd be nice not having to copy the image to the MAME folder.

Last edited by Carbon; 04/13/22 09:40 PM.
Joined: Feb 2004
Posts: 2,366
Likes: 81
Very Senior Member
Offline
Very Senior Member
Joined: Feb 2004
Posts: 2,366
Likes: 81
Then you have a permissions error or something.

Joined: May 1999
Posts: 586
Likes: 1
Carbon Offline OP
Senior Member
OP Offline
Senior Member
Joined: May 1999
Posts: 586
Likes: 1
Just verified: the current user has read/write access on all the files and folders, administrators only read access. After changing those to read/write, too, I'm still getting the same error when trying to access the images from the deeper nested folders.

Joined: Feb 2004
Posts: 2,366
Likes: 81
Very Senior Member
Offline
Very Senior Member
Joined: Feb 2004
Posts: 2,366
Likes: 81
And I just confirmed that MAME does mount floppies from arbitrary paths outside the current directory. So unless it’s a macOS-specific bug, which I kinda doubt as it’s pretty much identical code to Linux and ArBee would most likely have noticed by now, it’s something environmental on your system.

Joined: Mar 2001
Posts: 16,910
Likes: 56
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 16,910
Likes: 56
Arbitrary paths works for me on my Mac too. I did suspect briefly that could be a problem since both AJR and OG have been fiddling in those areas.

Joined: May 1999
Posts: 586
Likes: 1
Carbon Offline OP
Senior Member
OP Offline
Senior Member
Joined: May 1999
Posts: 586
Likes: 1
Found out what was going on. In my first try to run a game with the Apple 2gs driver, I used the flop1 paramter (which expects an 5.25" disl) and also used an -inipath parameter. This changed the floppydisk1 line in the ini file, but never cleared it, even when I subsequently used the -flop3 parameter, so the first disk it encounters were effectively in the wrong format. when I omitted the -inipath, it worked. Here is an excerpt from the ini file:

Code
#
# IMAGE DEVICES
#
floppydisk1               "/Applications/Emulation/MAME/Disks/Apple2gs/Paintworks.zip/Arkanoid2.woz"
floppydisk2               
floppydisk3               "/Applications/Emulation/MAME/Disks/Apple2gs/Paintworks.zip/Paintworks.2mg"
floppydisk4               

As soon as I cleared the floppydisk1 parameter, everything worked as expected, even with the -inipath parameter present.

Thanks for your help.


Moderated by  R. Belmont 

Link Copied to Clipboard
Who's Online Now
0 members (), 14 guests, and 1 robot.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,085
Posts119,077
Members5,014
Most Online890
Jan 17th, 2020
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com