10-13-2004, 09:16 AM | #1 |
Manshoon
Join Date: September 5, 2002
Location: Minnesota, USA
Age: 49
Posts: 180
|
Hey Gang.
I ran into another 'quirk' last night while working on my design. I wanted to set some custom colour for text used in my design so I modified the config.txt file in the .dsn directory (the design) for my design. It worked great in the engine. Then I went back in and made some changes to the design and saved it. When I went to test it out, all my custom colours were gone! [img]graemlins/crying.gif[/img] It seems that whenever you save a design, the main config.txt file from the base DC directory gets copied into your design directory every time you save your design in the editor. Obviously to get around this I can just change the main file and every time I save it will be placed in my design directory. The issue I have is this; Were I to change the set of text colours or other setting to match the current design I am working on in the main config.txt file this version of the file would always be available for that design. BUT, were I switch to working on another design without restoring those settings in the main config.txt, when I saved that other design the config.txt file for that design would have the altered config.txt file saved to it's directory. Depending on the changes made in the config.txt file, this could break the other design! I found the offending(?) code starting in line 1482 the Level.cpp file. code:if (success)[/QUOTE]Perhaps it could be changed so the else is really and elseif or something similar and check for the current existence of the config.txt in the design directory? And if it finds one exists to simply skip over it? (and of course, if it doesn't, to write it)Or is there a specific reason why this needs to be done?
__________________
:knightsmile: |
10-13-2004, 11:02 AM | #2 |
Jack Burton
Join Date: July 13, 2001
Location: Stumptown
Age: 52
Posts: 5,444
|
This is great! I've been having the same issue, but with viewport size. The problem is that DC loads the config.txt from the main directory, and when you save the design, saves it in the design directory. I'm guessing that CocoaSpud wants it to go the way you have suggested... This little bug has cost me- I've had to download DC several times just to get a clean version of the config.txt
Nobody said I'm a guick learner. -manikus |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
You decide? | Zebodog | General Discussion | 4 | 07-20-2007 08:39 AM |
Well, I couldn't decide... | robertthebard | Neverwinter Nights 1 & 2 Also SoU & HotU Forum | 1 | 06-01-2007 01:18 PM |
I cant decide. Please Help Me | ilker | Neverwinter Nights 1 & 2 Also SoU & HotU Forum | 10 | 11-04-2004 07:52 PM |
I can't decide . . . | 9_1_6 | Neverwinter Nights 1 & 2 Also SoU & HotU Forum | 2 | 11-04-2003 04:19 PM |
I can't decide | TheDutkanator | General Conversation Archives (11/2000 - 01/2005) | 13 | 08-24-2001 02:17 PM |