www.tombraiderforums.com  

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

Reply
 
Thread Tools
Old 28-01-23, 16:37   #1
Mario98
Hobbyist
 
Join Date: Jan 2023
Posts: 10
Default How to extend the maximum level limit in TRNG/Tomb Editor

Hello

I'm currently working on a project in my Tomb Raider Game (TR4 Engine) and I am planning to make 12 levels in the game and I've started to work on the 11th level and as soon as I save and reload that level, it either crashes or reloads a different map with a strange level name in the statistics and strange glitch. I've used both TRNG and Tomb Editor tool trying to solve this, but it doesn't work. Is there a way to fix this problem?

Best regards
Mario98 is offline   Reply With Quote
Old 29-01-23, 04:16   #2
Richard_trle
Explorer
 
Richard_trle's Avatar
 
Join Date: Aug 2003
Location: Brazil
Posts: 910
Default

Hello Mario! Welcome to the forum!

Well, I don't know if that is the case for TRNG, but the 10th level of TR4 Engine is skipped because of a scripting issue, I think the level causes a segmentation fault which crashes the game, but I can be mistaken. In fact this is the 10th level script on Tomb Raider 4

Code:
[Level]
Name= Yes
NoLevel= ENABLED
Level= A,0
Put this in your script file and skip the 10th level in your project, then from level 9 go to 11, then proceed as you would normally do. Please tell us if this works. Regards

Last edited by Richard_trle; 29-01-23 at 04:31.
Richard_trle is offline   Reply With Quote
Old 29-01-23, 14:51   #3
ChocolateFan
Historian
 
Join Date: Dec 2017
Location: I am female
Posts: 498
Default

Richard_trle, you are mistaken.

Mario98, can you post the crash log?
ChocolateFan is offline   Reply With Quote
Old 29-01-23, 20:44   #4
Mario98
Hobbyist
 
Join Date: Jan 2023
Posts: 10
Default

I've tried the level skip and it didn't work.

Whenever I reload the 11th level, the game immediately crashes, but it does have changes when I try to rearrange the level orders in the string section, but still doesn't work cuz then it reloads a level with a different name on the statistics (the 1st name of the string shows as a name in the level statistics) and loads a different map playing the 1st audio track of the folder repeatedly. Now I modified the levels in the strings and now when I reloaded the 11th level, I got back to the title menu and a strange text now appears (New Game, Load Game are strangely written if it's like they're eaten apart) and I can't load back to the level (Lara's shorts also appeared in the title screen like an inventory item). These are the 2 crash dialogs that appeared after it crashes, but it doesn't seem to make sense since I already have the data file of the level in the data folder.

Crash Dialog 1:

Version=1.3.0.0
Date: 29 November 2016 (14:19:12) Size=2715648 bytes
CRS=Disabled
Last diagnostic mexage:WorldFarView = -1 sectors
Last directX error:

MEMORY CODE MAPPING:

BASE START END ID PluginName (PluginVersion - TrngVersion)
--------------------------------------------------------------------------------------
10000000 10001000 10142000 0 Tomb_NextGeneration (1.3.0.0 - 1.3.0.0)
--------------------------------------------------------------------------------------
............... QUICK DIAGNOSTIC LOG ...............
WARNING: missing "A.TR4" level file
WARNING: missing Header NG in "TITLE.TR4" level file
At moment of crash the program was managing:
.................................................. ..
CRASH REASON: EXCEPTION_ACCESS_VIOLATION
The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
EXTRA_INFO: VIOLATION ON READ AT OFFSET 0x561F001
RECOVERABLE : YES
CRASH OFFSET: 0x45138F (Inside code range of tomb4.exe)
REGISTERS:
EAX=561EFFA
EBX=0
ECX=77
EDX=0
ESI=12C0
EDI=49E61D
EBP=A06FF70
EIP=45138F
ESP=A06FF28
Stack=0xA06FF28 pContesto=0xA06FAC8 pInfoEccezione=0xA06FA78
PRIMARY_STACK:
ESP=0xA06FF28
STACK_TRACE:
0x475155
0x49E67C
<CRASH DURING STACK TRACE>
END_STACK_TRACE

SECONDARY_STACK:
ESP=0x19B0DC
STACK_TRACE:
<CRASH DURING STACK TRACE>
END_STACK_TRACE

OTHER_STACK:
ESP=0x10F5B150
STACK_TRACE:
<CRASH DURING STACK TRACE>
END_STACK_TRACE

------------------------------------------------------

Crash Dialog 2:

Version=1.3.0.0
Date: 29 November 2016 (14:19:12) Size=2715648 bytes
CRS=Disabled
Last diagnostic mexage:Missing FONT_GRAPHICS in current level
Last directX error:

MEMORY CODE MAPPING:

BASE START END ID PluginName (PluginVersion - TrngVersion)
--------------------------------------------------------------------------------------
10000000 10001000 10142000 0 Tomb_NextGeneration (1.3.0.0 - 1.3.0.0)
--------------------------------------------------------------------------------------
............... QUICK DIAGNOSTIC LOG ...............
WARNING: missing "A.TR4" level file
WARNING: missing Header NG in "TITLE.TR4" level file
At moment of crash the program was managing:
.................................................. ..
CRASH REASON: EXCEPTION_INT_DIVIDE_BY_ZERO
The thread tried to divide an integer value by an integer divisor of zero.
RECOVERABLE : YES
CRASH OFFSET: 0x45048F (Inside code range of tomb4.exe)
REGISTERS:
EAX=0
EBX=0
ECX=A09FEDC
EDX=0
ESI=A0E155C
EDI=0
EBP=FF
EIP=45048F
ESP=A09FEB8
Stack=0xA09FEB8 pContesto=0xA09FA58 pInfoEccezione=0xA09FA08
PRIMARY_STACK:
ESP=0xA09FEB8
STACK_TRACE:
0x4504F7
0x44416F
0x451ECA
0x451166
0x475155
0x49E67C
<CRASH DURING STACK TRACE>
END_STACK_TRACE

SECONDARY_STACK:
ESP=0x19B0DC
STACK_TRACE:
<CRASH DURING STACK TRACE>
END_STACK_TRACE

OTHER_STACK:
ESP=0xBAB150
STACK_TRACE:
<CRASH DURING STACK TRACE>
END_STACK_TRACE
Mario98 is offline   Reply With Quote
Old 31-01-23, 02:22   #5
ChocolateFan
Historian
 
Join Date: Dec 2017
Location: I am female
Posts: 498
Default

Mario98, can you remove that [Level] block that Richard_trle suggested, and post the new crash log?
ChocolateFan is offline   Reply With Quote
Old 02-02-23, 13:14   #6
Mario98
Hobbyist
 
Join Date: Jan 2023
Posts: 10
Default

I've removed the [Level] block from the Script Richard_trle suggested and the game still crashes. These dialogs appear:

Dialog 1:

Version=1.3.0.0
Date: 29 November 2016 (14:19:12) Size=2715648 bytes
CRS=Disabled
Last diagnostic mexage:WorldFarView = -1 sectors
Last directX error:

MEMORY CODE MAPPING:

BASE START END ID PluginName (PluginVersion - TrngVersion)
--------------------------------------------------------------------------------------
10000000 10001000 10142000 0 Tomb_NextGeneration (1.3.0.0 - 1.3.0.0)
--------------------------------------------------------------------------------------
............... QUICK DIAGNOSTIC LOG ...............
WARNING: missing Header NG in "TITLE.TR4" level file
At moment of crash the program was managing:
.................................................. ..
CRASH REASON: EXCEPTION_ACCESS_VIOLATION
The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
EXTRA_INFO: VIOLATION ON READ AT OFFSET 0x573F001
RECOVERABLE : YES
CRASH OFFSET: 0x451380 (Inside code range of tomb4.exe)
REGISTERS:
EAX=573EFFC
EBX=0
ECX=78
EDX=0
ESI=64
EDI=49E61D
EBP=A07FF70
EIP=451380
ESP=A07FF28
Stack=0xA07FF28 pContesto=0xA07FAC8 pInfoEccezione=0xA07FA78
PRIMARY_STACK:
ESP=0xA07FF28
STACK_TRACE:
0x475155
0x49E67C
<CRASH DURING STACK TRACE>
END_STACK_TRACE

SECONDARY_STACK:
ESP=0x19B0DC
STACK_TRACE:
<CRASH DURING STACK TRACE>
END_STACK_TRACE

OTHER_STACK:
ESP=0x9B2B150
STACK_TRACE:
<CRASH DURING STACK TRACE>
END_STACK_TRACE

---------------------------------------------------------------

Dialog 2:

Version=1.3.0.0
Date: 29 November 2016 (14:19:12) Size=2715648 bytes
CRS=Disabled
Last diagnostic mexage:BassError after operation "audio\165.missing": Error Code = 2
Last directX error:

MEMORY CODE MAPPING:

BASE START END ID PluginName (PluginVersion - TrngVersion)
--------------------------------------------------------------------------------------
10000000 10001000 10142000 0 Tomb_NextGeneration (1.3.0.0 - 1.3.0.0)
--------------------------------------------------------------------------------------
............... QUICK DIAGNOSTIC LOG ...............
WARNING: missing Header NG in "TITLE.TR4" level file
At moment of crash the program was managing:
.................................................. ..
CRASH REASON: EXCEPTION_ACCESS_VIOLATION
The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
EXTRA_INFO: VIOLATION ON READ AT OFFSET 0xFFFFFFF8
RECOVERABLE : YES
CRASH OFFSET: 0x44B1B4 (Inside code range of tomb4.exe)
REGISTERS:
EAX=FFFFFFF8
EBX=9200
ECX=FFFFFFFF
EDX=FFFFFFFF
ESI=A06ED6C
EDI=FFFFFFF8
EBP=7FE70C
EIP=44B1B4
ESP=A05FD64
Stack=0xA05FD64 pContesto=0xA05F904 pInfoEccezione=0xA05F8B4
PRIMARY_STACK:
ESP=0xA05FD64
STACK_TRACE:
0x44990B
0x460294
0x100CB2C1
0x100D4EAE
0x449132
0x10073F8D
0x100C2AB3
0x4A6FC0
0x4515EA
0x100740DD
0x1007414C
0x45126D
0x475155
0x49E67C
<CRASH DURING STACK TRACE>
END_STACK_TRACE

SECONDARY_STACK:
ESP=0x19B0DC
STACK_TRACE:
<CRASH DURING STACK TRACE>
END_STACK_TRACE

OTHER_STACK:
ESP=0xE2EB150
STACK_TRACE:
<CRASH DURING STACK TRACE>
END_STACK_TRACE
Mario98 is offline   Reply With Quote
Old 03-02-23, 15:42   #7
Richard_trle
Explorer
 
Richard_trle's Avatar
 
Join Date: Aug 2003
Location: Brazil
Posts: 910
Default

Code:
WARNING: missing Header NG in "TITLE.TR4" level file
Maybe an issue with the title lvl? I don't know
Richard_trle is offline   Reply With Quote
Old 03-02-23, 17:15   #8
PedroTheGamer
Archaeologist
 
PedroTheGamer's Avatar
 
Join Date: Oct 2017
Location: Brazil
Posts: 1,103
Default

Code:
WorldFarView =
Maybe because thats Command you used on a wrong way are causing the crash? I know If you place negative numbers/Max than 127 sectors game glitches or crash.
__________________
''dare to come down to me,Yeah,That's right! let's dance!.''
PedroTheGamer is offline   Reply With Quote
Old 06-02-23, 02:46   #9
ChocolateFan
Historian
 
Join Date: Dec 2017
Location: I am female
Posts: 498
Default

Are you using TombIDE or NG Center? If you are using NG Center, go to the tab Updates, and tell the versions of Tomb_NextGeneration.dll and NG_Center.exe.



In the screenshot above, the versions are 1.3.0.7 and 1.5.7, respectively.
ChocolateFan is offline   Reply With Quote
Old 06-02-23, 18:32   #10
Mario98
Hobbyist
 
Join Date: Jan 2023
Posts: 10
Default

My versions are 1.3.0.0 and 1.5.6 in the NG Center. I've change it to 1.3.0.7 and 1.5.7 in both TRNG and TombEditor and it's still the same. I really don't know what the problem is. This is what appears in the title menu after I reload the 11th level (using TombEditor):


file:///C:/Users/SMK/Desktop/Tomb%20Raider%20-%20The%20Last%20Revelation%202_6_2023%209_00_40%20 PM.png

file:///C:/Users/SMK/Desktop/Tomb%20Raider%20-%20The%20Last%20Revelation%202_6_2023%209_00_29%20 PM.png


Copy the links to view the pictures.

Last edited by Mario98; 06-02-23 at 20:08.
Mario98 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 02:23.


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