-
Notifications
You must be signed in to change notification settings - Fork 8
/
package_mod.sh
executable file
·35 lines (27 loc) · 1.84 KB
/
package_mod.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/bash
# /* this initializes the values for the different variables referenced in compatible_games */
source "../ModPackaging/utilities/ie_games.sh"
# /* MODIFY: set the values of the 3 variables below to reflect the current mod version */
export mod_name="Widescreen Mod"
export mod_version="v3.08"
export mod_folder="widescreen"
# /* MODIFY: these variables have sensible default values but they may need to be tweaked to match your particular mod */
# /* the ico_folder is where your .ico files are stored, which is usually the mod's backup or style folder */
# /* the audio_folder is where your sox and oggdec.exe utilities are stored (leave alone if you have no audio) */
# /* the tispack_folder is the root directory that contains the win32, osx, and unix subfolders where your tisunpack utilities are stored (leave alone if you have no tilesets) */
# /* the iconv_folder is where your iconv.exe utility is stored (leave alone if you are not converting charsets for BGEE) */
# /* the mod_readme link should point to the online readme and work fine as-is if the mod uses the standard G3 naming scheme */
export ico_folder="${mod_folder}/style"
export audio_folder="${mod_folder}/audio"
export tispack_folder="${mod_folder}/tiz"
export tile2ee_folder="${mod_folder}/tools/tile2ee"
export iconv_folder="${mod_folder}/languages/iconv"
export mod_readme="https://gibberlings3.github.io/Documentation/readmes/readme-%mod_folder%.html"
# /* MODIFY: if you don't need to build a specific package, you can disable it by setting the appropriate variable below to 0 */
export build_windows=1
export build_osx=0
export build_linux=1
# /* MODIFY: if you want to avoid making filenames lowercase, you can disable that by setting the variable below to 0 */
export lowercase_filenames=0
# /* this performs the actual packaging */
bash "../ModPackaging/utilities/complete_packaging.sh"