Commit graph

94 commits

Author SHA1 Message Date
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
Tim Felgentreff
ac256b0727 fix warning 2020-06-25 16:09:18 +02:00
Tim Felgentreff
f98a1357d7 fix issue on windows where reextraction would otherwise copy *into* the old dir 2020-06-25 16:08:23 +02:00
Tim Felgentreff
f2dbb509cb fixes for win32 compilation 2020-06-25 08:51:02 +02:00
Tim Felgentreff
57a166a0bd allow re-extraction of data from the target directory 2020-06-25 08:51:02 +02:00
Tim Felgentreff
5e1380c8c5 make the normal game extraction boxes less scary 2019-05-01 09:18:46 +02:00
Tim Felgentreff
2590eeabf1 fix syntax error 2019-04-07 11:42:09 +02:00
Tim Felgentreff
3284a17140 fix extraction on windows, avoid side-effect of modifying the input 2019-04-07 11:13:22 +02:00
Tim Felgentreff
9a2b27e601 more robust and sane mkdir_p 2019-04-06 16:39:02 +02:00
Tim Felgentreff
1e3fbd4bca Allow optional contrib data. Partial fix for #212 2018-09-27 20:55:19 +00:00
Tim Felgentreff
bb5a31d523 Abort if any contrib dir is missing 2017-09-03 11:30:45 +00:00
Tim Felgentreff
665491b920 Try harder to discover contrib dir 2017-09-03 11:23:23 +00:00
Tim Felgentreff
e4343e84e8 be more robust in check_version of extracted data 2017-06-12 11:40:02 +02:00
Tim Felgentreff
40bc2e50a7 allow games to extract data again 2017-06-11 18:24:59 +02:00