Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Just curious how ROMs are zipped  (Read 2237 times)

0 Members and 1 Guest are viewing this topic.

MPTech

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 437
  • Last login:January 05, 2025, 03:58:54 pm
  • UltimateArcade completed!
Just curious how ROMs are zipped
« on: January 31, 2008, 05:00:16 pm »
When I look in my ROM folder, I have 3217 zipped files (I removed the CHDs), but in MAME it says I have over 6,000.
How does that work and is there a way to change the name in the display list (I'm running MAMEWah).
MPTech
   Better living thru technology!   ;-)

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4544
  • Last login:August 30, 2023, 05:10:22 pm
    • Arcade Ambience Project
Re: Just curious how ROMs are zipped
« Reply #1 on: January 31, 2008, 05:32:53 pm »
You probably have 'merged' sets, which means that parent and clone ROMs are all in the same zip file.  I'm sure you can setup MAMEWah to ignore clones.

stan2323

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 262
  • Last login:January 13, 2023, 06:05:19 pm
  • Major Retired USS Enterprise Commanding
    • My home page
Re: Just curious how ROMs are zipped
« Reply #2 on: January 31, 2008, 09:15:38 pm »
Is it possible to unzip ROM and use them like that or should they stay zipped to be used.  Would they run faster being unzipped?
Careful what you wish for you may get it!!
There are 10 kind of people in the world those that understand binary and those that do not!!

Fozzy The Bear

  • Handbags at dawn in here!!!
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1831
  • Last login:September 18, 2011, 11:29:59 am
  • It's Been One Of Those Days... Don't Ask!
Re: Just curious how ROMs are zipped
« Reply #3 on: January 31, 2008, 09:35:46 pm »
Is it possible to unzip ROM and use them like that or should they stay zipped to be used.  Would they run faster being unzipped?

No.... Mame requires the roms to be zipped in order to work. Other emulators mostly use zipped files as well.  They unzip them and read the code into the emulators working space... They won't run that code any faster zipped or unzipped.

Best Regards,
Julian (Fozzy The Bear)
Most bottles and jars contain at least twenty-five percent recycled Pacman.
And research indicates that Space Invaders are strongly attracted to people who have recently eaten meat pies.

MPTech

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 437
  • Last login:January 05, 2025, 03:58:54 pm
  • UltimateArcade completed!
Re: Just curious how ROMs are zipped
« Reply #4 on: January 31, 2008, 09:43:11 pm »
Thanks!  That explains the size.

Now, can I change the names? some of them have a name 50+ letters with all kinds of code on the end I don't need. (I know most of the country codes and eliminated a bunch of dupe stuff a long time ago). :dizzy:
MPTech
   Better living thru technology!   ;-)

Turnarcades

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1973
  • Last login:May 13, 2017, 08:14:29 am
  • Craig @ Turnarcades
    • Turnarcades
Re: Just curious how ROMs are zipped
« Reply #5 on: January 31, 2008, 10:23:59 pm »
This might be the wrong place to go into the details of rom structures, especially with the billions of MAME-based pages available out there.

To put it bluntly, don't mess with roms too much unless you know what you are doing in MAME. The roms are designed by the dev team to show a certain way for a reason - to correctly catalogue the dumps MAME emulates. Other emulators are nice and easy, you just change the filenames, but trying to get the same uniform list with MAME is more ball-ache than it's worth.

Try the MAME website for answers first - they're bound to have more answers anyway as they wrote it.

MPTech

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 437
  • Last login:January 05, 2025, 03:58:54 pm
  • UltimateArcade completed!
Re: Just curious how ROMs are zipped
« Reply #6 on: January 31, 2008, 10:44:09 pm »
Good enuf, I'll leave it as-is!  It works, I shouldn't mess with it!
MPTech
   Better living thru technology!   ;-)

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: Just curious how ROMs are zipped
« Reply #7 on: February 01, 2008, 02:00:27 pm »
How does that work and is there a way to change the name in the display list (I'm running MAMEWah).

Since this is a MameWah question and not a mame question, and I've never used MameWah, there might be better ways of doing this, but...

I think you can go into the mamewah\files\mame-0.lst file and edit the line underneath the rom zip name.  Make sure you do not change the zip name.  (I'm assuming you had MameWah generate the list?  With list_generation_method set to rom_folder_vs_listxml?  Then MameWah is getting the list from mame -listxml, which means the name in the list is the game description.)

Example:

1941
1941 - Counter Attack (World)
1990
Capcom


Raster
Vert
joy8way
Status Good (Good)
Color Good (Good)
Sound Good

1942
1942 (set 1)
1984
Capcom


Raster
Vert
joy8way
Status Good (Good)
Color Good (Good)
Sound Good

1943
1943: The Battle of Midway (US)
1987
Capcom


You can edit the bold lines.
Robin
Knowledge is Power

RayB

  • I'm not wearing pants! HA!
  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11279
  • Last login:August 18, 2025, 10:59:20 pm
  • There's my post
    • RayB.com
Re: Just curious how ROMs are zipped
« Reply #8 on: February 01, 2008, 07:45:04 pm »
I could have sworn MAME works with them unzipped. It's just a big waste of space though.
NO MORE!!

taz-nz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 147
  • Last login:June 12, 2019, 10:12:13 am
  • If all else fails burn the manual!
Re: Just curious how ROMs are zipped
« Reply #9 on: February 01, 2008, 10:13:01 pm »
I could have sworn MAME works with them unzipped. It's just a big waste of space though.

M.A.M.E. does work with unzipped ROMs, but the ROMs must still be place in folders within the ROMS directory that are labeled the same as ROM set zip would be.
So instread of having .\Mame\Roms\1942.zip you have a .\Mame\Roms\1942\

Extracting all the zips may infact slow your system down, because instead of the file system on your hard drive having to store index infromation for just under 7,000 files, it would have to store information for almost 100,000 files and 7,000 directories.

ROM sets containing large ROM load quicker if they are not Zipped, the difference in load time is too small to notice for most ROM sets.

I store all ROM sets with CHD, unzipped in folders containing both the ROMs and CHDs, all other ROM sets are stored as Zips.

 

stan2323

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 262
  • Last login:January 13, 2023, 06:05:19 pm
  • Major Retired USS Enterprise Commanding
    • My home page
Re: Just curious how ROMs are zipped
« Reply #10 on: February 02, 2008, 11:14:24 am »
Does it have to be .zip?  I have a bunch that are .rar, .7z, and .gz.  They are compressed files but I am not familiar with them so I do not know whether to use them as is or unzip them and zip to a .zip.  When I look at them some have .zip files in them and some have other such as .a26, a78, .dsk.gz, and .jag.  Does it have something to do with the kind ROM it is?  Atari 2600 is.a26 and Atari 7800 is a78 Atari Jaguar is .jag.  dsk would be disk?
Careful what you wish for you may get it!!
There are 10 kind of people in the world those that understand binary and those that do not!!