May 01, 2024, 09:17:48 AM

Username
Password

  Show Posts
Pages: 1 2 3 [4] 5 6 ... 66
46  Modifications / Tools / Re: Wh32Edit 2.0 on: November 14, 2015, 10:09:57 PM
That's not a bug in the editor. Dark Omen rejects all save files that don't have the correct size (18.996 Bytes)
Wh32Edit is more clever in handling this Wink
47  Modifications / Tools / Re: Mod Selector on: November 05, 2015, 06:02:55 PM
Better solution that only hooks SetCurrentDirectory...

But this is really the final final version Wink

Is directly in the download section

Mod Selector
48  Warhammer Dark Omen / Help Section / Re: Keyboard Issue on: November 04, 2015, 10:47:26 AM
The only critical setting is the color cursor, the others are safe to use
49  Warhammer Dark Omen / Help Section / Re: Keyboard Issue on: November 04, 2015, 10:32:40 AM
Try the Mod Selector (install by extracting it in PRG_ENG (where the original EngRel.exe is) and run the new EngRel.exe.
And set compatibility settings (right click -> settings) to 640x480 and 16bit.
50  Warhammer Dark Omen / Help Section / Re: Keyboard Issue on: November 04, 2015, 10:19:13 AM
Did you try restarting your PC?
51  Modifications / Tools / Re: Mod Selector on: November 04, 2015, 01:43:00 AM
The reason is that the developers use (no idea why) SetCurrentDirectory to move into the map directory and then work with relative paths (e.g. "B1_01.prj").
The problem is now that SetCurrentDirectory fails, because the directory does not exist (and succeeds when the empty directory exists).
This can be worked around by remembering which directory they wanted to change to and just prepend it to the filenames BUT this fails for reading BTB files because instead of opening "B1_01.btb" directly they get the current working directory (which is the wrong one because the call failed) and append "B1_01.btb" and then pass the full pathname (!) to CreateFile.
This means besides SetCurrentDirectory also GetCurrentDirectory must be hooked because they use the result of Get once to generate the BTB path... WTF, why do they do this, was the BTB part written by a different person???

New version! (Sourcecode follows during the next days)

Olly, you can delete the empty folders now Wink
Also fixes the focus lost crash.

Guess I can take a break now again... all bugs fixed.
52  Modifications / Tools / Re: Mod Selector on: November 03, 2015, 04:21:18 PM
Losing focus under Windows 10 results in Dark Omen crashing. Makes debugging almost impossible. In case somebody wants to fix this before I invest time in it. Wink
53  Modifications / Tools / Re: xslots ddraw.dll/ddmod.dll not working on GameRanger on: November 02, 2015, 01:22:28 PM

Quote
I was avoiding the ms crt mess because the vc libraries break backward compatibility with old versions of windows.

Yep, but crt is necessary evil to write clean code. No STL = no life. Cheesy

I don't like using C, is so inconvenient, C++ adds so many useful stuff, at least std::string.

I always compile using the static CRT and never had problems. I don't target platforms older then XP. Actually I even dropped XP support now (if you really need it simply recompile using the v100 compiler...). My latest patch is compiled using the VS2015 CRT, still works fine inside of Dark Omen.
54  Modifications / Tools / Re: Mod Selector on: November 02, 2015, 12:14:07 AM
Code:
CopyFile: d:\spiele\dark omen\gamedata\2parm\allied1.arm to d:\spiele\dark omen\armytmp\player1.arm
Redirected to: D:\Spiele\Dark Omen\Mods\Skaven\gamedata\2parm\allied1.arm -> D:\Spiele\Dark Omen\Mods\Skaven\armytmp\player1.arm
55  Modifications / Tools / Re: Mod Selector on: November 01, 2015, 11:30:01 PM
Long time passed but here is a new version.
Sorry I don't have VS2010 anymore, this version will only work under Vista and newer!

This hooks CopyFile, GetFileAttributes and SetFileAttributes so they are redirected to the mod directory.
I hope Get/SetFileAttributes fixed not detected map files... and CopyFile armytmp issues.

Note that you need Compatibility 640x480 and 16bit from Win8 and newer
56  Modifications / Tools / Re: xslots ddraw.dll/ddmod.dll not working on GameRanger on: October 30, 2015, 12:09:56 PM
This looks like some strange redirection issue. Maybe it uses an API function the is not hooked.
Potential candidates are (without checking) CopyFile or MoveFile because the two APIs to handle file reading (CreateFile and MapViewOfFile) are already redirected.
57  Modifications / Tools / Re: xslots ddraw.dll/ddmod.dll not working on GameRanger on: October 29, 2015, 04:04:01 PM
So the fix was to add MSVCRT.lib to the dependencies.
58  Warhammer Dark Omen / Help Section / Re: Windows 10 - Flickering screen on: September 18, 2015, 12:14:37 PM
This issue is actually since Windows 7.
The installer progress bar hangs at 99% for ages. Maybe in Win10 this first progress bar is invisible.
59  Warhammer Dark Omen / Help Section / Re: German Version Fix? on: September 01, 2015, 07:02:10 PM
Oh yeah the German voices are awesome.

This is actually pretty easy.
I can't remember the path but in Sounds is a folder "SP_ENG" and "SP_DEU" (if not: look at the CD).

Simple take the SP_DEU folder and copy it as SP_ENG.
60  Warhammer Dark Omen / Help Section / Re: German Version Fix? on: August 29, 2015, 11:48:20 PM
you must copy PRG_ENG from the CD
Pages: 1 2 3 [4] 5 6 ... 66