kuuchuu / bg3modmanager-linuxlauncher Goto Github PK
View Code? Open in Web Editor NEWLinux Launcher and non-Steam game adder for BG3ModManager
License: MIT License
Linux Launcher and non-Steam game adder for BG3ModManager
License: MIT License
Just putting this in here for anyone else who may encounter errors:
Installing dotnet472 if necessary...
Running WINEPREFIX=/home/user/.local/share/wineprefixes/BG3MM/ winetricks dotnet472
Traceback (most recent call last):
File "/opt/BG3MM/linux.py", line 258, in <module>
main()
File "/opt/BG3MM/linux.py", line 243, in main
setup_wineprefix()
File "/opt/BG3MM/linux.py", line 103, in setup_wineprefix
run_command(f"WINEPREFIX={prefix_location} winetricks dotnet472")
File "/opt/BG3MM/linux.py", line 82, in run_command
result = subprocess.run(cmd, shell=True, check=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
File "/usr/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'WINEPREFIX=/home/user/.local/share/wineprefixes/BG3MM/ winetricks dotnet472' returned non-zero exit status 99.
warning: This package (dotnet45) is broken in wine-8.0.2. Broken since 5.18. See https://bugs.winehq.org/show_bug.cgi?id=49897 for more info. Use --force to try anyway.
As suggested, and exactly what I expect from .net, I just forced it through but I'm also super lazy so I just added --force
to winetricks in the script.
I've run the script, and it seems to have created the necessary Wine prefix, however I'm still unable to launch the mod manager on Fedora.
[baki@baki-pc BG3ModManager_Latest]$ python linux.py --setup
Please 'pip install vdf pefile' for adding to Steam
Checking if WINEPREFIX exists...
Installing dotnet472 if necessary...
Running wine
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Using winetricks 20230212 - sha256sum: e882a17654b1138109ed0211ae9726839683c91cf13dff24a012f6712375ebf2 with wine-8.14 (Staging) and WINEARCH=win64
Executing w_do_call dotnet472
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
dotnet472 already installed, skipping
Installing d3dcompiler_47 if necessary...
Running wine
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Using winetricks 20230212 - sha256sum: e882a17654b1138109ed0211ae9726839683c91cf13dff24a012f6712375ebf2 with wine-8.14 (Staging) and WINEARCH=win64
Executing w_do_call d3dcompiler_47
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
d3dcompiler_47 already installed, skipping
Updating settings.json...
Checking if settings.json exists...
Updating settings.json...
[baki@baki-pc BG3ModManager_Latest]$ python linux.py
Please 'pip install vdf pefile' for adding to Steam
Checking if WINEPREFIX exists...
Running wine
002c:fixme:winediag:LdrInitializeThunk wine-staging 8.14 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
009c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
009c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
009c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
009c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0118:err:module:fixup_imports_ilonly mscoree.dll not found, IL-only binary L"BG3ModManager.exe" cannot be loaded
0118:err:module:LdrInitializeThunk Importing dlls for L"Z:\\home\\baki\\Downloads\\BG3ModManager_Latest\\BG3ModManager.exe" failed, status c0000135
Traceback (most recent call last):
File "/home/baki/Downloads/BG3ModManager_Latest/linux.py", line 178, in <module>
main()
File "/home/baki/Downloads/BG3ModManager_Latest/linux.py", line 174, in main
run_command(f"WINEPREFIX={prefix_location} wine BG3ModManager.exe")
File "/home/baki/Downloads/BG3ModManager_Latest/linux.py", line 21, in run_command
subprocess.run(cmd, shell=True, check=True)
File "/usr/lib64/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'WINEPREFIX=/home/baki/.local/share/wineprefixes/BG3MM/ wine BG3ModManager.exe' returned non-zero exit status 53.
Hi there, thank you for this tool I appreciate it I was having trouble setting up this mod manager by hand.
--steam does not work if you have never set up a steam shortcut:
Traceback (most recent call last):
File "/home/zeb/Modding/BG3 Mod Manager/./linux.py", line 258, in <module>
main()
File "/home/zeb/Modding/BG3 Mod Manager/./linux.py", line 246, in main
add_to_steam()
File "/home/zeb/Modding/BG3 Mod Manager/./linux.py", line 173, in add_to_steam
with open(shortcuts_file, 'rb') as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/zeb/.steam/steam/userdata/75027093/config/shortcuts.vdf'```
Perhaps check for this and inform the user to create a new shortcut in steam, which then fixes this issue.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.