www.tombraiderforums.com

Go Back   www.tombraiderforums.com > Tomb Raider Modding > Tomb Raider Level Editor > Software Development

Reply
 
Thread Tools
Old 29-05-19, 09:14   #671
mizuno_suisei
Relic Hunter
 
mizuno_suisei's Avatar
 
Join Date: Jan 2006
Location: Perth, Western Australia
Posts: 6,004
Default

Hi all. I hope this is the best spot to ask

In the original TREP, you can change the camera to become sticky (pressing look ingame resets it)

Does anyone know what offsets are changed and what to? I can't run trep on my present system. OR if anyone knows a TREP list of what changes what, I always wished TREP showed as a way of sneaky learning.

I'm not wishing to use this in FLEP. in fact I'd like to see what can be copied over to earlier TR versions basic hex wwise
__________________
運なら自分で掴むわ。
mizuno_suisei is offline   Reply With Quote
Old 29-05-19, 14:36   #672
ChocolateFan
Student
 
ChocolateFan's Avatar
 
Join Date: Dec 2017
Location: I am female
Posts: 178
Default

When you run TREP, it will create a config file named trep.cfg, which contains the offsets for the original (XP-patched) tomb4.exe version:

Code:
[version 65636B005F494E495400000057696E50;TRLE, EU, orig. or XP mod \ 9 (11) Dec 2002]

; offsets for main window settings

DDOffset=                 730269
ClipOffset1=              323609
ClipOffset2=              515363
ClipDistOffset1=          479496
ClipDistOffset2=          577076
FogBulbBypassOffset=      522817
FogBulbDistOffset=        684917
LTOffset=                 118977
VEOffset=                 268354
VEOffset2=                299915
DDisOffset1=              459431
DDisOffset2=              459923
DDisOffset3=              460457
FDisOffset=               524241
LockCameraOffset=         274928
StickCameraOffset=        274816
TwinPonyOffset1=          130777
TwinPonyOffset2=          131286
TwinPonyOffset3=          133227
TwinPonyOffset4=          201066
TwinPonyOffset5=          299280
FixHolstersOffset=        178114
HangThreadOffset=         577970
VertexLimitOffset1=       456144
VertexLimitOffset2=       455889

DisableEnemyLimitOffset1= 345860
DisableEnemyLimitOffset2= 346067
DisableEnemyLimitOffset3= 346093
DisableEnemyLimitOffset4= 346313
TargetLimitOffset=        187674

EnemyLimitZoneOffset=     345837

LevelBuffer1Offset1=      584626
LevelBuffer1Offset2=      584649
LevelBuffer1Offset3=      584664
LevelBuffer2Offset=       476909

ObjectBufferSizeOffset=   475529
ObjectBufferZoneOffset=   475549

TargetBufferOffset1=      188017
TargetBufferOffset2=      188105
TargetBufferOffset3=      188110
TargetBufferOffset4=      188132
TargetBufferOffset5=      188208
TargetBufferOffset6=      188244
TargetBufferOffset7=      188399

TargetBufferDefData=      80DE8000
TargetBufferModData=      80FD4B00

;additional enemy limit / level buffer parameters

;IncreasedEnemyLimitNoRel param sets enemy limit WITHOUT RELOCATION.
;IncreasedEnemyLimit param sets enemy limit WITH RELOCATION.

IncreasedEnemyLimitNoRel= 08
IncreasedEnemyLimit=      14
EnemyLimitZoneDefData=    5E6F0000
EnemyLimitZoneModData=    78BD0100
LevelBuffer1DefData=      004C4B40
LevelBuffer1ModData=      01312D00
LevelBuffer2DefData=      001312D0
LevelBuffer2ModData=      004C4B40

ObjectBufferSizeDefData=  0015F600 ;default object buffer size is: 15F600 bytes/100 = 256 objects
ObjectBufferSizeModData=  0057D800 ;modified object buffer size is: 57D800 bytes/400 = 1024 objects
ObjectBufferZoneDefData=  0100     ;default objects to be cached (100h=256d)
ObjectBufferZoneModData=  0400     ;modified objects to be cached (400h=1024d)

FixSaveOffset1=           368757
FixSaveOffset2=           368858
FixSaveOffset3=           369298
FixSaveOffset4=           369358
FixSaveOffset5=           368823
FixSaveOffset6=           368719

ForceVolFXOffset=         535498

; -------------------------- 693 --------------------------------

FlybyBuffer1Offset1=      390358
FlybyBuffer1Offset2=      390387
FlybyBuffer1Offset3=      390929
FlybyBuffer1Offset4=      390951
FlybyBuffer2Offset1=      390364
FlybyBuffer2Offset2=      390393
FlybyBuffer2Offset3=      390909

FlybyBuffer1DefData=      A86D7F00
FlybyBuffer1ModData=      30004C00
FlybyBuffer2DefData=      C8577F00
FlybyBuffer2ModData=      F0FF4B00

SecLevelJumpOffset=       305792
SecLevelExtOffset=        975598

SecLevelJumpDefData=      881D90D17F00
SecLevelJumpModNData=     E969583F0090
SecLevelJumpModRData=     E969587F0090
SecLevelExtModNData=      80FB04753A803D44777F00017C2F813D38D17F002C0100007F23803D45777F00117F1A813D3A777F00241000007F0E813D36777F00341200007F02EB02B341881D90D17F00E94EA7C0FF
SecLevelExtModRData=      80FB04753A803D44777F00017C2F813D38D17F002C0100007F23803D45777F00117F1A813D3A777F00241000007F0E813D36777F00341200007F02EB02B341881D90D17F00E94EA780FF


; ------------------------ end 693 ------------------------------

; ------------------------ STATICS ------------------------------

IncStaticLimit1Offset1=   129915
IncStaticLimit1Offset2=   208747
IncStaticLimit1Offset3=   288199
IncStaticLimit1Offset4=   322310
IncStaticLimit1Offset5=   406312
IncStaticLimit1Offset6=   406435
IncStaticLimit1Offset7=   406635
IncStaticLimit1Offset8=   406768
IncStaticLimit1Offset9=   406958
IncStaticLimit1Offset10=  407074
IncStaticLimit1Offset11=  413921
IncStaticLimit1Offset12=  424335
IncStaticLimit1Offset13=  471222
IncStaticLimit1Offset14=  472199
IncStaticLimit1Offset15=  472292
IncStaticLimit1Offset16=  474021
IncStaticLimit2Offset1=   289638
IncStaticLimit2Offset2=   296395
IncStaticLimit2Offset3=   312318
IncStaticLimit2Offset4=   357382
IncStaticLimit2Offset5=   472238
IncStaticLimit2Offset6=   476121
IncStaticLimit3Offset1=   296388
IncStaticLimit3Offset2=   424328
IncStaticLimit3Offset3=   476096
IncStaticLimit4Offset1=   322245
IncStaticLimit4Offset2=   472207
IncStaticLimit4Offset3=   472213
IncStaticLimit5Offset1=   357390
IncStaticLimit5Offset2=   476109
IncStaticLimit6Offset1=   471217
IncStaticLimit7Offset1=   471417
IncStaticLimit7Offset2=   472050
IncStaticLimit7Offset3=   472090
IncStaticLimit7Offset4=   472117
IncStaticLimit7Offset5=   472307
IncStaticLimit7Offset6=   472319
IncStaticLimit8Offset1=   472276
IncStaticLimit9Offset1=   476074
IncStaticLimit11Offset1=  476133
IncStaticLimit12Offset1=  476145

; ---------------------- END STATICS ---------------------


;scene memory remap offsets & data

ForceBumpMapOffset=       535434
ForceBumpMapDefData=      6836397500689C184B00E868FEFFFF
ForceBumpMapModData=      6A00689C184B00C605363975000190

PEHeaderOffset=           291
PEHeaderDefData=          3600000000008BF109000010000000700A000000400000100000001000000400000000000000040000000000000000304100001000000000000002000000000010000010000000001000001000000000000010000000000000000000000008960A00C800000000204100500B000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000700A00480200000000000000000000000000000000000000000000000000002E74657874000000B25F0A000010000000600A0000100000000000000000000000000000200000E02E72646174610000EE32000000700A000040000000700A00000000000000000000000000400000402E64617461000000E863360000B00A000050010000B00A00000000000000000000000000400000C02E72737263000000500B0000002041
PEHeaderModData=          7600000000008BF109000010000000700A000000400000100000001000000400000000000000040000000000000000308100001000000000000002000000000010000010000000001000001000000000000010000000000000000000000008960A00C800000000208100500B000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000700A00480200000000000000000000000000000000000000000000000000002E74657874000000B25F0A0000100000B25F0A0000100000000000000000000000000000200000E02E72646174610000EE32000000700A00EE32000000700A00000000000000000000000000400000402E64617461000000E863760000B00A000050010000B00A00000000000000000000000000400000C02E72737263000000500B0000002081

Remap1Offset=             462034
Remap1DefData=            74FD4B0083C9FF8948FCC7000000000005085500003D14A252007CEBC39090538B5C24085657BE70FD4B0033C9B800020000391E75053946047C393946047F514181C60855000083F9147CE633C933FFB870FD4B0033D28338FF74728B70043BF77E048BFE8BCA42050855000083FA147CE5EB728B4E048D46045F8D0C898D54CE088B4C24105E5B89118B54240C8902C38BC1C1E00403C18D0480C1E00503C18D0CC570FD4B0051E8820000008B5424188B4C241C8D460483C404891E83C608C7000000000089325F5E89015BC38B4C24148D5008891883C00489118B5424185F5E89025BC38BC1C1E00403C18D3480C1E60503F1C1E6038DBE70FD4B0057E82B0000008B5424188D8674FD4B008D8E78FD4B
Remap1ModData=            0430810083C9FF8948FCC7000000000005085500003D0000A0007CEBC39090538B5C24085657BE0030810033C9B800020000391E75053946047C393946047F514181C60855000083F9147CE633C933FFB80030810033D28338FF74728B70043BF77E048BFE8BCA42050855000083FA147CE5EB728B4E048D46045F8D0C898D54CE088B4C24105E5B89118B54240C8902C38BC1C1E00403C18D0480C1E00503C18D0CC50030810051E8820000008B5424188B4C241C8D460483C404891E83C608C7000000000089325F5E89015BC38B4C24148D5008891883C00489118B5424185F5E89025BC38BC1C1E00403C18D3480C1E60503F1C1E6038DBE0030810057E82B0000008B5424188D86043081008D8E083081

Remap2Offset=             462908
Remap2DefData=            70FD4B0056E8BBFDFFFF81C60855000083C40481FE10A252007CE95EC3A1B93875006A006A1C508B08FF5158A1B93875006A006A1B508B10FF5258A1B93875006A026A13508B08FF5158A1B93875006A016A14508B10FF5258A1B93875006A026A016A008B0850FF91A0000000A1B93875006A016A036A008B1050FF92A0000000A1B93875006A026A046A008B0850FF91A0000000A1B93875006A016A066A008B1050FF92A00000008B15C837750053BE74FD4B00578B46FC8BFA8BC8C1E10503F98A4C381C03C784C97459833E0074548B401D8B0DB93875008BD88B39C1E30503D38B1410526A0051FF979800000050E86FE701008B16A1B938750083C4048B086A04528D56045268C40200006A0450FF5170A13C3B75008B15C837750040A33C3B750081C60855000081FE14A252007C83A1B93875006A016A1C508B08FF5158A1B93875006A016A1B508B10FF5258A1B93875006A096A13508B08FF5158A1B93875006A036A14508B10FF5258A1B93875006A046A016A008B0850FF91A0000000A1B93875006A006A036A008B1050FF92A0000000A1B93875006A006A066A008B0850FF91A0000000BE74FD4B0083CFFF8B46FC8B0DC83775008BD0C1E20503CA03C88A411C84C07450833E00744BA1B93875008B09516A008B1050FF929800000050E87BE601008B0EA1B938750083C4048B106A0C518D4E045168C40200006A0450FF5270A13C3B7500C7060000000040897EFCA33C3B750081C60855000081FE14A252007C89A1B93875006A006A1B508B10FF5258BE74FD4B008B46FC8B15C83775008BC8C1E10503D18D0C108A44101C84C07550833E00744BA1B93875008B09516A008B1050FF929800000050E8EEE501008B0EA1B938750083C4048B106A0C518D4E045168C40200006A0450FF5270A13C3B7500C7060000000040897EFCA33C3B750081C60855000081FE14A252
Remap2ModData=            0030810056E8BBFDFFFF81C60855000083C40481FEFCFFAF007CE95EC3A1B93875006A006A1C508B08FF5158A1B93875006A006A1B508B10FF5258A1B93875006A026A13508B08FF5158A1B93875006A016A14508B10FF5258A1B93875006A026A016A008B0850FF91A0000000A1B93875006A016A036A008B1050FF92A0000000A1B93875006A026A046A008B0850FF91A0000000A1B93875006A016A066A008B1050FF92A00000008B15C837750053BE04308100578B46FC8BFA8BC8C1E10503F98A4C381C03C784C97459833E0074548B401D8B0DB93875008BD88B39C1E30503D38B1410526A0051FF979800000050E86FE701008B16A1B938750083C4048B086A04528D56045268C40200006A0450FF5170A13C3B75008B15C837750040A33C3B750081C60855000081FE0000A0007C83A1B93875006A016A1C508B08FF5158A1B93875006A016A1B508B10FF5258A1B93875006A096A13508B08FF5158A1B93875006A036A14508B10FF5258A1B93875006A046A016A008B0850FF91A0000000A1B93875006A006A036A008B1050FF92A0000000A1B93875006A006A066A008B0850FF91A0000000BE0430810083CFFF8B46FC8B0DC83775008BD0C1E20503CA03C88A411C84C07450833E00744BA1B93875008B09516A008B1050FF929800000050E87BE601008B0EA1B938750083C4048B106A0C518D4E045168C40200006A0450FF5270A13C3B7500C7060000000040897EFCA33C3B750081C60855000081FE0000A0007C89A1B93875006A006A1B508B10FF5258BE043081008B46FC8B15C83775008BC8C1E10503D18D0C108A44101C84C07550833E00744BA1B93875008B09516A008B1050FF929800000050E8EEE501008B0EA1B938750083C4048B106A0C518D4E045168C40200006A0450FF5270A13C3B7500C7060000000040897EFCA33C3B750081C60855000081FE0000A0

Remap3Offset=             518644
Remap3DefData=            78FD4B
Remap3ModData=            083081

Remap4Offset=             518953
Remap4DefData=            78FD4B0068C40200006A0450FF5170A1B93875006A016A0F508B10FF5258A1B93875006A016A1B508B08FF5158E9C2030000A1B93875006A016A1B508B10FF5258A1B93875006A016A0F508B08FF5158A1B93875006A056A13508B10FF5258A1B93875006A066A14508B08FF51588B1DC8377500A1B93875008BCE8B10C1E10503D98B0C1E516A0050FF929800000050E8E30C010083C4046A0C576878FD4B0068C40200006A04E93D030000A1C938750085C0740FA1B93875006A006A0E508B08FF5158A1B93875006A006A0F508B10FF5258A1B93875006A026A13508B08FF5158A1B93875006A026A14508B10FF5258A1B93875006A006A1D508B08FF51588B1DC8377500A1B93875008BCE8B10C1E10503D98B0C1E516A0050FF929800000050E8510C0100A1B938750083C4048B106A0C576878FD4B0068C40200006A0450FF5270A1B93875006A016A1D508B08FF5158A1B93875006A056A13508B10FF5258A1B93875006A066A14508B08FF5158E97E020000A1C938750085C0740FA1B93875006A006A0E508B10FF5258A1B93875006A016A0F508B08FF5158A1B93875006A056A13508B10FF5258A1B93875006A066A14508B08FF5158A1B93875006A046A046A008B1050FF92A00000008B1DC8377500A1B93875008BD68B08C1E20503DA8B141E526A0050FF919800000050E8820B0100A1B938750083C4048B086A0C576878FD4B0068C40200006A0450FF5170A1B93875006A026A046A008B1050FF92A0000000E9C8010000A1C938750085C0740FA1B93875006A016A0E508B08FF5158A1B93875006A016A0F508B10FF5258A1B93875006A056A13508B08FF5158A1B93875006A066A14508B10FF5258A1B93875006A046A046A008B0850FF91A00000008B1DC8377500A1B93875008BCE8B10C1E10503D98B0C1E516A0050FF929800000050E8CC0A0100A1B938750083C4048B106A0C576878FD4B
Remap4ModData=            0830810068C40200006A0450FF5170A1B93875006A016A0F508B10FF5258A1B93875006A016A1B508B08FF5158E9C2030000A1B93875006A016A1B508B10FF5258A1B93875006A016A0F508B08FF5158A1B93875006A056A13508B10FF5258A1B93875006A066A14508B08FF51588B1DC8377500A1B93875008BCE8B10C1E10503D98B0C1E516A0050FF929800000050E8E30C010083C4046A0C57680830810068C40200006A04E93D030000A1C938750085C0740FA1B93875006A006A0E508B08FF5158A1B93875006A006A0F508B10FF5258A1B93875006A026A13508B08FF5158A1B93875006A026A14508B10FF5258A1B93875006A006A1D508B08FF51588B1DC8377500A1B93875008BCE8B10C1E10503D98B0C1E516A0050FF929800000050E8510C0100A1B938750083C4048B106A0C57680830810068C40200006A0450FF5270A1B93875006A016A1D508B08FF5158A1B93875006A056A13508B10FF5258A1B93875006A066A14508B08FF5158E97E020000A1C938750085C0740FA1B93875006A006A0E508B10FF5258A1B93875006A016A0F508B08FF5158A1B93875006A056A13508B10FF5258A1B93875006A066A14508B08FF5158A1B93875006A046A046A008B1050FF92A00000008B1DC8377500A1B93875008BD68B08C1E20503DA8B141E526A0050FF919800000050E8820B0100A1B938750083C4048B086A0C57680830810068C40200006A0450FF5170A1B93875006A026A046A008B1050FF92A0000000E9C8010000A1C938750085C0740FA1B93875006A016A0E508B08FF5158A1B93875006A016A0F508B10FF5258A1B93875006A056A13508B08FF5158A1B93875006A066A14508B10FF5258A1B93875006A046A046A008B0850FF91A00000008B1DC8377500A1B93875008BCE8B10C1E10503D98B0C1E516A0050FF929800000050E8CC0A0100A1B938750083C4048B106A0C5768083081

Remap5Offset=             519781
Remap5DefData=            78FD4B008B1068C40200006A0450FF5270A1C938750085C00F849A000000A1B93875006A016A0E508B08FF5158A1B93875006A016A07508B10FF5258EB7AA1C938750085C0740FA1B93875006A006A0E508B08FF5158A1B93875006A006A0F508B10FF5258A1B93875006A026A13508B08FF5158A1B93875006A026A14508B10FF5258A1B93875006A006A00508B08FF919800000050E8A109010083C4046A0C576878FD4B0068C40200006A02A1B9387500508B10FF52708B153C3B75008B4C24104233FF4989153C3B75000FBF75060FBF5D04B878FD4B00894C24108B5424108B0D500B6600423BD1895424100F8CA5FAFFFF85FF74105356576878FD4B00E80702000083C4108B4C24148B2D500B66008D5DFF85DB7C2E8B049D600B660089442414668B4004663D02007415663D0300740F663D06007409663D070074034B79D68B4C24140FBF69060FBF410433FF896C241085DB89442414B978FD4B000F8C3A0100008B349D600B6600668B4604663D02007416663D03007410663D0600740A663D07000F858E0000000FBF56063BD5755A8B5424140FBFC03BC2754F33D28D460C663956087E708B284789298B68048969048B68088969088B680C89690C8B68108969108B68148969148B68188969188B681C89691C420FBF6E0883C02883C1283BD57CC28B6C2410EB2C8B4C24145155576878FD4B00E80C0100000FBF6E060FBF560483C41033FF896C241089542414B978FD4B00434B0F8944FFFFFF85FF747A8B4424145055576878FD4B
Remap5ModData=            083081008B1068C40200006A0450FF5270A1C938750085C00F849A000000A1B93875006A016A0E508B08FF5158A1B93875006A016A07508B10FF5258EB7AA1C938750085C0740FA1B93875006A006A0E508B08FF5158A1B93875006A006A0F508B10FF5258A1B93875006A026A13508B08FF5158A1B93875006A026A14508B10FF5258A1B93875006A006A00508B08FF919800000050E8A109010083C4046A0C57680830810068C40200006A02A1B9387500508B10FF52708B153C3B75008B4C24104233FF4989153C3B75000FBF75060FBF5D04B808308100894C24108B5424108B0D500B6600423BD1895424100F8CA5FAFFFF85FF74105356576808308100E80702000083C4108B4C24148B2D500B66008D5DFF85DB7C2E8B049D600B660089442414668B4004663D02007415663D0300740F663D06007409663D070074034B79D68B4C24140FBF69060FBF410433FF896C241085DB89442414B9083081000F8C3A0100008B349D600B6600668B4604663D02007416663D03007410663D0600740A663D07000F858E0000000FBF56063BD5755A8B5424140FBFC03BC2754F33D28D460C663956087E708B284789298B68048969048B68088969088B680C89690C8B68108969108B68148969148B68188969188B681C89691C420FBF6E0883C02883C1283BD57CC28B6C2410EB2C8B4C24145155576808308100E80C0100000FBF6E060FBF560483C41033FF896C241089542414B908308100434B0F8944FFFFFF85FF747A8B44241450555768083081

Remap6Offset=             521975
Remap6DefData=            78065C00C70570065C
Remap6ModData=            0800A000C7050000A0

Remap7Offset=             531611
Remap7DefData=            70065C0081C184000000890D540B66008910A170065C0083C004A370065C
Remap7ModData=            0000A00081C184000000890D540B66008910A10000A00083C004A30000A0

Remap8Offset=             532366
Remap8DefData=            70065C00890A8B0D70065C008B1D500B66008B54245C83C10443890D70065C
Remap8ModData=            0000A000890A8B0D0000A0008B1D500B66008B54245C83C10443890D0000A0

Remap9Offset=             533325
Remap9DefData=            70065C00C1E005891A8B1570065C0083C20403E8891570065C
Remap9ModData=            0000A000C1E005891A8B150000A00083C20403E889150000A0

Remap10Offset=            534161
Remap10DefData=           70065C0083C02889118B3570065C008B4C240883C604893570065C
Remap10ModData=           0000A00083C02889118B350000A0008B4C240883C60489350000A0

ResTableBaseOffset=       786787
ResTableRVADefData=       41
ResTableRVAModData=       81

; ---------------------------- File Extender Offsets & Data ------------------------------

ExtSizePEHeaderOffset1=       263 ; section count
ExtSizePEHeaderOffset2=       339 ; image size
ExtSizePEHeaderOffset3=       665 ; long data
EOFOffset=                    790529 ; where to put and where to cut...

StandardSizeBothRData=        00000000000000000000000000000000000000000000000000000000000000000000000000000000
ExtendedSizeNoRelData=        2E7969666600000000001800003041000000080000100C00000000000000000000000000E00000E0
ExtendedSizeYoRelData=        2E7969666600000000001800003081000000080000100C00000000000000000000000000E00000E0

SectionCountDefData=          04
SectionCountModData=          05

ImageSizeNoRelNoIncData=      41
ImageSizeNoRelYoIncData=      59
ImageSizeYoRelNoIncData=      81
ImageSizeYoRelYoIncData=      99

ExtendedSizeNum=              524287

; -------------------------- End File Extender Offsets & Data ----------------------------


; -------------------------- Savegame Extender Offsets & Data ----------------------------

ExtSGameBaseOffset=          980993
ExtSGameInsideOffset1=       481405
ExtSGameInsideOffset2=       481226
ExtSGameInsideOffset3=       332972

ExtSGBaseNoRelData=          B91400000033C05556578B2DB8714A008D7C2430F3AB8B8424840000008D4C243050681019840051FFD583C40C8D5424306A0068800000006A026A006A00680000004052FF153C714A008BF033C083FEFF0F84220000008D5424106A00526800300000680000990056FF157C704A0056FF15F4704A005F5E5D83C474C39090905E83C45C8B44240483EC5C8D4C240C5650681019840051FF15B8714A0083C40C8D5424106A0068800000006A036A006A00680000008052FF153C714A008BF083FEFF7427578B3D40714A008D4424686A00508D4C241C6800300000680000990056FFD756FF15F4704A005F5E83C45CC3A356777F0060B9000C0000BF00009900F3AB61E9A8FBC0FF9090909090909090736176655C74726570736176652E2564000000
ExtSGBaseYoRelData=          B91400000033C05556578B2DB8714A008D7C2430F3AB8B8424840000008D4C243050681019C40051FFD583C40C8D5424306A0068800000006A026A006A00680000004052FF153C714A008BF033C083FEFF0F84220000008D5424106A00526800300000680000D90056FF157C704A0056FF15F4704A005F5E5D83C474C39090905E83C45C8B44240483EC5C8D4C240C5650681019C40051FF15B8714A0083C40C8D5424106A0068800000006A036A006A00680000008052FF153C714A008BF083FEFF7427578B3D40714A008D4424686A00508D4C241C6800300000680000D90056FFD756FF15F4704A005F5E83C45CC3A356777F0060B9000C0000BF0000D900F3AB61E9A8FB80FF9090909090909090736176655C74726570736176652E2564000000

ExtSGJmp1DataD=              5E83C45CC3
ExtSGJmp1DataN=              E9FFBF3C00
ExtSGJmp1DataR=              E9FFBF7C00

ExtSGJmp2DataD=              83C474C390
ExtSGJmp2DataN=              E932C03C00
ExtSGJmp2DataR=              E932C07C00

ExtSGJmp3DataD=              A356777F00
ExtSGJmp3DataN=              E940043F00
ExtSGJmp3DataR=              E940047F00


StackCorrectionOffset1=      481307
StackCorrectionOffset2=      481324
StackCorrectionOffset3=      481341
StackCorrectionOffset4=      481358
StackCorrectionOffset5=      481375

StackCorrectionDefData=      68
StackCorrectionModData=      5C


SavePathOffset=              723385
SavePathDefData=             67616D652E25640000000000
SavePathModData=             5C7361766567616D652E2564

; ------------------------ End Savegame Extender Offsets & Data --------------------------


; offsets for bar customizer

CritBlinkOffset=          336305
TR5BarOffset=             503649
SBarOffset=               505124
SBarXOffset=              505138
SBarAnimOffset=           505154
ABarOffset=               505190
ABarXOffset=              505216
ABarAnimOffset=           505224
HBarOffset=               505265
HBarAnimOffset=           505293
LBarOffset=               505435
LBarXOffset=              505498
MusBarMainOffset=         500583
MusBarFadeOffset=         500593
MusBarABOOffset=          501268
SndBarMainOffset=         500638
SndBarFadeOffset=         500643
SndBarABOOffset=          501533
PBOOffset=                501165
BorderOffset=             504599
BorderOffset2=            495748

; Gradient bars offsets and data

GradBarsType0Data1=       897C243C89742440897C245C89742460896C2414DB4424148BAC24F4000000 ;default
GradBarsType1Data1=       896C24148BAC24F4000000896C243C897424408974245C897C2460DB442414 ;flat
GradBarsType2Data1=       8974243C897424408974245C89742460896C2414DB4424148BAC24F4000000 ;tr5

GradBarsTypeData1Offset=  504057

GradBarsType0Data2=       89AC2498000000
GradBarsType1Data2=       89B42498000000
GradBarsType2Data2=       89B42498000000

GradBarsTypeData2Offset=  504147

GradBarsType0Data3=       89B4249C00000089AC24B800000089B424BC000000
GradBarsType1Data3=       89BC249C00000089AC24B800000089B424BC000000
GradBarsType2Data3=       89BC249C00000089AC24B800000089B424BC000000

GradBarsTypeData3Offset=  504170

GradBarsType0Data4=       896C24788974247C89BC249800000089B4249C000000
GradBarsType1Data4=       89742478897C247C89B4249800000089BC249C000000
GradBarsType2Data4=       89742478897C247C89B4249800000089B4249C000000

GradBarsTypeData4Offset=  504333

GradBarsType0Data5=       89BC24B800000089B424BC000000
GradBarsType1Data5=       89AC24B800000089B424BC000000
GradBarsType2Data5=       89B424B800000089B424BC000000

GradBarsTypeData5Offset=  504388


; offsets for GFX customizer

LightingRaw1Offset=       84303
LightingRaw2Offset=       83888
LightingRaw3Offset=       83918
LightingDispOffset=       84263
LightingRangOffset=       84288
LightingSizeOffset=       84251
LightingCoreColourOffset= 572503
ConductorDispOffset=      353058
ConductorSizeOffset=      353040
BloodSizeOffset=          231961
BloodIntensityOffset=     231709
BloodLifetimeOffset=      231725
BloodSpeedOffset=         231573 ; new for 0.687
BloodSpreadXOffset=       231849
BloodSpreadYOffset=       231852
BloodOpaqueOffset=        557358
BloodOpaqueRGBOffset=     557318
GunflashColourOffset=     235160
WallpaperColourOffset=    492935
RicoColourOffset=         549702
WaterdropsColourOffset=   558437
ShadowColourOffset=       546744
FadeoutColourOffset=      565436
PistolSmokeDurRiteOffset= 179412
PistolSmokeDurLeftOffset= 179934
RevolSmokeDurOffset=      179902
WFallScrollSpeedOffset=   350397
SkyDirOffset=             320706

;obsolete GFX offsets
LightingNoCSOffset=       84307
GFXRandFactorOffset=      584554

;wallpaper gradient offsets
WPGradTopOffset1=         493430
WPGradTopOffset2=         493432
WPGradTopOffset3=         493484
WPGradTopOffset4=         493486
WPGradTopOffset5=         493542
WPGradTopOffset6=         493544
WPGradBottomOffset1=      493580
WPGradBottomOffset2=      493582
WPGradBottomOffset3=      493639
WPGradBottomOffset4=      493641
WPGradBottomOffset5=      493677
WPGradBottomOffset6=      493683

;wallpaper colour override offsets & data
WColourOverrideOffset1=   492632
WColourOverrideOffset2=   492643
WColourOverrideOffset3=   492735
WColourOverrideOffset4=   492883

WColourOverrideDefData1=  8B94247C010000
WColourOverrideModData1=  BA
WColourOverrideDefData2=  8B942480010000
WColourOverrideModData2=  BA
WColourOverrideDefData3=  8B8C248C010000
WColourOverrideModData3=  B9
WColourOverrideDefData4=  8B842490010000
WColourOverrideModData4=  B8


; offsets for GFX Customizer 2

FireballSpriteSizeOffset=    214936
FireballDurationOffset=      214485
FireballDispersionOffset=    214838
BlastRadiusOffset=           174532
BlastTimeoutOffset=          174527
BlastSizeOffset=             174539
SparkleAmountOffset=         316493
SparkleFallOffDelayOffset=   212806
SparkleSpriteInitSizeOffset= 213114
SparkleSpriteIDOffset=       213008
SparkleAmountOffset2=        189755
SparkleAmountOffset3=        189854
SparkleAmountOffset4=        224186
SparkleAmountOffset5=        315514
SparkleAmountOffset6=        315539
SparkleAmountOffset7=        315697
SparkleAmountOffset8=        315887
SparkleAmountOffset9=        316342
SparkleAmountOffset10=       189832
SparkleFallOffDelayOffset2=  212810 ; .725
SparkleCoreIntensityOffset=  212765 ; .725
SparkleColRedOffset=         212787 ; .725
SparkleColBlueOffset=        212794 ; .725
SparkleColGreenOffset=       212768 ; .725
AnimTextIntervalOffset=      516463
FlybyBarHeightOffset=        391057
FlybyBarHeightOffset2=       394363
FlybyBarSpeedOffset=         391055
FlybyBarSpeedOffset2=        396344
UWDustAmountOffset=          558581
UWDustMeltSpeedOffset=       558766
UWDustXFlowOffset=           558787 ; .693
UWDustYFlowOffset=           558820 ; .693
UWDustSizeOffset1=           559386 ; .693
UWDustSizeOffset2=           559390 ; .693
UWDustSpriteIDOffset=        558938 ; .693
FadeoutsSpeedOffset=         565278
FadeoutsDurationOffset=      565353
FogTableBaseOffset=          704017
MISTColoursBaseOffset=       218942 ; .69
MISTDensityOffset=           218983 ; .69
MISTSizeOffset=              219228 ; .69
MISTAmountOffset=            219242 ; .69
SprinkLoopForeverOffset=     97983  ; .7
SprinkAmountOffset=          98223  ; .7
SprinkRedOffset=             98252  ; .7
SprinkGreenOffset=           98261  ; .7
SprinkBlueOffset=            98283  ; .7
SprinkSpreadOffset=          98491  ; .7
SprinkGravityOffset=         98512  ; .7 (upd .73)
SprinkArchOffset=            98369  ; .73
SprinkExtOffset=             98904  ; .73
SprinkJmpDefData=            83E03F83C07F
SprinkJmpModData=            E88301000090
SprinkExtData=               83E03F0500010000C3
WaterNoiseOffset=            299397 ; .727

; offsets for Light Customizer

DLiteIntOffset=           684793
PistolFlashPowerOffset=   178769
RevolverFlashPowerOffset= 167663
ShotgunFlashPowerOffset=  167289
FlameEmitter1PowerOffset= 83074
FlareColourOffset1=       192778
FlareColourOffset2=       192957
FlareColourOffset3=       193016
FlareColourOffset4=       193073
FlareColourOffset5=       193101
FlareColourOffset6=       192827
FlareColourOffset7=       192832
FlareColourOffset8=       192837
FlareColourOffset9=       192882
FlareColourOffset10=      192949
FlareColourOffset11=      193003
FlareColourOffset12=      193072
FlareLifetimeOffset1=     192683
FlareLifetimeOffset2=     193272
FlareLifetimeOffset3=     195638
FlareLifetimeOffset4=     134909
FlareLifetime2Offset=     192897
FlareLifetime3Offset=     192905
FlareLifetimeInvOffset=   193085
BinocRangeOffset=         488740
BLOffset=                 192701
MotorbikeHeadlightOffset= 408049
MotorbikeLightMeshOffset= 408755

; -------------------------- 693 --------------------------------

AmberLightFadeOffset=     354365
AmberLightOffset=         354441
AmberLightColourDefData=  51518B4E48C1F80950
AmberLightColourModData=  C1F8095151508B4E48

BlinkLightDurOffset=      354823
BlinkLightIntervalOffset= 354918
BlinkLightColAreaOffset=  354876

; ------------------------ end 693 ------------------------------

; .7 alarmlight add-ons

AlarmLightPos1Offset=     354838
AlarmLightPos2Offset=     354846
AlarmLightPos3Offset=     354854

BlinkLightShowMeshOffset= 354908
BlinkLightJump1Offset=    354815
BlinkLightJump2Offset=    354914

BlinkLightCombineOffset=     974849
BlinkLightDurModOffset=      974864
BlinkLightIntervalModOffset= 974887
AlarmRadiusModOffset=        974895


; offsets for Camera Customizer

;FOV callback modder
FOVModOffset1=            491765
FOVModOffset2=            579142
FOVMod1DefData=           909090909090909090909090A130735700
FOVMod1ModData=           E84C550100A130735700EB05EBF2909090
FOVMod2DefData=           90909090909090
FOVMod2ModData=           B800000000EB18
;various reset FOV offsets
ResetFOVOffset1=          271935
ResetFOVOffset2=          281397
ResetFOVOffset3=          298428
ResetFOVOffset4=          154800

NormCameraDistOffset=     279965
NormCameraFollowOffset=   279925
NormCameraTopOffset=      273850
LookDistanceOffset=       276605
AddOnBattleCameraYOffset= 279750

UnifyBattleCameraOffset1= 186111
UnifyBattleCameraOffset2= 186154
UnifyBattleCameraOffset3= 186351

; offsets and data for Sound Customizer

;music
NamePointerOffset=        444588
FilenameArrayBaseOffset=  714129
TrackLimiterOffset=       310775
LoopedMarkerOffset=       310822
LoopedMarkerDefData=      6683F9697C066683F96F7E4A6683F96674446683F961743E
LoopedMarkerModData=      6681F9BF017D4F9090909090909090909090909090909090

InJeepCommonOffset=       418827
InJeepTrackOffset1=       418833
InJeepTrackOffset2=       418815
OutJeepCommonOffset=      421567
OutJeepTrackOffset1=      421550
OutJeepTrackOffset2=      421573
SecretCommonOffset=       305870
SecretTrackOffset=        305869

InJeepDefData=            C605FCE07F0062C605C4E17F0001E803590000
OutJeepDefData=           C605FCE07F006EC605C4E17F0001E84F4E0000
SecretDefData=            E84E120200

;sounds
SRateOffset=              684809
UWDoorOffset=             45098
NoAmmoOffset=             186388
SampleSizeOffset1=        465425
SampleSizeOffset2=        465435
SampleSizeOffset3=        465518
SampleSizeOffset4=        465528
SampleSizeOffset5=        465606

;rico sound
EnableRicoSndBaseOffset=  212689
EnableRicoSndJmpOffset=   212935
EnableRicoSndExtOffset=   975907

EnableRicoSndBaseDefData= 8B442410
EnableRicoSndBaseModData= 33F6E883AB0500 ; fix for 0.744 rev. 3 - do not edit
EnableRicoSndJmpModNData= E957C440009090
EnableRicoSndJmpModRData= E957C480009090
EnableRicoSndExtModNData= 6A00566A0AE814E0C1FF83C40C8B44241033F6E816E7C4FFE98E3BBFFF
EnableRicoSndExtModRData= 6A00566A0AE814E081FF83C40C8B44241033F6E816E784FFE98E3B7FFF

EnableRicoFixJumpOffset=   212717
EnableRicoFixJumpDefData=  0F8ED6000000
EnableRicoFixJumpModNData= 0F8E43C54000
EnableRicoFixJumpModRData= 0F8E43C58000



; offsets for Inventory Customizer

GetPistolsOffset=         373839
GetPistolsHolstersOffset= 373754
GetPistolsKeyOffset=      373799
GetPistolsKeyDefData=     66A3C8DE8000
GetPistolsKeyModData=     909090909090

GetBinocularsOffset=      373846
GetCrowbarOffset=         373878
BigMedkitsOffset=         373866
FlaresOffset=             373829
SmallMedkitsOffset=       373831

DisableUPSLabelOffset=    251371
PistolAmmoOffset=         373868
PistolItemIDOffset=       254928
SeperateSMKFlaresOffset=  373828
ShotgunDivNSAmmoOffset=   242668
ShotgunDivWSAmmoOffset=   242713

StartupHealthOffset=      373778
StartupAirOffset=         373721
StartupSprintOffset=      373908

PickPistolAmmo=           254955
PickShotgunNormalAmmo=    255001
PickShotgunWideAmmo=      255175
PickUZIAmmo=              254924
PickRevolverAmmo=         255046
PickXBowNormalAmmo=       255091
PickXBowPoisonAmmo=       255301
PickXBowExplAmmo=         255330
PickGrenadeGunDefAmmo=    255136
PickGrenadeNormalAmmo=    255204
PickGrenadeSuperAmmo=     255233
PickGrenadeFlashAmmo=     255262
PickFlares=               255379
SmallMedkitEffect=        254701
SmallMedkitEffect2=       483130
SmallMedkitInvert=        254699
SmallMedkitInvert2=       483128

;Extended pistol ammo datas & offsets

LPAExtendedAddOffset=     254834
LPAExtendedAddData=       663D5E017576EB6A ;defdata is NOPs

LPAJumpDataOffset=        254931 ;short jump to LPAExtendedAdd code
LPAJumpDefData=           1A
LPAJumpModData=           9E

LPAWorkaroundJmpOffset=   245753 ; workaround jump data
LPAWorkaroundJmpDefData=  F605D2DF800001
LPAWorkaroundJmpNData=    E9724040009090
LPAWorkaroundJmpRData=    E9724080009090

LPAWorkaroundOffset=      974960 ;where to put workaround
LPAWorkaroundNData=       F605D2DF800001740F6A01E8A1C3BFFF83C404E984BFBFFF66833DFFDF8000010F8C76BFBFFF6A12E884C3BFFF83C404E967BFBFFF
LPAWorkaroundRData=       F605D2DF800001740F6A01E8A1C37FFF83C404E984BF7FFF66833DFFDF8000010F8C76BF7FFF6A12E884C37FFF83C404E967BF7FFF

LPACounterJumpOffset=     248179 ;where to override last ammo conter and jump to LPA extender
LPACounterJumpDefData=    3D60010000
LPACounterJumpNModData=   E92D374000
LPACounterJumpRModData=   E92D378000

LPACounterStructOffset=   975013
LPACounterStructNData=    3D60010000750C0FBF0D01E08000E9C9C8BFFF3D5E0100000F85C2C8BFFF0FBF0DFFDF8000E9B2C8BFFF
LPACounterStructRData=    3D60010000750C0FBF0D01E08000E9C9C87FFF3D5E0100000F85C2C87FFF0FBF0DFFDF8000E9B2C87FFF

BlockHolstersJmpOffset=   186397 ; block pistols if selected jmp offset
BlockHolstersJmpDefData=  66C705C6DE80000100
BlockHolstersJmpModNData= E9AD28410090909090
BlockHolstersJmpModRData= E9AD28810090909090

BlockHolstersProcOffset=  975055
BlockHolstersProcNData=   66833DC6DE800001740B66C705C6DE80000100EB0966C705C6DE80000000E934D7BEFF
BlockHolstersProcRData=   66833DC6DE800001740B66C705C6DE80000100EB0966C705C6DE80000000E934D77EFF


;-------------------------------------

NEscOffset=               297966
LoadInvItemOffset=        246708
SaveInvItemOffset=        246715
LoadHotkeyIntOffset=      298124
SaveHotkeyIntOffset=      298101
SecretsOffset=            726918

FixCompassBugOffset=        244450
DisableCompassCheatsOffset= 244478
ItemRotateSpeedOffset=      248484
AmmoRotateSpeedOffset=      252063
PickUpShowDurOffset=        337248

SGSlotsOffset1=             494078
SGSlotsOffset2=             494684
SGSlotsSquashOffset=        684693
SGSlotsMoveOffset1=         494799
SGSlotsMoveOffset2=         494803

;DOZY
MagicWordOffset1=           483536
MagicWordOffset2=           483557
MagicWordOffset3=           483578
MagicWordOffset4=           483599
CharArrayBaseOffset=        7684720

; Item Configurator

ItemProcOffset=           253457
ItemFocusBaseOffset=      707293

; offsets for Physics Customizer

OnGroundFrontLeftOffset=  154106
OnGroundFrontRiteOffset=  154171
OnGroundBackLeftOffset=   154384
OnGroundBackRiteOffset=   154420
InAirFrontLeftOffset=     152313
InAirFrontRightOffset=    152349
SwimSpeedOffset=          205265
SwimRotLeftOffset=        205357
SwimRotRightOffset=       205404
ShellGravityOffset=       232863
JumpGravityOffset=        199009
FallingDamageOffset=      141900
ExplodeMotorbikeOffset=   416522
ExplodeJeepOffset=        427959
GrabClimbDelayOffset=     155296

; .7 - additional rotation factors

RotStandLeftOffset=        154631
RotStandRightOffset=       154471
RotSwingStillLeftOffset=   145976
RotSwingStillRightOffset=  146200
RotSwingMoveLeftOffset=    145163
RotSwingMoveRightOffset=   145200
DuckStop1LeftOffset=       134055
DuckStop1RightOffset=      134103
DuckStop2LeftOffset=       137076
DuckStop2RightOffset=      137252
DuckMoveForwardLeftOffset= 136554
DuckMoveForwardRightOffset=136591
DuckMoveBackRightOffset=   137459
DuckMoveBackLeftOffset=    137422
RopeRightOffset=           148549
RopeLeftOffset=            148501
PoleLeftOffset=            146702
PoleRightOffset=           146766

; offsets for Trap Customizer - .69

JobyStretchSpeedOffset=   87924
SpikeTimerOffset=         90513
RetractionSpeedOffset=    90422
2BPDepressDistOffset=     89079
2BPDepressSpedOffset=     89111
2BPRepressSpedOffset=     89160
2BPInvertDirFirstOffset=  88879
2BPInvertDirSecndOffset=  88884
2BPInvertDirThirdOffset=  88889
2BPOCBModeInvDirOffset1=  89085
2BPOCBModeInvDirOffset2=  89134
2BPFixVisibilityOffset=   89167
DartsIntervalOffset=      81514
DartsSpeedOffset=         81727
DartsColourOffset=        569634
RBActualHeightOffset=     90754
RBFakeHeightOffset=       90783
RBSpeedOffset=            90811
RBRetractedHeightOffset=  91107
RBRetractionSpeedOffset=  91086
RB1ReloadHeightOffset=    372240
RB2ReloadHeightOffset=    372268
FallinBlockTimerOffset=   80544
FallinBlockTrmOffset1=    80624
FallinBlockTrmOffset2=    80643
SqyishyTimerOffset=       94720
SqyishyTrembleOffset=     94794
SqyishyTrembleDisOffset=  94748
BoulderGravityOffset=     85652
SlicerDicerSpeedOffset=   89347
SlicerDicerRadiusOffset1= 89333
SlicerDicerRadiusOffset2= 89370
ConductorInterval=        353566

; displacement datas for Sqyishy Timer

SqyishyDefData=           66837E343C7D248D56406A00526A6BE8317204000FBF463483E85C83C40CD1F8A338E77F0066FF46345EC30FBF46148B15383953008D0C800FBF44CA180FBF4E162BC883F908750AC70538E77F00A0FFFFFF56E82D20030083C4045EC390
SqyishyModData=           66817E3400007D248D56406A00526A6BE8307204000FBF463483E85C83C40CD1F8A338E77F0066FF46345EC30FBF46148B15383953008D0C800FBF44CA180FBF4E162BC883F908750AC70538E77F00A0FFFFFF56E82C20030083C4045EC3
SqyishyTrembleDefData=    A338E77F00


; .73 rev. 2 - One-Block Platform Overrider

1BPLoadingOffset=         381233
1BPExtendedOffset=        975163

1BPDefltLoadingData=      668935081D5300
1BPRelocLoadingData=      E805307E009090
1BPNoRelLoadingData=      E805303E009090

1BPNoRelData=             668935081D530066A192DC52000C2866A392DC5200C70570DC520078018400C70574DC520080594100C70578DC5200D0594100C7056CDC520040284500C356578B7C240C0FBFC78D0C408D0C888D14C98B0D6CE17F008D04D08D04408D344156E811ABC0FF83C40485C00F8440010000668B462C6685C074720FBFC08B4E448BD05383E2F00FBF5E34C1E20403DA3BCB5B7F0883E00F03C8894E44668B46188B56488D4C240C8944240C8B4644518B4E40525051E88D96C0FF8B56488B4E44528B5640515250E8CB99C0FF89068B44242C83C420663B46180F84D20000005057E8613AC1FF83C4085F5EC3A11CE08000C705E0E07F00000000008B48448D51018954240C8D54240C528B50488B404052515056E82E57BDFFA1E0E07F0083C41483C9FFBA0100000085C07412A11CE080006683781459740666895636EB0466894E36668B46366685C07E370FBF56348B464481C22C0100003BC27D1F8D46406A00506895000000E89AE1C1FF8B464483C40C83C00F8946445F5EC366894E365F5EC37D2C0FBF4E34394E447E1F8D56406A00526895000000E869E1C1FF8B464483C40C83C0F68946445F5EC3668956365F5EC3
1BPRelocData=             668935081D530066A192DC52000C2866A392DC5200C70570DC52007801C400C70574DC520080594100C70578DC5200D0594100C7056CDC520040284500C356578B7C240C0FBFC78D0C408D0C888D14C98B0D6CE17F008D04D08D04408D344156E811AB80FF83C40485C00F8440010000668B462C6685C074720FBFC08B4E448BD05383E2F00FBF5E34C1E20403DA3BCB5B7F0883E00F03C8894E44668B46188B56488D4C240C8944240C8B4644518B4E40525051E88D9680FF8B56488B4E44528B5640515250E8CB9980FF89068B44242C83C420663B46180F84D20000005057E8613A81FF83C4085F5EC3A11CE08000C705E0E07F00000000008B48448D51018954240C8D54240C528B50488B404052515056E82E577DFFA1E0E07F0083C41483C9FFBA0100000085C07412A11CE080006683781459740666895636EB0466894E36668B46366685C07E370FBF56348B464481C22C0100003BC27D1F8D46406A00506895000000E89AE181FF8B464483C40C83C00F8946445F5EC366894E365F5EC37D2C0FBF4E34394E447E1F8D56406A00526895000000E869E181FF8B464483C40C83C0F68946445F5EC3668956365F5EC3


;offsets for setting change

1BPDepressDistOffset=     975503
1BPDepressSpedOffset=     975535
1BPRepressSpedOffset=     975584
1BPInvertDirFirstOffset=  975303
1BPInvertDirSecndOffset=  975308
1BPInvertDirThirdOffset=  975313
1BPOCBModeInvDirOffset1=  975509
1BPOCBModeInvDirOffset2=  975558


; offsets for Weapon Customizer

WeaponOffset=             702578
ShotgunDispOffset=        167786
ShotgunShotAmountOffset=  167796
XBowFlySpeedOffset=       172179
XBowNormalOffset=         702773
ExplosiveDamageOffset=    176893
PoisonDamageModOffset=    259108
XBowNormFlagOffset=       172202
XBowPoisonFlagOffset=     172214
XBowExplosiveFlagOffset=  172222
GrenNormFlagOffset=       168804       
GrenSupaFlagOffset=       168833
GrenFlshFlagOffset=       168858
GrenadeTimeoutOffset=     168764
GrenadeTimeoutOffset2=    56288
GrenadeLaunchPowerOffset= 168710
GrenadeWeightOffset=      169591
GrenadeOneTouchOffset=    169879
GrenadeRotationOffset=    169584
PistolsTargDistOffset=    702581
UzisTargDistOffset=       702657
RevolverTargDistOffset=   702619
ShotgunTargDistOffset=    702695
GrenGunTargOffset=        702733
XBowTargOffset=           702771
XBowSafeLowOffset=        171933


;Revive SG gunflash

GunflashDefProcOffset=    234857
GunflashDefProcDefData=   83C408
GunflashDefProcModData=   EB9790

GunflashNearJumpOffset=   234754
GunflashNearJumpDefData=  9090909090
GunflashNearJumpModData=  E9D9850700

GunflashExtProcOffset=    727776
GunflashExtProcDefData=   67687465727320536F7068696520616E64204A6F6479202D2053656520796F7520696E20616E6F746865722068
GunflashExtProcModData=   83F802752066C7442402B40066C744240428008D0C2466C70424000051E86F79F8FF83C40483C408E95F7AF8FF

;smoke puff y
SGSmokePuffPosYOffset=    167930

; .7 - Remove left gun offsets

RemoveLeftGunflashOffset= 321447
RemoveLeftBulletOffset=   179870
RemoveLeftCasingOffset=   179944

; .7 - Remove right gun offsets

RemoveRiteGunflashOffset= 321247
RemoveRiteBulletOffset=   179382
RemoveRiteCasingOffset=   179422

; .73 - X-Bow Flametail

XBowFlametailBaseOffset=  173536
XBowFlametailJmpOffset=   975090

XBowFlametailBaseDefData=  515250E899F20100
XBowFlametailBaseModNData= E90D5B4100909090
XBowFlametailBaseModRData= E90D5B8100909090

XBowFlametailJmpNData=     5333DB83C3106A016AFF03CB03C3515250E8A94ABFFF585A592BC32BCB83C40883FB707EDE5B6A006AFF6AFF6A12515250E8C95ABFFF585A5983C410515250E84B97C0FFE9ADA4BEFF
XBowFlametailJmpRData=     5333DB83C3106A016AFF03CB03C3515250E8A94A7FFF585A592BC32BCB83C40883FB707EDE5B6A006AFF6AFF6A12515250E8C95A7FFF585A5983C410515250E84B9780FFE9ADA47EFF


; offsets for Font Customizer

MainColourOffset=         712441
OptionTitleOffset=        712473
InventoryTitleOffset=     712489
InventoryItemOffset=      712465
NewGameEffectOffset=      334044
NewGameAlignOffset=       334069
LoadGameEffectOffset=     334114
LoadGameAlignOffset=      334139
OptsEffectOffset=         334192
OptsAlignOffset=          334211
ExitEffectOffset=         334272
ExitAlignOffset=          334297
LegendDispTimeOffset=     331610

CredsBaseOffset=          709737
NormCredsEffectIDOffset=  336203
ScrtCredsEffectIDOffset=  336174
NormCredsAlignOffset=     336126
ScrtCredsAlignOffset=     336196
BypassScriptOffset=       336121
StringsToReadOffset=      336090
ArrayStepOffset=          336226
CreditsTrackNumberOffset= 333214
CreditsJumpNumberOffset=  335960
FixFlybyBugOffset=        333131

WindowTitleOffset=        729969
SetupTitleOffset=         787303


; offsets for Enemy HP Customizer

SkeletonHPOffset=         374641
SkeletonFlagOffset=       374643 ;new for 0.687
Baddy1HPOffset=           375601
Baddy1FlagOffset=         375573 ;new for 0.687
Baddy2HPOffset=           376094
Baddy2FlagOffset=         376064 ;new for 0.687
ScorpionHPOffset=         376576
ScorpionFlagOffset=       376552 ;new for 0.687
MummyHPOffset=            376810
MummyFlagOffset=          376782 ;new for 0.687
KnightTemplarHPOffset=    376968
KnightTemplarFlagOffset=  376940 ;new for 0.687
SphinxHPOffset=           377094
SphinxFlagOffset=         377075 ;new for 0.687
SethaHPOffset=            377192
SethaFlagOffset=          377154 ;new for 0.687
HorsemenHPOffset=         377373
HorsemenFlagOffset=       377335 ;new for 0.687
HammerheadHPOffset=       377486
HammerheadFlagOffset=     377456 ;new for 0.687
CrocodileHPOffset=        377662
CrocodileFlagOffset=      377632 ;new for 0.687
MutantHPOffset=           378367
MutantFlagOffset=         378323 ;new for 0.687
VonCroyHPOffset=          374789 ;new for 0.687
VonCroyFlagOffset=        374779 ;new for 0.687
Demigod1HPOffset=         377848
Demigod1FlagOffset=       377790 ;new for 0.687
Demigod2HPOffset=         378020
Demigod3HPOffset=         378192
TroopsHPOffset=           378527
TroopsFlagOffset=         378478 ;new for 0.687
SASHPOffset=              378703
SASFlagOffset=            378654 ;new for 0.687
HarpyHPOffset=            378858
HarpyFlagOffset=          378834 ;new for 0.687
WildBoarHPOffset=         378989
WildBoarFlagOffset=       378940 ;new for 0.687
DogHPOffset=              379154
DogFlagOffset=            379115 ;new for 0.687
AhmetHPOffset=            379301
AhmetFlagOffset=          379262 ;new for 0.687
BaboonHPOffset=           379396
BaboonFlagOffset=         379368 ;new for 0.687
BatHPOffset=              379733
BatFlagOffset=            379711 ;new for 0.687
BigBeetleHPOffset=        379834
BigBeetleFlagOffset=      379812 ;new for 0.687
GuideHPOffset=            375195 ;new for 0.687
GuideFlagOffset=          375161 ;new for 0.687

;small scorpion offsets
SmallScorpCommandOffset=  376679
SmallScorpFlagOffset=     376662 ;new for 0.687
SmallScorpFarJumpOffset=  727545

; Default and custom flag datas.

Type1FlagDefData=         80CC10        ;new for 0.687
Type2FlagDefData=         80CC04        ;new for 0.687
Type3FlagDefData=         81CF00040000  ;new for 0.687
Type4FlagDefData=         6681CF7210    ;new for 0.687
Type5FlagDefData=         80CC1C        ;new for 0.687
Type6FlagDefData=         0D7A040000    ;new for 0.687
Type7FlagDefData=         6681CF001C    ;new for 0.687
Type8FlagDefData=         6681CF723C    ;new for 0.687
Type9FlagDefData=         660D721C      ;new for 0.687

Type125FlagModData=       B40090        ;new for 0.687
Type478FlagModData=       6681CF0000    ;new for 0.687
Type3FlagModData=         81CF00000000  ;new for 0.687
Type6FlagModData=         0D00000000    ;new for 0.687
Type9FlagModData=         660D0000      ;new for 0.687

; offsets for Limit Customizer

MaxHPBarOffset1=          336612
MaxHPBarOffset2=          336619
MaxHPBarOffset3=          24225
MaxHPBarOffset4=          24236
MaxHPBarOffset5=          197941
MaxHPBarOffset6=          198122
CritRawHPBarRangeOffset=  336677
CritDividerOffset=        336685
NormRawHPBarRangeOffset=  336739
NormDividerOffset=        336747
BigMedkitHPLimitOffset=   254718
SmallMedkitHPLimitOffset= 254642
CommonMedkitLimitOffset=  483059
HotkeyBigMedkitOffset=    483214
NormalCritThreshOffset=   336662

MaxAPBarOffset1=          196464
MaxAPBarOffset2=          197674
MaxAPBarOffset3=          197750
MaxAPBarOffset4=          197767
MaxAPBarOffset5=          198296
MaxAPBarOffset6=          197767
APLimiter1Offset=         336837
APLimiter2Offset=         336844
NormRawAPBarRangeOffset=  336855
NormAPDividerOffset=      336868
CritRawAPBarRangeOffset=  336907
CritAPDividerOffset=      336920
NormalCritAPThreshOffset= 336886
APRestorationRateOffset=  197746

MaxSPBarOffset1=          196215 ; new for 0.678
MaxSPBarOffset2=          336401 ; new for 0.678
MaxSPBarOffset3=          411385 ; new for 0.678
RawSPBarRangeOffset=      336416 ; new for 0.678
SPDividerOffset=          336429 ; new for 0.678
NitroRestorationRate=     417229 ; new for 0.678


; offsets for HP/Damage Customizer

NoAirLeakageOffset=       197717
OnFireLeakageOffset=      85353
InSpikesLeakageOffset=    89982
InJobyLeakageOffset=      87857     ; .69
InSteamLeakageOffset=     212216
InDartsLeakageOffset=     81960

BaddyUZIDmgOffset=            51711
SASMachinegunDmgOffset=       55300
TurretDmgOffset=              258561
BatDmgOffset=                 11478
CrocodileUWDmgOffset=         12745
CrocodileLANDDmgOffset=       13249
LocustDmgOffset=              15280
DogDmgOffset=                 23975
HammerheadDmgOffset=          29072
HarpyDmgOffset=               32325
MummyDmgOffset=               44351
BaddySwordDmgOffset=          50381
BigBeetleDmgOffset=           57612
ScorpionDmgOffset=            60841
SmallScorpionDmgOffset=       61837
SetAttack1DmgParameterOffset= 69821
SetAttack2DmgOffset=          70278
SkeletonDmg1Offset=           74601
SkeletonDmg2Offset=           75135
SphinxDmgOffset=              77103
KnightTemplarDmgOffset=       78770
WildBoarDmgOffset=            114887

LittleBeetleDispOffset=   58349
MagicAttackDividerOffset= 239534
DragonLoCutAttackOffset=  17101      ;new for 0.687

; ------------- SAS grenade bugfix -------------

SASGrenadeProcOffset=     296882 ; TEST EAX,EAX
BlowOffset=               176819  ; jmp to burn command
FastKillOffset=           176763 ; common offset for DMG and XOR

BlowExtOffset=            974902 ; where to put blow
BlowExtJmpOffset=         974937 ; where to put after-blow jump

SASGrenadeDefData=        0F84BD010000 ; test defdata

BlowModDefData=           E9D99AFEFF
BlowModNoRelData=         E97E4D4100
BlowModYoRelData=         E97E4D8100

BlowProcData=             505351B8B601000066368946148B1D383953008D0C80668B44CB186636894616595B58
BlowProcJumpNoRel=        E9334DBDFF
BlowProcJumpYoRel=        E9334D7DFF

; ----------- end SAS grenade bugfix -----------

; ------------------------------ Flipeffect Editor Offsets -------------------------------

FEExtAddressesBaseOffset=     790529 ; where to write new effects address array
FEExtProcedureOffset=         798720 ; where to write extended FE proc
FEExtArrayBaseOffset=         798976 ; where to begin to put new flipeffect array
FEBaseProcOffset=             224113 ; base flipeffect procedure offset
FEAddressMapOffset=           727665 ; address map for CALL NEAR type commands

FEAddressMapDefData=          6D79207374657020736F6E7320437261 ; def
FEAddressMapModData=          40E4450020BD460070AE470000000000 ; SOUND/MUSIC CALL MAP

FEBaseProcDefData=            A1FCCB4A005E83F8FF740C6A00FF148580BE4A0083C404E9B47F0200
FEBaseProcModDataNoRel=       0FBF05FCCB4A005E83F8FF740A6A00E97CE43D0083C404E9B47F0200
FEBaseProcModDataYoRel=       0FBF05FCCB4A005E83F8FF740A6A00E97CE47D0083C404E9B47F0200

FEExtProcedureDataNoRel=      83F82E7E0A3EFF1485442F8100EB083EFF148580BE4A00E9681BC2FF83FA2E7E0A3EFF1495442F8100EB083EFF149580BE4A00E9ABB8C1FF83FA2E7E0A3EFF1495442F8100EB083EFF149580BE4A00E91645C3FF
FEExtProcedureDataYoRel=      83F82E7E0A3EFF1485442FC100EB083EFF148580BE4A00E9681B82FF83FA2E7E0A3EFF1495442FC100EB083EFF149580BE4A00E9ABB881FF83FA2E7E0A3EFF1495442FC100EB083EFF149580BE4A00E9164583FF

; next goes additional flipeffect calls

FEBaseProcOffset2=            198877 ; base flipeffect procedure offset

FEBaseProc2DefData=           FF149580BE4A00
FEBaseProc2ModDataNoRel=      E93B473E009090
FEBaseProc2ModDataYoRel=      E93B477E009090

FEBaseProcOffset3=            300388 ; base flipeffect procedure offset

FEBaseProc3DefData=           FF149580BE4A00
FEBaseProc3ModDataNoRel=      E9D0BA3C009090
FEBaseProc3ModDataYoRel=      E9D0BA7C009090


; next goes Only Once offsets & data

FEOnlyOnceDefProcOffset=      306109 ; where to write fe workaround
FEOnlyOnceExtProcOffset=      794625 ; where to put ext. flipeffect branch
FEOnlyOnceDefProcData=        A3FCCB4A00 ; def/mod workaround datas 
FEOnlyOnceModNoRelData=       E93F943C00
FEOnlyOnceModYoRelData=       E93F947C00

FeOnlyOnceJmpExtNoRel=        8470528  ; offset needed for JMP NEAR... command
FeOnlyOnceJmpExtYoRel=        12664832 ; offset needed for JMP NEAR... command

; CONVERSION DATA/OFFSETS

ConvertFlipTypeOffset1=       225669
ConvertFlipTypeOffset2=       225759
ConvertFlipTypeOffset3=       225781
ConvertFlipTypeOffset4=       225810
ConvertFlipTypeOffset5=       225929
ConvertFlipTypeOffset6=       225971
ConvertFlipTypeOffset7=       226006
ConvertFlipTypeOffset8=       226110
ConvertFlipTypeOffset9=       226150
ConvertFlipTypeOffset10=      226686
ConvertFlipTypeOffset11=      226711

ConvertFlipTypeDefData=       C705FCCB4A00FFFFFFFF ; DWORD -> WORD def. conversion data 
ConvertFlipTypeModData=       66C705FCCB4A00FFFF90 ; DWORD -> WORD mod. conversion data 

; ---------------------------- End Flipeffect Editor Offsets -----------------------------

; ------------------------------ Race Timer Editor Offsets -------------------------------

RaceBaseOffset=               299545 ; timer base offset
RaceFontEffectIDOffset=       336568 ; font effect ID offset
RaceHideLimitOffset=          336466 ; timer hider limiter offset
RaceExtProcArrayOffset=       1052673 ; where to begin put extended racetimer procedure

RaceExtJmpNoRelData=          E9E39D400090
RaceExtJmpYoRelData=          E9E39D800090

RaceExtRVANoRel=              8728576 ; RVA needed for JMP NEAR... 
RaceExtRVAYoRel=              12922880 ; RVA needed for JMP NEAR... 

JumbBackData=                 1E924400 ; address of jump-back

IncTimerData=                 FF0546777F00
DecTimerData=                 FF0D46777F00

; ---------------------------- End Race Timer Editor Offsets -----------------------------


;savetrigger: default flipeffect proc offset/data  [action: catch original FE call and re-jump it to extended flipeffect proc]

DefFEProcOffset=              305767
DefFEProcDefData=             8A4424380FBFCBA2D4F24B00894C2430E9EF000000
DefFEProcModData=             E9C06F060090909090909090909090909090909090

;savetrigger: extended flipeffect proc offset/data  [action: check if corresponding flipeffect activated, and if yes, check if savetrigger/resetsave flags set, and if no, set them]

ExtFEProcOffset=  727596
ExtFEProcDefData= 746F206D79206669616E6365204A617920666F722070757474696E67207570207769746820746869732067616D652074616B696E67206F766572206F757220
ExtFEProcModData= 8A4424380FBFCBA2D4F24B00894C243083FB297510803D2E1B4B00207407C6052E1B4B002083FB287510803D2E1B4B00207507C6052D1B4B0020E90091F9FF

;savetrigger: savetrigger/resetsave flag checker  [action: check if savetrigger flag set, if yes, reset it and proceed to save screen]

SaveTriggerExtHandlerOffset=  727822
SaveTriggerExtHandlerDefData= 782064756D70202D205269636861726420466C6F7765722031312F31312F3139
SaveTriggerExtHandlerModData= 803D2D1B4B00200F856C71F9FFC6052D1B4B0039C6052E1B4B0039E94971F9FF

;savetrigger: default KB/Joy handler mod  [action: replace quicksave key handler with savetrgger flag checker jump]

SaveTriggerDefHandlerOffset=  298096
SaveTriggerDefHandlerDefData= A9000040007410
SaveTriggerDefHandlerModData= E9998E06009090


; default datas for this tr4 engine version.
; data stored in hex format. 

LockCameraData= E80CF5FFFF
UWDoorDefData=  E811340500
NoAmmoDefData=  E8270C0300
NEscData=       7509
BLData=         E88FFA0500
SBarData=       A070D17F00
ABarData=       A070D17F00
HBarData=       A070D17F00
LBarData=       A070D17F00

SBarAnimDefData=1BFA
SBarAnimModData=DBD7
ABarAnimDefData=D5F9
ABarAnimModData=95D7
HBarAnimDefData=90F9
HBarAnimModData=50D7

FlareColourData1Def=      E21F
FlareColourData2Def=      80
FlareColourData3Def=      3F
FlareColourData4Def=      C0
FlareColourData5Def=      40
FlareColourData6Def=      50
FlareColourData7Def=      51
FlareColourData8Def=      50
FlareColourData9Def=      05C0000000
FlareColourData1Mod=      C25F
FlareColourData2Mod=      C0
FlareColourData3Mod=      7F
FlareColourData4Mod=      A0
FlareColourData5Mod=      7F
FlareColourData6Mod=      50
FlareColourData7Mod=      51
FlareColourData8Mod=      50
FlareColourData9Mod=      05C0000000
FlareColourData1Red=      E21F
FlareColourData2Red=      80
FlareColourData3Red=      3F
FlareColourData4Red=      C0
FlareColourData5Red=      40
FlareColourData6Red=      51
FlareColourData7Red=      50
FlareColourData8Red=      52
FlareColourData9Red=      83C0009090

UPSLabelDefData= 8AC166C705E0E87F00120066C705E2E87F00FFFF
UPSLabelModData= 66C705E0E87F00120066A1FFDF8000EB26909090

CrowbarDefault= 7907
CrowbarMod=     9090

PistolDataDefault= 66891DFFDF8000
PistolDataMod=     C605FFDF800000

SeparateMediFlareDefault= B803000000C605D2DF800009C605D9DF80000166A3FDDF800066A3F9DF8000
SeparateMediFlareMod=     B400B00090C605D2DF800009C605D9DF8000008825FDDF8000A2F9DF800090

XBowDataDefault= 4866894522
XBowDataMod=     66836D2200

LoadShowDefault= E868000000
SaveShowDefault= E861000000

TwinPony1DefData=  7412
TwinPony1ModDataS= EB12
TwinPony2DefData=  7508
TwinPony2ModDataT= EB08
TwinPony3DefData=  742E
TwinPony3ModDataS= EB2E
TwinPony4DefData=  7414
TwinPony4ModDataS= EB14
TwinPony5DefData=  740C
TwinPony5ModDataS= EB0C

CompassCodzDefData=   EA0080
CompassCodzModData=   F2D0FF
CompassCheatsDefData= 0F8E9F010000
CompassCheatsModData= E9A001000090

FixHolstersDefault= 909090909090909090909090909090568B74240883FE02742E56E8102E00000FBF0522B752008B0D5039530083C40483FE018B548168891552DF8000750966C70596DF80000E005EC3909090909090568B74240856E8D52D00000FBF0522B752008B0D5039530083C40483FE018B5481505E891546DF8000750966C70596DF80000E00C39090909090909090909090
FixHolstersMod=     66C70596DF80001000EB3C90909090568B74240883FE0274E756E8102E00000FBF0522B752008B0D5039530083C40483FE018B548168891552DF8000750966C70596DF80000E0083FE0374385EC390568B74240856E8D52D00000FBF0522B752008B0D5039530083C40483FE018B5481505E891546DF8000750966C70596DF80000E00C366C70596DF80000F00EBBD

SmallScorpCommPatchDefData= 668915C8D15200
SmallScorpCommPatchModData= E98D5A05009090
SmallScorpFarJumpDefData=   546F6D622052616964657220495620
SmallScorpFarJumpModData=   66C705C8D152001500E965A5FAFF90

ShotgunDivNSAmmoDefData= 0FBFC8B8ABAAAA2AF7E98BC2C1E81F03D0
ShotgunDivWSAmmoDefData= 0FBFC8B8ABAAAA2AF7E98BCAC1E91F03D1
ShotgunDivAmmoModData=   8BD0909090909090909090909090909090

GrabClimbDelayDefData=   0F855A010000

SparklesUnifyDefAmount=  03

VolFXDefData=            E832FEFFFF
VolFXModData=            9090909090

SGSlotsDefData1=         6C73
SGSlotsModData1=         8476
SGSlotsDefData2=         7473
SGSlotsModData2=         8C76
SGSlotsDefData3=         0000403F
SGSlotsModData3=         0000003F

Clip1DefData=            750C
Clip1ModData=            EB0C
Clip2DefData=            750B
Clip2ModData=            EB0B

VL1DefData=              6625FF006689450A
VL1ModData=              E905FFFFFF909090
VL2DefData=              E90B0000009090909090909090909090C3909090909090909090909090909090
VL2ModData=              E903000000909090C33C0074066625FFFFEB046625FF006689450AE9E7000000

GrenadeOneTouchDefData=   755C    ;new for 0.687
GrenadeOneTouchModData=   9090    ;new for 0.687
GrenadeRotationDefData=   8B471E  ;new for 0.687
GrenadeRotationModData=   B80000  ;new for 0.687

MotorbikeLightDefData=    0F8ED4000000
MotorbikeLightModData=    E9D500000090

TwoBlock15ModeFixDefData= 668956365F5EC390909090909090909090
TwoBlock15ModeFixModData= 5252E82BE0030083C408668956365F5EC3

; .7 Blinking Light Modders

BlinkingLightJmp1DefData= 66FF4E2C66837E2C03
BlinkingLightJmp1ModData= E9FD953E0090909090
BlinkingLightJmp1ModRData=E9FD957E0090909090
BlinkingLightJmp2DefData= 66C7462C1E00
BlinkingLightJmp2ModData= E9B4953E0090
BlinkingLightJmp2ModRData=E9B4957E0090

BlinkingLightModData=     66837E2C9C740E66FF4E2C66837E2C00E9F269C1FFE9EF69C1FF66817E2C9CFF740866C7462C0100EB066681464E000AE9326AC1FF
BlinkingLightModRData=    66837E2C9C740E66FF4E2C66837E2C03E9F26981FFE9EF6981FF66817E2C9CFF740866C7462C1E00EB066681464E000AE9326A81FF


; .7 Remove Guns Datas

LeftGunFlashDefData=      E865ADFEFF
LeftGunBulletDefData=     E81E230000
LeftGunCasingDefData=     E8E4CB0000
RiteGunFlashDefData=      E82DAEFEFF
RiteGunBulletDefData=     E806250000
RiteGunCasingDefData=     E8EECD0000

; .724 Fix Credits Flyby Bug

FixCredsBugDefData=       A03DF54B005684C07536E8A7E0000083C40466892D52F24B0066892D4CF24B0066892D4EF24B0066892D50F24B0066C70550BF4A00080066892D54F24B00EB316A20C7054CFB4B001C000000E83581FEFF566A6266893552F24B0066893D4CF24B0066893D4EF24B00E868A7010083C410
FixCredsBugModData=       56E8B0E0000083C40466892D52F24B0066892D4CF24B0066892D4EF24B0066892D50F24B0066C70550BF4A00080066892D54F24B00A03DF54B0084C07502EB316A20C7054CFB4B001C000000E83581FEFF566A6266893552F24B0066893D4CF24B0066893D4EF24B00E868A7010083C40C

; .727 Increase Static Limit

IncStaticLimitDefData1=   903253
IncStaticLimitModData1=   70004C
IncStaticLimitDefData2=   A03253
IncStaticLimitModData2=   80004C
IncStaticLimitDefData3=   A43253
IncStaticLimitModData3=   84004C
IncStaticLimitDefData4=   943253
IncStaticLimitModData4=   74004C
IncStaticLimitDefData5=   A23253
IncStaticLimitModData5=   82004C
IncStaticLimitDefData6=   A401
IncStaticLimitModData6=   9006
IncStaticLimitDefData7=   203953
IncStaticLimitModData7=   B01A4C
IncStaticLimitDefData8=   923253
IncStaticLimitModData8=   72004C
IncStaticLimitDefData9=   A63253
IncStaticLimitModData9=   86004C
IncStaticLimitDefData11=  AA3253
IncStaticLimitModData11=  8A004C
IncStaticLimitDefData12=  A83253
IncStaticLimitModData12=  88004C

; .73 - Particle Buffer Offsets & Data

PartBuffer1DefData=       E01280
PartBuffer1ModRData=      0030C9
PartBuffer1ModNData=      003089

PartBuffer1Offset1=        15737
PartBuffer1Offset2=        18525
PartBuffer1Offset3=        29337
PartBuffer1Offset4=        30635
PartBuffer1Offset5=        30902
PartBuffer1Offset6=        36277
PartBuffer1Offset7=        36500
PartBuffer1Offset8=        65547
PartBuffer1Offset9=        65814
PartBuffer1Offset10=       66202
PartBuffer1Offset11=       71000
PartBuffer1Offset12=       98241
PartBuffer1Offset13=       115192
PartBuffer1Offset14=       115784
PartBuffer1Offset15=       127569
PartBuffer1Offset16=       211008
PartBuffer1Offset17=       211029
PartBuffer1Offset18=       212741
PartBuffer1Offset19=       212963
PartBuffer1Offset20=       213201
PartBuffer1Offset21=       213609
PartBuffer1Offset22=       213842
PartBuffer1Offset23=       214345
PartBuffer1Offset24=       215201
PartBuffer1Offset25=       215674
PartBuffer1Offset26=       216079
PartBuffer1Offset27=       217179
PartBuffer1Offset28=       217650
PartBuffer1Offset29=       218931
PartBuffer1Offset30=       219359
PartBuffer1Offset31=       219924
PartBuffer1Offset32=       221056
PartBuffer1Offset33=       221623
PartBuffer1Offset34=       233563
PartBuffer1Offset35=       238831
PartBuffer1Offset36=       240930
PartBuffer1Offset37=       257511
PartBuffer1Offset38=       339370
PartBuffer1Offset39=       350982
PartBuffer1Offset40=       351249
PartBuffer1Offset41=       410553
PartBuffer1Offset42=       420793

PartBuffer2DefData=        E41280
PartBuffer2ModRData=       0430C9
PartBuffer2ModNData=       043089

PartBuffer2Offset1=        210821

PartBuffer3DefData=        FD1280
PartBuffer3ModRData=       1D30C9
PartBuffer3ModNData=       1D3089

PartBuffer3Offset1=        211151

PartBuffer4DefData=        0D1380
PartBuffer4ModRData=       2D30C9
PartBuffer4ModNData=       2D3089

PartBuffer4Offset1=        211062

PartBuffer5DefData=        0F1380
PartBuffer5ModRData=       2F30C9
PartBuffer5ModNData=       2F3089

PartBuffer5Offset1=        211137

PartBuffer6DefData=        011380
PartBuffer6ModRData=       2130C9
PartBuffer6ModNData=       213089

PartBuffer6Offset1=        211273

PartBuffer7DefData=        101380
PartBuffer7ModRData=       3030C9
PartBuffer7ModNData=       303089

PartBuffer7Offset1=        211144
PartBuffer7Offset2=        212236
PartBuffer7Offset3=        339509

PartBuffer8DefData=        131380
PartBuffer8ModRData=       3330C9
PartBuffer8ModNData=       333089

PartBuffer8Offset1=        236431

PartLimiter1DefData=       FF00
PartLimiter1ModData=       FF09

PartLimiter1Offset1=       211022
PartLimiter1Offset2=       211112

PartLimiter2DefData=       0001
PartLimiter2ModData=       0010

PartLimiter2Offset1=       210829
PartLimiter2Offset2=       211044
PartLimiter2Offset3=       211096
PartLimiter2Offset4=       211206
PartLimiter2Offset5=       212244
PartLimiter2Offset6=       236439

FreeBufferSizeOffset=      339364

[end version]
Beware that the offsets are in decimal though!

About the sticky camera, TREP patches the code from this:

Code:
CPU Disasm
Address   Hex dump          Command                                  Comments
0044317D  |.  81FF 00000900 CMP EDI,90000
00443183  |.^ 0F8E 6BFFFFFF JLE 004430F4
00443189  |.  C74424 10 000 MOV DWORD PTR SS:[ESP+10],0
To this:

Code:
CPU Disasm
Address   Hex dump          Command                                  Comments
0044317D  |.  81FF 01000000 CMP EDI,1
00443183  |.^ 0F8E 6BFFFFFF JLE 004430F4
00443189  |.  C74424 10 000 MOV DWORD PTR SS:[ESP+10],0
ChocolateFan is offline   Reply With Quote
Old 05-07-19, 04:02   #673
A_De
Archaeologist
 
A_De's Avatar
 
Join Date: Jan 2012
Location: Beyond trf
Posts: 1,254
Post Bug report

I'd like to report a bug of certain FLEP patch, quoting here myself:
Quote:
Originally Posted by A_De View Post
Can somebody confirm if FLEP one-gun patch messes up the other weapons or not? For some reasons the game keeps the constant number of revolver ammo, no matter how many shots has been done. I.e. Lara picks up the revolver with its default 6 bullets, but the ammo actually is unlimited, and always stays 6 even after many shots. While the pistols made limited and work as supposed.
This bug is related with Single-gun patch by Delta (Do you read this? I hope so):

Quote:
Single gun with Pulse (left)
Disables LEFT gun, if SCRIPT.TXT contains line "PULSE=ENABLED" for certain level. It can be useful if you want to disable twin guns in some level (for ex., one of your heroes is using single gun).
What this patch actually do is helping you to make the pistol ammo counter working correct in that case you made the pistol ammo limited. I mean, makes actually 1 bullet per shot instead of 2 default. However when this feature is activated by Pulse= command, the revolver ammo becomes UNLIMITED. Therefore, if you need the limited pistol ammo in your level with single hand, then you cannot use also the revolver in the same level.
__________________
Everything burn, everyone screams...
A_De is offline   Reply With Quote
Old 06-07-19, 01:29   #674
ChocolateFan
Student
 
ChocolateFan's Avatar
 
Join Date: Dec 2017
Location: I am female
Posts: 178
Default

Delta is not the author of this patch. Delta only ported it from TREP and copied its description verbatim.

Does this: https://drive.google.com/open?id=1EH...aTrQCRmfHTnQda solve the bug?
ChocolateFan is offline   Reply With Quote
Old 09-07-19, 09:44   #675
A_De
Archaeologist
 
A_De's Avatar
 
Join Date: Jan 2012
Location: Beyond trf
Posts: 1,254
Default

^ I can't run the exe with that new patch at all. It runs in background mode only, I mean, the tomb4.exe process is visible in windows task manager only. My system is win7.
__________________
Everything burn, everyone screams...
A_De is offline   Reply With Quote
Old 13-07-19, 15:35   #676
ChocolateFan
Student
 
ChocolateFan's Avatar
 
Join Date: Dec 2017
Location: I am female
Posts: 178
Default

My bug fix cannot do that though. The code which I changed is only executed if Lara is wielding pistols, uzis or a revolver.
ChocolateFan is offline   Reply With Quote
Old 07-08-19, 18:41   #677
Titak
Moderator
 
Titak's Avatar
 
Join Date: Jul 2003
Location: Drenthe, The Netherlands
Posts: 32,136
Thumbs up

Joey79100 has kindly made a tutorial about FLEP's particle emitter patches.
I have added this tutorial to our INDEX thread.
__________________
If it walks like a duck and if it quacks like a duck, it is a duck.
Titak is offline   Reply With Quote
Old 13-08-19, 15:09   #678
ChocolateFan
Student
 
ChocolateFan's Avatar
 
Join Date: Dec 2017
Location: I am female
Posts: 178
Default

Latest patches:
There is only one new patch, the vertex shader patch.
Thanks to: LaraHCroft91, JMN and Titak.
Special thanks to Dustie, your reference level built with TombEditor was very important in the development of this patch!!

Last edited by ChocolateFan; 17-08-19 at 19:39.
ChocolateFan is offline   Reply With Quote
Old 13-08-19, 15:50   #679
Titak
Moderator
 
Titak's Avatar
 
Join Date: Jul 2003
Location: Drenthe, The Netherlands
Posts: 32,136
Default

My jaw dropped when I started reading through the user manual.
It all looks awesome!

Going to test it asap with some lava rooms I have.
__________________
If it walks like a duck and if it quacks like a duck, it is a duck.

Last edited by Titak; 13-08-19 at 15:51.
Titak is offline   Reply With Quote
Old 13-08-19, 17:24   #680
Nemo20
Historian
 
Nemo20's Avatar
 
Join Date: Jan 2007
Location: Germany
Posts: 328
Default

Should I add the patch on trep.trlevel.de?
When yes, i need a little bit more informations about this patch

It's a custom patch (not from the official developer?), right?
Nemo20 is offline   Reply With Quote
Reply

Bookmarks

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 11:26.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.