EMULAB Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

The new forum is online, hope you enjoy it!

Pages: [1]   Go Down

Author Topic: Packed CHD subfolders are considered to be unneeded files?  (Read 19047 times)

Svenny

  • Karma: 0
  • Offline Offline
  • Posts: 8
  • Operating System:
  • Windows XP Windows XP
  • Browser:
  • Firefox 3.0.13 Firefox 3.0.13
    • View Profile

Hi Roman,
I've read that you consider it to be "dirty" to store CHD subfolders as packed ZIP files in your ROMS rootfolder. Nevertheless it still works in MAME and saves some disk space.
Therefore I have set the option "allow CHDs in ROMpath root" to yes inside the advanced scanner options. But still my zipped subfolders are reported as unneeded files and Clrmame suggests to delete them. What can I do?
Thanks for your assistance!
Svenny
Logged


Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 120
  • Offline Offline
  • Posts: 3423
  • Operating System:
  • Windows XP Windows XP
  • Browser:
  • Firefox 3.5.2 Firefox 3.5.2
    • View Profile
Re: Packed CHD subfolders are considered to be unneeded files?
« Reply #1 on: 09 September 2009, 12:30 »

There are 2 ways to store chds.

Either the good old way:

rompath\setname\chdfilename1 ... chd filename n

or the "we really don't like it" way in a rompath root:

rompath\chdfilename 1... chdfilename n

For this second option you have to enable Scanner->Advanced->"Allow CHDs in rompath root" option.



....since these are the 2 modes, anything else is not supported. Especially not zipping up chds. Where is the sense anyway. CHDs are zlib compressed already. Waste of decompression time and memory usage.
« Last Edit: 09 September 2009, 15:01 by Roman »
Logged

Svenny

  • Karma: 0
  • Offline Offline
  • Posts: 8
  • Operating System:
  • Windows XP Windows XP
  • Browser:
  • Firefox 3.5.2 Firefox 3.5.2
    • View Profile
Re: Packed CHD subfolders are considered to be unneeded files?
« Reply #2 on: 09 September 2009, 18:31 »

Why?

1) Zipped chds are (in average) 10% smaller. That's a lot of diskspace.
2) Mame supports it fine.

Thanks anyway.
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 120
  • Offline Offline
  • Posts: 3423
  • Operating System:
  • Windows Vista Windows Vista
  • Browser:
  • Firefox 3.5.2 Firefox 3.5.2
    • View Profile
Re: Packed CHD subfolders are considered to be unneeded files?
« Reply #3 on: 09 September 2009, 19:26 »

Nonsense

a) diskspace doesn't matter. In times of terabyte hds and laserdisk chds you talk about a minimum saving
b) chds ARE zip compressed already. CHD is a container for raw data which is sector wise zlib compressed
c) it's a memory hog if you keep chds compressed. You won't be able to run them fine in MAME (except the small ones). Great idea to zip a 15GB file which needs to get decompressed into memory when loading the game and then needs random access on it.


To sum it up: zipping chds is nonsense.
Logged

Svenny

  • Karma: 0
  • Offline Offline
  • Posts: 8
  • Operating System:
  • Windows XP Windows XP
  • Browser:
  • Firefox 3.5.2 Firefox 3.5.2
    • View Profile
Re: Packed CHD subfolders are considered to be unneeded files?
« Reply #4 on: 10 September 2009, 19:16 »

I would sum it up this way: Mame supports it, but Clrmame doesn't. Thank you anyway my friend.

 ;D
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 120
  • Offline Offline
  • Posts: 3423
  • Operating System:
  • Windows Vista Windows Vista
  • Browser:
  • Firefox 3.5.3 Firefox 3.5.3
    • View Profile
Re: Packed CHD subfolders are considered to be unneeded files?
« Reply #5 on: 10 September 2009, 20:26 »

You're wrong. Mame does not support it correctly. Try to zip up mach3.chd and try to load it in MAME....have fun. (Besides that standard zip only supports files < 4GB).

Besides of this, what MAME does and what it does not doesn't play a role. MAME loads files in a very lazy way, it simply loads by hash, no matter if the files are in the correct set of a parent/clone relationship. It simply scans everything related for a match.
MAME's loading mechanism is one thing, auditing is something else.
« Last Edit: 11 September 2009, 08:37 by Roman »
Logged
Pages: [1]   Go Up
 

Page created in 0.089 seconds with 21 queries.