Commit graph

83 commits

Author SHA1 Message Date
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
Tim Felgentreff
a6eb7e9764 fix a couple of segfaults 2016-12-02 09:59:23 +01:00
Tim Felgentreff
c28db9ae59 split game launcher header, so extraction tools can use the smaller header for showing errors 2016-12-01 18:01:13 +01:00
Tim Felgentreff
fbc7485d97 update error message 2016-11-29 18:17:35 +01:00
mimooh
132666aae9 Inform the users that appdata stratagus may be removed to fix the broken installation 2016-11-28 21:26:01 +01:00
Tim Felgentreff
e2d6cc0bfe remove trailing backslash in windows parentdir 2016-11-28 11:04:28 +01:00
Tim Felgentreff
caa6caf381 check return code of stratagus launch and report a more concrete error 2016-11-27 13:54:23 +01:00
Tim Felgentreff
6717c5d866 Merge branch 'master' of https://github.com/Wargus/stratagus.git
Conflicts:
	gameheaders/stratagus-game-launcher.h
2016-11-27 11:06:10 +01:00
Tim Felgentreff
a86209366e Fix a bug with quoted source paths on win32 extraction 2016-11-27 00:09:33 +01:00
Tim Felgentreff
8be2487fa9 sometimes, not having an 'extracted' file is a failure 2016-11-24 20:16:46 +01:00
Tim
7de49ce579 wait for the extraction process to complete on osx, and don't use file patterns, they don't work on Sierra 2016-11-23 15:53:46 +01:00
Tim
e75ecdba16 small fixes for osx 2016-11-23 14:40:45 +01:00