mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2025-01-06 23:51:14 +00:00
[docker-build.sh] new: create file structure for emulator builds
This commit is contained in:
parent
29703c7894
commit
92d7b4e368
1 changed files with 13 additions and 1 deletions
|
@ -13,4 +13,16 @@ docker run --rm \
|
|||
;
|
||||
docker rmi smoo-client-build
|
||||
|
||||
cp -r ./romfs/ ./starlight_patch_*/atmosphere/contents/0100000000010000/.
|
||||
# copy romfs
|
||||
DIR=$(dirname ./starlight_patch_*/atmosphere/)
|
||||
cp -r ./romfs/ $DIR/atmosphere/contents/0100000000010000/.
|
||||
|
||||
# create file structure for emulator builds
|
||||
if [ "$ISEMU" -eq "1" ] ; then
|
||||
rm -rf $DIR/SMOO/
|
||||
mkdir -p $DIR/SMOO/
|
||||
mv $DIR/atmosphere/contents/0100000000010000/exefs $DIR/SMOO/exefs
|
||||
mv $DIR/atmosphere/contents/0100000000010000/romfs $DIR/SMOO/romfs
|
||||
mv $DIR/atmosphere/exefs_patches/StarlightBase/3CA12DFAAF9C82DA064D1698DF79CDA1.ips $DIR/SMOO/exefs/
|
||||
rm -rf $DIR/atmosphere/
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue