Commit graph

107 commits

Author SHA1 Message Date
Jarod42
f6be62ce8a Fix for UNICODE. 2023-08-03 20:37:50 +02:00
shinra-electric
9b0c04dee3
Use Application Support folder for Mac
Stratagus currently puts data files in `~/Library/`, but it should use `~/Library/Application\ Support/`
2023-03-08 22:38:50 +01:00
Andreas Volz
036a8395bb fix a undefined behaviour for std::string and nullptr access 2023-03-01 09:31:03 +01:00
Tim Felgentreff
63ccee588b
XDG_DATA_DIR should be XDG_DATA_HOME 2023-02-24 23:14:35 +01:00
Tim Felgentreff
cc9c9ee297
Update stratagus-game-launcher.h 2023-02-24 22:26:55 +01:00
Tim Felgentreff
c7ede9f211 warn when there's no ffmpeg 2023-01-15 08:06:59 +01:00
Tim Felgentreff
a9c3f4722e don't require xterm, try to make innoextract go in the right folder 2023-01-15 07:58:05 +01:00
Tim Felgentreff
1c5794d6a3 use XDG_DATA/CONFIG_DIRs for data and config 2023-01-14 08:40:00 +01:00
Tim Felgentreff
358c1ef3f3 fix another error message, and stratagus launching with argv0 2023-01-05 12:50:34 +01:00
Tim Felgentreff
1ac332fe1b fix error message on linux 2023-01-05 12:26:37 +01:00
Tim Felgentreff
447bcb9d56 fix portable extraction on linux 2023-01-05 12:26:27 +01:00
Tim Felgentreff
b868d2d973 fixup for last commit 2023-01-04 10:55:52 +01:00
Tim Felgentreff
911b7e0bdd support launching from AppImages for game launchers 2023-01-04 10:32:20 +01:00
Tim Felgentreff
2541199a8c minor fixes to game launcher header 2022-10-26 21:38:26 +02:00
Tim Felgentreff
ef6e0431e8 fix extraction via launcher on macos 2022-08-29 23:13:12 +02:00
Tim Felgentreff
94016eb710 workarounds for win32 2021-12-22 19:53:41 +01:00
Tim Felgentreff
d8351d93ba fix help message for wargus tool 2021-12-15 21:01:39 +01:00
Alyokhin
4b7537bfc1 Enabled curses dialogs 2021-12-02 20:43:45 +03:00
Tim Felgentreff
47064c297c minor improvement for argument handling in game launcher 2021-11-29 10:39:46 +01:00
Tim Felgentreff
eb73a6584e On windows, prefer stratagus from PATH over registry 2021-11-29 10:15:17 +01:00
Alex Grant Benedict
3e605aa5fb Minor fix ups for TCHAR == char on XP. Add in stub function for detectpresence on windows. 2021-11-28 12:00:56 -07:00
Alex Grant Benedict
83cd60ab43 Add in wchar_t version of GetExtractionLogPath 2021-11-27 20:04:00 -07:00
Alex Grant Benedict
92320405c3 Remove old include. Auto formatted.
Auto formatted with astyle. Remove old include.
2021-11-27 17:03:05 -07:00
Alex Grant Benedict
3c26d5d0fe Update stratagus-tinyfiledialogs.h
Update tinyfiledialogs to get new functions introduced in version 3.6
2021-11-27 16:27:33 -07:00
Jerome FORESTIER
df318f52c6 Prevent a crash in Wargus.exe 2021-07-29 17:54:22 +02:00
Tim Felgentreff
7aae6e1bb3 another attempt to fix quoting for cmd.exe on windows 2021-07-17 07:04:29 +02:00
Jerome FORESTIER
9a44c5ea5e Fix crash when displaying an error window 2021-07-15 19:15:47 +02:00
Tim Felgentreff
c0ad6b9e56 fix filesystem use on older gcc and clang versions 2021-07-15 05:08:04 +02:00
Tim Felgentreff
4d6309d6ae actually use our fancy double escaped commandline 2021-07-03 14:29:20 +02:00
Tim Felgentreff
c43fc735c3 fix refactoring on linux 2021-07-03 12:50:45 +02:00
Tim Felgentreff
8aab2a3e3d use better runCommand to execute things on windows 2021-07-03 11:17:31 +02:00
Tim Felgentreff
f97aa35b11
Use local innoextract.exe on windows 2021-07-01 08:08:36 +02:00
Tim Felgentreff
541bb223c6 if innoextract is available, support extracting directly from single-file game installers (e.g. GoG) 2021-06-28 23:01:12 +02:00
Tim Felgentreff
e053a7e53a use std::filesystem in more places 2021-06-14 23:23:40 +02:00
Tim Felgentreff
e40fedc22e don't copy over same files/folders for contrib 2021-06-14 09:55:22 +02:00
Tim Felgentreff
7c8ba8def0 fixes for extraction log 2021-06-13 17:06:52 +02:00
Tim Felgentreff
db86d82886 point to extract log when extraction fails 2021-06-13 16:02:59 +02:00
Tim Felgentreff
91d6fd0572 don't copy same files 2021-06-13 15:58:10 +02:00
Tim Felgentreff
445777eb86 util to get extraction log path 2021-06-13 15:58:01 +02:00
Tim Felgentreff
f506c2bcb5 better error messages for extraction 2021-06-13 14:29:14 +02:00
alyokhin
9f04967d30 Fix for windows call 2021-04-29 13:43:23 +03:00
alyokhin
091f26aaa9 Fix to preserve the global environment 2021-04-29 13:37:04 +03:00
alyokhin
dbf039097e Added environmen variable into the stratagus launcer to reduce CPU load while already finished threads are wating for still working yet ones. 2021-04-29 12:41:57 +03:00
Tim Felgentreff
afbdc12c6b fix build on actual windows machine 2020-11-30 10:21:17 +01:00
Tim Felgentreff
7c067d8161 commonalize NTDDI_VERSION and _WIN32_WINNT 2020-11-30 09:42:34 +01:00
Tim Felgentreff
d4b1a6c58c fix build on windows, mkIII 2020-11-30 07:58:54 +01:00
Tim Felgentreff
77fe9d0121 fix build on windows, mkII 2020-11-30 07:25:52 +01:00
Tim Felgentreff
a2b4f38b75 fix build on windows 2020-11-29 21:35:15 +01:00
Tim Felgentreff
0a5e65d7fe install and run from Documents folder on windows, seems games do that these days 2020-11-29 14:28:34 +01:00
Tim Felgentreff
135527a284 Fix warnings on win32 2020-11-23 10:02:08 +01:00