Official hakchi2 - NES Mini very simple pimp tool

NaughtyNorseman

New Member
Newbie
Joined
Mar 4, 2017
Messages
1
Trophies
0
Age
49
XP
41
Country
United States
I was able to recently add MAME roms to my NES MINI by reading previous posts on this site. However, does anyone know if it is possible to add BEZEL ART to some of the MAME roms that are being played on the NES MINI? If somebody knows how do to do this...can you share a tutorial. I'm new to MAME and being able to play the classic arcade version of games via MAME2003 on the NES MINI. Some of the games like Asteroids looks plain on the T.V. Having the ability to add some of the bezel art would make it look better (IMO). I found a site where you can get some bezel art for games, but how do you apply the art to show up on the NES MINI?
 

Cluster

Well-Known Member
OP
Member
Joined
Oct 2, 2005
Messages
394
Trophies
0
Age
37
Location
Moscow Region, Electrostal
Website
clusterrr.com
XP
1,281
Country
Serbia, Republic of
I finished my work on clovershell: https://github.com/ClusterM/clovershell-daemon/releases/
Next step is to add it to hakchi2 (or it will be hakchi3)? It requires many work on GUI since it will use absolutely other methods to transfer files.

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

View attachment 79523

"Could it be magic now, now, now and hold on fast
Could this be the magic at last?" (Take That)

:P
I made it 3 years ago: https://github.com/ClusterM/nes2wii =)

Does this also mean that being able to change the UI of the menu and such are not far off?
Yes. You also can dump firmware of Famicom Mini and turn your NES Mini into Famicom.


I have HUGE amount of mail and messages now (500+), sorry that I have not answered everybody yet. I'll try to answer soon.
 
Last edited by Cluster,

Mad-Mega

Well-Known Member
Member
Joined
Jan 11, 2017
Messages
261
Trophies
0
Age
49
XP
165
Country
Netherlands

jelmer

Well-Known Member
Member
Joined
Jan 25, 2017
Messages
393
Trophies
0
XP
200
Country
Bulgaria
I finished my work on clovershell: https://github.com/ClusterM/clovershell-daemon/releases/
Next step is to add it to hakchi2 (or it will be hakchi3)? It requires many work on GUI since it will use absolutely other methods to transfer files.

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


I made it 3 years ago: https://github.com/ClusterM/nes2wii =)


Yes. You also can dump firmware of Famicom Mini and turn your NES Mini into Famicom.


I have HUGE amount of mail and messages now (500+), sorry that I have not answered everybody yet. I'll try to answer soon.
Great, good things to look forward to. Thanks a lot man :)
 

nesito

Well-Known Member
Member
Joined
Jan 12, 2017
Messages
569
Trophies
0
Age
43
XP
360
Country

rhester72

Well-Known Member
Member
Joined
Feb 7, 2016
Messages
187
Trophies
0
Age
52
XP
273
Country
United States
I built clovershell.hmod - any clue how one can interact with the shell over USB? :)

Rodney

EDIT: Never mind, found the client. Building.

EDIT2: Running...but what the heck is the CLOVER login and password? ;)

EDIT3: It's root, with no password. Now to find out why this thing blows out RAM (or whatever it is) with Retroarch...
 
Last edited by rhester72,

rhester72

Well-Known Member
Member
Joined
Feb 7, 2016
Messages
187
Trophies
0
Age
52
XP
273
Country
United States
Well, I was hunting down a folder navigation memory leak and managed to get clover-kmod to go into freespin in kernel-land (looks like a bad mutex on a Linux API call) instead - it's taking up an entire CPU and the on-TV UI is completely hung (but did not crash out to a c8).

So far, it definitely appears there is a memory leak triggered by folder navigation, completely independent of Kachikachi or Retroarch...it's the UI itself (because, of course, there is no concept of 'folders' in the unhacked UI).

More soon...

Rodney

EDIT: I tried killing off clover-mcp, and was successful, system stayed up with no Nintendo code running. Issued a reboot via terminal, and sure enough, triggered a C2. There is absolutely a relationship between a UI memory leak (likely in ReedPlayer-Clover, which died before clover-mcp and hung the TV display), folder navigation, and the C2.

EDIT2: Bingo! When clover-mcp normally terminates, it must write some sort of check file. If you kill it manually, then reboot, you C2 every time. The Linux OOM killer is taking it out at some point, which triggers the C8, then the C2.

EDIT3: Same thing happens if you kill ReedPlayer-Clover then reboot.

EDIT4: clover-mcp is responsible for the "SHUTTING DOWN" message on reboot...if you kill it, no message. Not sure whether it's ReedPlayer-Clover or clover-mcp that's doing the checkpoint, because killing off either definitely triggers a C2 on restart. I can at least say with some confidence that the fears about droplets being left behind by the RetroArch emulators is unfounded...at least with FCEUMM, you can clearly see the filesystem is quite stable between starts (tested with ~70 attempts in one session).

Unfortunately, until I can cross-compile some debugging tools for this, it's going to be hard to track down any further. Sadly, it would seem very likely at this point that the memory leak is just a knock-on effect of the way the UI is 'manipulated' to achieve folders, being a bug in Nintendo code we have no source to and thus there's nothing that can be effectively done about it. It *might* be possible to reload ReedPlayer-Clover occasionally to mitigate this...we'll see.

EDIT5: Hrm. Any coders have a clue why this would be? It would seem ReedPlayer-Clover *can't* be reloaded, because it's missing a Locale function...but then how the hell does it run to begin with? Some missing environment variable?

Code:
root@CLOVER:~# ReedPlayer-Clover --bootapp=/usr/share/clover-ui --script VOLATILE_SUSPENSION_POINTS_PATH='/var/cache/clover//volatile/' --script PERSISTENT_SUSPENSION_POINTS_PATH='/var/lib/clover/profiles/0/' --script-file /usr/share/legal/licenses.lua --script-file /var/cache/clover//menu.lua --language=en --region=USA
ReedPlayer-Clover --bootapp=/usr/share/clover-ui --script VOLATIL
E_SUSPENSION_POINTS_PATH='/var/cache/clover//volatile/' --script PERSISTENT_SUSP
ENSION_POINTS_PATH='/var/lib/clover/profiles/0/' --script-file /usr/share/legal/
licenses.lua --script-file /var/cache/clover//menu.lua --language=en --region=US
A
Core needs an UTF-8 C locale, we set it to "en_US.UTF-8" instead of "C".
This is a global side-effect and is subject to change, please don't rely on this.
updated hinting sdl game controller
added hinting sdl game controller
added hinting sdl game controller
loaded 44 mappings from /etc/sdl2/gamecontrollerdb.txt
Unimplemented function: 'getUserLocale'!
File: '/home/cis/workspace/Clover-release/dd017d64/output/clover-dp-nes-final/build/nerd-reed-libs-f2d9a762fcd927fcee03a0de68d2cadfad21df45/src/reedframework/localization/reed_localization.cpp'
Line: 169
ReedPlayer: Main exited
 
Last edited by rhester72,

TokyoMario

Well-Known Member
Newcomer
Joined
May 1, 2011
Messages
69
Trophies
0
XP
153
Country
Well, I was hunting down a folder navigation memory leak and managed to get clover-kmod to go into freespin in kernel-land (looks like a bad mutex on a Linux API call) instead - it's taking up an entire CPU and the on-TV UI is completely hung (but did not crash out to a c8).

So far, it definitely appears there is a memory leak triggered by folder navigation, completely independent of Kachikachi or Retroarch...it's the UI itself (because, of course, there is no concept of 'folders' in the unhacked UI).

More soon...

Rodney

EDIT: I tried killing off clover-mcp, and was successful, system stayed up with no Nintendo code running. Issued a reboot via terminal, and sure enough, triggered a C2. There is absolutely a relationship between a UI memory leak (likely in ReedPlayer-Clover, which died before clover-mcp and hung the TV display), folder navigation, and the C2.

EDIT2: Bingo! When clover-mcp normally terminates, it must write some sort of check file. If you kill it manually, then reboot, you C2 every time. The Linux OOM killer is taking it out at some point, which triggers the C8, then the C2.

EDIT3: Same thing happens if you kill ReedPlayer-Clover then reboot.

EDIT4: clover-mcp is responsible for the "SHUTTING DOWN" message on reboot...if you kill it, no message. Not sure whether it's ReedPlayer-Clover or clover-mcp that's doing the checkpoint, because killing off either definitely triggers a C2 on restart. I can at least say with some confidence that the fears about droplets being left behind by the RetroArch emulators is unfounded...at least with FCEUMM, you can clearly see the filesystem is quite stable between starts (tested with ~70 attempts in one session).


Awesome quick work on this! The c8 and c2 has been a concern for a lot of people. Is there anyway to solve the problem? edit: Just read your recent update. reloading would be a good test, if possible.
 
Last edited by TokyoMario,

rhester72

Well-Known Member
Member
Joined
Feb 7, 2016
Messages
187
Trophies
0
Age
52
XP
273
Country
United States
Awesome quick work on this! The c8 and c2 has been a concern for a lot of people. Is there anyway to solve the problem? edit: Just read your recent update. reloading would be a good test, if possible.

Looks like it actually does get reloaded on every folder nav. From /bin/chmenu:

Code:
pkill -KILL clover-mcp
pkill -KILL ReedPlayer-Clover

overmount_games

clover-mcp

So I guess clover-map is somehow responsible for loading ReedPlayer-Clover (if you look in /etc/init.d, clover-mcp gets started on boot but there's no reference to ReedPlayer-Clover)...but regardless, the PID for ReedPlayer-Clover definitely changes on every folder nav, so it's already getting reloaded.

Maybe the trigger is the number of times you enter/leave a game _staying in the same folder_, *then* trying to nav? It would seem in my experience that the C8 is generally associated with a folder nav...

Rodney
 

TokyoMario

Well-Known Member
Newcomer
Joined
May 1, 2011
Messages
69
Trophies
0
XP
153
Country
Looks like it actually does get reloaded on every folder nav. From /bin/chmenu:

Code:
pkill -KILL clover-mcp
pkill -KILL ReedPlayer-Clover

overmount_games

clover-mcp

So I guess clover-map is somehow responsible for loading ReedPlayer-Clover (if you look in /etc/init.d, clover-mcp gets started on boot but there's no reference to ReedPlayer-Clover)...but regardless, the PID for ReedPlayer-Clover definitely changes on every folder nav, so it's already getting reloaded.

Maybe the trigger is the number of times you enter/leave a game _staying in the same folder_, *then* trying to nav? It would seem in my experience that the C8 is generally associated with a folder nav...

Rodney


Hmmm... Very interesting. If we can pinpoint exactly when this happens, it could get us closer to a solution. The two times it has happened to me recently was when I was looking at different systems by going through folders and testing games (remapping controls). I honestly cant remember if it was triggered by testing games in one folder, by switching folders a lot, or something else. Anyone else remember?
 
Last edited by TokyoMario,

jphriendly

Well-Known Member
Member
Joined
Sep 24, 2008
Messages
411
Trophies
0
XP
280
Country
United States
Do these cheats work with the original 30 ROMs? If so do you have to run those ROMs via RA (Nestopia) rather than the default kachikachi?

Edit- For clarity, I am referring to these cheats: https://github.com/stayupthetree/Retroarch-Cheats-for-NESC/releases

I would like to know as well

Sorry for the late reply. There is currently no way to set any parameters for the original 30 (as far as I'm aware). The games would need to be hidden, re-added and loaded through Retroarch to use those cheat packs.
 
  • Like
Reactions: heygravity

rhester72

Well-Known Member
Member
Joined
Feb 7, 2016
Messages
187
Trophies
0
Age
52
XP
273
Country
United States
Hmmm... Very interesting. If we can pinpoint exactly when this happens, it could get us closer to a solution. The two times it has happened to me recently was when I was looking at different systems by going through folders and testing games (remapping controls). I honestly cant remember if it was triggered by testing games in one folder, by switching folders a lot, or something else. Anyone else remember?

Not it.

ReedPlayer-Clover unloads on every game start (Kachikachi or Retroarch), so it's restarted after literally every game.

clover-mcp stays running until you nav between folders, and then restarts on folder reload.

I watched the system memory continue to go progressively lower and lower as I was randomly starting and stopping Retroarch/FCEUMM games and navigating folders, so it's going *somewhere*...more testing needed.

Rodney
 
  • Like
Reactions: Prontorium

Reddata

Member
Newcomer
Joined
Feb 22, 2017
Messages
5
Trophies
0
Age
56
XP
53
Country
United States
Has anyone successfully added MAME games that require samples files like Donkey Kong? I can get the games to work without the samples but can't figure out how to also add the samples. The only reference I can find is this:

If you need mame samples, you can install 'bios_images.hmod' (In case sounds are missing in some games like Donkey Kong or Galaga.)
Can anyone tell me where to get bios_images.hmod and explain where the sample files actually go? Thanks
 

Truchen

Active Member
Newcomer
Joined
Jan 23, 2017
Messages
40
Trophies
0
Age
40
XP
96
Country
I finished my work on clovershell: https://github.com/ClusterM/clovershell-daemon/releases/
Next step is to add it to hakchi2 (or it will be hakchi3)? It requires many work on GUI since it will use absolutely other methods to transfer files.

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


I made it 3 years ago: https://github.com/ClusterM/nes2wii =)


Yes. You also can dump firmware of Famicom Mini and turn your NES Mini into Famicom.


I have HUGE amount of mail and messages now (500+), sorry that I have not answered everybody yet. I'll try to answer soon.

Thanks a lot.

It will be Hakchi3 definitely.
 

kaz321123

Well-Known Member
Newcomer
Joined
Feb 23, 2017
Messages
71
Trophies
0
XP
106
Country
United States
This would be fantastic news. Right now with 240MB it takes me about 30 minutes to flash the NES mini. I don't care too much about long flashing times, I could just let it flashing while having dinner i.e., but the app needs to flash in 10-15 steps and requires manual intervention (enter FEL mode each time), so in the end it's a bit annoying.

This "clovershell-daemon" idea would solve this problem... great news! :)

Are you sure you want to like this post? YES YES YES! :P
 

jeanfag

Well-Known Member
Newcomer
Joined
Mar 7, 2016
Messages
82
Trophies
0
Age
37
XP
107
Country
Cote d'Ivoire
sorry, for this havent been on this thread for some days, what is actually "cloverhsell-daemon" and how does it work? thanks :grog:
 

kaz321123

Well-Known Member
Newcomer
Joined
Feb 23, 2017
Messages
71
Trophies
0
XP
106
Country
United States
Has anyone successfully added MAME games that require samples files like Donkey Kong? I can get the games to work without the samples but can't figure out how to also add the samples. The only reference I can find is this:

If you need mame samples, you can install 'bios_images.hmod' (In case sounds are missing in some games like Donkey Kong or Galaga.)
Can anyone tell me where to get bios_images.hmod and explain where the sample files actually go? Thanks

Yep, I have. :)

Here ya go: https://github.com/kaz321123/Mame-Support-Files

Download bios_images_hmod, and put in user_mods, and then install module.

The sample files are put in etc/libretro/system/mame2003 (and highscore.dat, and history.dat), and even a cheat.dat, but I don't know how to enable cheats in this environment. But at least you'll have the file there for when I figure this out.

It also installs msx bios roms if you need those also.

Hope this helps. :)
 
Last edited by kaz321123,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Nut on the hill