Community

SCI Programming => Mega Tokyo SCI Archive => Topic started by: FastaKilla on April 02, 2003, 06:40:48 PM

Title: Is there any chance of getting my game back?
Post by: FastaKilla on April 02, 2003, 06:40:48 PM
Hi.  I was programming some things in the script and did something stupid.  There is a line of code in rm1 that says

(self:setScript(RoomScript))

I accidentally typed

(self:setScript(RoomScript))         the line after

(instance RoomScript of Script
   (properties)
   (method (handleEvent pEvent)
        (super:handleEvent(pEvent))
and I compiled the script.  It said successful, then I read through it and realized the mistake, deleted the line
(self:setScript(RoomScript))
but when I tried to compile, it said there was an extremely rare error or something.  Now the game doesn't work and SCI Studio won't open it.  Is it screwed up forever or do I have a chance to get it back?  (I have a 283 kB zip file of the game if anyone wants to mess with it).

Luckily I hadn't started too much of the game, just like 16 or so pics, 16 or so views, 14 sound files, and just a little scripting.
Title: Re:Is there any chance of getting my game back?
Post by: Brian Provinciano on April 03, 2003, 12:13:10 AM
SCI Studio 3 checks if games are valid to load them. SCI Graphic Studio 1.5 does not. Try extracting your resource though that.
Title: Re:Is there any chance of getting my game back?
Post by: FastaKilla on April 03, 2003, 02:32:26 PM
It still won't work.  Is the resource.map permanately screwed? :-[
Title: Re:Is there any chance of getting my game back?
Post by: Brian Provinciano on April 03, 2003, 07:58:41 PM
I'll code up a program which will obtain all the files from the resource.000 file and rebuild a resource.map file for you. Should have it ready for you by tomorrow.

Don't worry ;)
Title: Re:Is there any chance of getting my game back?
Post by: Te Rangi on April 05, 2003, 10:34:49 AM
The same thing happened to me all the time (back in teh olden days of SCI Studio 2.0)
Title: Re:Is there any chance of getting my game back?
Post by: Mr.Money on April 06, 2003, 08:17:49 PM
Hey,
I think I encountered a similar problem. I tried using DrawPic, but I accidentally compiled it with a pic number that didnt exist. And now I can open the game at all.
What should I do?
$$$
Title: Re:Is there any chance of getting my game back?
Post by: Wilco on April 06, 2003, 10:53:20 PM
Put your head between your legs and cluck like a chicken.
Title: Re:Is there any chance of getting my game back?
Post by: FastaKilla on April 07, 2003, 09:53:17 PM
Wow Thanks!
 ;D
I just had to make a copy of respack.tmp and rename it to resource.001 (if anyone else is having trouble).
 :D
Title: Re:Is there any chance of getting my game back?
Post by: Mr.Money on April 07, 2003, 10:43:03 PM
Sweet that worked for me, thanks
Title: Re:Is there any chance of getting my game back?
Post by: Wilco on April 08, 2003, 06:17:38 PM
Wow Thanks!
 ;D
That's ok, I'm just glad to help  :)
Title: Re:Is there any chance of getting my game back?
Post by: Te Rangi on April 09, 2003, 02:40:27 AM
I might have a chance of getting my one-year-old project back now. If SCI Studio 2.0 code still works with SCI Studio 3, that is...