Skip to content

Commit

Permalink
Merge pull request #37 from wwark/patch-1
Browse files Browse the repository at this point in the history
Fix port : F-Zero Pocket
  • Loading branch information
kloptops authored Feb 4, 2024
2 parents a44057a + 85a02e7 commit c5b5544
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ports/f-zeropocket/F-Zero Pocket.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,22 +46,22 @@ if [ ! -f "$GAMEDIR/installed" ]; then

# Extract .trk files to the Tracks folder
echo "Extracting tracks into $TRACKS..." > /dev/tty0
./lib/7za e "$EXE" "*.trk" -o"$TRACKS"
./libs/7za e "$EXE" "*.trk" -o"$TRACKS"

# Extract .ogg files to the Assets folder
echo "Extracting music into $ASSETS..." > /dev/tty0
./lib/7za e "$EXE" "*.ogg" -o"$ASSETS"
./libs/7za e "$EXE" "*.ogg" -o"$ASSETS"

# Extract .win and .ini files to the Data folder
echo "Extracting data into $DATA..." > /dev/tty0
./lib/7za e -y "$EXE" "*.win" "*.ini" -o"$DATA"
./libs/7za e -y "$EXE" "*.win" "*.ini" -o"$DATA"

# Rename data.win
mv "$DATA/data.win" "$DATA/game.droid"

# Create a new zip file game.apk from specified directories
echo "Zipping $ASSETS into apk..." > /dev/tty0
./lib/7za a -r "./game.apk" "./$ASSETS"
./libs/7za a -r "./game.apk" "./$ASSETS"

# Delete the executable file after extraction
rm "$EXE"
Expand Down

0 comments on commit c5b5544

Please sign in to comment.