Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/retroarch-clover.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpcm720 <pcm720@gmail.com>2017-02-20 19:53:57 +0300
committerpcm720 <pcm720@gmail.com>2017-02-20 19:53:57 +0300
commitad36fd935764115683e6802228e01cd94a4a4e2a (patch)
tree02fb1e7ffaddc319995d1a0b7a04133127e39441
parent10a99cf9df1a32e2547817d9539551f71ded10ee (diff)
Added core template module, made some additional fixes.
Removed PicoDrive core because it crashes with segmentation fault.
-rw-r--r--README.md1
-rwxr-xr-xlibretro_core_template.hmod/install3
-rwxr-xr-xlibretro_core_template.hmod/readme.txt8
-rwxr-xr-xlibretro_core_template.hmod/uninstall2
-rw-r--r--makehmod.bat6
-rwxr-xr-xmakemod.sh4
-rw-r--r--retroarch.hmod/readme.txt1
7 files changed, 20 insertions, 5 deletions
diff --git a/README.md b/README.md
index 681374b..48a80e4 100644
--- a/README.md
+++ b/README.md
@@ -64,6 +64,7 @@ The following changes were made in this fork:
- Use mGBA as GBA core
- Added mednafen_pce_fast as PCE/TG16 core
- Enter RetroArch in-game menu by pressing Select + Start
+- Added template for adding new cores via hakchi module system
NES Mini port by madmonkey
diff --git a/libretro_core_template.hmod/install b/libretro_core_template.hmod/install
new file mode 100755
index 0000000..7c0ca75
--- /dev/null
+++ b/libretro_core_template.hmod/install
@@ -0,0 +1,3 @@
+core_name=<>_libretro.so
+copy "$transferpath/$core_name" "$rootfs/etc/libretro/core/$core_name"
+return 1
diff --git a/libretro_core_template.hmod/readme.txt b/libretro_core_template.hmod/readme.txt
new file mode 100755
index 0000000..5528d5f
--- /dev/null
+++ b/libretro_core_template.hmod/readme.txt
@@ -0,0 +1,8 @@
+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 (i. e., <core name>.hmod)
+3. Open "install" and "uninstall" scripts with Notepad++ or Sublime Text and change the <> to your core name
+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 \ No newline at end of file
diff --git a/libretro_core_template.hmod/uninstall b/libretro_core_template.hmod/uninstall
new file mode 100755
index 0000000..02f6b44
--- /dev/null
+++ b/libretro_core_template.hmod/uninstall
@@ -0,0 +1,2 @@
+core_name=<>_libretro.so
+rm "$rootfs/etc/libretro/core/$core_name"
diff --git a/makehmod.bat b/makehmod.bat
index aa5d3c9..8453cfd 100644
--- a/makehmod.bat
+++ b/makehmod.bat
@@ -1,6 +1,6 @@
@echo off
-set moddir=retroarch.hmod
-set modname=retroarch.hmod
+set moddir=retroarch_mod.hmod
+set modname=retroarch_mod.hmod
set outdir=output
for %%x in (%*) do set outdir=%1
@@ -28,4 +28,4 @@ goto end
echo Error %ERRORLEVEL%
goto end
-:end \ No newline at end of file
+:end
diff --git a/makemod.sh b/makemod.sh
index 22724ba..87ab5f5 100755
--- a/makemod.sh
+++ b/makemod.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-moddir=retroarch.hmod
-modname=retroarch.hmod
+moddir=retroarch_mod.hmod
+modname=retroarch_mod.hmod
outdir=output
[ -z "$1" ] || outdir=$1
cd "$moddir"
diff --git a/retroarch.hmod/readme.txt b/retroarch.hmod/readme.txt
index 2a884f4..686b651 100644
--- a/retroarch.hmod/readme.txt
+++ b/retroarch.hmod/readme.txt
@@ -67,6 +67,7 @@ Greyscale palette for Gambatte core
Use mGBA as GBA core
Added mednafen_pce_fast as PCE/TG16 core
Enter RetroArch in-game menu by pressing Select + Start
+Added template for adding new cores via hakchi module system
------
NES Mini port by madmonkey