mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 00:57:44 -04:00
62ef9fe49d
This does a couple of things: - The `custom_levels` folder was renamed to `custom_assets` and contains `levels`, `models` and `texture_replacements` folders for Jak 1, 2 and 3 in order to keep everything regarding custom stuff in one place. - With this, texture replacements now use separate folders for all games - A build actor tool was added that generates art groups for custom actors - Custom levels can now specify what custom models from the `models` folder they want to import, this will add them to the level's FR3. - A `test-zone-obs.gc` file was added, containing a `test-actor` process that uses a custom model as an example. The build actor tool is still very WIP, the joints and the default animation are hardcoded, but it allows for importing any GLB file as a merc model.
28 lines
735 B
Bash
Executable file
28 lines
735 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
DEST=${1}
|
|
BIN_SOURCE=${2}
|
|
SOURCE=${3}
|
|
|
|
mkdir -p $DEST
|
|
|
|
cp $BIN_SOURCE/gk.exe $DEST
|
|
cp $BIN_SOURCE/goalc.exe $DEST
|
|
cp $BIN_SOURCE/extractor.exe $DEST
|
|
|
|
mkdir -p $DEST/data
|
|
mkdir -p $DEST/data/launcher/
|
|
mkdir -p $DEST/data/decompiler/
|
|
mkdir -p $DEST/data/game
|
|
mkdir -p $DEST/data/log
|
|
mkdir -p $DEST/data/game/graphics/opengl_renderer/
|
|
|
|
cp -r $SOURCE/.github/scripts/releases/error-code-metadata.json $DEST/data/launcher/error-code-metadata.json
|
|
cp -r $SOURCE/decompiler/config $DEST/data/decompiler/
|
|
cp -r $SOURCE/goal_src $DEST/data
|
|
cp -r $SOURCE/game/assets $DEST/data/game/
|
|
cp -r $SOURCE/game/graphics/opengl_renderer/shaders $DEST/data/game/graphics/opengl_renderer
|
|
cp -r $SOURCE/custom_assets $DEST/data
|