Page 1 of 1
RTC.ScaleBitmap(); crash
Posted: Sun Mar 24, 2002 6:32 pm
by tksuoran
I can repeat this crash:
RTC Diagnostic file - Sun Mar 24 19:30:11 2002
Stack Dump:
RTC.ScaleBitmap(int 446, pointer 0x04A11828, int 0, int 0, int 0);
RTC.CacheBitmap(int 446, int 0);
RTC.DrawBitmap(pointer 0x00EF6730, int 446, int 0, int 186, int 262, word 105, float 0);
RTC.DrawMouseObject(int 1265);
RTC.DrawMouseInGame(int 198, int 274);
RTC.DoFrame(int 50);
RTC.WinMain();
I'd really like to continue my game, but this thing stops me.
Re: RTC.ScaleBitmap(); crash
Posted: Sun Mar 24, 2002 7:05 pm
by Gambit37
What were you doing at the time? How do you repeat the crash?
Re: RTC.ScaleBitmap(); crash
Posted: Sun Mar 24, 2002 9:23 pm
by tksuoran
I was playing chaos strikes back, not far from beginning. Well, in CSB you can quickly get into lots of places.. Anyway, I have a savegame where I am in some place where fireballs fly, through couple of make-turn-teleporters, and there are some ghosts. Now I kill the ghosts and walk past the fireballs, and in the end of the room there is a cavity in the wall. There is a key and some other item on the cavity. It crashes when I try to pick an item from the cavity. I've got Windows 2000.
Re: RTC.ScaleBitmap(); crash
Posted: Mon Mar 25, 2002 12:07 am
by beowuuf
There was a problem tied to this room before, where it was suddenly generating waaaaaaaay to many fireballs when you pick up the key (and vorpal blade), so that the game ran at a crawl with all the extra objects checkign for collision on the same tile...
Re: RTC.ScaleBitmap(); crash
Posted: Wed Apr 03, 2002 10:03 am
by George Gilbert
Unfortunately I havn't been able to reproduce this - could you please send me a save-game file which gives this crash and I'll have another look into it?
Re: RTC.ScaleBitmap(); crash
Posted: Wed Apr 03, 2002 10:54 am
by tksuoran
I'll pick up the save files next time I boot to Windows, I've got multiboot system now with Windows 2000 and RedHat 7.2 Linux. What files do you need? Also any chance for linux version? I don't know how RTC is currently implemented, but I'd suggest using SDL. With it, RTC would be easy to port other systems, including the good old Amiga

Re: RTC.ScaleBitmap(); crash
Posted: Wed Apr 03, 2002 11:33 am
by George Gilbert
Excellent thanks - can you send me all the csb.sv? files in the modules directory and if there are more than one let me know the name you've given to the save game that gives the crash.
I've thought about the porting thing before and it should be relatively easy to do. 95% of the code is pure ANSI C (not even C++), the remainder being DirectX calls. If I've got the time (but not at the moment unfortunately) then I may well write an isolation layer to call onto any graphics handler and porting really will then be easy...