k61824
Veteran
For those of you who play on SteamOS/linux (It might work on Mac OS X, but I don't have a mac to test it), the way to compile the module system is as follows (Please get the OP to link to this if anyone finds it useful):
[list type=decimal]
[*]make sure python2 (some distribution may have it as python27 or python2.7 as the package name, consult the documentation for your OS for details) is installed. It should be available in official repository of your OS distribution.
[*]All other adjustments (such as the path in module_info.py) should be the same as if you are running in windows (your mount/blade path should have a default of ~/.steam/steam/SteamApps/common/MountBlade Warband/Modules/<module name> if you happen to use steam. If you are using a terminal/terminal emulator/bash remember to use quotes for the absolute paths, use \ to escape spaces or to use tab completion to make sure the space will not be misinterpreted.)
[*]Use the following code snipplet instead of the batch file the same way as if you would if you are doing it like windows (i.e. the same folder as your module_*.py .)
[*]Run the shell script. Remember the ./ if you are running inside a terminal within the directory where you put the script.
[/list]
Here is the build_module.sh I am using
Remember to make the shell script executable by the following command:
[list type=decimal]
[*]make sure python2 (some distribution may have it as python27 or python2.7 as the package name, consult the documentation for your OS for details) is installed. It should be available in official repository of your OS distribution.
[*]All other adjustments (such as the path in module_info.py) should be the same as if you are running in windows (your mount/blade path should have a default of ~/.steam/steam/SteamApps/common/MountBlade Warband/Modules/<module name> if you happen to use steam. If you are using a terminal/terminal emulator/bash remember to use quotes for the absolute paths, use \ to escape spaces or to use tab completion to make sure the space will not be misinterpreted.)
[*]Use the following code snipplet instead of the batch file the same way as if you would if you are doing it like windows (i.e. the same folder as your module_*.py .)
[*]Run the shell script. Remember the ./ if you are running inside a terminal within the directory where you put the script.
[/list]
Here is the build_module.sh I am using
Code:
#!/bin/bash
python2 process_init.py
python2 process_global_variables.py
python2 process_strings.py
python2 process_skills.py
python2 process_music.py
python2 process_animations.py
python2 process_meshes.py
python2 process_sounds.py
python2 process_skins.py
python2 process_map_icons.py
python2 process_factions.py
python2 process_items.py
python2 process_scenes.py
python2 process_troops.py
python2 process_particle_sys.py
python2 process_scene_props.py
python2 process_tableau_materials.py
python2 process_presentations.py
python2 process_party_tmps.py
python2 process_parties.py
python2 process_quests.py
python2 process_info_pages.py
python2 process_scripts.py
python2 process_mission_tmps.py
python2 process_simple_triggers.py
python2 process_game_menus.py
python2 process_dialogs.py
python2 process_global_variables_unused.py
python2 process_postfx.py
rm *.pyc
echo ______________________________
echo Script processing done.
Remember to make the shell script executable by the following command:
Code:
$ chmod +x build_module.sh