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
579 stars 36 forks source link

Level_LoadFromFile(): Could not open data/title.phd #1139

Closed sang-shelton closed 7 months ago

sang-shelton commented 7 months ago

The game crashes after the "Eidos" screen.

Screenshot_20240116_202123

TR1X output

``` ../../src/specific/s_shell.c 133 S_Shell_HandleWindowResize 1680x1050+0,0 (maximized: 0) ../../src/gfx/context.c 184 GFX_Context_SetWindowSize Window size: 1680x1050 ../../src/game/random.c 12 Random_SeedControl 72061 ../../src/game/random.c 24 Random_SeedDraw 70447 ../../src/gfx/context.c 112 GFX_Context_Attach Attaching to window 0x5555569e2050 ../../src/gfx/context.c 131 GFX_Context_Attach OpenGL vendor string: Intel ../../src/gfx/context.c 132 GFX_Context_Attach OpenGL renderer string: Mesa Intel(R) Graphics (RPL-S) ../../src/gfx/context.c 133 GFX_Context_Attach OpenGL version string: 4.6 (Compatibility Profile) Mesa 23.2.1-1ubuntu3.1 ../../src/gfx/context.c 137 GFX_Context_Attach Shading version string: 4.60 ../../src/gfx/context.c 58 GFX_Context_CheckExtensionSupport GL_ARB_explicit_attrib_location supported: yes ../../src/gfx/context.c 58 GFX_Context_CheckExtensionSupport GL_EXT_gpu_shader4 supported: yes ../../src/gfx/2d/2d_renderer.c 11 GFX_2D_Renderer_Init ../../src/gfx/3d/3d_renderer.c 32 GFX_3D_Renderer_Init ../../src/gfx/context.c 196 GFX_Context_SetDisplaySize Display size: 0x0 ../../src/gfx/context.c 198 GFX_Context_SetDisplaySize invalid size, ignoring ../../src/gfx/context.c 217 GFX_Context_SetRenderingMode Render mode: 0 ../../src/specific/s_input.c 899 S_Input_InitController 0 controllers ../../src/gfx/context.c 196 GFX_Context_SetDisplaySize Display size: 1680x1050 ../../src/game/shell.c 185 Shell_Main direction=256 param=0 ../../src/game/gameflow.c 1231 GameFlow_InterpretSequence level_num=20 level_type=0 ../../src/game/gameflow.c 1241 GameFlow_InterpretSequence seq 9 1496500000 ../../src/gfx/3d/vertex_stream.c 142 GFX_3D_VertexStream_RenderPending Vertex buffer resize: 0 -> 240 ../../src/specific/s_shell.c 133 S_Shell_HandleWindowResize 1680x1050+0,0 (maximized: 0) ../../src/gfx/context.c 184 GFX_Context_SetWindowSize Window size: 1680x1050 ../../src/config.c 196 Config_Write Saving user settings ../../src/specific/s_shell.c 133 S_Shell_HandleWindowResize 1680x1050+0,0 (maximized: 0) ../../src/gfx/context.c 184 GFX_Context_SetWindowSize Window size: 1680x1050 ../../src/config.c 196 Config_Write Saving user settings ../../src/specific/s_shell.c 133 S_Shell_HandleWindowResize 1680x1050+0,0 (maximized: 0) ../../src/gfx/context.c 184 GFX_Context_SetWindowSize Window size: 1680x1050 ../../src/config.c 196 Config_Write Saving user settings ../../src/game/gameflow.c 1241 GameFlow_InterpretSequence seq 6 1496500064 ../../src/specific/s_fmv.c 2291 S_FMV_Play Playing FMV: fmv/core.avi ../../src/specific/s_fmv.c 2294 S_FMV_Play FMV does not exist: fmv/core.avi ../../src/game/gameflow.c 1241 GameFlow_InterpretSequence seq 6 1496500096 ../../src/specific/s_fmv.c 2291 S_FMV_Play Playing FMV: fmv/escape.avi ../../src/specific/s_fmv.c 2294 S_FMV_Play FMV does not exist: fmv/escape.avi ../../src/game/gameflow.c 1241 GameFlow_InterpretSequence seq 6 1496500128 ../../src/specific/s_fmv.c 2291 S_FMV_Play Playing FMV: fmv/cafe.avi ../../src/specific/s_fmv.c 2294 S_FMV_Play FMV does not exist: fmv/cafe.avi ../../src/game/gameflow.c 1241 GameFlow_InterpretSequence seq 10 0 ../../src/game/level.c 761 Level_Initialise 20 ../../src/game/level.c 719 Level_Load 20 (data/title.phd) ../../src/gfx/2d/2d_renderer.c 52 GFX_2D_Renderer_Close ../../src/gfx/3d/3d_renderer.c 87 GFX_3D_Renderer_Close ../../src/specific/s_shell.c 160 S_Shell_ShowFatalError Level_LoadFromFile(): Could not open data/title.phd ```


System info

``` System: Kernel: 6.7.0-060700rc8-generic arch: x86_64 bits: 64 compiler: N/A clocksource: tsc available: acpi_pm parameters: BOOT_IMAGE=/vmlinuz-6.7.0-060700rc8-generic root=/dev/mapper/vgkubuntu-root ro quiet splash vt.handoff=7 Desktop: KDE Plasma v: 5.27.8 tk: Qt v: 5.15.10 wm: kwin_x11 vt: 2 dm: SDDM Distro: Ubuntu 23.10 (Mantic Minotaur) Machine: Type: Laptop System: ASUSTeK product: ROG Strix G614JU_G614JU v: 1.0 serial: Mobo: ASUSTeK model: G614JU v: 1.0 serial: UEFI: American Megatrends LLC. v: G614JU.321 date: 10/24/2023 Battery: ID-1: BAT0 charge: 84.6 Wh (100.0%) condition: 84.6/90.0 Wh (94.0%) volts: 17.4 min: 16.0 model: AS3GYFG3KC R220358 type: Unknown serial: status: full CPU: Info: model: 13th Gen Intel Core i9-13980HX bits: 64 type: MST AMCP arch: Raptor Lake gen: core 13 level: v3 note: check built: 2022+ process: Intel 7 (10nm) family: 6 model-id: 0xB7 (183) stepping: 1 microcode: 0x11D Topology: cpus: 1x cores: 24 mt: 8 tpc: 2 st: 16 threads: 32 smt: enabled cache: L1: 2.1 MiB desc: d-16x32 KiB, 8x48 KiB; i-8x32 KiB, 16x64 KiB L2: 32 MiB desc: 8x2 MiB, 4x4 MiB L3: 36 MiB desc: 1x36 MiB Speed (MHz): avg: 887 high: 1537 min/max: 800/5400:5600:4000 scaling: driver: intel_pstate governor: powersave cores: 1: 1230 2: 800 3: 1537 4: 800 5: 800 6: 800 7: 800 8: 800 9: 949 10: 871 11: 1187 12: 982 13: 1083 14: 800 15: 978 16: 800 17: 800 18: 800 19: 1188 20: 800 21: 800 22: 800 23: 800 24: 800 25: 800 26: 800 27: 800 28: 800 29: 800 30: 800 31: 800 32: 800 bogomips: 154828 Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx Vulnerabilities: Type: gather_data_sampling status: Not affected Type: itlb_multihit status: Not affected Type: l1tf status: Not affected Type: mds status: Not affected Type: meltdown status: Not affected Type: mmio_stale_data status: Not affected Type: retbleed status: Not affected Type: spec_rstack_overflow status: Not affected Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization Type: spectre_v2 mitigation: Enhanced / Automatic IBRS, IBPB: conditional, RSB filling, PBRSB-eIBRS: SW sequence Type: srbds status: Not affected Type: tsx_async_abort status: Not affected Graphics: Device-1: Intel Raptor Lake-S UHD Graphics vendor: ASUSTeK driver: i915 v: kernel arch: Gen-13 process: Intel 7 (10nm) built: 2022+ ports: active: eDP-1 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2 bus-ID: 0000:00:02.0 chip-ID: 8086:a788 class-ID: 0300 Device-2: NVIDIA AD107M [GeForce RTX 4050 Max-Q / Mobile] vendor: ASUSTeK GN21-X2 driver: nvidia v: 535.146.02 alternate: nvidiafb,nouveau,nvidia_drm non-free: 535.xx+ status: current (as of 2023-08) arch: Lovelace code: AD1xx process: TSMC n4 (5nm) built: 2022-23+ ports: active: none empty: DP-3,HDMI-A-3,eDP-2 bus-ID: 0000:01:00.0 chip-ID: 10de:28e1 class-ID: 0300 Device-3: Sonix USB2.0 HD UVC WebCam driver: uvcvideo type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-8:4 chip-ID: 322e:2122 class-ID: 0e02 Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 23.2.0 compositor: kwin_x11 driver: X: loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa dri: iris gpu: i915 display-ID: :0 screens: 1 Screen-1: 0 s-res: 1680x1050 s-dpi: 98 s-size: 436x273mm (17.17x10.75") s-diag: 514mm (20.25") Monitor-1: eDP-1 model: TL160ADMP03-0 built: 2022 res: 1680x1050 hz: 60 dpi: 124 gamma: 1.2 size: 345x215mm (13.58x8.46") diag: 407mm (16") ratio: 16:10 modes: 2560x1600 API: OpenGL v: 4.6 Mesa 23.2.1-1ubuntu3.1 renderer: Mesa Intel Graphics (RPL-S) direct-render: Yes Audio: Device-1: Intel vendor: ASUSTeK driver: snd_hda_intel v: kernel alternate: snd_sof_pci_intel_tgl bus-ID: 0000:00:1f.3 chip-ID: 8086:7a50 class-ID: 0403 Device-2: NVIDIA vendor: ASUSTeK driver: snd_hda_intel v: kernel bus-ID: 0000:01:00.1 chip-ID: 10de:22be class-ID: 0403 API: ALSA v: k6.7.0-060700rc8-generic status: kernel-api tools: alsactl,alsamixer,amixer Server-1: PipeWire v: 0.3.79 status: active with: 1: pipewire-pulse status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin tools: pactl,pw-cat,pw-cli,wpctl Network: Device-1: Intel driver: iwlwifi v: kernel port: N/A bus-ID: 0000:00:14.3 chip-ID: 8086:7a70 class-ID: 0280 IF: wlo1 state: up mac: Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK driver: r8169 v: kernel port: 4000 bus-ID: 0000:6c:00.0 chip-ID: 10ec:8168 class-ID: 0200 IF: enp108s0 state: down mac: Bluetooth: Device-1: Intel driver: btusb v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-14:5 chip-ID: 8087:0033 class-ID: e001 Report: hciconfig ID: hci0 rfk-id: 0 state: down bt-service: enabled,running rfk-block: hardware: no software: yes address: Info: acl-mtu: 1021:4 sco-mtu: 96:6 link-policy: rswitch sniff link-mode: peripheral accept RAID: Hardware-1: Intel Volume Management Device NVMe RAID Controller Intel driver: vmd v: 0.6 port: N/A bus-ID: 0000:00:0e.0 chip-ID: 8086:a77f rev: class-ID: 0104 Drives: Local Storage: total: 953.87 GiB used: 273.67 GiB (28.7%) SMART Message: Unable to run smartctl. Root privileges required. ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Micron model: 2400 MTFDKBA1T0QFM size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 tech: SSD serial: fw-rev: V3MA003 temp: 39.9 C scheme: GPT Partition: ID-1: / raw-size: 929.41 GiB size: 913.75 GiB (98.31%) used: 273.04 GiB (29.9%) fs: ext4 dev: /dev/dm-1 maj-min: 252:1 mapped: vgkubuntu-root ID-2: /boot raw-size: 1.67 GiB size: 1.61 GiB (96.26%) used: 598.2 MiB (36.4%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2 ID-3: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%) used: 43.2 MiB (8.5%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 Swap: Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: no ID-1: swap-1 type: partition size: 1.91 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/dm-2 maj-min: 252:2 mapped: vgkubuntu-swap_1 Sensors: System Temperatures: cpu: 30.0 C mobo: N/A Fan Speeds (rpm): cpu: 1900 Info: Processes: 530 Uptime: 45m wakeups: 4 Memory: total: 24 GiB note: est. available: 23.09 GiB used: 5.46 GiB (23.7%) Init: systemd v: 253 target: graphical (5) default: graphical tool: systemctl Compilers: gcc: 13.2.0 alt: 12/13 clang: 16.0.6 Packages: 3399 pm: dpkg pkgs: 3372 libs: 2150 tools: apt,apt-get,aptitude pm: flatpak pkgs: 21 pm: snap pkgs: 6 Shell: Bash v: 5.2.15 running-in: konsole inxi: 3.3.29 ```

walkawayy commented 7 months ago

Did you run the installer and use a Steam, GOG, or TombAti install folder? You should have a data/ folder in your TR1X folder that contains all the level files.

sang-shelton commented 7 months ago

Did you run the installer and use a Steam, GOG, or TombAti install folder? You should have a data/ folder in your TR1X folder that contains all the level files.

No, i just downloaded the binary via the zip file in the assets.

This are my tree inside TR1X-3.1-Linux:

Tree

``` ├── cfg │   ├── TR1X_gameflow.json5 │   ├── TR1X_gameflow_ub.json5 │   └── TR1X.json5 ├── data │   ├── atlantis_fd.bin │   ├── atlantis_textures.bin │   ├── backpack.bin │   ├── backpack_cut.bin │   ├── braid.bin │   ├── braid_cut1.bin │   ├── braid_cut2_cut4.bin │   ├── cat_fd.bin │   ├── cat_itemrots.bin │   ├── cat_textures.bin │   ├── caves_fd.bin │   ├── caves_itemrots.bin │   ├── caves_textures.bin │   ├── cistern_fd.bin │   ├── cistern_itemrots.bin │   ├── cistern_textures.bin │   ├── colosseum_fd.bin │   ├── colosseum_itemrots.bin │   ├── colosseum_textures.bin │   ├── cowboy_textures.bin │   ├── cut4_textures.bin │   ├── egypt_fd.bin │   ├── egypt_textures.bin │   ├── eidospc.png │   ├── folly_fd.bin │   ├── folly_itemrots.bin │   ├── folly_textures.bin │   ├── gym_textures.bin │   ├── hive_fd.bin │   ├── hive_itemrots.bin │   ├── hive_textures.bin │   ├── khamoon_fd.bin │   ├── khamoon_mummy.bin │   ├── khamoon_textures.bin │   ├── kold_textures.bin │   ├── lara_animations.bin │   ├── lara_gym_guns.bin │   ├── lara_jumping.bin │   ├── larson_textures.bin │   ├── midas_itemrots.bin │   ├── midas_textures.bin │   ├── mines_fd.bin │   ├── mines_itemrots.bin │   ├── mines_textures.bin │   ├── obelisk_fd.bin │   ├── obelisk_itemrots.bin │   ├── pyramid_fd.bin │   ├── pyramid_textures.bin │   ├── qualopec_fd.bin │   ├── qualopec_itemrots.bin │   ├── qualopec_textures.bin │   ├── sanctuary_fd.bin │   ├── sanctuary_itemrots.bin │   ├── sanctuary_textures.bin │   ├── skateboardkid_textures.bin │   ├── stronghold_fd.bin │   ├── stronghold_itemrots.bin │   ├── stronghold_textures.bin │   ├── tihocan_fd.bin │   ├── tihocan_itemrots.bin │   ├── tihocan_textures.bin │   ├── titleh.png │   ├── titleh_ub.png │   ├── uzi_sfx.bin │   ├── valley_itemrots.bin │   ├── valley_textures.bin │   ├── vilcabamba_itemrots.bin │   └── vilcabamba_textures.bin ├── music │   ├── Track02.flac │   ├── Track03.flac │   ├── Track04.flac │   ├── Track05.flac │   ├── Track06.flac │   ├── Track07.flac │   ├── Track08.flac │   ├── Track09.flac │   ├── Track10.flac │   ├── Track11.flac │   ├── Track12.flac │   ├── Track13.flac │   ├── Track14.flac │   ├── Track15.flac │   ├── Track16.flac │   ├── Track17.flac │   ├── Track18.flac │   ├── Track19.flac │   ├── Track20.flac │   ├── Track21.flac │   ├── Track22.flac │   ├── Track23.flac │   ├── Track24.flac │   ├── Track25.flac │   ├── Track26.flac │   ├── Track27.flac │   ├── Track28.flac │   ├── Track29.flac │   ├── Track30.flac │   ├── Track31.flac │   ├── Track32.flac │   ├── Track33.flac │   ├── Track34.flac │   ├── Track35.flac │   ├── Track36.flac │   ├── Track37.flac │   ├── Track38.flac │   ├── Track39.flac │   ├── Track40.flac │   ├── Track41.flac │   ├── Track42.flac │   ├── Track43.flac │   ├── Track44.flac │   ├── Track45.flac │   ├── Track46.flac │   ├── Track47.flac │   ├── Track48.flac │   ├── Track49.flac │   ├── Track50.flac │   ├── Track51.flac │   ├── Track52.flac │   ├── Track53.flac │   ├── Track54.flac │   ├── Track55.flac │   ├── Track56.flac │   ├── Track57.flac │   ├── Track58.flac │   ├── Track59.flac │   └── Track60.flac ├── shaders │   ├── 2d.fsh │   ├── 2d.vsh │   ├── 3d.fsh │   ├── 3d.vsh │   ├── fbo.fsh │   └── fbo.vsh ├── TR1X └── TR1X.log 5 directories, 138 files ```

walkawayy commented 7 months ago

Yes so we don't provide the level files. You can get them from a Steam, Gog, or TombATI install. The installer can help do that for you too otherwise you need to manually copy the level files from an install.