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: Compressed Hard Disk Images  (Read 1880 times)

0 Members and 1 Guest are viewing this topic.

chris2922

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 138
  • Last login:March 26, 2023, 01:09:41 pm
  • Silverline Jamma Cab
Compressed Hard Disk Images
« on: January 17, 2005, 02:49:39 pm »
I know this gets batted around quite a bit but I have a question about CHD files.

I understand that they are basically a compressed harddisk image but I would like to know if uncomprssing them would make them easier for MAME to run.  Take Killer Instinct for example - my CHD file is just under 100mb.  Is there a way to uncompress the file, and if so, woud it be beneficial or a waste of time?

My system emulates the game no problem, but the video is sometimes a bit dodgy.  It would make sense if that was becasue the video files were being uncompressed on the fly.  Anyone?

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: Compressed Hard Disk Images
« Reply #1 on: January 17, 2005, 02:57:50 pm »
Not only would it be a waste of time, but it wouldn't run.  The CHD is compressed in a format that Mame expects to find.  If it found something different it wouldn't run at all.

chris2922

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 138
  • Last login:March 26, 2023, 01:09:41 pm
  • Silverline Jamma Cab
Re: Compressed Hard Disk Images
« Reply #2 on: January 17, 2005, 03:09:50 pm »
Considering the quality of the games in question I

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: Compressed Hard Disk Images
« Reply #3 on: January 17, 2005, 03:18:08 pm »
The video quality doesn't have anything to do with the compression of the image.  It has *everything* to do with how powerful the computer the game is being run on.  I was able to run KI and KI2 on my Athlon 1GHz, but occasionally it would hiccup.  This was also a few versions ago, and they have improved the emulation since then.

lucindrea

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 262
  • Last login:July 28, 2005, 10:06:19 am
  • I dont think I'm a llama!
Re: Compressed Hard Disk Images
« Reply #4 on: January 17, 2005, 05:19:45 pm »

i would guess their is a way to alter the mame source to read the raw chd uncompressed , but concidering the whole thing is based more on cpu speed then the tiny time it takes to uncompress the chd into memory , i doubt it would make any differance.

chris2922

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 138
  • Last login:March 26, 2023, 01:09:41 pm
  • Silverline Jamma Cab
Re: Compressed Hard Disk Images
« Reply #5 on: January 18, 2005, 01:15:52 pm »
Im still surprised a P4 2.0 GHz isn't cutting it.

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: Compressed Hard Disk Images
« Reply #6 on: January 18, 2005, 02:50:59 pm »
Im still surprised a P4 2.0 GHz isn't cutting it.

I'm guessing you don't understand how emulation works.

chris2922

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 138
  • Last login:March 26, 2023, 01:09:41 pm
  • Silverline Jamma Cab
Re: Compressed Hard Disk Images
« Reply #7 on: January 18, 2005, 03:38:36 pm »
Easy tiger.  If by 'understand how emulation works' you mean have specific technical knowledge on the subject then youre correct - i dont.  I doubt more than a handful of people who post here do either.  We just benefit from the skills of people who do.

But then you went and stated a couple of posts ago that your Athlon 1GHz ran them both fine.  Emulation aside for a moment, how should i not be surprised a P4 2GHz isn't managing it when an Athlon 1GHz is?  Well?


quadmasta

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 214
  • Last login:May 18, 2022, 03:23:00 pm
    • Approximate Arcades
Re: Compressed Hard Disk Images
« Reply #8 on: January 18, 2005, 04:00:52 pm »
Emulation aside for a moment, how should i not be surprised a P4 2GHz isn't managing it when an Athlon 1GHz is?  Well?

The architecture and overall designs of the competing company's chips are completely different as well as the way they handle/process information.  When compared at the same clock speed IE: 1GHz the AMD chip will always outperform the equivalent Intel chip if they're both given similar resources. 

There are many many determining factors to his statement though.  He never said what OS he was running, never stated system specs, etc.  There's too much left unknown to deal with rash generalizations.

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: Compressed Hard Disk Images
« Reply #9 on: January 18, 2005, 04:01:35 pm »
Sorry, I thought you were talking about CHDs in general, not just KI.  Yes,  that setup *should* be okay.  Perhaps it's a configuration issue.  What is your framerate like?

chris2922

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 138
  • Last login:March 26, 2023, 01:09:41 pm
  • Silverline Jamma Cab
Re: Compressed Hard Disk Images
« Reply #10 on: January 18, 2005, 04:32:21 pm »
No problem,
Framerates are great during fights, just not good when the video clips run.  It stutters every now and again making the voices or music repeat itself.  Kind of loses the efect... I guess its maybe something to do with MAME being strict on keeping timing exact.  I dont want to go on about it too much though as im sure these questions have been answered loads of times.  Infact im liable to get set on fire, not just flamed.

My system is Dell - XP Home, P4 2GHz, 512Mb RAM, GeForce 440MX.  Im currently testing all the emus and games ive got before deciding what to put on a new system im buying to install in my JAMMA cab.

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: Compressed Hard Disk Images
« Reply #11 on: January 18, 2005, 05:00:58 pm »
What resolution are you running this at?

chris2922

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 138
  • Last login:March 26, 2023, 01:09:41 pm
  • Silverline Jamma Cab
Re: Compressed Hard Disk Images
« Reply #12 on: January 18, 2005, 05:19:54 pm »
Thats a good point.  Im using Windows command line MAME and haven't changed the ini file settings for video options other than messing with autoframeskip to help some 3d game run a bit better.  Heres the ini file im using:

### Windows video options ###
autoframeskip           0
frameskip               0
waitvsync               0
triplebuffer            0
window                  0
ddraw                   1
direct3d                0
hwstretch               1
cleanstretch            auto
resolution              auto
refresh                 0
scanlines               0
switchres               1
switchbpp               1
maximize                1
keepaspect              1
matchrefresh            0
syncrefresh             0
throttle                1
full_screen_brightness   0.000000
frames_to_run           0
effect                  none
screen_aspect           4:3