-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot start dethrace from terminal (Windows) #351
Comments
In src/harness/harness.c around line 182 after
I had to add this for macOS app bundle and Windows console support
Basically calling chdir("") on Win32 raises an errno (which looks legit to me, what's intriguing here is that it swallows it on POSIX platforms). |
The original issue is about Macos finder running applications from You're using a "macosx bundle", which our cmake script does not support at all. A complication with macosx bundles is that for legal reasons, we cannot bundle game resources with an app bundle. |
Defaulting root_dir to "." when neither the DETHRACE_ROOT_DIR envvar is
set nor OS_Dirname(argv[0]) fails to return a directory when argv[0] is
just an executable name does prevent the issue described here, actually.
I understand and agree that proprietary game resources can't be
*distributed* in a macOS app bundle, but the end user is still allowed
to copy them there. That's what the DosBox .app bundle does. Dethrace
could take advantage of that maybe?
I don't use the CMake script. I made my own build script in bourne shell
for dethrace for POSIX platforms, so that I can compile the game with
just a compiler and a linker as a requirement (and of course the needed
system libraries). Sorry for diverging from the mainstream :/
… Message ID: ***@***.***>
|
No need to say sorry. |
Fixed by #381 |
From discord:
The text was updated successfully, but these errors were encountered: