You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like tfe won't find some necessary files when launched outside the build directory, for example in a window manager with *.desktop or from a terminal by typing theforceengine. ExternalData/*.json files seem to be the problematic ones
For example, in-game gun projectiles won't work.
Here are some extracts from the logs (first one might be normal, though the second one is more of an issue):
2024-Dec-22 22:18:46 - [Error : HUD] Cannot load font 'AmoNum2.fnt'
2024-Dec-22 22:18:46 - [Error : HUD] Cannot load font 'SuperWp2.fnt'
2024-Dec-22 22:18:46 - [Error : HUD] Cannot load font 'ArmNum2.fnt'
2024-Dec-22 22:18:46 - [Error : HUD] Cannot load font 'HelNum2.fnt'
2024-Dec-22 22:18:46 - [LOGICS] Parsing logic JSON(s)
2024-Dec-22 22:18:46 - [EXTERNAL_DATA] Loading pickup data
2024-Dec-22 22:18:46 - [EXTERNAL_DATA] Loading projectile data
2024-Dec-22 22:18:46 - [Error : EXTERNAL_DATA] Warning: Projectile data is incomplete. PROJECTILES.JSON may have been altered. Projectiles may not behave as expected.
2024-Dec-22 22:18:46 - [EXTERNAL_DATA] Loading effects data
2024-Dec-22 22:18:46 - [Error : EXTERNAL_DATA] Warning: Effect data is incomplete. EFFECTS.JSON may have been altered. Effects may not behave as expected.
2024-Dec-22 22:18:46 - [MemoryRegion] Allocated new memory block in region 'Landru' - new size is 1 blocks, total size is '4194304'
2024-Dec-22 22:18:46 - [MemoryRegion] Allocated new memory block in region 'Cutscene' - new size is 1 blocks, total size is '8388608'
2024-Dec-22 22:18:51 - [Player] Setting up level 'SECBASE'
2024-Dec-22 22:18:51 - [Error : Dark Forces Game Script] LevelScript.fs (0, 0) : Failed to open script file 'LevelScript.fs'
2024-Dec-22 22:18:51 - [Warning : level_loadGeometry] Could not open 'ZWIMP10L.BM', using 'default.bm' instead.
2024-Dec-22 22:18:51 - [Warning : level_loadGeometry] Could not open 'ZWIMP11.BM', using 'default.bm' instead.
2024-Dec-22 22:18:51 - [Warning : level_loadINF] Hit the end of INF 'SECBASE' before parsing all items: 58/60
The text was updated successfully, but these errors were encountered:
Ettotsu
changed the title
TFE fails to find some files (json) when launched outside the build directory
TFE fails to find some files (json) when launched outside the build directory on Linux
Dec 22, 2024
It seems like tfe won't find some necessary files when launched outside the build directory, for example in a window manager with
*.desktop
or from a terminal by typingtheforceengine
.ExternalData/*.json
files seem to be the problematic onesFor example, in-game gun projectiles won't work.
Here are some extracts from the logs (first one might be normal, though the second one is more of an issue):
The text was updated successfully, but these errors were encountered: