LostArtefacts / TR1X

Open source re-implementation of Tomb Raider 1 (1996), along with additional enhancements and bugfixes
https://lostartefacts.dev/
GNU General Public License v3.0
576 stars 34 forks source link

Bug: Game crashes after fmv sequence on a specific folder in version 2.1 #287

Closed vini1264 closed 4 months ago

vini1264 commented 2 years ago

I have Tomb1Main installed on a folder called Tomb Raider in this specific path "C:\Games\Tomb Raider", and when the intro sequence ends the main menu doesn't load and it crashes to the desktop. If I move the folder or rename it to something else the game loads fine after the FMV sequence and doesn't crash. This bug wasn't present in the previous version, it's only present in version 2.1.

walkawayy commented 2 years ago

I tried this, and it still works for me when I run from the folder. I put all my files in the folder and ran it from there.

image

rr- commented 2 years ago

We'll need more details what kind of crash. Missing files? Hard crash?

vini1264 commented 2 years ago

Sorry for taking so long to respond. For me the application simply exits out of nowhere after the intro sequence, and again, it's only on the directory "C:\Games\Tomb Raider" that I told before, if I move or rename it it runs as expected and doesn't crash after the intro movie. I have checked all the files on the folder and nothing seems to be missing, i've tested the latest version and the same thing happens.

Here's the log file if you want to take a look: Tomb1Main.log

viniciusferrao commented 2 years ago

Same issue here, but it's D:\ instead of C:\. The space on the directory name may be the one to blame.

walkawayy commented 2 years ago

The default Steam directory C:\Program Files (x86)\Steam\steamapps\common\Tomb Raider (I) has a space which works fine. So something else is probably causing the issue I'd think?

rr- commented 2 years ago

Idea: does the game have permissions to write things in that directory? What happens if we try to run a game from a directory marked as read-only?

vini1264 commented 2 years ago

Well, I've found another crash on the game related to the directory. I have renamed the folder to "TombRaider", without spaces and located on the same "C:\Games" directory. This time the game doesn't crash after the intro, but when I load the Lara's House tutorial level, pause the game and try to exit to the main menu it ends up crashing instead of going to the menu, on the normal game this crash doesn't happen, only on Lara's House, and again if I move the folder outside of this directory the crash doesn't happen. This is happening on the latest version 2.4 btw.

Here's the log file related to the crash to take a look: Tomb1Main.log

walkawayy commented 1 year ago

@vini1264 can you try to play again on the latest release (2.12.1) and confirm if this bug still exists? Now that we have an installer, maybe that could fix some of the setup issues.

rr- commented 4 months ago

Closing due to inactivity. In case this is still occurring we can revisit this.