Author Topic: Problem with SCI Studio template game  (Read 5598 times)

0 Members and 5 Guests are viewing this topic.

Offline Krueg

Problem with SCI Studio template game
« on: June 24, 2002, 12:43:53 PM »
I'm having a problem while trying to create a new game using the templete. Everything works great when I create a blank game or load one of the sierra originals, but when I try to load the template game or use the option to create a new game using the template I get an error message, then my computer crashes and I get another message saying my system is dangerously low on system resources and I pretty much can't do anything at that point but cut the power to my computer.



Offline Krueg

Re:Problem with SCI Studio template game
« Reply #1 on: June 24, 2002, 12:54:49 PM »
Actually, it also crashed when I loaded King's Quest 1 SCI.

I ran the resource meter on my computer and I had 92% System Resource available before running SCI studio, 91% when SCI studio was running then when I loaded KQ1 it crashed saying I was dangerously low on resources.

Also I think I should mention every time I run SCI studio, it asks me to go through the setup process first.

Offline Krueg

Re:Problem with SCI Studio template game
« Reply #2 on: June 24, 2002, 12:57:14 PM »
If it's any help, I'm running a Gateway 1Ghz Pentium III with 256 meg ram.

Offline Chris Cromer

Re:Problem with SCI Studio template game
« Reply #3 on: June 24, 2002, 01:18:55 PM »
Just click the checkbox that says show welcome so that it is no longer checked. Then it won't go threw the setup process.

As for the resource problem... I get it too. SCI Studio seems to waste alot of system resources. At one point my system was so low on resources I couldn't open a text file that only had 3 lines in it. It said to close some program... but I didn't have anything open. :P
Chris Cromer

It's all fun and games until someone get's hurt then it's just fun. ;)

Offline PetriSimolin

Re:Problem with SCI Studio template game
« Reply #4 on: June 24, 2002, 02:51:44 PM »
Quote
SCI Studio seems to waste alot of system resources.

With what computers are you guys running SCI Studio on?



I don't think SCI Studio is hogging any resources. About 15 megs of ram, processor usage is also very low in use (I am running P3@800 with 512 megs RAM).

Are you using win9x? This could be the reason, win9x/winme have very poor memory-management.
« Last Edit: June 24, 2002, 02:55:21 PM by PetriSimolin »

Offline Chris Cromer

Re:Problem with SCI Studio template game
« Reply #5 on: June 24, 2002, 03:07:04 PM »
Win98... but SCI Studio is the only program I have had memory problems with... which means it has to have something to do with SCI Studio.
Chris Cromer

It's all fun and games until someone get's hurt then it's just fun. ;)

Offline PetriSimolin

Re:Problem with SCI Studio template game
« Reply #6 on: June 24, 2002, 03:13:19 PM »
Have you ever tried to run any memory-defragmenters?

In my understanding, winnt-based operating systems do this own their own (and handle memory much more wisely in other aspects also), but win9x/winme does not handle memory-fragmentation very well.

Maybe you should try running some memory-defragmenter once in a while, when using SCI Studio?

(I don't know if those programs really work, just suggesting)

Offline OmerMor

Re:Problem with SCI Studio template game
« Reply #7 on: June 24, 2002, 03:34:11 PM »
Win9x has a fixed amount of resources (handles, brushes, pens, etc..) no matter how much memory you have.
WinNT allocates resources dynamically.
scistudio might be leaking resources that don't take too much memory, but in win9x it can be fatal, because the os can't allocate new memory for resources.

Offline Brian Provinciano

Re:Problem with SCI Studio template game
« Reply #8 on: June 24, 2002, 03:37:18 PM »
King's Quest I SCI is SCI01, so it's not officially supported by SCI Studio. Quest for Glory II (SCI01) definately will crash it.

As for the template hogging things, does it crash you just by loading, or are you doing a lot of stuff before it crashes?

SCI Studio loads all the SCI map and file information into memory in ListViews, which will take up memory. However, due to current computers and Virtual Memory, they really shouldn't be a problem. You running 1ghz puzzles me, as I've run it on pentium computers with 16 mb of ram.

Does it do the same thing on a clean system boot and clean load of the template?

Offline Chris Cromer

Re:Problem with SCI Studio template game
« Reply #9 on: June 24, 2002, 04:42:36 PM »
It justs happens randomly... the longer you have SCI Studio open it keeps leaking resources. I was working in the script editor and it lost so much resources while I was working that the fonts in SCI Studio shut down and everything looked funny(I am not talking about SCI Font resources, I am talking about the font throughout the studio).
Chris Cromer

It's all fun and games until someone get's hurt then it's just fun. ;)

Offline Krueg

Re:Problem with SCI Studio template game
« Reply #10 on: June 24, 2002, 05:19:36 PM »
I'm running Window's ME

My problem occurs while I load the template game, when the loading progress bar reaches 100% the error occurs. This even occurs after a fresh reboot.

I'm going to try SCI Studio on my other computer to see if it works any better


Offline Chris Cromer

Re:Problem with SCI Studio template game
« Reply #11 on: June 24, 2002, 05:35:53 PM »
Make sure game.bmp game.txt and game.ini are in the directory with the template... when I removed 1 of them it crashed on me when loading too. Then I put it back and it loaded it.
Chris Cromer

It's all fun and games until someone get's hurt then it's just fun. ;)

Offline Brian Provinciano

Re:Problem with SCI Studio template game
« Reply #12 on: June 24, 2002, 06:17:39 PM »
That's very odd. I tried deleting each of the game.xxx files one by one, then some together, then all of them, and SCI Studio didn't come with any error.

I've been building in on XP, which a lot more stable, so that would explain things. However, I have tested it on Windows95 and 98, and everything worked fine. To top it off, I didn't just test it out at home, but also at school and elsewhere.

I'm thinking I might need to redesign the resource table system, making it not load all the resource info up at once. It would be a lot of work and make SCI Studio slower though.

My main concern is that it better not have to do with the script editor's edit control, as it was written by SynEdit. If it has problems, I wouldn't know where to start. It contains a massive amount of code.

I've been working on adding some suggested features: multiple undos, the ability to select a region to cut, copy, paste and drag in the view, font and cursor editors, and so forth. I guess I'll move on to the bug fixes though.

On another note, when SCI Studio loads, it only takes up 5mb of memory (which is still a fair amount IMO). When I load the template, it takes up 8mb. This is really only due to all the controls, buttons, list views, etc. It doesn't even load the whole game, just the 1KB map, and some resource info from the packages (about another 1KB). The unfortunate thing is that Borland ignores memory limitations and bloats everything with junk. If I had started from scratch, I probably wouldn't have used Borland C++Builder, but since it's got over three years of work in it, I'm not going to rewrite it in something else.

There are a number of times when I've come across Borland bugs and need to work around them. It gives me serious headaches. Aw well. I guess no compiler is perfect.

Offline Krueg

Re:Problem with SCI Studio template game
« Reply #13 on: June 24, 2002, 06:40:17 PM »
It seems to work well enough on my other computer (500mgz, 192 meg ram, win98) so at least I can use it on that one

I haven't done much with it yet but it looks really good so far, Nice work! It's good that you took the time to provide tutorials to go along with it.

I currently working on an AGI game I started last spring, but kind of got away from for a while, I'm working on it again now and plan to make the sequal in SCI Studio.

Offline OmerMor

Re:Problem with SCI Studio template game
« Reply #14 on: June 26, 2002, 03:37:56 PM »
Brian,
I was wondering: why do consider KQ1 as an SCI01 game?
I saw it written on various places, but I can't figure what makes it an SCI01 game.
I know it works fine with Ravi's drivers for SCI0, and it also has the typical SCI0 debug mode enabled.


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.062 seconds with 21 queries.