Author Topic: Build.bat, a script for Banished Kit Building/Running/Packaging Mods  (Read 380 times)

0 Members and 1 Guest are viewing this topic.

Offline OsO

  • Newb
  • *
  • Posts: 1
I all. I'm new here.
First of all, thanks for all the mods especially all the mods provided separately of a big pack.
I'm playing on a crappy computer and these mods are game savior's   :D

Many of these mods are in English and this is not my primary language (this is not my secondary language too so sorry for all the mistakes  :-[). When i play i like to play in my main language (in french) so i will make some trads for the mods i like to play with (Luckily, I'm better at reading english than to write in english).

I have already made some working trads of these mods (i will publish them later) but for now i publish this script i made to facilitate the process of mod creation. (I really dislike wasting my times on commandline bullshit  >:()

So i present to you Build.Bat a script to Build/Run/Package mods using Banished Kit.
This script provides a menu to run the tools of Banished Kit using some settings and retrieving the mod name automatically from the current folder.

Before using it, adapts the following settings of the script at your own environment (using a text file editor), then copy the script in each mod directory and use it to Build/Run or Package the mod. Don't forget to add *.bat to the exclude list of your packages.

Settings (all the settings are in the first lines of the script):
  • Set "ToolPath=D:\Banished\Kit\bin\x64\Tools-x64.exe": Replace the part in bold by the path of the tool in your environment
  • Set "KitX64=D:\Banished\Kit\bin\x64\Application-x64-profile.exe":  Replace the part in bold by the path of the tool in your environment
  • set "RelativeModPath=..\MyTrads\%ModName%":  Replace the part in bold by the relative path to your mod (relative to the bin folder of the banished kit) but without the mod folder
  • set "RelativePackagePath=..\MyTrads": Replace the part in bold by the relative path to your packages folder (your builded packages will end in it after a successfull compilation)

That's all, adapt this build once and reuse it as it as many time you needs and no more command line bullshit.


 

SMF spam blocked by CleanTalk