|
Post by Pistol Pete on Dec 29, 2003 20:19:11 GMT -5
I am trying to convert my CHD to IMG. I would be very greatfull if someone could tell me how to prepend the the hex strings when you've extracted kinst2.chd. I currently have an extraced file of kinst2.chd which is 446.947kb. Please someone help!!
|
|
|
Post by sthingyman on Jan 15, 2004 18:22:06 GMT -5
This is posted from the mame forum @ mame.net
--------------------------------------------------------------------------------
quote: -------------------------------------------------------------------------------- >Reversing - Not for the faint of heart >To get usable image for U64Emu use the "hdcomp -extract" option and prepend the following hex strings >KI: "4147 2034 3139 2031 3320 3437 0A" or KI2: "4147 2038 3133 2031 3620 3633 0A" >Also, for KI2 trim the file length to 419,586,061 (With above header) bytes (LBA had been used)
The process is actually incredibly easy.
The first thing to do is extract the CHD to an IMG - and to do this you use a "hdcomp -extract" command, for example, something like this "hdcomp -extract kinst2.chd" or "hdcomp -extract kinst2.chd ki2.img" should work.
Then, you need to prepend those hex values - N.B. it says prepend - NOT append. So, grab your favourite Hex Editor - there are plenty of freeware ones on the internet, install this, load in the IMG file and type in the required bytes in the hex area - double check they are entered correctly, and then save the changes.
If you are doing KI2, then you can also use HexEdit to chop off the required ending bytes so that the file length is precisely 419,586,061 - go down to the end of the file, and then use the Backspace key to delete everything up to the required position.
Save the changes to disk, and away you go - the IMG file should now work with U64Emu.
Keep backups just in case you muck something up - such as entering the required strings of data as text instead of hex.
to be honest I have no fukkin clue what this means as I am an e-tard....if it works for u give me a play by play on how you accomplished this arduous task.
-sthingyman
|
|