lostincarnation Posted October 13, 2007 Share Posted October 13, 2007 Whenever i try to enter Shilandra's Kip, the game just freezes at the loading screen and then CTD. I try a few other areas and they work fine. The version of widescreen mod is 0.6 PST is patched and with a few mods installed Link to comment
Avenger Posted October 13, 2007 Share Posted October 13, 2007 Are you sure this is because of the widescreen mod? Link to comment
Guest Greco Posted October 13, 2007 Share Posted October 13, 2007 Happens to me too. I think it has something to do with having a screen size larger than the loaded area, as I had some weirdness with the Crypt (portal-exit from Mortuary) going all wallpaper on me and duplicating the graphics to the left of the playable area. Link to comment
lostincarnation Posted October 13, 2007 Author Share Posted October 13, 2007 Upon further testing, i find that entering the open tomb near the mortuary will cause an assertion fail at ...\cvisibility.cpp in line 1264. I also try several areas whose size is smaller than the screen but they work fine... To Avenger: Yes, the bugs only exist when widescreen mod is installed. Link to comment
Avenger Posted October 13, 2007 Share Posted October 13, 2007 Well, when reading 'shilandra's kip' i also thought about the small area size. I think this could still be fixed, and could be a problem with other games (mostly bg1) too. Link to comment
the bigg Posted October 13, 2007 Share Posted October 13, 2007 Sigh. These also happen in BG1 when entering an area smaller than the current one (D:\dev\chitin\chitin.cpp, line 1376). Link to comment
the bigg Posted October 13, 2007 Share Posted October 13, 2007 Writing code to ignore the assertions now results in a "silent" CTD. Off writing code to extend the area/wad/TIS. Link to comment
Avenger Posted October 13, 2007 Share Posted October 13, 2007 Can you tell me where the assertions happen? Maybe this could be fixed easier than resizing all areas Link to comment
the bigg Posted October 13, 2007 Share Posted October 13, 2007 investigate around these offsets in the 2cd edition: 0x194275 => 0x7c 0x196859 => 0x7c. Those are 'jl' instructions that I had to turn to 'jmp' to avoid the assertions. However, doing so would result in a 'silent' CTD. Link to comment
Avenger Posted October 14, 2007 Share Posted October 14, 2007 No dice, i don't have jl at those positions. My torment.exe size is 5713981 Its version is 1.0.0.1 Link to comment
the bigg Posted October 14, 2007 Share Posted October 14, 2007 5718077 bytes. it's the one from the 2cd set. (subtract 0x00400000 as before) :0059426E 0FBF55FC movsx edx, word[ebp-04] :00594272 83FA06 cmp edx, 00000006 :00594275 7C14 jl 0059428B :00594277 6A00 push 00000000 :00594279 68C4089400 push 009408C4 (StringData)"D:\Torment\Source\baldur\CVisibility.cpp" :0059427E 68FF000000 push 000000FF :00594283 E832C72800 call 008209BA :00594288 83C40C add esp, 0000000C 00596831 55 push ebp 00596832 8BEC mov ebp, esp 00596834 83EC08 sub esp, 00000008 00596837 53 push ebx 00596838 894DF8 mov dword[ebp-08], ecx 0059683B C645FC00 mov byte[ebp-04], 00 0059683F 837D0800 cmp dword[ebp+08], 00000000 00596843 7C16 jl 0059685B 00596845 8B45F8 mov eax, dword[ebp-08] 00596848 0FBF4806 movsx ecx, word[eax+06] 0059684C 8B55F8 mov edx, dword[ebp-08] 0059684F 0FBF4208 movsx eax, word[edx+08] 00596853 0FAFC8 imul ecx, eax 00596856 394D08 cmp dword[ebp+08], ecx 00596859 7C14 jl 0059686F -------- 0059685B 6A00 push 00000000 0059685D 6874099400 push 00940974 (StringData)"D:\Torment\Source\baldur\CVisibility.cpp" 00596862 68F0040000 push 000004F0 00596867 E84EA12800 call 008209BA 0059686C 83C40C add esp, 0000000C -------- 0059686F 33C9 xor ecx, ecx Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.