AGS Crash

Started by JD, Thu 25/12/2003 02:34:17

Previous topic - Next topic

JD

I was just importing some sprites and bang:



When I tried to rerun AGS it told me its christmas and the only way
to get it running again was to set the date back  ::) I hope that
isn't the cause for the crash  ;)

Khaveen

Heheheheheheehehhehe, CJ, that's AWESOME!! HAHAHAHAHAH!!!  :D :D
(Just tried running agsedit.  :P)
Hybrid Studios online!
http://www.planetwilco.com

Damien

I read your posts and ran the engine on 25th, but nothing happened, engine ran normally as always. I was messing around in it and when i clicked on "Views" i got similar (the same?) message and program crashed. Then, i opened the program again and clicked views and it happened again, then i opened it one more time and clicked everything else to see if it wil crash again, and it did when i klicked sprites. Then, i was playing some more in the program...     (Several hours later)   ...and then it crashed again when i clicked sprites. The next time i ran it everything was OK i could click sprites, views, everything worked. I thought it may be because of the easter egg, but when i checked my comp. date it said it was 22nd, so i guess that's not the cause of the crash.

You still there? ;D

JD

Heh well it only happened once here! So I don't really know the cause.
Perhaps when CJ returns he can look into it...

Pumaman

def: has it happened since, or was it just a one-off? Do you remember at what point in the import process it happened? (ie. was it when you clicked "import file" or when you selected the region to import?)

Damien: that doesn't sound good - does it happen on a regular basis? Is your game small enough to upload for me to take a look at? What AGS version are you using?

JD

Well it's the first time it happened. And it hasn't happened ever since. It happened when I double clicked on a sprite.

Pumaman

What, just to view the sprite's properties once it was imported?

JD

Yes, I believe I imported a few sprites, and double clicked on one. It hasn't happened ever since.

Damien

#8
So, I noticed my backgrounds were rather huge (10mb), so i wanted to import them into the ags editor and see how much will their size change when compiled inside the game.
Ok, so here's what i did. Step by step.
1. I selected start a new game and then blank game
2. selected 640x480 resolution
3.Changed game pallete to 32 bit
4. Created 4 backgrounds, one of them was animated (6 images), but I imported only 5 because that's the limit
5.For the animated background i choosed fulscreen preview to see how it looks
6.Made some walkable areas for room1¸
7.saved
8.tested
9.clicked on views and it crashed

Here is teh picture of my comp crashed (1024x768):
http://version5.illicitdev.net/uploads/348/images/Crash.gif

10.I ran asg again, loaded what i have saved and it was all there, i clicked views and nothing happened, everything was ok.

Ps. I have winows Xp, and i used ags 2.6

Pumaman

#9
Hmm, so if you then load that game into the editor, load room 1, and do a full screen preview - then go back to the Views pane, does it crash then?

If so, could you upload the game so I can take a look?

Also, when you say one of the backgrounds was animated, do you mean you imported an animated PNG file? If so, that could be the cause of the problem since AGS doesn't handle image files with multiple frames.

Damien

No, only the first time i run the engine, set the game palette to 32 bit, and all that, only then game crashes. When i load the game with this settings everything runs ok, i can see the views. Also full screen preview has probably nothing to do with that, when i opened it after loading the game it never crashed (on all backgrounds). Maybe it's that 32 bit conversion?

For animated backgrounds i use bmp images

Pumaman

I just tried going through the steps you listed, but it didn't crash for me. If you import a simple blank image for the main background and for the 4 animated background frames, does the problem still happen?

If you go to Views before doing any of the background importing, does it crash then?

Damien

#12
It's the 32bit pallete conversion!!!!

So, I:
1.Create a blank game (640x480)
2.Click views
-Nothing happens, everything is OK-

3.Convert game palette to 32 bit
4.Click views
-Guess what, CRASH!-

Edit:
If i save the game after changing the pallete to 32bit and then rerun the program and load the game, then everything runs normally.

Inkoddi

#13
whoa, it actually crashes, but not if you don't click Views before you change color depth...
toot

Pumaman

Hmm strange, I did that a couple of times but it didn't crash. What version of Windows are you running? (98/2k/XP ?)

Gankkizz

It happened to me too. I'm using XP


Scorpiorus

Quote from: Damien on Wed 31/12/2003 00:25:24
It's the 32bit pallete conversion!!!!

So, I:
1.Create a blank game (640x480)
2.Click views
-Nothing happens, everything is OK-

3.Convert game palette to 32 bit
4.Click views
-Guess what, CRASH!-

Edit:
If i save the game after changing the pallete to 32bit and then rerun the program and load the game, then everything runs normally.

hmm, the crash with clicking on the view panel has happened to me. But I worked in 16bit colour and didn't switch to 32bit at all. I was just navigating the tree and clicked on the view panel. I'm on Win2k. I'll be trying to replicate.

Pumaman

It's possible this is the same odd crash as used to happen to some people in the game engine.

I'll switch the image scaling code to the version the engine uses and see if that clears up the problem.

SMF spam blocked by CleanTalk