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: Using .7z roms with emulators?  (Read 4107 times)

0 Members and 1 Guest are viewing this topic.

Turnarcades

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1973
  • Last login:May 13, 2017, 08:14:29 am
  • Craig @ Turnarcades
    • Turnarcades
Using .7z roms with emulators?
« on: March 11, 2007, 02:30:02 pm »
I've google'd and can't seem to find an answer to this one:

Is there a way to get emulators to recognise files in .7z format?

7-zip is excellent for compression and it would be great if I could compress my roms into .7z format and have them take up much less space on my hard-drive. I've seen that certain emulators have a plug-in (Gens I think does) to read .7z but was wondering if others can be made to do it.

It sounds like a reasonable request that I thought emulator authors would have thought of by now, but as I'm not a programmer I don't know the details so maybe it is a bit too much to ask.

Anyone shed on light on this at all?

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1146
  • Last login:May 31, 2025, 10:10:32 pm
Re: Using .7z roms with emulators?
« Reply #1 on: March 11, 2007, 08:41:28 pm »
Doubt we'll see it in Mame for a long time:

http://www.mame.net/mamefaq.html#g17

I know that N64 Roms size difference can be substantial but I never could get Project64 to read them.

Turnarcades

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1973
  • Last login:May 13, 2017, 08:14:29 am
  • Craig @ Turnarcades
    • Turnarcades
Re: Using .7z roms with emulators?
« Reply #2 on: March 13, 2007, 06:31:14 am »
Damn it. Oh well, any more emulators/custom builds that allow the use of 7-zip?

Not too fussed about N64 as my machine struggles with those anyway, hence now removed. But I do have limited HD space and if I could get my SNES/Megadrive collections down from 1Gb each it would be helpful!

Silver

  • Wiki Contributor
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1668
  • Last login:April 16, 2025, 04:09:53 pm
  • Cunning like the Fox.
    • Mods'n'Mods
Re: Using .7z roms with emulators?
« Reply #3 on: March 13, 2007, 06:44:19 am »
I've been down this road before, but in the end its more trouble than its worth.

If you PC struggles with N64 games, and you need to trim 1GB collections - its going to struggle with 7zip.

7zip is a very impressive - sizewize - compressor, but its an absolute resource hog, and very slow. You end up staring at a black screen for ages while the rom decompresses.

If 1GB is an issue - get a bigger hard drive. I know that sounds a bit rubbish, but in the long run it will be faster and easier.

If not, by the far the best option is unwanted games - delete them. You can probably delete 75% of most game collections if you are honest about what gets played....

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4544
  • Last login:August 30, 2023, 05:10:22 pm
    • Arcade Ambience Project
Re: Using .7z roms with emulators?
« Reply #4 on: March 13, 2007, 11:41:55 am »
I wrote a batch file a while back to convert all my 7z files to zip for this very reason.  It basically unzips each 7z file in the directory, then zips it back in zip format.  I can post it if you want, let me know.  It's at home though, so it won't be until I get off work.

EDIT: Nevermind, I misread your post...I thought your roms were already 7z'd and you needed them in zip format.
« Last Edit: March 13, 2007, 11:44:59 am by ahofle »

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:July 13, 2025, 11:38:27 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Using .7z roms with emulators?
« Reply #5 on: March 14, 2007, 03:05:26 am »
I've been down this road before, but in the end its more trouble than its worth.

If you PC struggles with N64 games, and you need to trim 1GB collections - its going to struggle with 7zip.

7zip is a very impressive - sizewize - compressor, but its an absolute resource hog, and very slow. You end up staring at a black screen for ages while the rom decompresses.

If 1GB is an issue - get a bigger hard drive. I know that sounds a bit rubbish, but in the long run it will be faster and easier.

If not, by the far the best option is unwanted games - delete them. You can probably delete 75% of most game collections if you are honest about what gets played....

Yeah, that and the fact that zip support is "built in" to most langauges while 7 zip is not is why it isn't widely adopted.  I wrote a big post explaining it the other day but I must have forgotten to submit it.   :-[

Hoopz

  • Don't brand me a troublemaker!
  • Trade Count: (+8)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5285
  • Last login:June 13, 2025, 09:18:32 pm
  • Intellivision Rocks!
Re: Using .7z roms with emulators?
« Reply #6 on: March 14, 2007, 06:50:52 am »
I wrote a batch file a while back to convert all my 7z files to zip for this very reason.  It basically unzips each 7z file in the directory, then zips it back in zip format.  I can post it if you want, let me know.  It's at home though, so it won't be until I get off work.

EDIT: Nevermind, I misread your post...I thought your roms were already 7z'd and you needed them in zip format.

Would you go ahead and post it?  It would be handy to have.   :cheers:

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4544
  • Last login:August 30, 2023, 05:10:22 pm
    • Arcade Ambience Project
Re: Using .7z roms with emulators?
« Reply #7 on: March 15, 2007, 12:26:28 am »
Here you go:

for %%t in (*.7z) do D:\Progra~1\7-zip\7z e "%%t" -r
del *.7z
for %%t in (*.*) do D:\Progra~1\7-zip\7z a -tzip "%%t.zip" "%%t"

Just a few notes about this...it assumes there is one file per zip (I wrote this for console roms).  Shouldn't be too hard to change it to handle multiple file zips.  Also, one annoying thing is that it leaves the rom extension so you end up with a file name like "mario bros.c64.zip".  That could probably be fixed too, but I didn't bother.  Hope that helps some.
« Last Edit: March 15, 2007, 12:29:35 am by ahofle »

Turnarcades

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1973
  • Last login:May 13, 2017, 08:14:29 am
  • Craig @ Turnarcades
    • Turnarcades
Re: Using .7z roms with emulators?
« Reply #8 on: March 16, 2007, 04:11:50 pm »
OK then, in the spirit of economising on what I already have (not upgrading HD etc.), is there a program that compresses files into regular .zip files, but does a better job than winrar?

I use winrar because you can just right-click a group of roms and click 'add to archive' to zip them each into seperate zip files.

I need a program that perhaps does this (in batch) but compresses the files more? Anyone know of one?

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:July 13, 2025, 11:38:27 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Using .7z roms with emulators?
« Reply #9 on: March 17, 2007, 10:43:38 pm »
OK then, in the spirit of economising on what I already have (not upgrading HD etc.), is there a program that compresses files into regular .zip files, but does a better job than winrar?

I use winrar because you can just right-click a group of roms and click 'add to archive' to zip them each into seperate zip files.

I need a program that perhaps does this (in batch) but compresses the files more? Anyone know of one?

That's impossible, or at least impractical.  See zip files have like 7 levels of compression.  They are stardardized so that any application trying to read the zip can look at it and say "ok it's level 7 so I use function X to unzip it" compressing beyond level 7 afaik would make the zip unreadable to anything other than the app you created it with.

Turnarcades

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1973
  • Last login:May 13, 2017, 08:14:29 am
  • Craig @ Turnarcades
    • Turnarcades
Re: Using .7z roms with emulators?
« Reply #10 on: March 18, 2007, 06:44:01 pm »
See, get it now!

I wondered why zip programs seemed to use the same number of comprssion options. Oh well, that buggers that theory.