Jacek Konieczny
ac5d9decd2
linux: preserve existing LD_PRELOAD content
...
that is needed for Steam overlay and game streaming to work
fixes https://github.com/DFHack/dfhack/issues/3768
2023-09-15 22:12:25 +02:00
Myk Taylor
053ae023b2
put df root in LD_LIBRARY_PATH so DF can find SDL2.so
2023-08-19 10:23:58 -07:00
Myk Taylor
8725fd26f6
Revert "we no longer need to set LD_LIBRARY_PATH"
...
This reverts commit 96eb6a6de3
.
2023-08-19 10:23:13 -07:00
Myk Taylor
96eb6a6de3
we no longer need to set LD_LIBRARY_PATH
2023-08-17 02:35:41 -07:00
Myk Taylor
790f0ff628
fix stonesense
2023-08-16 23:58:00 -07:00
Myk Taylor
c11740d439
update dfhack launcher script
2023-07-28 19:50:28 -07:00
Myk Taylor
8c01f3efe0
don't relaunch launchdf if it's already running
2023-05-20 02:59:41 -07:00
Myk Taylor
a5a6b70a51
launch DFHack through steam if DF is run from steam
2023-05-20 02:59:39 -07:00
Myk Taylor
1212ee0ef8
retrieve steam SDK from a private repo
2023-05-18 14:35:43 -07:00
Kelly Kinkade
68a8c687ea
steam build workflow improvements
...
improve cmake handling for downloading the sdk
set up GHA to cache the SDK download
2023-04-25 16:02:15 -05:00
Kelly Kinkade
337c5eea2a
changes to build process for dflaunch
...
only build dflaunch on steam-specific builds
only download steamworks SDK when building dflaunch
get steam account from environment when downloading steamworks SDK
2023-04-18 22:27:49 -05:00
Kelly Kinkade
ea01dae88f
fix minor oops
2023-04-18 22:27:49 -05:00
Kelly Kinkade
dae549e3d1
fix missing end of line
2023-04-18 22:27:49 -05:00
Kelly Kinkade
f336771284
launchdf rewrite
...
this rewrites launchdf so that the dfhack launcher attempts to linger while df is running
2023-04-18 22:27:49 -05:00
Kelly Kinkade
150708f21d
build lanchdf with steam sdk
2023-04-18 22:27:49 -05:00
Myk Taylor
14bc22ff31
A -> W to align with existing codepaths
2023-04-07 14:40:38 -07:00
Myk Taylor
4d758589cb
remove debug statement
2023-04-07 13:17:17 -07:00
Myk Taylor
91b35475fa
allow launching DF to work under wine
2023-04-07 12:41:46 -07:00
Kelly Kinkade
51236f90fa
update steam launcher
...
this version launches dwarf fortress via the steam client
the existing one doesn't set up the steam app context which means access to DF's steam workshop is broken. launching through the steam client avoids this issue.
2023-03-31 21:05:19 -05:00
Myk Taylor
eee911b807
remove changedir, cwd is already root
2023-03-08 00:00:22 -08:00
Myk Taylor
f974ac043f
add launchdf binary so steam has an exe to launch
2023-03-07 22:13:08 -08:00
Kelvie Wong
e7696b1f03
Allow symlinked dfhack-run
...
This is useful for symlinking this script somewhere on your $PATH, and
having it work without having to find the correct directory.
2023-01-14 14:00:02 -08:00
lethosor
d1f0edd33b
Apply initial pre-commit config
2022-04-12 14:48:19 -04:00
lethosor
11222f21d3
Update lint.py filters and fix a couple identified issues
2021-09-06 18:42:45 -04:00
lethosor
6a1f046995
Add --sizecheck option to Linux launcher script, update docs
2020-08-08 00:41:04 -04:00
Tommy R
1d2b0bb3a5
Fix the unquarantine behavior on OSX.
...
- Using print0 but without the parenthesis, find only outputs one
filename.
- Also added the .framework files to the unquarantine list.
2020-07-13 10:04:09 -07:00
lethosor
9c5e5de999
Disable stty in launchers if stdin is not a terminal
2020-03-26 22:58:43 -04:00
Ben Lubar
be6f9a2531
fix typo in be881936f3
2020-02-09 18:12:47 -06:00
Ben Lubar
be881936f3
add -x (--exec) flag to run DFHack via the exec builtin
...
this means the process run by ./dfhack will be Dwarf Fortress itself rather than the wrapper script, but it also means that no cleanup actions can occur.
2020-02-09 18:01:24 -06:00
lethosor
045d8bfd1e
Linux launcher: attempt to fall back to a working architecture for setarch
...
Also include directions if this fails
Closes #1466
2020-01-14 23:56:25 -05:00
lethosor
f3d5a185ba
macOS launcher: remove quarantine flags
...
Fixes #1465
2019-11-01 22:48:16 -04:00
Pauli
05dfac28e1
Automatically preload asan runtime library
2018-07-05 17:58:56 +03:00
Pauli
cfb646f576
Add gdbserver support to linux dfhack script
...
It use set envinronment because
* I couldn't get exec-wrapper to work correctly
* Even with shell remote gdb doesn't support spaces in arguments
2018-06-12 20:47:45 +03:00
Pauli
69b42d5ecf
Support DF command line arguments with gdb
2018-06-12 20:46:22 +03:00
Pauli
bbe70afa2d
Add strace support to the linux dfhack script
2018-06-12 20:42:12 +03:00
Daniel Brooks
9e935f67f8
makes dfhack -g work correctly
...
First, simplifies the quoting of the environment variables. Then sets
startup-with-shell to off so that gdb does not start bash first; if it
starts bash ld will see the LD_PRELOAD and try to load libdfhack.so
into the bash process, which is not what we want.
We could instead use an exec-wrapper, but that would be a slightly
larger change and we don't need any of the convenience features that
using a shell gives us (argument expansion and redirects, basically).
2018-05-19 03:02:44 -07:00
lethosor
ceb4cc7577
Add downloads for OS X GCC 7 stdlib
2018-04-04 19:45:44 -04:00
lethosor
4f38260e8c
Pass the correct architecture to setarch on Linux
...
Fixes #1129
2017-08-21 19:34:46 -04:00
lethosor
33ca7638f2
Make DFHack libraries take priority on Linux
...
Fixes #1008
2016-10-22 13:04:15 -04:00
lethosor
42c620bb9c
Download non-broken libstdc++ on OS X
2016-07-27 21:43:38 -04:00
lethosor
828fee532a
Switch to downloading zlib.lib and SDLreal.dll on Windows
2016-07-27 21:08:24 -04:00
lethosor
eef66b0db1
Get rid of OS X path restrictions (see package/linux/dfhack)
2016-07-12 14:54:06 -04:00
Matthew Lindner
ed96725293
Add protection from spaces in path and add warning in documentation
2016-07-12 14:44:18 -04:00
lethosor
a6c10307b0
Reset terminal color on exit
2016-05-14 19:39:10 -04:00
lethosor
c15cf5f415
Rename libstdc++ automatically in Linux launcher script
2016-01-18 09:21:31 -05:00
txtsd
07e59139fd
Use distro_fixes.sh from LNP if it exists
2015-12-23 00:38:03 +05:30
lethosor
00d39e270c
Add hack/libs to DYLD_LIBRARY_PATH on OS X
...
Fixes an issue in #649
2015-08-25 14:17:45 -04:00
lethosor
a1fd1d9219
Document dwarfmonitor and allow date format to be modified
2015-04-19 12:38:37 -04:00
lethosor
02cb510d20
Build OS X libstdc++ with -mmacosx-version-min=10.5
...
Fixes #561
2015-03-22 15:01:13 -04:00
miffedmap
ca6646e963
avoid dangling colon
2015-02-07 23:26:10 +02:00