yoshisuga / MAME4iOS

Multiple Arcade Machine Emulator for iOS, iPadOS, tvOS, macOS (Catalyst)
Other
635 stars 103 forks source link

Merged ROMs are not recognized correctly. #367

Open babi-jkr opened 2 years ago

babi-jkr commented 2 years ago

I'm using a merged ROM set, but only the main title appears on the UI. (For example, "SHADOWLAND" will appear, but "YOKAIDOCHUKI" will not.) I have turned off the "Hide Clone" option, but the clone does not appear in the list. Is there a way to solve this? Or should I wait for the update to resolve it?

PC : MacBookPro (M1Max) OS : macOS Monterey App : MAME4mac-2022.0-latest.app

BR.

ToddLa commented 2 years ago

Can you run zipinfo on the merged romset, and post the output....

  1. Run Terminal.app
  2. Type zipinfo path to romset.zip
    • or type zipinfo and drag romset file on Terminal.app
ToddLa commented 2 years ago

Did you import the romset or manually copy into roms ??

babi-jkr commented 2 years ago

Here is the execution result.

Archive: shadowld.zip Zip file size: 976456 bytes, number of entries: 31 -rw---- 0.0 fat 4096 b- defX 96-Dec-24 23:32 cus64-64a1.mcu -rw---- 0.0 fat 65536 b- defX 96-Dec-24 23:32 yd1_p0.bin -rw---- 0.0 fat 65536 b- defX 96-Dec-24 23:32 yd1_p1.bin -rw---- 0.0 fat 65536 b- defX 96-Dec-24 23:32 yd1_p2.bin -rw---- 0.0 fat 65536 b- defX 96-Dec-24 23:32 yd1_p3.bin -rw---- 0.0 fat 65536 b- defX 96-Dec-24 23:32 yd1_p5.bin -rw---- 0.0 fat 65536 b- defX 96-Dec-24 23:32 yd1_s0.bin -rw---- 0.0 fat 65536 b- defX 96-Dec-24 23:32 yd1_s1.bin -rw---- 0.0 fat 65536 b- defX 96-Dec-24 23:32 yd3_obj5.bin -rw---- 0.0 fat 65536 b- defX 96-Dec-24 23:32 yd3_p6.bin -rw---- 0.0 fat 65536 b- defX 96-Dec-24 23:32 yd3_p7.bin -rw---- 0.0 fat 131072 b- defX 96-Dec-24 23:32 yd_chr-0.bin -rw---- 0.0 fat 131072 b- defX 96-Dec-24 23:32 yd_chr-1.bin -rw---- 0.0 fat 131072 b- defX 96-Dec-24 23:32 yd_chr-2.bin -rw---- 0.0 fat 131072 b- defX 96-Dec-24 23:32 yd_chr-3.bin -rw---- 0.0 fat 131072 b- defX 96-Dec-24 23:32 yd_chr-4.bin -rw---- 0.0 fat 131072 b- defX 96-Dec-24 23:32 yd_chr-5.bin -rw---- 0.0 fat 131072 b- defX 96-Dec-24 23:32 yd_chr-6.bin -rw---- 0.0 fat 131072 b- defX 96-Dec-24 23:32 yd_chr-7.bin -rw---- 0.0 fat 131072 b- defX 96-Dec-24 23:32 yd_chr-8.bin -rw---- 0.0 fat 131072 b- defX 96-Dec-24 23:32 yd_obj-0.bin -rw---- 0.0 fat 131072 b- defX 96-Dec-24 23:32 yd_obj-1.bin -rw---- 0.0 fat 131072 b- defX 96-Dec-24 23:32 yd_obj-2.bin -rw---- 0.0 fat 131072 b- defX 96-Dec-24 23:32 yd_obj-3.bin -rw---- 0.0 fat 131072 b- defX 96-Dec-24 23:32 yd_obj-4.bin -rw---- 0.0 fat 131072 b- defX 96-Dec-24 23:32 yd_voi-0.bin -rw---- 0.0 fat 131072 b- defX 96-Dec-24 23:32 yd_voi-1.bin -rw---- 0.0 fat 131072 b- defX 96-Dec-24 23:32 yd_voi-2.bin -rw---- 0.0 fat 65536 b- defX 96-Dec-24 23:32 youkaidk1/yd1_p6.bin -rw---- 0.0 fat 65536 b- defX 96-Dec-24 23:32 youkaidk1/yd2_p7.bin -rw---- 0.0 fat 65536 b- defX 96-Dec-24 23:32 youkaidk2/yd2_p7b.bin 31 files, 3084288 bytes uncompressed, 973294 bytes compressed: 68.4%

I manually copied the rom set to the following folder.

/Users/~~/Library/Containers/com.example.mame4ios/Data/Documents/roms/

Apart from that, I tried another one. I copied shadowld.zip, renamed it to youkaidk1.zip and put it back in the roms folder. And when I started MAME, "YOKAIDOCHUKI" appeared in the list, and the Japanese version of the game worked correctly. Does this mean that MAME doesn't recognize the merged zip subfolder name? The fact that the Japanese version worked correctly means that the rom files in the renamed zip subfolder are recognized. However, in the case of only the original zip, even if there is a subfolder of the Japanese version rom set name in it, it will be ignored and it may be said that there is no Japanese version rom set.

I'm sorry if my amateur thoughts and poor english don't convey it well. BR

ToddLa commented 2 years ago

You MUST import romset to get merged detection.

Copy romset to the root (not roms) OR use Import....

If you manually copy files you are your own

babi-jkr commented 2 years ago

I understand. When I use Import, the subfolder containing the difference ROM is separated as a zip archive and stored in the roms folder. That's right? And I put the ROM set in another location and tried to import it, but when the number of files in the roms folder reached about 5,000 or more, MAME stopped importing any more.

So I imported it with a small number of files and moved the zip file generated in the roms folder to another location each time. After importing all the rom sets, I returned all the generated zip files to the roms folder and successfully made MAME recognize all the titles. It wasn't what I expected at first, but I'm happy with the result. Thank you for your advice.