Skip to content
This repository has been archived by the owner on Mar 29, 2021. It is now read-only.

Commit

Permalink
Added core template module, made some additional fixes.
Browse files Browse the repository at this point in the history
Removed PicoDrive core because it crashes with segmentation fault.
  • Loading branch information
pcm720 committed Feb 20, 2017
1 parent 10a99cf commit ad36fd9
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 3 additions & 0 deletions libretro_core_template.hmod/install
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
core_name=<>_libretro.so
copy "$transferpath/$core_name" "$rootfs/etc/libretro/core/$core_name"
return 1
8 changes: 8 additions & 0 deletions libretro_core_template.hmod/readme.txt
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions libretro_core_template.hmod/uninstall
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
core_name=<>_libretro.so
rm "$rootfs/etc/libretro/core/$core_name"
6 changes: 3 additions & 3 deletions makehmod.bat
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -28,4 +28,4 @@ goto end
echo Error %ERRORLEVEL%
goto end

:end
:end
4 changes: 2 additions & 2 deletions makemod.sh
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
1 change: 1 addition & 0 deletions retroarch.hmod/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ad36fd9

Please sign in to comment.