Pidgeot / python-lnp

Cross-platform re-implementation of the Lazy Newb Pack launcher.
ISC License
64 stars 10 forks source link

[Windows 11] "Play Dwarf Fortress!" not working #188

Closed Joel-Milligan closed 1 year ago

Joel-Milligan commented 1 year ago

When clicking "Play Dwarf Fortress!" nothing happens. Below is contents of stderr.txt.


INFO: Registering path lnp as .\LNP
INFO: Registering path keybinds as .\LNP\Keybinds
INFO: Registering path graphics as .\LNP\Graphics
INFO: Registering path utilities as .\LNP\Utilities
INFO: Registering path colors as .\LNP\Colors
INFO: Registering path embarks as .\LNP\Embarks
INFO: Registering path tilesets as .\LNP\Tilesets
INFO: Registering path baselines as .\LNP\Baselines
INFO: Registering path mods as .\LNP\Mods
INFO: Registering path df as .\Dwarf Fortress 0.47.05
INFO: Registering path data as .\Dwarf Fortress 0.47.05\data
INFO: Registering path init as .\Dwarf Fortress 0.47.05\data\init
INFO: Registering path save as .\Dwarf Fortress 0.47.05\data\save
INFO: Registering path extras as .\LNP\Extras
INFO: Registering path defaults as .\LNP\Defaults
INFO: Registering path dfhack_config as .\Dwarf Fortress 0.47.05\dfhack-config\init
INFO: Read installed graphics (ASCII) from log
Traceback (most recent call last):
  File "core\launcher.py", line 112, in run_program
  File "subprocess.py", line 858, in __init__
  File "subprocess.py", line 1311, in _execute_child
OSError: [WinError 193] %1 is not a valid Win32 application
ERROR: Could not launch .\Dwarf Fortress 0.47.05\Dwarf Fortress.exe
Exception in Tkinter callback
Traceback (most recent call last):
  File "tkgui\tkgui.py", line 557, in run_df
  File "core\launcher.py", line 55, in run_df
Exception: Failed to run Dwarf Fortress.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "tkinter\__init__.py", line 1892, in __call__
  File "tkgui\tkgui.py", line 562, in run_df
AttributeError: 'Exception' object has no attribute 'message'```
Joel-Milligan commented 1 year ago

Closed as issue with Peridexis dist