-
Notifications
You must be signed in to change notification settings - Fork 3
/
package_mod.bat
40 lines (32 loc) · 2.11 KB
/
package_mod.bat
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
34
35
36
37
38
39
40
@echo off
setlocal
REM /* this initializes the values for the different variables referenced in compatible_games */
call "%~dp0..\ModPackaging\utilities\ie_games.bat"
REM /* MODIFY: set the values of the 3 variables below to reflect the current mod version */
set "mod_name=SoD to BG2EE Item Upgrade"
set "mod_version=v2.0.5"
set mod_folder=sod2bg2_iu
REM /* MODIFY: list here which IE games the mod is compatible with, from this list of possibilities: */
REM /* %bg1%, %bg2%, %bgt%, %tutu%, %bgee%, %bgiiee%, %iwd1%, %iwdee%, %iwd2%, %iwd2ee%, %iwd-in-bg2%, %pst%, %pstee%, %eet% */
set "compatible_games=%bgiiee% or %bgee% or %eet%"
REM /* MODIFY: these variables have sensible default values but they may need to be tweaked to match your particular mod */
REM /* the ico_folder is where your .ico files are stored, which is usually the mod's backup or style folder */
REM /* the audio_folder is where your sox and oggdec.exe utilities are stored (leave alone if you have no audio) */
REM /* 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) */
REM /* the iconv_folder is where your iconv.exe utility is stored (leave alone if you are not converting charsets for BGEE) */
REM /* the mod_readme link should point to the online readme and work fine as-is if the mod uses the standard G3 naming scheme */
set ico_folder=%mod_folder%\style
set audio_folder=%mod_folder%\audio
set tispack_folder=%mod_folder%\tiz
set tile2ee_folder=%mod_folder%\tools\tile2ee
set iconv_folder=%mod_folder%\languages\iconv
set mod_readme=http://www.gibberlings3.net/readmes/readme-%mod_folder%.html
REM /* MODIFY: if you don't need to build a specific package, you can disable it by setting the appropriate variable below to 0 */
set build_windows=1
set build_osx=1
set build_linux=1
REM /* MODIFY: if you want to avoid making filenames lowercase, you can disable that by setting the variable below to 0 */
set lowercase_filenames=0
REM /* this performs the actual packaging */
call "%~dp0..\ModPackaging\utilities\complete_packaging.bat"
endlocal