Skip to content

Commit

Permalink
Fix port : F-Zero Pocket
Browse files Browse the repository at this point in the history
Change name lib directory to libs on the sh script to match the correct directory where 7za is present
  • Loading branch information
wwark authored Feb 4, 2024
1 parent 3976867 commit 85a02e7
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 85a02e7

Please sign in to comment.