Thief 1/2 & SShock 2: DDFix and Enhanced Resolution Patch - discussion - by bikerdude
Hiatus on 5/4/2008 at 14:44
this one is also crashing in SS2 on desktop icon click in same offset with EM=1 and EM=5. EM=0 is fine.
TG also crashes in same way as before (with EM=1 and 4)
Quote Posted by Timeslip
Updated the beta to let you specify the memory addresses manually.
ok but how? it isn't explained anywhere (or can't find the instructions).
Quote:
I still think that the SS2 and TMA are too different for this to work without code changes.
I'm of the same opinion - the game executables are just too different, even though they share the same engine (albeit in diff. versions/dev. stages).
TDP 1.0 (v1.14) - Nov 1998
TDP v1.33 - Feb/Mar 1999 (?)
SS2 1.0 (1.15) - Jul 1999
SS2 v2.3 - Sep 1999
TG (v1.37) - Sep 1999
T2Demo (v1.01) - late 1999 (?)
T2 1.0 (1.07) and v1.18 - Mar 2000
That's a timespan of roughly 1.5 years which simply has to translate to enough changes in code to break given game specific hooks (even if mapping pointers etc).
Timeslip on 5/4/2008 at 14:49
Quote Posted by Hiatus
ok but how? isn't explained anywhere (or can't find the instructions).
Bah. I included the old ini. :mad:
Change ExtensionsMode to -1, then add this to the bottom of the ini:
Code:
[MemAddr]
CopyTex=0x0041D948
MipMap=0x0041D96B
CreateVidTex=0x0062A67C
LevelStart=0x0040FCA4
TextureExists=0x005BD427
CreateFile=0x0060015C
BltPrimary=0x00591440
CopyTexRet=0x0041D4F0
MipMapRet=0x0041D680
CreateVidTexRet=0x005BD320
LevelStartRet=0x0041C070
Those are the thief 2 addresses. They need to point at the bytes being changed, rather than at the start of the instruction.
Edit:
Seems to have gone a bit quiet around here. :(
For my own thief installation, I've been replacing the textures with some from qarl's oblivion texture pack. Obviously not something I can release, (and I haven't been picking the textures very carefully either, so some of them look a bit out of place,) but it makes some nice screenshots. ((
http://img238.imageshack.us/img238/6254/shot1sj1.png) before, (
http://img507.imageshack.us/img507/9914/shot2mr8.png) after.)
I'm swamped with uni work atm, so I probably wont be around much for the next couple of weeks. I'll type up some proper instructions and post them in editors guild tomorrow, and expect to see a texture replacer/FM finished by the time I get back. :ebil:
Hiatus on 7/4/2008 at 09:29
Quote Posted by Timeslip
Seems to have gone a bit quiet around here.
yes, indeed, in my case because I tested your latest beta .9 in both TG/SS2 and as reported they crash instantly for me. And I'm not proficient enough with things like IDA etc ATM to be able to trace and try some other, maybe working hook entry (?) addresses. And others here most likely also have similar (lacking skill in this area) problem to be much/any of help at this stage (except for Assidragon who is a C++ programmer). Besides, as you said and I tend to agree (reasons in my post above), code changes (specific for given .exe) are probably necessary (not merely changing addresses) as they differ too much (from T2 1.18 you got working).
Probably the weekend had to do with this quietness as well (spring finally arrived).
Q: what does it change for you (re adding hook support for SS2, TG etc) if you got game .exe alone as opposed to having whole game installed? Does have .exe alone making it lots of harder for you? Do you *have* to have whole games installed to be able to add working hook support for SS2/TG/editors?
Quote Posted by Timeslip
I'm swamped with uni work atm, so I probably wont be around much for the next couple of weeks.
you devoted a lot of time to ddfix in last couple of weeks, so that's entirely understandable, I would say :). In any case, please don't forget about ddfix and us ;). I'm looking forward to working SS2/TG etc hook support when you come back here :p.
Timeslip on 7/4/2008 at 09:40
Quote Posted by Hiatus
Q: what does it change for you (re adding hook support for SS2, TG etc) if you got game .exe alone as opposed to having whole game installed? Does have .exe alone making it lots harder for you? Do you *have* to have whole games installed to be able to add working hook support for SS2/TG/editors?
With just the exe I can't run the game, so I can't test if it works. :p
I've started a new thread (
http://www.ttlg.com/forums/showthread.php?t=120645) here. I don't particulaly want to move the getting-it-working-with-other-games discussion over there, but anything else texture related should be.
Hiatus on 7/4/2008 at 10:15
Quote Posted by Timeslip
With just the exe I can't run the game, so I can't test if it works.
I see, and currently (asking to make sure) you only have a T2 copy; no SS2/TG/TDP? If yes, we should supply you with missing titles (if you agree of course) as we can't really expect you to spend money to get them yourself (even though they are cheap nowadays - used copies on auctions).
Timeslip on 7/4/2008 at 10:25
Quote Posted by Hiatus
I see, and currently (asking to make sure) you only have a T2 copy; no SS2/TG/TDP? If yes, we should supply you with missing titles (if you agree of course) as we can't really expect you to spend money to get them yourself (even though they are cheap nowadays - used copies on auctions).
I have TDP and TMA, and I can get TG and SS2 easily enough if I want them. I just don't have enough free time to do the work on them myself atm. :(
Hiatus on 7/4/2008 at 10:38
well, we can't buy you/get you free time, I'm afraid :p...
ZylonBane on 7/4/2008 at 15:20
On the bright side, if TDP can be made to work, it's almost certain that SS2 will then work as well. After all, as the Gamasutra SS2 postmortem says:
Quote:
Remarkably, it is still possible to compile a hybrid executable out of this tree that can play both Thief and System Shock 2 based on a variable in a configuration file.
Timeslip on 7/4/2008 at 15:35
I've just installed SP1 on vista, and it seems to be causing problems with thief/ddfix. :(
Firstly, if you get a load failed error followed by a crash when trying to load a save game, you'll need to run thief as admin or disable UAC. (That monster should really be disabled anyway. I have no idea what microsoft were smoking when they designed it, but it's even more annoying than their office paperclip. You get so used to constantly clicking OK without reading the boxes that it probably doesn't even help security either. :mad:)
Secondly, hardware blt seems to be broken, making the menu screens look horribly pixelated. That's just a cosmetic issue though, and doesn't have any effect in game.
The 32 bit textures stuff all seems to still be working fine. I didn't try any compatibility modes.
bikerdude on 7/4/2008 at 16:18
Quote Posted by Timeslip
you'll need to run thief as admin or disable UAC. (That monster should really be disabled anyway. I have no idea what microsoft were smoking when they designed it...
Nice one Timeslip and for thos who dont know how to disable UAC(user account control) in vista, all you need to do is.
1. click on start then run, then type "msconfig"
2. then under the under the last tab "tools" scroll down until you see "disable UAC" or "disable UAP", and then click on the "launch" button
3. you will then get a little black window pop which means it done.
4. Reboot the pc and enjoy
Here is an example...
Inline Image:
http://www.petri.co.il/images/disable_uac_1.gifbiker