Commit Graph

90 Commits (c67e0da25056d0157c4af8e5f0e0465155611359)

Author SHA1 Message Date
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
miffedmap df9633c827 LD_PRELOAD should use colon rather then space as delimiter 2015-02-07 22:27:38 +02:00
miffedmap 5f2d259593 Allow user to include custom libraries in LD_PRELOAD 2015-01-27 04:35:49 +02:00
Lethosor e20808b6f6 Allow `dfhack` script to be run from other directories on OS X 2015-01-11 13:53:51 -05:00
lethosor 57f6a94133 Merge remote-tracking branch 'lethosor/osx-libstdc++'
Also update NEWS
2015-01-05 16:39:42 -05:00
lethosor eb8bd82942 Add libstdc++.6.dylib to .gitignore 2014-12-23 10:32:46 -05:00
lethosor 02f2d88f35 Add option to install newer libstdc++ on OS X
Also include a bzipped copy of libstdc++.6.dylib
Fixes #437
Fixes #436
Fixes #460
Fixes #462
2014-12-23 10:31:00 -05:00