Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

Retrieving lost plotscript

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
Meatballsub
Divine Bovine




Joined: 16 Jun 2003
Posts: 437
Location: Northwest Georgia

PostPosted: Fri Jun 30, 2006 7:45 am    Post subject: Retrieving lost plotscript Reply with quote

Hey everyone. Some of you may remember from way back in the day when the Zantetsuken boards were still around (Divine Bovine). If not, that's okay too...

Is there any way to retrieve the editable plotscripting file from within the game? I picked up a game I stopped working on for awhile and I cannot find the editable script file anywhere.

If there is anyway to retrieve it back, please let me know.

Thank you.
Back to top
View user's profile Send private message Visit poster's website
Gizmog1
Don't Lurk In The Bushes!




Joined: 05 Mar 2003
Posts: 2257
Location: Lurking In The Bushes!

PostPosted: Fri Jun 30, 2006 5:34 pm    Post subject: Reply with quote

DIVINE BOVINE?! Holy shit! Welcome back!

As for your question, yes. TMC has a decompiler. When I used it last, it wasn't very well documented, but it did, in fact, decompile the scripts. I'm not sure where you can find it, but you could start by asking The Mad Cacti (Or is he TeeEmCee here?). If you can't find him here, come to the IRC Channel (#CastleParadox, at irc.esper.net) and yell "VERSTEEGEN!". I promise, he'll come running.
Back to top
View user's profile Send private message Send e-mail AIM Address
Mike Caron
Technomancer




Joined: 26 Jul 2003
Posts: 889
Location: Why do you keep asking?

PostPosted: Fri Jun 30, 2006 5:53 pm    Post subject: Reply with quote

Or, try the Download page (or, more specifically, the HS Decompiler page)

Note: this program is obsolete. It will only work properly for scripts that are pre-Serendipity. Your game seems pretty old, so it should be fine, although it will be garbled (but functional). By this, I mean:

* All your variable names (global and otherwise) will be "genericized" (i.e., named something generic, since the original name is lost)
* plotscr.hsd will be embeded in the script file (and, it will also be genericized)
* autonumbered (and possibly regular) script names may be genericized as well
* Constants (both in plotscr.hsd and those you define manually) will be replaced with the actual number, and the constant definition blocks will be gone.

So, yeah. The scripts will still work, however.
_________________
I stand corrected. No rivers ran blood today. At least, none that were caused by us.

Final Fantasy Q
OHR Developer BLOG
Official OHRRPGCE Wiki and FAQ
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Sat Jul 01, 2006 6:25 am    Post subject: Reply with quote

Wow, I remember Divine Bovine. Welcome back.

Mike Caron wrote:
* plotscr.hsd will be embeded in the script file (and, it will also be genericized)
Not true, you can "import" script files such as plotscr.hsd and 3rd party functions and it will exclude them. Using a different version of plotscr.hsd will introduce slight problems.
Mike Caron wrote:

* autonumbered (and possibly regular) script names may be genericized as well

Script names remain (the only names in fact).
Mike Caron wrote:
* Constants (both in plotscr.hsd and those you define manually) will be replaced with the actual number, and the constant definition blocks will be gone.

So, yeah. The scripts will still work, however.

(hopefully - there are bugs)

If you can't figure out how to use it or it won't work, just email me.

PS: the readme mentions "HSD" a few places it should say "HSP"
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
Meatballsub
Divine Bovine




Joined: 16 Jun 2003
Posts: 437
Location: Northwest Georgia

PostPosted: Mon Jul 03, 2006 8:20 am    Post subject: Reply with quote

Thanks for the info, I will try it out and see if I can get it to work.

Hey Gizmog, nice to see some familiar faces around here Razz
Back to top
View user's profile Send private message Visit poster's website
Moogle1
Scourge of the Seas
Halloween 2006 Creativity Winner
Halloween 2006 Creativity Winner



Joined: 15 Jul 2004
Posts: 3377
Location: Seattle, WA

PostPosted: Mon Jul 03, 2006 12:10 pm    Post subject: Reply with quote

Oh wow, long-gone members are coming out of the woodwork.
_________________
Back to top
View user's profile Send private message Visit poster's website AIM Address
Onlyoneinall
Bug finder




Joined: 16 Jul 2005
Posts: 746

PostPosted: Sun Apr 01, 2007 12:12 pm    Post subject: Reply with quote

I was surprised when I saw his signature when I looked at the Hamsterspeak #2 announcement thread. I was like WOAH! NO WAY! What?!?!

Could this mean we can start to expect more long gone members to be coming back? o.o
_________________
http://www.castleparadox.com/gamelist-display.php?game=750 Bloodlust Demo 1.00

Back to top
View user's profile Send private message Send e-mail
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Sun Apr 01, 2007 7:54 pm    Post subject: Reply with quote

So, why not make the comment over there instead of in here? However,

Quote:
* Constants (both in plotscr.hsd and those you define manually) will be replaced with the actual number, and the constant definition blocks will be gone.


The latest version (not publicly available, emailing required) has fixed this: constants from plotscr.hsd, scancode.hsi and exported hsi' s are used in function calls, making things much prettier.
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group