Post new topic    
Metal Slime
Send private message
A question I'd like answered please! 
 PostFri Jan 24, 2014 11:21 pm
Send private message Reply with quote
Is there a way to somehow extract my plot-scripts from a game into a .hss file if I've lost the ones I already had? Confused

If so, can I please get some instructions on how to do this? I'd greatly appreciate it! Thanks for your time! Smile
"One can never improve enough nor should one stop trying to improve."
Liquid Metal King Slime
Send private message
Re: A question I'd like answered please! 
 PostFri Jan 24, 2014 11:39 pm
Send private message Reply with quote
SparElric wrote:
Is there a way to somehow extract my plot-scripts from a game into a .hss file if I've lost the ones I already had? :???:

If so, can I please get some instructions on how to do this? I'd greatly appreciate it! Thanks for your time! :)


This is possible, depending on which version of hspeak you last used to compile the scripts. If it was a very long time ago, this won't work, but for everything in the past few years, it will be okay.

First use unlump.exe to unlump all the contents of your rpg file into an rpgdir folder.

Lets assume your game is named quest.rpg so now you should have quest.rpgdir

Look inside and find the file named ohrrpgce.hsp

Extract it using unlump.exe the same way you did for the rpg file. Now you should have a folder named ohrrpgce.unlmp

Now look inside the ohrrpgce.unlmp folder, and search for a file named source.lumped. Again, you will use unlump.exe to extract this. Now you will have a folder named source.unlmp

Inside source.unlmp you will find a copy of your original .hss file.
Metal Slime
Send private message
 
 PostFri Jan 24, 2014 11:51 pm
Send private message Reply with quote
Thanks so so so SO MUCH James!! I really appreciate it!!! Grin

EDIT: I don't see ohrrpgce.hsp! Gonk
"One can never improve enough nor should one stop trying to improve."
Liquid Metal King Slime
Send private message
 
 PostSat Jan 25, 2014 12:00 am
Send private message Reply with quote
SparElric wrote:
Thanks so so so SO MUCH James!! I really appreciate it!!! :D

EDIT: I don't see ohrrpgce.hsp


Do you see gamename.hsp where gamename is the short name of your game?

Unfortunately that is a bad sign, because it means the game is and old one-- but maybe the scripts were compiled recently that it will still work.

Oh, also, if you can't find the source.lumped file, you might also look for a source.txt file, which was saved by a few old versions. It would contain your script and plotscr.hsd smashed together, and you could fix it up by editing it to remove the plotscr.hsd stuff.
Metal Slime
Send private message
 
 PostSat Jan 25, 2014 12:06 am
Send private message Reply with quote
Bob the Hamster wrote:
Do you see gamename.hsp where gamename is the short name of your game?

Unfortunately that is a bad sign, because it means the game is and old one-- but maybe the scripts were compiled recently that it will still work.

Yeah. I'm trying to get the scripts from Tri Tear Revolution. So it's pretty old.

Bob the Hamster wrote:
Oh, also, if you can't find the source.lumped file, you might also look for a source.txt file, which was saved by a few old versions. It would contain your script and plotscr.hsd smashed together, and you could fix it up by editing it to remove the plotscr.hsd stuff.

I'll try that and see what happens! Thanks!
Here's a screenshot of the files I got when unlumping, if that helps any: https://dl.dropboxusercontent.com/u/71082289/Drawings%20art%20whatever/CSS/WIREFRAME%20FREE%20CSS/Screenshot%202014-01-24%2015.59.47.png

I'd also like to add that when I did the second step:
Bob the Hamster wrote:
Extract it using unlump.exe the same way you did for the rpg file. Now you should have a folder named ohrrpgce.unlmp.


I got TriTear.rpgdir instead. Confused
"One can never improve enough nor should one stop trying to improve."
Liquid Metal King Slime
Send private message
 
 PostSat Jan 25, 2014 2:13 am
Send private message Reply with quote
SparElric wrote:
I got TriTear.rpgdir instead. :???:


Interesting. What was inside?
Metal King Slime
Send private message
 
 PostSat Jan 25, 2014 4:29 am
Send private message Reply with quote
That must be the result of the first unlumping, not the second.

The tritear.hsp file may be a bit hard to spot because Windows Explorer will hide the extension by default if it's mis-recognised as another file type. You can either change the setting to show all file extensions, or find it based on the alphabetical sorting.

Once you unlump that you'll get an folder called tritear.unlmp. If you don't see a file called either source.txt or source.lumped inside that, then your game is too old and doesn't contain the original scripts. If so, then you can email me the game and I'll try to use my HS decompiler to reproduce them.
Metal Slime
Send private message
 
 PostSat Jan 25, 2014 9:46 pm
Send private message Reply with quote
Bob the Hamster wrote:
SparElric wrote:
I got TriTear.rpgdir instead. Confused


Interesting. What was inside?

Nothing at all, when I looked.
TMC wrote:
That must be the result of the first unlumping, not the second.

The tritear.hsp file may be a bit hard to spot because Windows Explorer will hide the extension by default if it's mis-recognised as another file type. You can either change the setting to show all file extensions, or find it based on the alphabetical sorting.

Once you unlump that you'll get an folder called tritear.unlmp. If you don't see a file called either source.txt or source.lumped inside that, then your game is too old and doesn't contain the original scripts. If so, then you can email me the game and I'll try to use my HS decompiler to reproduce them.

I found it based on alphabetical sorting. But when I unlumped it, I got TriTear.rpgdir instead of TriTear.unlmp. Confused

I even unlumped it twice to see if it would do it again! Same result.

E-mail you the game? Sure! Thanks a lot! I hope you'll have better luck, cuz I sure haven't. @_@
"One can never improve enough nor should one stop trying to improve."
Metal King Slime
Send private message
 
 PostSun Jan 26, 2014 4:17 am
Send private message Reply with quote
Strange, I don't know why you would have that trouble. (Maybe it's something specific to the Windows build of unlump.exe?)

I used the HS Decompiler since that .hsp was indeed too old.
Metal Slime
Send private message
 
 PostSun Jan 26, 2014 4:43 am
Send private message Reply with quote
TMC wrote:
Strange, I don't know why you would have that trouble. (Maybe it's something specific to the Windows build of unlump.exe?)

I used the HS Decompiler since that .hsp was indeed too old.

I think Tri Tear Revolution was made just before the addition of the re-name feature.
"One can never improve enough nor should one stop trying to improve."
Display posts from previous: