diff options
author | Twinaphex | 2018-11-08 13:35:56 +0100 |
---|---|---|
committer | GitHub | 2018-11-08 13:35:56 +0100 |
commit | 142b0ed8aa7487f73d401736d3b24ce6e851a060 (patch) | |
tree | a80235415f37a4a0da8eb9bbd44a17f1fc55787e /libretro | |
parent | c98e1c3a8414d35aa94ea588d1ca693986a76ca8 (diff) | |
parent | 52ae829fc67ea2dbc0efd3e9319508576b8ea572 (diff) | |
download | snes9x2002-142b0ed8aa7487f73d401736d3b24ce6e851a060.tar.gz snes9x2002-142b0ed8aa7487f73d401736d3b24ce6e851a060.tar.bz2 snes9x2002-142b0ed8aa7487f73d401736d3b24ce6e851a060.zip |
Merge pull request #27 from Classicmods/master
Added Classic Platform structure - ARMv7 Cortex A7 build
Diffstat (limited to 'libretro')
-rw-r--r-- | libretro/hakchi/bin/snes | 38 | ||||
-rw-r--r-- | libretro/hakchi/bin/snes02 | 38 | ||||
-rw-r--r-- | libretro/hakchi/etc/preinit.d/pe9b0_retroarch_snes | 1 | ||||
-rw-r--r-- | libretro/hakchi/readme.md | 23 |
4 files changed, 0 insertions, 100 deletions
diff --git a/libretro/hakchi/bin/snes b/libretro/hakchi/bin/snes deleted file mode 100644 index 032fbe7..0000000 --- a/libretro/hakchi/bin/snes +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/sh - -setFileName(){ - filename="$(readlink -f "$1")" - filebase="$(basename "$filename")" - extension="${filebase##*.}" -} - -getSfrom(){ - local rom="$(hexdump -e '1/4 "%u"' -s8 -n4 "$1")" - local footer="$(hexdump -e '1/4 "%u"' -s20 -n4 "$1")" - local size="$(hexdump -e '1/4 "%u"' -s$((footer+1)) -n4 "$1")" - dd "status=none" "if=$1" "iflag=skip_bytes" "skip=$rom" "bs=$size" "count=1" -} - -setFileName "$1" -shift - -tmppath="/tmp/rom" -rm -rf "$tmppath" -mkdir -p "$tmppath" -cd "$tmppath" - -if [ "$extension" = "7z" ]; then - tiny7zx x "$filename" - filename="$tmppath/$(ls | head -n1)" - filename_str="${filename// /_}" - mv "$filename" "$filename_str" - setFileName "$filename_str" -fi - -if [ "$extension" = "sfrom" ]; then - filename_str="$filebase.sfc" - getSfrom "$filename" > "$filename_str" - setFileName "$filename_str" -fi - -exec retroarch-clover snes9x2002 "$filename" "$@" diff --git a/libretro/hakchi/bin/snes02 b/libretro/hakchi/bin/snes02 deleted file mode 100644 index 032fbe7..0000000 --- a/libretro/hakchi/bin/snes02 +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/sh - -setFileName(){ - filename="$(readlink -f "$1")" - filebase="$(basename "$filename")" - extension="${filebase##*.}" -} - -getSfrom(){ - local rom="$(hexdump -e '1/4 "%u"' -s8 -n4 "$1")" - local footer="$(hexdump -e '1/4 "%u"' -s20 -n4 "$1")" - local size="$(hexdump -e '1/4 "%u"' -s$((footer+1)) -n4 "$1")" - dd "status=none" "if=$1" "iflag=skip_bytes" "skip=$rom" "bs=$size" "count=1" -} - -setFileName "$1" -shift - -tmppath="/tmp/rom" -rm -rf "$tmppath" -mkdir -p "$tmppath" -cd "$tmppath" - -if [ "$extension" = "7z" ]; then - tiny7zx x "$filename" - filename="$tmppath/$(ls | head -n1)" - filename_str="${filename// /_}" - mv "$filename" "$filename_str" - setFileName "$filename_str" -fi - -if [ "$extension" = "sfrom" ]; then - filename_str="$filebase.sfc" - getSfrom "$filename" > "$filename_str" - setFileName "$filename_str" -fi - -exec retroarch-clover snes9x2002 "$filename" "$@" diff --git a/libretro/hakchi/etc/preinit.d/pe9b0_retroarch_snes b/libretro/hakchi/etc/preinit.d/pe9b0_retroarch_snes deleted file mode 100644 index 82b9be4..0000000 --- a/libretro/hakchi/etc/preinit.d/pe9b0_retroarch_snes +++ /dev/null @@ -1 +0,0 @@ -[ -f "$mountpoint/usr/bin/clover-canoe-shvc" ] && overmount /usr/bin/clover-canoe-shvc diff --git a/libretro/hakchi/readme.md b/libretro/hakchi/readme.md deleted file mode 100644 index 5a9c826..0000000 --- a/libretro/hakchi/readme.md +++ /dev/null @@ -1,23 +0,0 @@ ------------------------ -Name: SNES9x2002 -Creator: Libretro -Category: RetroArch Cores ------------------------ -=== SNES9x2002 Core for RetroArch === - -Module adds support for Super Famicom / Super Nintendo - -Available executables and arguments to run Core: -- /bin/snes <rom> <clover_args> -- /bin/snes02 <rom> <clover_args> - -Core by libretro - -Built and assembled by HakchiCloud - [Website](https://hakchiresources.com) - -Hakchi module system by madmonkey - -NES/SNES Mini shell integration by Cluster - -(c) 2016-2018 - |