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: Mame with 7-zip support released.  (Read 3603 times)

0 Members and 1 Guest are viewing this topic.

jelwell

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 460
  • Last login:December 24, 2014, 03:47:21 pm
  • I'm a llama!
Mame with 7-zip support released.
« on: April 25, 2005, 03:49:36 pm »
I'm not interested in this, and it probably won't work with ClrMamePro. But I know I see people asking for 7-zip support in Mame all the time. Apparently this has been around for a while, but I only recently stumbled upon it and I'm sure most people don't know about it. So here it is:

http://web.tiscali.it/u_fleku/eng/mame-7-zip-support.htm

Source code changes are available. They also have binaries of popular Mame derivatives, such as Mame32. They also have a bunch of tools, like a rommanager, and some batch files to convert all your roms into 7z format.
Joseph Elwell.

JCKnife

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 261
  • Last login:November 04, 2008, 09:41:57 pm
Re: Mame with 7-zip support released.
« Reply #1 on: April 25, 2005, 08:09:42 pm »
Bottom line, how much space could it save?

math0ne

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 39
  • Last login:October 03, 2006, 06:16:07 pm
Re: Mame with 7-zip support released.
« Reply #2 on: April 25, 2005, 09:00:24 pm »
i couldnt tell you off hand but i've been pretty impressed with 7-zip in the past seem like its twice mabey even three times as effecient as zip.

but i may be totally off base.

SirPeale

  • Green Mountain Man
  • Global Moderator
  • Trade Count: (+23)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 12963
  • Last login:August 04, 2023, 09:51:57 am
  • Arcade Repair in New England
    • Arcade Game and Other Coin-Op Projects
Re: Mame with 7-zip support released.
« Reply #3 on: April 25, 2005, 09:11:15 pm »
Ooh, MameDev isn't going to like this.  I'll post this link over on the MameWorld forums, see what they say...

heffe2001

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 186
  • Last login:September 27, 2021, 04:05:23 pm
  • I want to build my own arcade controls!
    • o'Brewery Brothers
Re: Mame with 7-zip support released.
« Reply #4 on: April 25, 2005, 10:51:00 pm »
Why would they have a problem with it, they say the source mods are also there, which is all they require in a project...

jelwell

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 460
  • Last login:December 24, 2014, 03:47:21 pm
  • I'm a llama!
Re: Mame with 7-zip support released.
« Reply #5 on: April 25, 2005, 11:07:25 pm »
Why would they have a problem with it, they say the source mods are also there, which is all they require in a project...


http://aarongiles.com/weblog/archives/2005/02/why_doesnt_mame.html

I don't know. The Mame trademark agreement seems to discourage features that MAME devs don't want to add. They have, in the past, become very angry at people who add features that are perfectly legal but against their wishes. But maybe their new leader will welcome open source developers - rather than try to discourage and stifle discussion of license abiding features which Haze was accustomed to doing.
Joseph Elwell.

wpcmame

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 278
  • Last login:February 18, 2024, 01:27:00 pm
Re: Mame with 7-zip support released.
« Reply #6 on: April 26, 2005, 02:07:38 am »
i couldnt tell you off hand but i've been pretty impressed with 7-zip in the past seem like its twice mabey even three times as effecient as zip.

but i may be totally off base.
Yes you are. You might save a few percent on big files.

That is why mamedevs don't want to add 7-zip support. Why remove something that works, is stable and gives a very small gain.

elvis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1154
  • Last login:April 13, 2023, 05:31:03 pm
  • penguin poker
    • StickFreaks
Re: Mame with 7-zip support released.
« Reply #7 on: April 26, 2005, 04:17:38 am »
That is why mamedevs don't want to add 7-zip support. Why remove something that works, is stable and gives a very small gain.

... and is Win32 only (no real/decent Mac or Linux support yet - MAME is designed to be a portable project), and means people will waste their time fiddling with unimportant things like saving 2% disk space when there are more important things to be done first, like fixing more emulation.

Disk space is now around $0.50 to $0.75 a GB.  It's a struggle to find a new hard disk under 80GB.  7-Zip support is about as useful as chocolate penis.  Sure, it sounds like a neat idea at first, but in the longrun helps no-one.

zlib is free (cost and source) and works.  Adding anything else that complicates the already huge MAME code database really is a non-issue.

jelwell

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 460
  • Last login:December 24, 2014, 03:47:21 pm
  • I'm a llama!
Re: Mame with 7-zip support released.
« Reply #8 on: April 26, 2005, 01:34:35 pm »
There's been some discussion on whether or not this endeavor is actually open source.

Apparently this is because one of the libraries includes only the C++ files but forgot to include all the relevant headers, and include files. The full source for 7-zip32.dll can be downloaded from the official website here:
http://akky.cjb.net/download/7-zip32.html

It's interesting. The MAME binary doesn't download with all the source. But the MAME license says that "Redistributions that are modified from the original source must include the complete source code". Does this mean that MAME32 needs to bundle the source with their binaries? Because either Mame with 7zip isn't violating the MAME license or MAME32, Mame with 7zip, and every MAME derivative (including no source change distributions like ahtlon optimized) I've ever known is violating the license.

Either way, all the source for MAME with 7zip available.
Joseph Elwell.

Silver

  • Wiki Contributor
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1668
  • Last login:February 17, 2024, 10:29:00 am
  • Cunning like the Fox.
    • Mods'n'Mods
Re: Mame with 7-zip support released.
« Reply #9 on: April 26, 2005, 10:07:31 pm »
i couldnt tell you off hand but i've been pretty impressed with 7-zip in the past seem like its twice mabey even three times as effecient as zip.

but i may be totally off base.
Yes you are. You might save a few percent on big files.

That is why mamedevs don't want to add 7-zip support. Why remove something that works, is stable and gives a very small gain.

Actually the gain from 7-zip over zip is pretty significant. It's also extremely good at things like roms from different countries (ie similar) - this is because unlike rar and zip it can support huge dictionary sizes. This is more signifcant for console or computer roms though.

However there is a *MASSIVE* performance penalty. You will be waiting around for DAYS trying to compress a mame romset at high compression. Unfortunately its also very slow at decompression - this is where rar/zip really shine IMHO.

Anyway, having said that I think that mamedev are correct in sticking to zip - its unbelivably well tested and ported to everything. If rar was open source and ported all over the place, there would be a good argument for it as its significantly better than zip with very little performance loss.

Even is 7-zip had been around for ages, and fully ported to all systems, I would hate to use it with mame as it would probably increase loading times of bigger games by a factor of 50 or more....




SirPeale

  • Green Mountain Man
  • Global Moderator
  • Trade Count: (+23)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 12963
  • Last login:August 04, 2023, 09:51:57 am
  • Arcade Repair in New England
    • Arcade Game and Other Coin-Op Projects
Re: Mame with 7-zip support released.
« Reply #10 on: April 27, 2005, 12:27:01 am »
Well, I posted the link over on MameWorld...

MameWorld.Info Link

Haze was less than pleased with me.

MrSaLTy

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 177
  • Last login:January 02, 2024, 12:23:54 am
  • nabisco reject
Re: Mame with 7-zip support released.
« Reply #11 on: April 27, 2005, 01:03:21 am »
wow you ain't kidding.... although I got the feeling he thought it was you that did this not just pointed out the post.

SirPeale

  • Green Mountain Man
  • Global Moderator
  • Trade Count: (+23)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 12963
  • Last login:August 04, 2023, 09:51:57 am
  • Arcade Repair in New England
    • Arcade Game and Other Coin-Op Projects
Re: Mame with 7-zip support released.
« Reply #12 on: April 27, 2005, 01:05:05 am »
No, he knows me better than that.  He was just pissed that I posted that link.

elvis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1154
  • Last login:April 13, 2023, 05:31:03 pm
  • penguin poker
    • StickFreaks
Re: Mame with 7-zip support released.
« Reply #13 on: April 27, 2005, 05:21:54 am »
Well, I posted the link over on MameWorld...

MameWorld.Info Link

Haze was less than pleased with me.

You certainly know how to prod the hornet's nest, don't you?  Where I come from that's called "**** stirring".
« Last Edit: April 27, 2005, 05:27:11 am by elvis »

wpcmame

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 278
  • Last login:February 18, 2024, 01:27:00 pm
Re: Mame with 7-zip support released.
« Reply #14 on: April 27, 2005, 05:48:14 am »
Actually the gain from 7-zip over zip is pretty significant. It's also extremely good at things like roms from different countries (ie similar) - this is because unlike rar and zip it can support huge dictionary sizes. This is more signifcant for console or computer roms though.
No, the gain comes from that all files are compressed together and not individually. You get the same effect by first storing all files in a zip archive without compression and then compress it. (The mame source is distributed that way)

The problem with that approach is that it doesn't work well with the mame's random access rom-loading. On average half the archive must be decompressed for each file to load.

To avoid the performance penalty (which can be significant) you must rewrite the mame loading routine to load files as they are decompressed instead of requesting individual files.

jelwell

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 460
  • Last login:December 24, 2014, 03:47:21 pm
  • I'm a llama!
Re: Mame with 7-zip support released.
« Reply #15 on: April 27, 2005, 02:14:22 pm »
Well, I posted the link over on MameWorld...

MameWorld.Info Link

Haze was less than pleased with me.

Wow, and not surprising Haze jumped to the conclusion that source does not exist. I guess he didn't bother to download the release. Either that or he downloaded it and then ignored the readme file that states where the source is. Too bad no one on mameworld bothered to verify what Haze said.

Joseph Elwell.