Lost .HSS file

Make games! Discuss those games here.

Moderators: Bob the Hamster, marionline, SDHawk

Post Reply
User avatar
Meatballsub
Liquid Metal Slime
Posts: 996
Joined: Mon Oct 15, 2007 6:39 pm
Location: Northwest Georgia
Contact:

Lost .HSS file

Post by Meatballsub »

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.
User avatar
Meatballsub
Liquid Metal Slime
Posts: 996
Joined: Mon Oct 15, 2007 6:39 pm
Location: Northwest Georgia
Contact:

Post by Meatballsub »

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?
User avatar
Bob the Hamster
Liquid Metal King Slime
Posts: 7460
Joined: Tue Oct 16, 2007 2:34 pm
Location: Hamster Republic (Ontario Enclave)
Contact:

Post by Bob the Hamster »

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/nig ... e-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)
User avatar
Meatballsub
Liquid Metal Slime
Posts: 996
Joined: Mon Oct 15, 2007 6:39 pm
Location: Northwest Georgia
Contact:

Post by Meatballsub »

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?
User avatar
Bob the Hamster
Liquid Metal King Slime
Posts: 7460
Joined: Tue Oct 16, 2007 2:34 pm
Location: Hamster Republic (Ontario Enclave)
Contact:

Post by Bob the Hamster »

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 :)
Post Reply