| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| Meatballsub Divine Bovine
 
 
 
  
 Joined: 16 Jun 2003
 Posts: 437
 Location: Northwest Georgia
 
 | 
			
				|  Posted: Fri Jun 30, 2006 7:45 am    Post subject: Retrieving lost plotscript |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| Gizmog1 Don't Lurk In The Bushes!
 
 
 
  
 Joined: 05 Mar 2003
 Posts: 2257
 Location: Lurking In The Bushes!
 
 | 
			
				|  Posted: Fri Jun 30, 2006 5:34 pm    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| Mike Caron Technomancer
 
 
 
  
 Joined: 26 Jul 2003
 Posts: 889
 Location: Why do you keep asking?
 
 | 
			
				|  Posted: Fri Jun 30, 2006 5:53 pm    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		| TMC On the Verge of Insanity
 
 
 
 
 Joined: 05 Apr 2003
 Posts: 3240
 Location: Matakana
 
 | 
			
				|  Posted: Sat Jul 01, 2006 6:25 am    Post subject: |   |  
				| 
 |  
				| Wow, I remember Divine Bovine. Welcome back. 
 
 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: |  	  | * plotscr.hsd will be embeded in the script file (and, it will also be genericized) 
 | 
  	  | 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 |  | 
	
		|  | 
	
		| Meatballsub Divine Bovine
 
 
 
  
 Joined: 16 Jun 2003
 Posts: 437
 Location: Northwest Georgia
 
 | 
			
				|  Posted: Mon Jul 03, 2006 8:20 am    Post subject: |   |  
				| 
 |  
				| 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
  |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Moogle1 Scourge of the Seas
 Halloween 2006 Creativity Winner
 
  
 
  
 Joined: 15 Jul 2004
 Posts: 3377
 Location: Seattle, WA
 
 | 
			
				|  Posted: Mon Jul 03, 2006 12:10 pm    Post subject: |   |  
				| 
 |  
				| Oh wow, long-gone members are coming out of the woodwork. _________________
 
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Onlyoneinall Bug finder
 
 
 
 
 Joined: 16 Jul 2005
 Posts: 746
 
 
 | 
			
				|  Posted: Sun Apr 01, 2007 12:12 pm    Post subject: |   |  
				| 
 |  
				| I was surprised when I saw his signature when I looked at the Hamsterspeak #2 announcement thread. I was like WOAH! NO WAY!   
 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 |  | 
	
		|  | 
	
		| TMC On the Verge of Insanity
 
 
 
 
 Joined: 05 Apr 2003
 Posts: 3240
 Location: Matakana
 
 | 
			
				|  Posted: Sun Apr 01, 2007 7:54 pm    Post subject: |   |  
				| 
 |  
				| 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 |  | 
	
		|  | 
	
		|  |