Ironworks Gaming Forum

Ironworks Gaming Forum (http://www.ironworksforum.com/forum/index.php)
-   Dungeon Craft - RPG Game Maker (http://www.ironworksforum.com/forum/forumdisplay.php?f=20)
-   -   Problem running DC on Vista while editor is open (http://www.ironworksforum.com/forum/showthread.php?t=100688)

Jadefang 04-18-2009 04:41 PM

Problem running DC on Vista while editor is open
 
I got a new computer with Vista, and installed Dungeon Craft on it. However, if I try to test a design (run UAFWin with the editor open), I get a message "Unable to find and load config.txt file", and then the game engine says it can't find any designs. However, if I run UAFwin without the editor open, it works completely fine.

Checking the UAFWin error log, I get this with the editor open:

Opened Error Log on Sat Apr 18 13:33:25 2009
0040a480 Engine Version: 0.914000
0040a482 Working directory = Files\DungeonCraft\UAFWin\UAFWin.exe\
0040a482 Unable to locate config.txt file
0040a482 (MB) Config.txt Error: Unable to find and load config.txt file
0040e8fe Failed to load config.txt file in InitInstance()
0040e900 Engine app active: Yes
0040e9dc OS: version 6.0 Service Pack 1 (Build 6001)
0040e9dc DX: DirectX 8
0040e9dc IE: 7.0.6001.18000
0040e9dc Enter InitFullScreen
0040e9dc Creating pScreen
0040ea59 Checking SysMem Flag
0040ea59 Checking video modes
0040ea59 Checking 640 x 480 x 24
0040ea59 Stepping down bit-depth to 16 bits
0040ea59 Checking 640 x 480 x 16
0040ea59 Using video mode 640 x 480 x 16
0040ea59 Creating full screen()
0040ec19 screen created ok
0040ec19 InitGraphics fullscreen at 640 x 480 x 16
0040ec19 Init WallSlot image cache with size 48
0040ec19 Init BgSlot image cache with size 32
0040ec19 *** Error, sound lib file 'Files\DungeonCraft\UAFWin\UAFWin.exe\bass.dll' does not exist - sound disabled
0040ec19 Failed to locate/load BASS DLL
0040ec19 Files\DungeonCraft\UAFWin\UAFWin.exe\game.dat does not exist
0040ec19 Creating fonts from SYSTEM
0040ec35 SetWarp to 27,0 on level 0, facing 1
0040f510 Loading credits screen and music
0040f511 Cant find file in AddSurface(Credits.jpg)
0040f511 Failed to load fade-in image: 'Credits.jpg'
0040f511 Credits screen failed to load

But when just running UAFWin alone (where it works), I get:

Opened Error Log on Sat Apr 18 13:35:09 2009
004238db Engine Version: 0.914000
004238db Working directory = E:\Program Files\DungeonCraft\UAFWin\
004238db Loading Config File = 'E:\Program Files\DungeonCraft\config.txt'
004238db Editor Art Dir = E:\Program Files\DungeonCraft\DefaultArt\
004238db Editor2 Art Dir =
004238db CommonCharSave Dir = E:\Program Files\DungeonCraft\CharSave\
004238db DisableScreenSaver = 1
004238db Force_SysMem = 1
004238db Error Log ON
004238db Total optional wall formats: 6
004238db Engine app active: Yes
004239c0 OS: version 6.0 Service Pack 1 (Build 6001)
004239c0 DX: DirectX 8
004239c0 IE: 7.0.6001.18000
004239c1 Enter InitFullScreen
004239c1 Creating pScreen
00423a40 Checking SysMem Flag
00423a40 Checking video modes
00423a40 Checking 640 x 480 x 32
00423a40 Using video mode 640 x 480 x 32
00423a41 Creating full screen()
00423bae screen created ok
00423bae InitGraphics fullscreen at 640 x 480 x 32
00423bae Init WallSlot image cache with size 48
00423bae Init BgSlot image cache with size 32
00423bae *** Error, sound lib file 'E:\Program Files\DungeonCraft\UAFWin\bass.dll' does not exist - sound disabled
00423bae Failed to locate/load BASS DLL
00423bae E:\Program Files\DungeonCraft\UAFWin\game.dat does not exist
00423bae Creating fonts from SYSTEM
0042463c Loading credits screen and music
0042463d Cant find file in AddSurface(Credits.jpg)
0042463d Failed to load fade-in image: 'Credits.jpg'
0042463d Credits screen failed to load

It seeems when the editor is open, it doesn't read the working directory correctly (just cuts off after "Files" in Program Files). Anyone know why that might be the case?

I never had that problem in my prior installation on XP, although my installation directory was different in that there weren't any "multiple word" folders.

Jadefang 04-19-2009 05:56 AM

Re: Problem running DC on Vista while editor is open
 
Well, a working solution seems to be to rename E:\Program Files\DungeonCraft\UAFWin\UAFWin.exe to E:\Progra~1\DungeonCraft\UAFWin\UAFWin.exe in the config.txt. Sounds kinda unelegant, but it works I guess.

Paul Stevens 04-19-2009 09:38 AM

Re: Problem running DC on Vista while editor is open
 
Are you talking about running the game indepently from the editor while the editor is open? Or are you starting the game from within the editor?

Jadefang 04-19-2009 04:12 PM

Re: Problem running DC on Vista while editor is open
 
Starting the game within the editor. Although the former method leads to the same problem (only difference from playing the game without the editor open is that it grants access to the "Win" button in combat).

Paul Stevens 04-20-2009 04:40 PM

Re: Problem running DC on Vista while editor is open
 
OK. Thanks. I'll look into it.

Paul Stevens 04-20-2009 09:00 PM

Re: Problem running DC on Vista while editor is open
 
Well, I cannot make this happen on my Vista
machine.
I have directory structure:
C:
---Program Files
------DungeonCraft
---------config.txt
---------TallWallTest.dsn
------UAFWin
---------UAFWin.exe
------UAFWinEd
---------UAFWinEd.exe

All put there by the installer, I believe.
Except for the TallWallTest.dsn folder.

I DoubleClick UAFWinEd.exe and open
TallWallTest.dsn
Then I doubleClick UAFWin.exe and it
plays the game just fine.

Are you using any shortcuts to run the
UAFWin.exe? Is you folder / file structure
different than mine?

Jadefang 04-21-2009 02:27 AM

Re: Problem running DC on Vista while editor is open
 
I put mine on E: instead of C:, but it's otherwise the same. The actual problem is that in config.txt, you couldn't write out "Program Files" in its entirety in one of those options, instead having to abbreviate as "Progra~1".

manikus 04-21-2009 04:52 PM

Re: Problem running DC on Vista while editor is open
 
Steve McDonald had some issues with Vista as well. Here is the link to his solution and why it worked.
http://tech.groups.yahoo.com/group/U...r/message/4709

A couple of people have the space issue with XP as I recall, but Tarlanon and I have not and could not recreate the problem in XP... As I recall, in all cases, they were putting DC somewhere other than the C drive and we solved the problem by writing "progra~1" instead of "program files". On my computers, it does not seem to matter what the drive letter is, they work fine.


All times are GMT -4. The time now is 05:27 PM.

Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
©2024 Ironworks Gaming & ©2024 The Great Escape Studios TM - All Rights Reserved