Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bash scripts to make modding a bit easier #556

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

KometFox
Copy link

I included 5 files which 3 of them are bash files. Detailed instruction is at bash_openapoc_readme.txt. Right now those bash works only at the /data folder I will do further work to make them a bit better such as directory variable so you don't have to change its location.
build_mod.sh
A very simplistic bash, it calls first generate_crc.sh then it just calls a command to zip up the $MODNAME folder to $MODNAME_ZIP without the .zip extension.
generate_crc.sh
This one is a bit more complicated but all it does is looping through all the files inside$MODNAME then it calls a crc program to generate the crc of it, then it does a (poorly) separation of the two values (crc filepath) then it filters the ./ as it is not needed and finally it uses awk to generate a checksums.xml file
pretty_print.xml
This one is a bit more simpler, it relies on 2 variables $INPUT_FOLDER and $OUTPUT_FOLDER
bashalias.txt
This one is used by all 3 of those scripts, its main purpose is to hold some variables and aliases for easier editing. It provides at least 4-5 user variables which should be marked as such.
bash_openapoc_readme.txt
It provides a more detailed instruction how the scripts works as well providing information for others of what they need to do so that they can mod OpenApoc too.

@FilmBoy84 FilmBoy84 added the STALLED Work In Progress but for whatever reason, nothing's been done for a while. New coders may be needed! label May 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
STALLED Work In Progress but for whatever reason, nothing's been done for a while. New coders may be needed!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants