Post new topic    
Liquid Metal Slime
Send private message
Lost .HSS file 
 PostTue Jun 04, 2013 8:07 pm
Send private message Reply with quote
I seem to do this once every few years and unfortunately it has happened again. I believe TMC was able to help me recover a script file years ago but I can't seem to find where we discussed it before.

Is it still possible to salvage a script file from a game? Please let me know.
Liquid Metal Slime
Send private message
 
 PostTue Jun 04, 2013 8:10 pm
Send private message Reply with quote
Update: I actually found what appears to be a backup .HSS file, but I have no idea whether or not it is up-to-date. My fear is that I fall back on this script file, goto compile it into the game and it bugs the crap out of everything because it is an old file.

Any way for me to still salvage a script from a game and then compare to this one I had backed up? Or am I screwed?
Liquid Metal King Slime
Send private message
 
 PostTue Jun 04, 2013 8:38 pm
Send private message Reply with quote
Yes, the original .hss can be recovered from an rpg file. You will need the unlump.exe tool. If you don't have it already, you can get it from here: http://hamsterrepublic.com/ohrrpgce/nightly/ohrrpgce-util.zip

First unlump gamename.rpg file. This will create gamename.rpgdir

Next unlump gamename.rpgdir/ohrrpgce.hsp this will create gamename.rpgdir/ohrrpgce.unlmp

Next unlump gamename.rpgdir/ohrrpgce.unlmp/source.lumped this will create gamename.rpgdir/ohrrpgce.unlmp/source.unlmp

Look inside gamename.rpgdir/ohrrpgce.unlmp/source.unlmp and you will find your original .hss file (or hss files, if you use more than one)
Liquid Metal Slime
Send private message
 
 PostTue Jun 04, 2013 9:36 pm
Send private message Reply with quote
Thanks for the info James! Very helpful!

Will any information be lost recovering the file this way or will it more or less be intact and ready to be compiled again?
Liquid Metal King Slime
Send private message
 
 PostTue Jun 04, 2013 9:45 pm
Send private message Reply with quote
Nothing will be lost. The files inside source.lumped are just a backup copy taken at the time when the script was compiled.

Plenty of people had asked for the ability to recover scripts, and de-compiling them was just impractical, so that is why we just embedded automatic backup copies :)
Display posts from previous: