Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TR1X bug: game crashes with large rooms #1398

Closed
lahm86 opened this issue Jul 2, 2024 · 0 comments · Fixed by #1400
Closed

TR1X bug: game crashes with large rooms #1398

lahm86 opened this issue Jul 2, 2024 · 0 comments · Fixed by #1400
Assignees
Labels
TR1 TRX bug A bug with TRX
Milestone

Comments

@lahm86
Copy link
Collaborator

lahm86 commented Jul 2, 2024

If a room has more than 1500 vertices, the game crashes on load. In TombATI, levels can load where rooms exceed this limit, but this seems to be down to luck with the original memory layout, so it's in effect an OG bug/limitation.

@lahm86 lahm86 added this to the 4.2 milestone Jul 2, 2024
@lahm86 lahm86 self-assigned this Jul 2, 2024
lahm86 added a commit to lahm86/TRX that referenced this issue Jul 2, 2024
This replaces the fixed vertex buffer size of 1500 with a maximum value
read from the level - so the "biggest" room, object or static mesh
will determine the array size.

Resolves LostArtefacts#1398.
lahm86 added a commit to lahm86/TRX that referenced this issue Jul 2, 2024
This replaces the fixed vertex buffer size of 1500 with a maximum value
read from the level - so the "biggest" room, object or static mesh
determines the array size.

Resolves LostArtefacts#1398.
lahm86 added a commit to lahm86/TRX that referenced this issue Jul 2, 2024
This replaces the fixed vertex buffer size of 1500 with a maximum value
read from the level - so the "biggest" room, object or static mesh
determines the array size.

Resolves LostArtefacts#1398.
lahm86 added a commit that referenced this issue Jul 3, 2024
This replaces the fixed vertex buffer size of 1500 with a maximum value
read from the level - so the "biggest" room, object or static mesh
determines the array size.

Resolves #1398.
@rr- rr- added the TR1 label Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TR1 TRX bug A bug with TRX
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants