dfhjk
This commit is contained in:
+2
-5
@@ -1,13 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
###place this script into root folder that contains .7z PSX archives
|
|
||||||
###may need to chmod +x file to make executable
|
|
||||||
|
|
||||||
###uncomment below if required software not on system
|
###uncomment below if required software not on system
|
||||||
#sudo apt-get install -y mame-tools p7zip-full
|
#sudo apt-get install -y mame-tools p7zip-full
|
||||||
|
|
||||||
sourcedir="/home/sergio/nas_roms/SNK - Neo Geo CD (2016-01-08) (Redump)"
|
sourcedir="$1"
|
||||||
destdir="//home/sergio/SNK - Neo Geo CD (2016-01-08) (Redump)"
|
destdir="$2"
|
||||||
|
|
||||||
#extract zip
|
#extract zip
|
||||||
for zipfile in "${sourcedir}"/*.zip; do
|
for zipfile in "${sourcedir}"/*.zip; do
|
||||||
|
|||||||
@@ -163,7 +163,7 @@ msx2)
|
|||||||
readonly PLAYLIST_NAME="Microsoft - MSX2"
|
readonly PLAYLIST_NAME="Microsoft - MSX2"
|
||||||
;;
|
;;
|
||||||
n64)
|
n64)
|
||||||
readonly PLAYLIST_NAME=""
|
readonly PLAYLIST_NAME="Nintendo - Nintendo 64"
|
||||||
;;
|
;;
|
||||||
nds)
|
nds)
|
||||||
readonly PLAYLIST_NAME="Nintendo - Nintendo DS"
|
readonly PLAYLIST_NAME="Nintendo - Nintendo DS"
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ function help_message() {
|
|||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
SYSTEMS="apple2 arcade atari2600 atari7800 atarilynx dreamcast coleco gamegear gb gba gbc mastersystem megadrive msx n64 nds nes ngpc pcengine psp saturn sega32x sg1000 snes vectrex virtualboy wonderswan wonderswancolor"
|
SYSTEMS="apple2 arcade atari2600 atari7800 atarilynx dreamcast coleco gamegear gb gba gbc mastersystem megadrive msx n64 nds nes ngpc pcengine psp psx saturn sega32x sg-1000 snes vectrex virtualboy wonderswan wonderswancolor"
|
||||||
|
|
||||||
# check if there are all the parameters
|
# check if there are all the parameters
|
||||||
if [ "$#" -ne 3 ]; then
|
if [ "$#" -ne 3 ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user