[Fixed for V0.47] Custom dungeons with big entrance bitmaps
Posted: Tue Dec 18, 2007 5:14 am
This is the first time I've run RTC since I switched to an LCD screen. It crashes if you set the screen size in the config.txt to be anything OTHER than the target screen resolution.
For example, my screen is 1280x1024 -- game plays fine if my config contains 1280x1204x24 though the game is actually only a tiny 640x400 window in the middle. (annoying!)
If I set config to 640x480x24, the game runs (albeit with distorted pixels as expected), but after the Dungeon Master logo appears, I get this error:
RTC (V0.46) Diagnostic file - Tue Dec 18 04:11:38 2007
Error:
an access violation exception.
Stack Dump:
RTCMediaGraphics.ScaleBitmapAntiAlias(pointer 0x00B92858, pointer 0x00B92858, pointer 0x032571A8, int 0, int 0, double 0.2, double 0.166667, int 0, int 0, int 128, int 80);
RTCMediaGraphics.ScaleBitmap(pointer 0x00B92858, pointer 0x032571A8, int 0, int 0, int 640, int 480, int 0, int 0, int 128, int 80, int 0, int 0, int 0, bool FALSE, bool TRUE);
RTC.InitSecondary();
RTC.ProgStateIntroContinue2();
RTC.DoFrame(int 7);
RTC.WinMain();
How can we play RTC fullscreen on a fixed resolution LCD?
For example, my screen is 1280x1024 -- game plays fine if my config contains 1280x1204x24 though the game is actually only a tiny 640x400 window in the middle. (annoying!)
If I set config to 640x480x24, the game runs (albeit with distorted pixels as expected), but after the Dungeon Master logo appears, I get this error:
RTC (V0.46) Diagnostic file - Tue Dec 18 04:11:38 2007
Error:
an access violation exception.
Stack Dump:
RTCMediaGraphics.ScaleBitmapAntiAlias(pointer 0x00B92858, pointer 0x00B92858, pointer 0x032571A8, int 0, int 0, double 0.2, double 0.166667, int 0, int 0, int 128, int 80);
RTCMediaGraphics.ScaleBitmap(pointer 0x00B92858, pointer 0x032571A8, int 0, int 0, int 640, int 480, int 0, int 0, int 128, int 80, int 0, int 0, int 0, bool FALSE, bool TRUE);
RTC.InitSecondary();
RTC.ProgStateIntroContinue2();
RTC.DoFrame(int 7);
RTC.WinMain();
How can we play RTC fullscreen on a fixed resolution LCD?