It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
avatar
scientt: If you upload your SETUP-WIDESCREEN.DEBUG and Torment.exe someplace and drop me a PM, I'll have a look.
I'm getting the same problem so I'll give you mine to hopefully help out. Also have a screenshot of the issue.

SETUP-WIDESCREEN.DEBUG
https://www.dropbox.com/s/d4zx8re6egshraq/SETUP-WIDESCREEN.DEBUG

torment.exe
https://www.dropbox.com/s/ly55whv42r5bjiw/torment.exe
Attachments:
Having the same problem!

http://www.sendspace.com/filegroup/UW50XhaUOu%2B7vZA%2BN2uV0w

Thanks a lot, included are the torment.exe and the wide screen debug.

I am running win7 64 bit @ 1920x1080 rez.

EDIT: I just saw your fixer, which worked fine, thanks a lot!
Post edited March 19, 2013 by Infiltrator
@NicePants/Overminty: Could you post some system details like OS, graphics card and graphic driver version?

If anyones game is still crashing after applying the WS fix, I can try to remotely debug issue. However, I have no idea about character models showing up above buildings. Does it happen with unpatched game? Does it happen with Widescreen mod but without my ws fix? Or does it only happen with WS fix applied to WS mod?
Post edited March 21, 2013 by scientt
Scientt, thank you for great patch. Personally, i have no problem with patch. But I have a small request, you can do after entering to screen resolution, it was clear that the installation was successful
To see the succeed or fail message you have to run the patcher from command prompt. It does tell you, but due to nature of how CLI work in windows it will auto close after running.
Thanks for the patch scientt!
You save my game!
By the way, it wrote for me "Patch failed?" with Run as Administrator and everything, but in actuality, it worked fine and patched the game (I did a compare with a backup and it was different and when I started the game it fixed it for me). So I think there's a problem with your patcher's exception handling.
Thanks again.
avatar
scientt: @NicePants/Overminty: Could you post some system details like OS, graphics card and graphic driver version?

If anyones game is still crashing after applying the WS fix, I can try to remotely debug issue. However, I have no idea about character models showing up above buildings. Does it happen with unpatched game? Does it happen with Widescreen mod but without my ws fix? Or does it only happen with WS fix applied to WS mod?
I have this "characters above everything" issue. It was fine before I applied your fix. So I tried to edit my torment.exe (the one I had backed up after the install of widescreen/UI mods) using a hex editor and I have the exact same problem with it: characters are drawn above almost everything. I say "almost" because in the Gallery level it's all strange. It seems to depend on the orientation of the wall, but I'm not sure. Note the arch in my first screenshot, the lower part seems ok, but Annah is displayed above the upper part.
I need to thank you for the fix, scientt, but I would love your help to fix that last cosmetic issue. It kind of breaks my immersion into the game :P

edit: BTW, if that's of any help, I'm on Win7, nvidia Geforce 560 ti, and 1280x800 resolution. I only use widescreen & GhostDog's UI mods. (I couldn't install the other fixes because I was well into the game when I learned of all these mods. I tried creating a new game and I have the same issue)
Attachments:
Post edited March 22, 2013 by Placop
I wish I could reproduce this issue. What the widescreen fix is doing is setting the wall polygon values to match what is being used by WS mod.

To those affected, would someone try to make a clean install of PST with widescreen mod and my fix using a different lower resolution? I'm curious if it is triggered for people at certain res configurations because not everyone is getting it.

On another note, touched base with posfan12 and will see if I can track down one of the other lingering crash bugs related to WS mod.
avatar
scientt: I wish I could reproduce this issue. What the widescreen fix is doing is setting the wall polygon values to match what is being used by WS mod.

To those affected, would someone try to make a clean install of PST with widescreen mod and my fix using a different lower resolution? I'm curious if it is triggered for people at certain res configurations because not everyone is getting it.

On another note, touched base with posfan12 and will see if I can track down one of the other lingering crash bugs related to WS mod.
Okay I've tested a number of things. I have the same problem on my laptop (which has an nvidia with a 16:9 widescreen too).
So I've tried this scenario with several resolutions: I load up my game in the lower ward, go to the clerk ward and the to the apothecary's shop, first without your patch, then after applying your fix.

1366*768 nofix: character/wall display ok, crash as I enter the apothecary's house.
1366*768 with fix: bad character/wall display with characters always above the walls (except in my art gallery- test chamber (I'm sure there are other places where it does just the same)), no crashes.

At this point I'm thinking it might be because of widescreen resolutions. I try 1024*768.

1024*768 nofix: character/wall display ok, crash as I enter the apothecary's house.
1024*768 with fix: bad character/wall display, no crashes.

Okay let's try an even lower resolution: 800*600.

800*600 nofix: character/wall display ok, NO crash as I enter the apothecary's house. Okay, maybe I can play like that. Always better than 640*480. Well not reallly :p
800*600 with fix: bad character/wall display, no crashes.

No luck then. It doesn't seem to be linked to the resolution (the character/walls issue). Except maybe with which walls will cause trouble, but I didn't test that thoroughly. For instance, I noticed that the arch in my previous screenshot works just fine in 800*600 (with the fix) while some walls in the back of the gallery are bugged. The great arches outside in the wards are always displayed below the characters, though.
Weird. it feels like your fix messes with the collision detection that determines whether an object should be displayed above a character or not...
Hmm. Basically, in game there are 2 sets of hardcoded values for 640x480 related to mapping wall areas. All patch does is change these values to match widescreen resolution. The original crash was due to that on larger res, game tries to access areas in memory that don't exist.
I can reproduce this issue and it seems to be a side-effect of scientt's patch.
Start a new game. Climb off the slab and walk to the right. TNO should disappear beneath the wall.

( tested with Fullscreen = 0 on win7 x86 )
4CD1.1 vanilla
4CD1.1 widescreen mod 1440x900
4CD1.1 widescreen mod + scients patch

Place a breakpoint on the IntersectRect call right after the patch.
The first time the breakpoint is hit when starting a new game...
Notice the args.

With vanilla and widescreen setups it is first called with lprcSrc1 as AR0202.WED POLYGON #14
With the patch, lprcSrc1 is first AR0202.WED POLYGON #86

Letting the game run with vanilla and widescreen IntersectRect often returns true.
With the patch IntersectRect never finds a match ( in this new game scenario )

Expected ? / correct behavior ?

ref: WED files
[url=http://www.ugcs.caltech.edu/~jedwin/baldur_WED.html]http://www.ugcs.caltech.edu/~jedwin/baldur_WED.html[/url]
I am having an annoyingly large amount of crashes. In the art gallery i can't move much before it crashes. Seeing as how I am not very well-versed in manipulating hex-strings, i was wondering if someone could help me?

Just tell me what you need from me.

Thanks in advance!
Here you go man:

puu.sh/2mL8z

I'm using 314.21 beta drivers.


I'd like to stress that it doesn't hinder gameplay in any way, it just looks weird and can get confusing sometimes when I'm navigating an area. In any case I am so glad that you posted this fix, it has eliminated almost all CTD erros for me. I appreciate what you've done and am truly thankful for releasing the manual patch! Sorry for not replying sooner!
I had the exact same problem: the game crashed when I entered the Art gallery and went to the bottom-right corner. Your patch helped, scientt. Thanks a lot!
Here is my Torment.exe and Debug:

mediafire dot com slash ?zre1jq516bq3mv4,7kz59t0sc3le7t4


I have 1920x1080 resolution.

(I couldn't post the link the way it actually is, that's why i typed it out like that.)