diff options
author | pcm720 <pcm720@gmail.com> | 2017-02-21 07:51:15 +0300 |
---|---|---|
committer | pcm720 <pcm720@gmail.com> | 2017-02-21 07:51:15 +0300 |
commit | 4a1a30a455cdc38a4646356235d5e0f06a67b04a (patch) | |
tree | f0ac9baaf39f35927fa28330a9b0f5429cbdae33 /libretro_core_template.hmod | |
parent | 0fc2f200b95b680e3d01d2bfe2b6f70272ff960c (diff) |
Added new template and FBAlpha cores
Diffstat (limited to 'libretro_core_template.hmod')
-rwxr-xr-x | libretro_core_template.hmod/bin/core | 2 | ||||
-rwxr-xr-x | libretro_core_template.hmod/install | 5 | ||||
-rwxr-xr-x | libretro_core_template.hmod/readme.txt | 15 | ||||
-rwxr-xr-x | libretro_core_template.hmod/uninstall | 2 |
4 files changed, 16 insertions, 8 deletions
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., <core name>.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 <hmod folder>/etc/libretro/core folder
+4. Copy the corresponding *.info file to <hmod folder>/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/<file you've renamed>"
+
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 <hmod folder>/etc/libretro/core folder
+4. Copy the corresponding fb_alpha_libretro.info file to <hmod folder>/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" |