diff options
author | pcm720 <pcm720@gmail.com> | 2017-02-20 19:53:57 +0300 |
---|---|---|
committer | pcm720 <pcm720@gmail.com> | 2017-02-20 19:53:57 +0300 |
commit | ad36fd935764115683e6802228e01cd94a4a4e2a (patch) | |
tree | 02fb1e7ffaddc319995d1a0b7a04133127e39441 | |
parent | 10a99cf9df1a32e2547817d9539551f71ded10ee (diff) |
Added core template module, made some additional fixes.
Removed PicoDrive core because it crashes with segmentation fault.
-rw-r--r-- | README.md | 1 | ||||
-rwxr-xr-x | libretro_core_template.hmod/install | 3 | ||||
-rwxr-xr-x | libretro_core_template.hmod/readme.txt | 8 | ||||
-rwxr-xr-x | libretro_core_template.hmod/uninstall | 2 | ||||
-rw-r--r-- | makehmod.bat | 6 | ||||
-rwxr-xr-x | makemod.sh | 4 | ||||
-rw-r--r-- | retroarch.hmod/readme.txt | 1 |
7 files changed, 20 insertions, 5 deletions
@@ -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
@@ -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
|