From 4a1a30a455cdc38a4646356235d5e0f06a67b04a Mon Sep 17 00:00:00 2001 From: pcm720 Date: Tue, 21 Feb 2017 07:51:15 +0300 Subject: Added new template and FBAlpha cores --- libretro_core_template.hmod/bin/core | 2 ++ libretro_core_template.hmod/install | 5 +++-- libretro_core_template.hmod/readme.txt | 15 +++++++++++---- libretro_core_template.hmod/uninstall | 2 -- 4 files changed, 16 insertions(+), 8 deletions(-) create mode 100755 libretro_core_template.hmod/bin/core delete mode 100755 libretro_core_template.hmod/uninstall (limited to 'libretro_core_template.hmod') diff --git a/libretro_core_template.hmod/bin/core b/libretro_core_template.hmod/bin/core new file mode 100755 index 0000000..0aa268f --- /dev/null +++ b/libretro_core_template.hmod/bin/core @@ -0,0 +1,2 @@ +#!/bin/sh +exec retroarch-clover core "$@" diff --git a/libretro_core_template.hmod/install b/libretro_core_template.hmod/install index 7c0ca75..6e0a007 100755 --- a/libretro_core_template.hmod/install +++ b/libretro_core_template.hmod/install @@ -1,3 +1,4 @@ -core_name=<>_libretro.so -copy "$transferpath/$core_name" "$rootfs/etc/libretro/core/$core_name" +transfer_default +chmod +x $rootfs/bin/* +chmod +x $rootfs/usr/bin/* return 1 diff --git a/libretro_core_template.hmod/readme.txt b/libretro_core_template.hmod/readme.txt index 7819be9..be264d8 100755 --- a/libretro_core_template.hmod/readme.txt +++ b/libretro_core_template.hmod/readme.txt @@ -1,8 +1,15 @@ Use this template to add and remove your own cores: 1. Make a backup of libretro_core_template.hmod folder -2. Copy your *.so file to libretro_core_template.hmod folder and rename the folder to something more meaningful (e.g., .hmod) -3. Open "install" and "uninstall" scripts with Notepad++ or Sublime Text and change the <> to your core name +2. Rename the folder to something more meaningful +3. Copy your *.so file to /etc/libretro/core folder +4. Copy the corresponding *.info file to /etc/libretro/info +5. Open /bin/core with Notepad++ or Sublime Text and change the "core" to your core name (without "_libretro.so"!) +6. Rename core to something more meaningful. You'll need to change "/bin/path-to-your-app" line in Hakchi2 with "/bin/" + Example: The core name is fb_alpha_libretro.so: -1. Copy your fb_alpha_libretro.so file to libretro_core_template.hmod folder and rename the folder to fb_alpha.hmod -2. Open "install" and "uninstall" scripts with Notepad++ or Sublime Text and change the <> to fb_alpha +2. Rename the folder to fb_alpha +3. Copy your fb_alpha_libretro.so file to /etc/libretro/core folder +4. Copy the corresponding fb_alpha_libretro.info file to /etc/libretro/info +5. Open /bin/core with Notepad++ or Sublime Text and change the "core" to "fb_alpha" +6. Rename core to fba. You'll need to change "/bin/path-to-your-app" line in Hakchi2 with "/bin/fba" for the games you want to start using FB Alpha diff --git a/libretro_core_template.hmod/uninstall b/libretro_core_template.hmod/uninstall deleted file mode 100755 index 02f6b44..0000000 --- a/libretro_core_template.hmod/uninstall +++ /dev/null @@ -1,2 +0,0 @@ -core_name=<>_libretro.so -rm "$rootfs/etc/libretro/core/$core_name" -- cgit v1.2.3