Hi. I developed ROM-management tool for NES Mini. It's very-very simple to use. Current version: 2.14 Download link: https://github.com/ClusterM/hakchi2/releases/tag/2.14 Requirements: Windows XP+, .NET Framework 3.5 Also working on Wine. Some features: Allows to change any game settings including command line arguments Fills all game data automatically using included database Automatically checks for supported games Allows to automatically search for box art using Google Images Game Genie support Can automatically patch problem games, patches for some popular games included in the package Allows to upload hundreds of games at once Allows to exit to menu using button combination instead if reset button Allows to enable autofire Allows to simulate start button on second controller for Famicom Mini Allows to disable epilepsy protection Mods with emulators, themes and more... FAQ Q: What is it? A: This application can add more games to your Nintendo Classic Mini. All you need is to connect it to PC via microUSB cable. No soldering, no disassembling. Q: So you are hacked NES Mini? A: No! It was my russian сomrade madmonkey. He created original “hakchi” tool. It was not very user friendly so I decided to create tool which is simple for everyone, not only Linux users. I named it “hakchi2” because I don’t like to coming up with names. So first version was 2.0 Q: How to use it? A: Basically you need just to unpack it somewhere (installation not required), run it, press “Add more games”, select some ROMs and press “Synchronize”. Application will guide you. Q: How it’s working? A: You don’t need to worry about it. But if you really want to know it’s using FEL mode. FEL is a low-level subroutine contained in the BootROM on Allwinner devices. It is used for initial programming and recovery of devices using USB. So we can upload some code into RAM and execute it. In this way we can read Linux kernel (yes, NES Mini runs on Linux), write kernel or execute kernel from memory without writing it to flash. So we can dump kernel image of NES Mini, unpack it, add some games and script which will copy them to flash, repack, upload and execute. But games directory is on read only partition. So we need also to create and flash custom kernel with special script that creates sandbox folder on writable partition and mounts it over original games folder. So your original files are safe. You can’t delete or harm original files in any way. For kernel patching my application just executing other applications, that’s why there is “tools” folder. Q: Which games are supported? A: On this moment confirmed that emulator of NES Mini can run this mappers: 0 (NROM) - very simple games like Ice Climber, Pac-Man, etc. 1 (MMC1) - many good games, this is the second most popular mapper. 2 (UxROM - UNROM/UOROM) - games like Castlevania, Contra, Duck Tales, etc. 3 (CNROM) - mostly simple games but with much graphics, like Adventure Island, Friday The 13th, etc. 4 (MMC3) - most popular mapper, used by huge bunch of great games. 5 (MMC5) - very complex and most powerful mapper on NES, used only by Castlevania 3 and few japanese games. Is there at least one default game using it? I’m surprised that NES Mini can emulate it. 7 (AxROM - ANROM/AMROM/etc.) - simple mapper used by games like Battletoads. 9 (MMC2) - used only by Punch Out!! 10 (MMC4) - used by few japanese games. 86 - some Japanese games. 87 - some Japanese games. 184 - some... games Famicom Disk System images - japanese ROMs with .fds extension, like original Super Mario Bros. 2, Doki Doki Panic, japanese version of Metroid, etc. It is possible that emulator supports some other mappers too. You can add those ROMs but application will warn you and game likely will not work. Also if you will patch unsupported game with mapper hack/patch/conversion it should work. There are many MMC3 patches over the Internet. But even game’s mapper is supported some games are not working good without patches. Emulator in NES Mini tested only on default 30 games and actually sucks. Known problem games: Battletoads - crashed on second level. Patch available: http://www.romhacking.net/hacks/2528/ Robocop 3 - it should work but not working at all. MMC3 port is working fine. There are many weird code in this game. I created my own patch. Snow Bros. - When the CPU writes to the serial port on consecutive cycles, the MMC1 ignores all writes but the first. This happens when the 6502 executes read-modify-write (RMW) instructions, such as DEC and ROR, by writing back the old value and then writing the new value on the next cycle. It's very easy to fix. I created my own patch. Bill & Ted's Excellent Adventure - same as Snow Bros. My patch. Startropics II - actually it uses MMC6 mapper which is very similar to MMC3. The only difference is PRG protection. It's very easy to create patch. This my one: patch. Those games will be automatically patched since version 2.09. Please feel free to send me your patches. Also it's possible to install 3rd-party emulator since version 2.12. It can run not only all NES games but also SNES, Genesis, GBA, N64, etc.. You can download the RetroArch mod here: https://github.com/ClusterM/retroarch-clover/releases Q: Can I find list of games with mappers? A: http://bootgod.dyndns.org:7777 and http://tuxnes.sourceforge.net/nesmapper.txt Q: Can I play european/PAL games? A: NES Mini can emulate only NTSC NES. There is command line argument to enable PAL emulation but it’s not working for some reason. All european NES Minis actually the same as USA versions and they are running NTSC versions of games. So you can play not all PAL games and this games will run faster. Use “(U)” and “(J)” ROMs if possible. Q: How many games can be uploaded to NES Mini. A: Internal storage in NES Mini is really huge for ROMs (about ~300MB) but shell designed to show 30 games and there are some issues with other number of games: Thumbnail bar at the bottom of screen can show only ~45 covers. Other covers will be drawn beyond bounds of the screen. Shell can show up to ~90 games but it can't allocate so much RAM to show game covers and save-state screenshots. So more games on screen means less save states. Too few games cause problems, too. There are should be at least 12 games in menu to show them without glitches. Version 2.11 introduces folder feature to avoid those problems. Q: How folders feature works? Why I can't customize my folders structure? A: Since version 2.12 you can create any custom folder structure using Folder Manager. It's possible to edit folder names, images, etc. But it's recommended to limit games to 30 per page/folder if you want to keep save-state feature fully functional. Q: Will it work with Famicom Mini too? A: Yes. You can select console type in the menu. Also hakchi2 can install custom Japanese font and simulate start on second controller. Q: I can’t install driver! A: If you are using Windows Vista, 7, 8 or 10 disable driver signature verification (Google it) and try again. Also try to use Zadig driver installer: http://zadig.akeo.ie/ Q: It says that MD5 checksum is unknown! What I need to do? A: There are two possible reasons: You have some unique unknown revision of NES Mini. Please send me your MD5 checksum is this case. You can continue flashing custom kernel on your own risk. You are using hakchi2 not the first time with this NES Mini (used it on another PC e.g.) and your kernel already patched. Of course it has unknown MD5. It’s safe to continue in this case. In any case it’s better not to lose kernel image. It is stored in the “dump” folder. Backup it somewhere. But don’t worry if you still lost it. This kernel image is near the same for all NES Minis. Q: Can I brick my NES Mini? A: It’s pretty hard to brick it. You always can flash original kernel back (via menu). Even if your flashing process was terminated for some reason you just can do it again. But flash memory can handle only 100,000 erase cycles for any sector typical. Q: How to update hakchi2 to new version? I don’t want to lose my games, kernel image and settings. A: Just copy all files of the new version into the folder of old version with replacement. Or just copy folders “dump”, “games” and "config" (or "config.ini" for old versions). Q: Some games are displayed with an incorrect name, some characters are missed. Why? A: Nes Mini doesn’t contain some characters in their font. But I created my own font. You can use it on the latest version. Don’t forget to enable it in “Settings” menu (enabled by default). Q: Can you modify emulator so the combination of buttons on gamepad will trigger reset? A: I̶t̶ ̶i̶s̶ ̶p̶o̶s̶s̶i̶b̶l̶e̶ ̶i̶n̶ ̶t̶h̶e̶o̶r̶y̶ ̶b̶u̶t̶ ̶n̶e̶e̶d̶ ̶t̶o̶ ̶d̶i̶s̶a̶s̶s̶e̶m̶b̶l̶e̶ ̶b̶i̶n̶a̶r̶y̶ ̶o̶f̶ ̶e̶m̶u̶l̶a̶t̶o̶r̶.̶ ̶I̶ ̶h̶a̶v̶e̶ ̶n̶o̶t̶ ̶s̶o̶ ̶m̶u̶c̶h̶ ̶s̶k̶i̶l̶l̶.̶ I made it. Just enable this hack in menu and sync. Q: Can I use save-states on added games? A: Yes, you can. Battery backed games can use their internal saves too. Note that saves are stored on writable partition along with other save-states. When you delete a game, all save-states remains in the memory. You can delete them at once using factory reset. But they take only few kilobytes. Q: Your english is awful! Can we do something about it? A: hakchi2 is opensource: https://github.com/ClusterM/hakchi2 So you can clone it, fix, upload and make pull request. Or just send me list of fixes. Same way you can add other languages and some cool features. But I'll make some translation tool soon. It's better to wait for it. Q: How to uninstall it? A: There is uninstall feature since version 2.08. Q: I want to upload games to my brother's/sister's/mother's/father's NES Mini on the same computer as the one I used to flash my NES. How to do it? A: hakchi2 is a portable application. Most safe way is just extract the hakchi2 to a second separate folder, and run hakchi2 from there. Doing so should allow to backup kernel, and add games to his liking/flash accordingly. You don't need to install driver. 99% safe way: just flash custom kernel and sync games in same application. This is shouldn't break anything but I can't 100% guarantee it. Q: How to delete game? A: If you want to delete game from NES Mini just uncheck it in list. If you want to delete it from hakchi2 list do right click on game and select "Delete". Q: Stop... You are uploading to NES Mini .nes files in iNES format which was developed by authors of first NES emulators... So Nintendo officially using stuff developed by pirates? A: Yes. And probably they are using pirated copies of their own games %) Q: I just got black screen. My NES Mini is not working anymore! Can you help me? A: Don't panic. Just flash original kernel back. Everything should work again. Try to unpack application and do everything again. Make sure that all files in place and not corrupted. Q: How to disable this weird epilepsy protection? A: I think that it's looking cool! But you can disable it. Just remove "--enable-armet" command line argument. Or you can disable it via menu since version 2.09. Q: Where I can find list of all command line arguments? A: Internal emulator of NES Mini has many command line arguments. Seems like some of them are not working but there is full listing of "--help" output: Warning: Spoilers inside! Code: root@CLOVER:/# /usr/bin/clover-kachikachi --help + export MALI_NOCLEAR=1 + exec kachikachi --fullscreen --sync-guest-with-host --fds-initial-disk-insert-on-keypress --fds-auto-disk-side-switch --fds-disable-host-guest-sync-on-disk-op --keep-aspect-ratio --help 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. Kachikachi - v28.0.20160804.dev =============================== Kachikachi ========== --help, -h Print usage and exit. --command=<file> Use file as the contents of the command line (one arg per line). --log=<file> Log to file instead of stdout. Defaults to stdout --ask, -a Ask for a rom and execute it. --scale=<1..16> Specify the initial scale of the window. --topmost Do not put window topmost. --fullscreen Enable full screen display. --keep-aspect-ratio Stretch the display while keeping the correct aspect ratio. (default) --stretch Stretch the display to the maximum size available. --pixel-perfect Stretch source pixels while keeping an integer target size. --mute Start ROM with mute sound. --pause-on-lost-focus Pause the emulator when the window loses focus. --dont-show-debug-infos Disable debug display on screen. --sync-guest-with-wall Synchronize emulation with wall time. --sync-guest-with-host Synchronize emulation with host. --sync-guest-none Don't synchronize emulation, run as fast as possible. --load-state-slot=<index>, -lss<index> Load save state by index. --load-state-file=<filename>, -lsf<filename> Load save state by filename. --delete-after-load Delete save state after a successful load. --dim-screen-after=<s> Dim screen after <s> seconds of inactivity. --volume=<0..100> Set sound volume (default: 100). --nes-version=[ntsc|pal] Specify the NES version (default is NTSC). --graphic-filter=<index/name> Specify the graphic filter (refer to code for values). --mem-init-pattern=[zero|type_1|type_0] Memory initialization pattern. --fds-auto-disk-side-switch Automatic disk side switch detection --fds-auto-disk-side-switch-on-keypress When a disk side switch is detected, only insert the other disk side on the next keypress --fds-initial-disk-insert-delay=<value in frame count> Set initial disk insertion delay --fds-initial-disk-insert-on-keypress Initial disk insertion on keypress --fds-bios-file-name=<fds bios file name> Specify bios file to load (default to fds_bios.bin) --fds-disable-host-guest-sync-on-disk-op disable host/guest synchronization during disk operation --fds-disk-switch-side-delay=<delay in frames> Delay in frames between disk ejection and insertion --delete-previous-record, Delete previous input records (if it exists). --record-inputs=<filename>, Start or resume the specified input capture. --replay-inputs=<filename>, Replay the specified input capture and exit. --input-record-checkpoint-period=<period>, Save checkpoints during input recording at the specified period, in number of guest frames. --input-record-exit-frame=<frame>, Save a checkpoint during input recording at the specified guest frame and exit. --input-record-cache=<directory>, Enable checkpoint cache during input recording and set its path the specified directory. --input-replay-screenshot-period=<period>, Take guest screenshots during input replay at the specified period, in number of guest frames. --input-replay-screenshot-path=<path>, The path where replay auto-screenshots will be saved. --input-replay-screenshot-to-stdout, Put the screenshot to stdout (works only with build that have no other outputs. --input-capture-cut-path=<directory>, Set the directory where input capture cuts will be saved. --input-replay-print-total-duration, Print the duration of the input replay. --save-data-backing-file=<filename> Use the specified file for save data (SRAM or FDS writes), specifying an empty filename disable save data management. --save-on-quit=<filename> Save state to the desired location on quit event. --save-screenshot-on-quit=<filename> Save screenshot to the desired location on quit event. --enable-crt-scanlines, -sc Enable CRT-like scanlines. --enable-armet Enable Armet filter. --armet-threshold=<t> Armet Detection Threshold (default is 20). --set-dac-filters=[APU_FDS_14kHz|APU_14kHz_FDS_2kHz|none] Set DAC filters (default: APU_FDS_14kHz). --guest-overscan-dimensions=<l,r,t,b> Set the number of black PPU pixels on the four screen borders. --initial-fadein-durations=<t0,t1> Set the initial fadein durations in 1/10 of seconds. t0=blackscreen duration, t1=fadein duration. --ppu-palette=<index/name> Specify the PPU palette (refer to code for values). --ppu-palette-file=<filename> Specify the .pal palette file. Q: How can I donate you? A: My PayPal: firstname.lastname@example.org Thank you! Changelog 2.00: It's first version actually 2.01: Added type of two players selection. Bugfixes. 2.02: Many bugfixes. 2.03: Another bugfixes. Added MD5 for Famicom Mini kernel. 2.04: Some fixes for dinosaurs with Windows XP. Kernel size check. 2.05: FDS support. Settings moved to config.ini file. Automatic driver installer removed due to annoying false virus reports. 2.06: Finally 'pipe read' problem solved! Some fool-protection. Now you can't run two copies of app accidentally. 2.07 Driver installer added again. Now you can hide selected default games. Font fix with all missed characters. 2.08: Fixed unhandled exception bug when game with unsupported mapper selected. Fixed bug when NES Mini is not detected on some computers. Select all/unselect all feature, just right click on games list. Uninstall feature just in case you want to remove all hakchi traces. Four-screen check (it's not supported by NES Mini). Mapper #71 games automatically patched to mapper #2 , so you can play Camerica/Codemasters games: Micro Machines, Bee 52, Dizzy series, etc. One exception: Fire Hawk. Fix for Google search (thanks to Bin4ry!). This feature should work for all now. Added Drag&Drop support. You can just drag&drop .nes file to list of games. Help menu with links to FAQ and GitHub. 2.09: 'Can't repack ramdisk' error on some systems should be gone now. Device detection bug fixed (thanks to David Winter!) Automatic file attributes fix (e.g. "WinRAR" bug fixed). Game selection presets. Now you can create presets for favorite games, party games, etc. It's useful since NES Mini don't like huge amount of games at once. Search by first letters of game, just press Ctrl+F. Much better PNG compression for covers, x4 more disk space. NES carts database with release dates, publishers, etc. Just add game and all fields will be filled automatically if it exists in database. Automatic IPS patches. Now you don't need other application to patch problem games. Patch files stored in "patch" folder. Problem game will be detected automatically by CRC32 checksum. Release already contains patches for "Battletoads", "Robocop 3", "Snow Bros.", "Bill & Ted's Excellent Video Game Adventure" and "Startropics II". You can add and your own patches too. Game Genie support. Just enter your codes (comma/spaces/semicolon separated) in special field and sync. Cheats will be activated automatically. Mapper #87 added to list of confirmed mappers. Epilepsy protection settings - you can disable epilepsy protection for original 30 games or for all games at once. Clovercon hack! Now you can exit to menu using "Down+Select" combination. All you need now is controller cable extension... Some interface improvements - you can delete games using del key, etc. Many minor bugfixes. 2.10: Press Shift+F5 to update all your ROMs library info using database. Extended font working on Famicom Mini again. Now you can select button combination for reset. Some FDS improvements: correct cover size, automatic header fix, "--fds-auto-disk-side-switch-on-keypress" argument by default. 8bit PNG compression is optional now since image quality is not so good. Now you can remove thumbnails at the bottom of screen (via settings menu). 2.11: Folders/pages support! No more games limit. hakchi2 will automatically create folders and sort games alphabetically. Tested with 600+ ROMs. Everything working fine including save-states. You can select maximum games per page/folder but it's recommended to limit it to 30-35. Multistep uploading. NES Mini can't handle huge kernel with hundreds of ROMs. So hakchi2 will split it up and upload in sequence. Just follow onscreen instructions. Mass cover downloading. You can download covers for all games at once using first image on Google. You can find this feature in "File" menu. IPS patcher can enlarge ROMs now ("index out of bounds" bug fixed). New patches for problem games. New confirmed mapper - 86. Also games with mappers 88, 95 and 206 will be patched automatically. Global command line arguments. You can add some argument(s) for all games at once, including original ones. For example: add "--ppu-palette=2" to make all games black and white. Support for ZIP, 7z and RAR archives. You don't need unpack every ROM now. Support for some bad ROMs with invalid size. Full Famicom Mini support: Japanese font and customizable original games list (thanks to xsnake!) Autofire! Enable it via menu, hold Select+A/B for a second to enable autofire on A/B. Also X/Y buttons on classic controller will act as autofire A/B. Start button simulation for second controller. Hold Up+A+B to press Start. It's workaround for some USA games on Famicom Mini. Don't forget to enable it via menu. Option to disable menu music. Minor design fixes. Other minor improvements. 2.12: Mods! Total folder control. You can use folder tree constructor now to create folders, select images, rename and move everything as you want. Or just select predefined automatic algorithm. Thanks to NeoRame for images! Autofire feature updated a bit, since X and Y will be used often now. Optimization for large amount of games. Box art images will be load automatically if PNG or JPEG file with same name is available. English font updated, many characters added, so games like "720°" or "Alien³" will be shown without problems. Japanese font updated too, thanks to snakex! Game Genie database (thanks to Nhakin!), hakchi2 already contains database with many GG codes and you can import more from Nestopia. Box art images are with correct aspect ration now. Asiansteev fixed my terrible English Thanks! Many other improvements. Many fixes. 2.13: Finally hakchi2 shows size of all selected games in main window. Why I have not done it before? One font to rule them all. New font contains HUGE amount of characters now. Including Latin supplement, Cyrillic, Hiragana, Katakana, etc. So NES Mini and Famicom Mini uses the same font now and you can create folders with very unusual characters (in Russian, for example). The main idea to separate hakchi2 from non-NES games failed, so it's optimized for 3rd path emulators now (i.e. RetroArch). Added presets for Sega 32x and Game Gear games, without images yet. "/bin/path-to-your-app" replaced by "/bin/ext" for unknown extensions. Compression support! Since RetroArch can run games directly from archives it's possible now to compress non-NES games using 7-Zip. This feature enabled by default but you can disable it in the settings menu. Also you can add the whole archive (required by MAME games). Fixed huge bug in folder manager when new folders were missed after first sync. Some minor bugfixes. 2.14: Main modification - new transfer method. It's very fast. You can upload 300 MBytes of games in ~1.5-2 minutes. Also you don't need to hold reset and switch your NES Mini on/off. Just connect it to PC and turn on as usual. It's possible to change settings without re-uploading games. New driver installer should work on all Windows versions since XP. Please report me about any problems. Also better compatibility with Windows XP. You can drag'n'drop box art to main window now. Also it's possible to drag'n'drop module files. Automatic NES Mini/Famicom Mini detection. New hacked clovercon driver allows to use most (or all?) 3rd party classic controllers now. Autofire working for X/Y buttons too now (enable in menu and hold select+X or select+Y for a second). USB library changed to LibWinUsb, it's more portable. New game consoles, new images (thanks to NeoRame!) Many minor bugfixes and improvements. Also I made video about hakchi2 development: It's in Russian but you can enable English subtitles. I hope that you'll enjoy it. Please send to me any bugreports and suggestions.