Tomb Raider Forums  

Go Back   Tomb Raider Forums > Tomb Raider Level Editor and Modding > Tomb Raider Level Editor > DXTRE3D

Reply
 
Thread Tools
Old 12-03-18, 20:09   #11
Danath
Member
 
Danath's Avatar
 
Joined: Apr 2005
Posts: 2,144
Smile

I have some news about this!

First things first, i'm an idiot and forgot to mention that i'm using Arsunt's patched .exe.

And the good news, i talked with Arsunt about the secret counter and as i suspected, the way secrets are counted at the end is coded in the .exe.
He told ( and showed ) me that the last two levels are coded to not count, and since i have only 1 level right now i assume it interprets it as the final one, and always displays "0 of 0 found". The training level has an index of 0 and it never counts.
He also told me he will try to implement a dynamic counter, so the way secrets are counted at the end would relate to the script flow of tombpc.dat rather than be hardcoded in the .exe.
Danath is offline   Reply With Quote
Old 13-03-18, 11:40   #12
thewolf
Golden
 
thewolf's Avatar
 
Joined: Aug 2017
Posts: 646
Thumbs up

Those are some good news. Hopefully he will find a way
thewolf is offline   Reply With Quote
Old 28-03-18, 03:04   #13
DaroRaider
Member
 
DaroRaider's Avatar
 
Joined: Apr 2012
Posts: 651
Default

Yes, this number is hardcoded within the .exe file.
Lot of years ago, there was a programmer who discovered by hexediting the executable where was the address of this paramater to be changed.

Unfortunately, there is no more indicious of this.
That old forum died.
Also it was found the parameter to activate/deactivate snow weather/freezing water for Tomb Raider 3 levels.
DaroRaider is offline   Reply With Quote
Old 06-04-18, 19:15   #14
TheLostSecret
Member
 
Joined: Mar 2018
Posts: 632
Talking

You have to change the hex offset address inside the TOMB4.exe using a hex edit program . Mine is hex workshop .

Data about the TOMB4.EXE secret counter offset :

Offset Code Value : 0x000B1785

You have to change number 70 to any number you wanted .
TheLostSecret is offline   Reply With Quote
Old 06-04-18, 19:16   #15
LoreRaider
Member
 
LoreRaider's Avatar
 
Joined: Jul 2016
Posts: 1,905
Default

^ They're talking about TR2, not TR4
LoreRaider is online now   Reply With Quote
Old 06-04-18, 19:18   #16
TheLostSecret
Member
 
Joined: Mar 2018
Posts: 632
Angry

MY GOSH !

OK , the only thing you have to do is that :

When you have opened your hex edit program , search for this string ( Use the Find dialog ) :

%d /

This should prompt for you the address where the secret counter variable placeholder goes !

Last edited by TheLostSecret; 06-04-18 at 19:20.
TheLostSecret is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 16:46.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Tomb Raider Forums is not owned or operated by CDE Entertainment Ltd.
Lara Croft and Tomb Raider are trademarks of CDE Entertainment Ltd.