Official hakchi2 - NES Mini very simple pimp tool

  • Thread starter Thread starter Cluster
  • Start date Start date
  • Views Views 4,397,987
  • Replies Replies 18,558
  • Likes Likes 138
The only thing I'm not sure on is how to convert the snes roms to the new format.
I'm 100% sure I can do the rest.

I will write a step by step guide (Super Easy to follow) if I can figure that part out.
 
Last edited by KongsNutz,
  • Like
Reactions: keithelmcity
Method:


Sorry for my bad english
I don't use the patch for rom, and all roms i tested it's ok for moment ...

- Connect your snes mini on PC with Hakchi2
- Dump your kernel
- Flash custom kernel
- Go FTP to ftp:127.0.0.1 identifiant:root password:clover port:1021
- Go /var/lib/hakchi/rootfs/usr/share/games/
- Create folder CLV-P-XXXXX (example: CLV-P-DBZ03 or CLV-P-ALAD1 or CLV-P- what you want ^^ just 5 caracters max)
- Convert your rom .sfc to .sfrom with this python script: https://gist.github.com/anpage/4834433944a2875ee6d4cbb5786c6bf7
- Copy your .sfrom in /var/lib/hakchi/rootfs/usr/share/games/CLV-P-XXXXX/
- Create and copy 2 files .png (CLV-P-XXXXX.png 228X160 and CLV-P-XXXXX_small.png 40X28) in /var/lib/hakchi/rootfs/usr/share/games/CLV-P-XXXXX/

- Create a files CLV-P-XXXXX.desktop with rom info: (example for CLV-P-DBZ03) and copy in /var/lib/hakchi/rootfs/usr/share/games/CLV-P-XXXXX/
[Desktop Entry]
Type=Application
Exec=/usr/bin/clover-canoe-shvc -rom /usr/share/games/CLV-P-DBZ03/CLV-P-DBZ03.sfrom --volume 100 -rollback-snapshot-period 600
Path=/var/lib/clover/profiles/0//CLV-P-DBZ03
Name=Dragon Ball Z l ultime menace
Icon=/usr/share/games/CLV-P-DBZ03/CLV-P-DBZ03.png

[X-CLOVER Game]
Code=CLV-P-DBZ03
TestID=0
Status=Completing-3
ID=0
Players=2
Simultaneous=0
ReleaseDate=1991-08-18
SaveCount=0
SortRawTitle=Dragon Ball Z 3
SortRawPublisher=BANDAI
Copyright=Dragon Ball Z 3™ ©1996 BANDAI
MyPlayDemoTime=45

- Edit the file "b0000_defines" in /var/lib/hakchi/rootfs/etc/preinit.d/
Warning, after edit the file, you "lose" the original way to games on snes mini, restore the original b0000_defines for recup your original games or just edit line gamepath=

modname=hakchi
modpath=/$modname
installpath=$mountpoint/var/lib/$modname
firmwarepath=$installpath/firmware
rootfs=$installpath/rootfs
preinit=$rootfs/etc/preinit
preinitpath=$preinit.d
gamepath=/usr/share/games
temppath=/tmp

- Turn off your snes mini
- Turn on your snes mini (^^)
- Enjoy

If you have a black screen after method, no problem just flash your kernel with original dump.
If you have à black screen after install new games, just check the file CLV-P-XXXXX.desktop of your new game...
Saves and preview of games don't works...

Good game ^^
 
Last edited by Markus95,
Method:


Sorry for my bad english
I don't use the patch for rom, and all roms i tested it's ok for moment ...

- Connect your snes mini on PC with Hakchi2
- Dump your kernel
- Flash custom kernel
- Go FTP to ftp:127.0.0.1 identifiant:root password:clover port:1021
- Go /var/lib/hakchi/rootfs/usr/share/games/
- Create folder CLV-P-XXXXX (CLV-P-DBZ03)
- Convert your rom .sfc to .sfrom with this python script: https://gist.github.com/anpage/4834433944a2875ee6d4cbb5786c6bf7
- Copy your .sfrom in /var/lib/hakchi/rootfs/usr/share/games/CLV-P-XXXXX/
- Create and copy 2 files .png (CLV-P-XXXXX.png 228X160 and CLV-P-XXXXX_small.png 40X28) in /var/lib/hakchi/rootfs/usr/share/games/CLV-P-XXXXX

- Create a files CLV-P-XXXXX.desktop with rom info:
[Desktop Entry]
Type=Application
Exec=/usr/bin/clover-canoe-shvc -rom /usr/share/games/CLV-P-DBZ03/CLV-P-DBZ03.sfrom --volume 100 -rollback-snapshot-period 600
Path=/var/lib/clover/profiles/0//CLV-P-DBZ03
Name=Dragon Ball Z l ultime menace
Icon=/usr/share/games/CLV-P-DBZ03/CLV-P-DBZ03.png

[X-CLOVER Game]
Code=CLV-P-DBZ03
TestID=0
Status=Completing-3
ID=0
Players=2
Simultaneous=0
ReleaseDate=1991-08-18
SaveCount=0
SortRawTitle=Dragon Ball Z 3
SortRawPublisher=BANDAI
Copyright=Dragon Ball Z 3™ ©1996 BANDAI
MyPlayDemoTime=45

- Edit the file "b0000_defines" in /var/lib/hakchi/rootfs/etc/preinit.d/

modname=hakchi
modpath=/$modname
installpath=$mountpoint/var/lib/$modname
firmwarepath=$installpath/firmware
rootfs=$installpath/rootfs
preinit=$rootfs/etc/preinit
preinitpath=$preinit.d
gamepath=/usr/share/games
temppath=/tmp

- Turn off your snes mini
- Turn on your snes mini (^^)
- Enjoy

If you have a black screen after method, no problem just flash your kernel with original dump.
If you have à black screen after install new games, just check the file CLV-P-XXXXX.desktop of your new game...
Saves and preview of games don't works...

Good game ^^
THANKS!!! Just trtying to get the roms converted (getting syntax error)
 
my python 3 is in D:\Python
I'm using dkc2.smc..... and the script inside that folder D:\Python

Can someone write here what the command line would be I'm using D:\Python\sfc2sfrom.py dkc2.smc lorom dkc2.sfrom

But everytime Syntax error
 
my python 3 is in D:\Python
I'm using dkc2.smc..... and the script inside that folder D:\Python

Can someone write here what the command line would be I'm using D:\Python\sfc2sfrom.py dkc2.smc lorom dkc2.sfrom

But everytime Syntax error

i have just created a .bat file in my python folder with this:

sfc2sfrom.py 1.sfc lorom mini.sfrom
pause

i rename my rom .sfc to 1.sfc and double clic on my .bat and convert to mini.sfrom and rename mini.sfrom to CLV-P-XXXXX.sfrom
 
i have just created a .bat file in my python folder with this:

sfc2sfrom.py 1.sfc lorom mini.sfrom
pause

i rename my rom .sfc to 1.sfc and double clic on my .bat and convert to mini.sfrom and rename mini.sfrom to CLV-P-XXXXX.sfrom
I'll try that now thanks
 
use cmd and type python name of script
my game was in c:own
C:\Users\*****\Desktop>python sfc2sfrom.py c:\own\evo.smc lorom c:\own\evo.sfrom

--------------------- MERGED ---------------------------

hope that helps
 
i have just created a .bat file in my python folder with this:

sfc2sfrom.py 1.sfc lorom mini.sfrom
pause

i rename my rom .sfc to 1.sfc and double clic on my .bat and convert to mini.sfrom and rename mini.sfrom to CLV-P-XXXXX.sfrom

Well would you look at that...... that worked (I'm assuming making a .bat for a hirom would also work)
 

Site & Scene News

Popular threads in this forum