GAME: Files are Read-Only / Not backwards compatible

Messages are moved here (should anyone ever want to see them again) once they are no longer applicable to the current version (e.g. suggestions that have been implemented or bugs that have been fixed).

Moderator: George Gilbert

Forum rules
Please read the Forum rules and policies before posting. You may Image to help finance the hosting costs of this forum.
Post Reply
User avatar
Ameena
Wordweaver, Murafu Maker
Posts: 7571
Joined: Mon Mar 24, 2003 6:25 pm
Location: Here, where I am sitting!
Contact:

GAME: Files are Read-Only / Not backwards compatible

Post 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 :).
______________________________________________
Ameena, self-declared Wordweaver, Beastmaker, Thoughtbringer, and great smegger of dungeon editing!
User avatar
beowuuf
Archmastiff
Posts: 20686
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post by beowuuf »

oops, meant to mention this one myself...it stops any .rtc file from loading!
User avatar
Ameena
Wordweaver, Murafu Maker
Posts: 7571
Joined: Mon Mar 24, 2003 6:25 pm
Location: Here, where I am sitting!
Contact:

Post 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...
______________________________________________
Ameena, self-declared Wordweaver, Beastmaker, Thoughtbringer, and great smegger of dungeon editing!
User avatar
copperman
Um Master
Posts: 476
Joined: Thu Aug 29, 2002 12:49 pm
Location: UK

Post 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();
User avatar
Gambit37
Should eat more pies
Posts: 13773
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Post by Gambit37 »

I made some changes to DM.TXT and compiled that successfully, I haven't tried any others yet. Will report back.
User avatar
Gambit37
Should eat more pies
Posts: 13773
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Post 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.
User avatar
copperman
Um Master
Posts: 476
Joined: Thu Aug 29, 2002 12:49 pm
Location: UK

Post by copperman »

so dungeons need to be updated and recompiled i guess then :/
User avatar
Gambit37
Should eat more pies
Posts: 13773
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Post by Gambit37 »

Guess so!

George, you might need to clarify the "backwards compatibility" of v0.33. ;)
User avatar
DragonsLover
Craftsman
Posts: 110
Joined: Sat Jun 14, 2003 12:37 am

Post by DragonsLover »

And why you don't just remove the Read-only for each files?
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Post 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...
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Post 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.
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Post 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...
User avatar
Ameena
Wordweaver, Murafu Maker
Posts: 7571
Joined: Mon Mar 24, 2003 6:25 pm
Location: Here, where I am sitting!
Contact:

Post 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
______________________________________________
Ameena, self-declared Wordweaver, Beastmaker, Thoughtbringer, and great smegger of dungeon editing!
User avatar
beowuuf
Archmastiff
Posts: 20686
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Post by beowuuf »

*he's fixed it : ) *
Post Reply