Author Topic: SCI Studio 2.12 Released!  (Read 6786 times)

0 Members and 1 Guest are viewing this topic.

Offline Brian Provinciano

SCI Studio 2.12 Released!
« on: July 19, 2002, 02:22:01 AM »
I've released SCI Studio 2.12. I planned to release it a few days ago, but issues with the compiler slowed things down a bit. It was for the better though, since it's more full of features than it would have been if it was released earlier.

I'm now working on adding an inline assembler to the script compiler. It will work like this:

(method (draw)
   DoSomething()
   DoSomethingElse(1 2 234)
   (asm
       ldi    ENABLED
       aTop   state
       push1
       pushi  TRUE
       callk  DrawMenuBar 2
   )
   DoSomethingElseAgain(22 33 4454)
)

You will be able to place byte code anywhere within your normal code! That'll be part of 2.13 (a week or two from now).

http://www.bripro.com/scistudio



Offline robingravel

Re:SCI Studio 2.12 Released!
« Reply #1 on: July 19, 2002, 11:29:50 AM »
I can't download it. 404 error.

I guess you're working on the template's bugs.

Robin Gravel

Offline Chris Cromer

Re:SCI Studio 2.12 Released!
« Reply #2 on: July 19, 2002, 11:56:45 AM »
It was up a little earlier, I downloaded it already.

Speaking of template bugs, I have found one. Walk to the bottom of the screen then after the character stops walk all the way to the right of the screen. Then when the character stops go up and watch what the ego will do. He starts moving to the right for some reason. The same thing happens if you go to the left as well. And it also happens if you go to the top then go left or right.

Also another bug(not sure if it has been fixed or not). The wander command will let the character wandering walk though a door using autodoor even when the door is closed.
Chris Cromer

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

Offline Chris Cromer

Re:SCI Studio 2.12 Released!
« Reply #3 on: July 19, 2002, 11:58:42 AM »
Also Robin, you can download it off of my server since I host a mirror of the files. http://www.agigames.com/scistudio/

You should find every version of SCI Studio in that directory even 2.12.
Chris Cromer

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

Offline robingravel

Re:SCI Studio 2.12 Released!
« Reply #4 on: July 19, 2002, 12:12:01 PM »
Thanks for the help Chris.

I'll try the newest sci studio.

I'll check all the bugs in the template what you told me
but the freeze bug is a very serious problem for me.

Robin Gravel

Offline robingravel

Re:SCI Studio 2.12 Released!
« Reply #5 on: July 19, 2002, 12:45:13 PM »
Where is it, Chris?

The lastest version of sci studio I found is 2.11.
File name: scistudio21-20020701.zip

If I missed it somehow, let me know where it is.

Robin Gravel

Offline Chris Cromer

Re:SCI Studio 2.12 Released!
« Reply #6 on: July 19, 2002, 01:04:05 PM »
I am not 100% sure which one is which, Brian has ftp access and uploads them as he pleases. It should be in there somewhere.

I beleive that file is the most recent version, but if it isn't Brian will probably upload it later.
Chris Cromer

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

Offline robingravel

Re:SCI Studio 2.12 Released!
« Reply #7 on: July 19, 2002, 01:18:09 PM »
Hi Chris.

Did you check if you have downloaded a 2.12 version or a 2.11 version?

Robin Gravel

Offline Chris Cromer

Re:SCI Studio 2.12 Released!
« Reply #8 on: July 19, 2002, 01:42:59 PM »
The version I have right now is 2.12 It says it at the top of it.

I downloaded it off of Brian's site, but it should be in that directory though.

I will mail it to you. Check your mail.
« Last Edit: July 19, 2002, 01:44:37 PM by Chris Cromer »
Chris Cromer

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

Offline robingravel

Re:SCI Studio 2.12 Released!
« Reply #9 on: July 19, 2002, 02:39:27 PM »
Thanks Chris. I got it.

But the problem with the template's freeze is still here.

Robin Gravel

Offline Brian Provinciano

Re:SCI Studio 2.12 Released!
« Reply #10 on: July 19, 2002, 04:00:48 PM »
I need to dig up the old Demo Quest source to figure out what it wrong with the "XXXXXX" thing. I've got so many CDs, it'll take a while.

Due to my reformat, I didn't have the agigames thing set up in my FTP program yet. I'll set it up and upload it.

I haven't encountered the walking right/left bugs. However, I only implemented the simple boundary so people farmiliar with AGI's template would feel more comfortable with it. By default in SCI games, the ego will walk off the screen. You should ALWAYS put control lines for boundaries over the entire screeen, unless you want the ego to walk to another room.

Offline lskovlun

Re:SCI Studio 2.12 Released!
« Reply #11 on: July 20, 2002, 07:08:21 AM »

   (asm
       ldi    ENABLED
       aTop   state
       push1
       pushi  TRUE
       callk  DrawMenuBar 2
   )
)


What would the point be? Your language already puts the SCI byte code to full use (at least I can't see anything missing), so there is really nothing that couldn't be done in the language that would be possible by using the assembler.

Offline Brian Provinciano

Re:SCI Studio 2.12 Released!
« Reply #12 on: July 20, 2002, 02:07:04 PM »
I'm using it to help me build the VGA template more efficiently. I'm able to compile my scripts with half my code, and half disassembled byte code. Gradually, I'm converting the byte code to highlevel, compiling, and testing that it works the same.

Offline Chris Cromer

Re:SCI Studio 2.12 Released!
« Reply #13 on: July 20, 2002, 04:08:28 PM »
I have been working with SCI Studio 2.12 today, and have been able to pin down where the memory loss problems exactly are. I turned on my resouce monitor and ran SCI Studio then I went to work on some scripts, the resource monitor kept showing a loss in percentages while the script editor was open. When I closed the script editor the loss stopped. But the memory didn't come back until I closed SCI Studio. Something in your script editor is draining the memory.
« Last Edit: July 20, 2002, 04:08:54 PM by Chris Cromer »
Chris Cromer

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

Offline Brian Provinciano

Re:SCI Studio 2.12 Released!
« Reply #14 on: July 20, 2002, 06:31:22 PM »

I have been working with SCI Studio 2.12 today, and have been able to pin down where the memory loss problems exactly are. I turned on my resouce monitor and ran SCI Studio then I went to work on some scripts, the resource monitor kept showing a loss in percentages while the script editor was open. When I closed the script editor the loss stopped. But the memory didn't come back until I closed SCI Studio. Something in your script editor is draining the memory.


The bad news is that it's beyond my control. I inspected it with the resource monitor, and discovered that Borland's VCL (the library used for all the GUI) isn't fully freeing the windows/controls. I created a simple two window application to confirm this, and it's true. I then discussed it with others using Borland's VCL, and they too, have the problem. The only way to free the memory is to close the program, then open it again. Win9x users may need to reboot! This is horrible! I'd switch it to another library, but it's got over three years of work in it, and it would invlove rewriting virtually the entire program.

XP/2000 (NT) can handle these leaks fine, but 9x (DOS) I guess can't.

The worst thing is that examining plain/empty Borland C++Builder VCL apps with the resource monitor, I've discovered that it takes up more memory that isn't freed just my moving/resizing the window, or even switching from the resource monitor back to the app. Now, when programs like SCI Studio have hundreds of controls/windows being created/moved/resized, it causes serious problems!

I started disliking Borland C++Builder a little while ago due to it's bugs, but now I REALLY dislike it!


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

Page created in 0.047 seconds with 17 queries.