Commit graph

107 commits

Author SHA1 Message Date
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
Tim Felgentreff
3adbda9ae5 Fix version check and data path selection on win32 2016-11-21 10:32:34 +01:00
Tim Felgentreff
9d0235ec8c support custom DATA_PATH also on windows 2016-11-20 19:27:07 +01:00
Tim Felgentreff
2c1cd02cd7 More fixes for win32 2016-11-20 19:00:35 +01:00
Tim Felgentreff
f05ceaa041 make WIN32 useable in macro if tests 2016-11-20 18:48:41 +01:00
Tim Felgentreff
86c444351f fix compilation on win32 2016-11-20 18:21:53 +01:00
Tim Felgentreff
87f0e1de83 another round to make launcher more robust 2016-11-20 18:14:49 +01:00
Tim Felgentreff
edc22514ab update gameheaders and dependencies 2016-11-20 17:12:54 +01:00
Tim Felgentreff
377cd580b3 Update stratagus-game-launcher.h 2016-11-20 00:07:29 +01:00
Tim Felgentreff
57d63e9cd5 rename, concat, and ship our adapted tinyfiledialogs header 2016-11-19 15:17:58 +01:00
Tim Felgentreff
8b75dddc36 re-order definitions 2016-11-19 15:01:43 +01:00
Tim Felgentreff
47c26d6918 fix compilation on unix again 2016-11-18 13:13:18 +01:00
Tim Felgentreff
86e9820730 fix game launcher and extraction process for windows 2016-11-18 13:03:55 +01:00
Tim Felgentreff
6b03b5eedf include tinyfiledialogs in game launcher, and use it to offer extracting data on first launch to a user directory 2016-11-17 14:46:19 +01:00
Tim Felgentreff
e30548c5a9 On Windows, also look for a local stratagus.exe 2016-03-07 11:27:16 +01:00
Christoph Korn
2e5db99837 Fix test for data extraction on non Windows system
It was not able to find the file because of the backslash notation.
Use slash notation on non Windows systems to fix it.
2016-02-02 22:27:27 +01:00
KroArtem
9c29a2dd63 removed all maemo stuff 2015-12-04 13:49:11 +03:00
Tim Felgentreff
79d93b7500 use TITLE_PNG for both unix and win32 2015-11-25 16:47:30 +01:00
Tim Felgentreff
415d839b58 allow game launchers to define TITLE_PNG as a path for their data 2015-11-24 22:19:35 +01:00
Tim Felgentreff
e7e3e4bd78 make game launcher work without gtk, and with windows subsystem 2015-11-24 14:55:25 +01:00
Pali Rohár
9e666b6bbd stratagus-game-launcher.h - Path to data must be escaped on Windows
This fix problems that on Windows wargus.exe binary do nothing...
2012-08-20 15:25:08 +02:00
Pali Rohár
e1c8c27bbb Fix stratagus-maemo-extract.h - ignore '\n' in version string 2012-08-19 11:11:12 +02:00
Pali Rohár
49f84340ff Fix gtk_message_dialog_new in stratagus-game-launcher.h 2012-07-24 12:55:06 +02:00
Joris
19cab71fd3 Remove trailling '\' in data_path for windows which make the (game) data to be not found. 2012-05-24 14:32:36 +02:00
Pali Rohár
3abee4efee stratagus-game-launcher: Windows - for data path use current directory of executable image 2012-04-04 11:02:21 +02:00
joris
d46f732128 Fix compilation with MinGW 2012-03-10 13:59:58 +01:00
joris
0a75f54c09 Fix some problems of compilation with VS.
use explicit block for if/for.
2012-03-10 10:18:26 +01:00
Pali Rohár
12ab2f8129 stratagus-maemo-extract.h: Update messages 2012-02-26 17:49:34 +01:00
Pali Rohár
c5143b5c58 stratagus-maemo-extract.h: EXTRACT_COMMAND and EXTRACT_INFO are now optional 2012-02-25 15:46:29 +01:00
Pali Rohár
281029f150 Fixed maemo-extract header 2012-01-02 11:37:51 +01:00
Pali Rohár
edf5f9dda3 maemo-extract: fix message string 2012-01-02 10:49:25 +01:00
Pali Rohár
8d61a78d5a Fixed compile errors in stratagus-maemo-extract.h 2011-12-31 20:34:31 +01:00
Pali Rohár
3ce0fc416d Fixed definitions in gameheaders for proper generating doxygen doc 2011-11-06 20:39:07 +01:00
Pali Rohár
5e35702ba9 Added Stratagus Game headers file for easy creating Game Launchers and Maemo Extractors 2011-08-08 15:28:05 +02:00