Page 1 of 1

GAME: Files are Read-Only / Not backwards compatible

Posted: Thu Feb 10, 2005 5:15 pm
by Ameena
I know this got changed in earlier versions, but I just found that in v0.33 all the dungeon files (.txt and RTC) are Read Only. I just went through and changed 'em all but I think it might be nice to change it back again for later versions hehe :).

Posted: Thu Feb 10, 2005 6:00 pm
by beowuuf
oops, meant to mention this one myself...it stops any .rtc file from loading!

Posted: Thu Feb 10, 2005 6:10 pm
by Ameena
And also I can't seem to get anything to compile/load...well, the normal ones do (DM, CSB etc) but I tried DLing some of the ones from that list of dungeons...Sukumvit's Labyrinth and stuff, but although they were in the menu thing to choose from at the start, it crashed on loading and made one of those lovely Diags files with bog all info in :P. I may have done something wrong in trying to load them (download, extract, copy/paste into Modules folder, load RTC, right?) but I can't think what I could have done...

Posted: Thu Feb 10, 2005 8:30 pm
by copperman
same here no compile no custom dungeon loading, it crashes with:-

RTC (V0.33) Diagnostic file - Sat Feb 05 18:59:06 2005

Error:
an access violation exception.

Stack Dump:
RTC.InitFontCol(int 22, pointer 0x000006BA);
RTC.InitSecondary();
RTC.ProgStateIntroContinue2();
RTC.DoFrame(int 7);
RTC.WinMain();

Posted: Thu Feb 10, 2005 10:23 pm
by Gambit37
I made some changes to DM.TXT and compiled that successfully, I haven't tried any others yet. Will report back.

Posted: Thu Feb 10, 2005 10:53 pm
by Gambit37
I tried my sample file that has a ton of custom sounds and bitmaps in it -- once I had added the new missing attributes (font colours, etc) it compiled and played fine.

Posted: Thu Feb 10, 2005 11:48 pm
by copperman
so dungeons need to be updated and recompiled i guess then :/

Posted: Fri Feb 11, 2005 12:27 am
by Gambit37
Guess so!

George, you might need to clarify the "backwards compatibility" of v0.33. ;)

Posted: Fri Feb 11, 2005 4:00 am
by DragonsLover
And why you don't just remove the Read-only for each files?

Posted: Fri Feb 11, 2005 10:40 am
by George Gilbert
You shouldn't have to recompile an old RTC file to work with V0.33 - it should be truly backwards compatible. Clearly there's a bug here!

I'll take a look at it over the weekend...

Posted: Fri Feb 11, 2005 3:01 pm
by George Gilbert
Actually I've just had a look now and immediately spotted the problem; this affects pre V0.33 RTC dungeon files (not save games). Now fixed for V0.34.

Posted: Fri Feb 11, 2005 3:05 pm
by George Gilbert
it crashed on loading and made one of those lovely Diags files with bog all info in
It might look like nothing to you, but they're really useful to me - please post them up if you ever hit any problems!

A case in point is this very issue where a report like "it crashed when loading a dungeon" could have taken ages to work out what was wrong, whereas the very specific report "it crashed in RTC.InitFontCol()" allowed me to find and fix the problem in a few minutes...

Posted: Sun Feb 13, 2005 2:17 am
by Ameena
Alrighty GG...I DLd Sukumvit's Labyrinth again, copied the RTC file into my Modules folder, then loaded RTC (like it says to do in the Sukumvit Readme file). The dungeon appeared in the list at the main menu after the game had loaded, and I selected it. It then crashed to desktop and produced the following Diags file...

RTC (V0.33) Diagnostic file - Sun Feb 13 01:13:34 2005

Error:
an access violation exception.

Stack Dump:
RTC.InitFontCol(int 22, pointer 0x000006BA);
RTC.InitSecondary();
RTC.ProgStateIntroContinue2();
RTC.DoFrame(int 7);
RTC.WinMain();



/shrug

Posted: Sun Feb 13, 2005 8:48 am
by beowuuf
*he's fixed it : ) *