Clock on 15/3/2017 at 00:47
I cannot seem to get TDS to work with NewDarkLoader. The game is played via Steam. I've been using NewDark alongside Steam successfully with ThiefGold & Thief2.
I installed the patch for TDS (SneakyUpdate) then followed the directions for NewDarkLoader......
1. Extract NewDarkLoader.dll, SevenZipSharp.dll and NAudio.dll to your Thief2 folder (or Thief, or Shock2, or Thief3\System). English.ini is optional - see the end of section 2 for details.
The file 7z.dll should already be in the destination folder, but is included just in case you don't already have it
2. Open up cam_mod.ini with any text editor.
(For Thief 3, it's SneakyOptions.ini)
3. Remove the ; from the line that reads ;fm
If you have already been using FMSel, this will not be necessary
4. On any other line, type in this, or copy and paste from here:
fm_selector NewDarkLoader.dll (For Thief 3, change ExternalSelector=... from FMSel.dll to NewDarkLoader.dll)
The file SneakyOptions.ini was NOT found in the System Subfolder but a different subfolder (save/options). The file itself contained only one reference to
ExternalSelector :
ExternSelector=fmsel.dll (Note the different spelling ~ExternSelector vs ExternalSelector)
I assumed that to be a typo and renamed the file ExternSelector=NewDarkLoader.dll
This is where I'm stuck. No matter what executable I try, either directly or through Steam, I can't get NewDarkLoader to kick in and take over.
Is Sneakyoptions.ini where it should be? Should it be moved, perhaps to the System subfolder? Is re-naming the line to read ExternSelector=NewDarkLoader.dll the issue? Have I missed a step somewhere?
Grandmauden on 15/3/2017 at 04:41
I am experiencing the same issue as Clock, though I installed TDS via the Mastertronic CD and not Steam.
My SneakyOptions.ini is found in Documents/Thief - Deadly Shadows/options. I also have installed the Sneaky Upgrade v1.1.7.516.
By experimenting with the ExternSelector and AlwaysShow lines, I've had the following results:
"ExternSelector=NewDarkLoader.dll" and "AlwaysShow=true": nothing happens when I run TDS.
"ExternalSelector=NewDarkLoader.dll" and "AlwaysShow=true": FMSel loads.
"AlwaysShow=false", regardless of the ExternSelector line: TDS starts normally, with no FM loader.
EnYB0La on 16/3/2017 at 02:43
@R Soul
Did you think about publishing the source code in GitHub?
R Soul on 16/3/2017 at 21:22
I had to use ProcessMonitor to find it on my own PC.
C:\Users\Public\Documents\Thief - Deadly Shadows\Options
Try looking there on your own PCs. This folder is for Windows 10, and it's probably used on 8, 7 and Vista too.
And loader filename is "ExternSelector"
If AlwaysShow is true, your regular T3SU shortcut will run the loader.
If AlwaysShow is false the shortcut will take you staight to the game and the original missions (including whatever tweaks/mods you have installed). To play FMs you'll need another shortcut (or modify the existing one) with -fm at the end of the path name.
Try the folder above to see if you can find your SneakyOptions file. I'm sure I wouldn't have suggested your main T3 folder without good reason. Maybe there's an option to determine where the options file is stored.
I've occasionally thought about uploading the source, but when I look at it, it looks horrible.
Clock on 16/3/2017 at 22:36
Quote Posted by R Soul
I had to use ProcessMonitor to find it on my own PC.
C:\Users\Public\Documents\Thief - Deadly Shadows\Options
Try looking there on your own PCs. This folder is for Windows 10, and it's probably used on 8, 7 and Vista too.
And loader filename is "ExternSelector"
If AlwaysShow is true, your regular T3SU shortcut will run the loader.
If AlwaysShow is false the shortcut will take you staight to the game and the original missions (including whatever tweaks/mods you have installed). To play FMs you'll need another shortcut (or modify the existing one) with -fm at the end of the path name.
Try the folder above to see if you can find your SneakyOptions file. I'm sure I wouldn't have suggested your main T3 folder without good reason. Maybe there's an option to determine where the options file is stored.
I've occasionally thought about uploading the source, but when I look at it, it looks horrible.
I found where sneakyoptions.ini is on my computer and I know the game recognizes it where it is, because when I do the alterations as described, the game will not run, but if I leave it alone, the game will play but it won't run NewDarkLoader.
Original Lines (from sneakyoptions.ini) : Game works, but NewDarkLoader doesn't run.
[Loader]
;ExternSelector=NewDarkLoader.dll
ExternSelector=fmsel.dllLanguagePriority=english,german,italian,french,russian,polish,spanish
;AlwaysShow=true
AlwaysShow=falseIgnoreSavesKey=true
FanMission=
InstallPath=C:\Program Files (x86)\Steam\steamapps\common\Thief Deadly Shadows
Altered Lines: Game doesn't work at all.
[Loader]
ExternSelector=NewDarkLoader.dll;ExternSelector=fmsel.dll
LanguagePriority=english,german,italian,french,russian,polish,spanish
AlwaysShow=true;AlwaysShow=false
IgnoreSavesKey=true
FanMission=
InstallPath=C:\Program Files (x86)\Steam\steamapps\common\Thief Deadly Shadows
snobel on 17/3/2017 at 14:36
In the next version of the Sneaky Upgrade (should be out this weekend) you'll be able to select which FM loader to use from the tweaker. Testing that, I've found that NewDarkLoader doesn't work for me either. I'll try to figure out why.
fortuni on 17/3/2017 at 15:53
Top man Thanks snobel....what would we do without you. :thumb:
FenPhoenix on 17/3/2017 at 22:48
Quote Posted by R Soul
I've occasionally thought about uploading the source, but when I look at it, it looks horrible.
As a coder myself, I'm all too familiar with that feeling.
However, I think the NDL source would be a useful thing for the community, whether "horrible" or not. I myself wouldn't mind having a look and learning from it, and I or others could add or improve things without making demands on your time. (Having used it regularly since release, there are a few things I'd like to see added, but I haven't wanted to pester you about non-critical features or things that aren't bugs).
Anyway, I know I would be appreciative of a source release, regardless of how it looks, and I think others here would too. But it's up to you of course. If you really don't want to, I'll respect that decision. :)
gnartsch on 18/3/2017 at 08:39
The NewDarkLoader did not work for me either.
This is the crash report I found in the Event Log Viewer:
Obviously the T3Main.exe was not detected as 'thief3' - and thus the code did not even try to load SneakyOptions.ini, but cam_mod.ini instead.
That's what I read from the source code.
Code:
Anwendung:
T3Main.EXEFrameworkversion: v4.0.30319
Beschreibung: Der Prozess wurde aufgrund einer unbehandelten Ausnahme beendet.
Ausnahmeinformationen:
System.IO.FileNotFoundException bei System.IO.__Error.WinIOError(Int32, System.String)
...
bei System.IO.File.ReadAllLines(System.String, System.Text.Encoding)
bei
NewDarkLoader.Form1.getFMInsPathFromCam_Mod() bei NewDarkLoader.Form1.readINIFileToData()
bei NewDarkLoader.Form1..ctor(System.String, Boolean, System.String)
bei NewDarkLoader.Program+<>c__DisplayClass3_0.********FM>b__0()
bei System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
...
Even if it had detected Thief3 it would not work for me, since the code assumes the SneakyOptions.ini within
Code:
Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData) + "\\Documents\\Thief - Deadly Shadows\\Options\\SneakyOptions.ini"
On my system this isn't true at all. It is actally in
D:\Games\Thief3\Options.
There is a registry key pointing to it.
Quote:
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Ion Storm\Thief - Deadly Shadows]
"ION_ROOT"="D:\\Games\\Thief3"
Works fine for me with FmSel.