RED-Project
RED-Project copied to clipboard
TurboGrafx-16/ PC Engine/ CoreGrafx Mini ROM dumping
Anyone got it to work yet?
Maybe it's possible to use a similar method as the Sega Genesis 2 Mini to achieve this?
According to this video it seems doable.
Supposedly, Hakchi2CE allows you to dump it like the other mini consoles it supports, and like the Genesis Mini, you’ll have to unpack M2’s archive. By coincidence, I ordered myself a CoreGrafx Mini, so I will be able to test this myself in a week or so.
I had my suspicions. Please report back if you are able to test it. Can't seem to find much information on the matter.
The CoreGrafx mini arrived today, but I have no idea how to FTP the console. Unless someone can teach me how or the Hakchi2 CE update gets released, I have no way of dumping it at the moment.
Anyone can feel free to help me out here.
Maybe the Sega Genesis 2 Mini method work. But maybe you don't need/should use the player 2 port in this case, but do as he says in the video.
I already tried that, but unfortunately it didn’t work.
That's a bummer. Probably have to wait for a compatible Hakchi release then (if that ever comes out).
at this point I don't think a hakchi release for the TG-16 is ever coming. However, the pieces are clearly all there for someone to do it. Despite at least 3 different groups teasing it over the course of 3 years with nothing ever actually being released hack wise.
1.) This person dumped the exclusive games somehow. https://archive.org/details/pcemini
2.) There is more than one video on YouTube of someone playing on a modded TG-16/PC Engine mini https://www.youtube.com/watch?v=4kIvOiuui_E - 4 months ago, showing off various emulators https://www.youtube.com/watch?v=o8dzJr6KwA4 - PoC of swapping games out ONE MONTH after it released in 2020.
I would contact KMFDManiac via email or DM, but I can’t seem to find any contact info. I guess it is about time that I comment on one of his recent videos asking for a public release of the Hakchi fork for the purpose of dumping the ROMs from the Mini.
Wow. That was quite the run-on sentence.
I would contact KMFDManiac via email or DM, but I can’t seem to find any contact info. I guess it is about time that I comment on one of his recent videos asking for a public release of the Hakchi fork for the purpose of dumping the ROMs from the Mini.
He is still pretty active on Reddit. Try there. https://www.reddit.com/user/MDFMKanic/
SUCCESS!!
I was able to dump the ROMS from my PC Engine Mini using a method very similar to the Genesis 2 Mini. The key is to get it into FEL mode before running the Hakchi dumper. You can do this using a tool found in the Astro City Mini Batocera installer here:
https://github.com/acm-cfw/acm-cfw.github.io/releases
Scroll down the the ACM alpha 0.1, click assets and download acm_install20221203.zip In the data directory of that zip folder you'll find sunxi-fel-handshake.exe Run this and plug in the mini console into a USB port using a non-crippled USB A - Micro USB cable. Turn on the mini console and wait for the tool to tell you it is in FEL mode. This might take a few tries.
Then you can run the hakchi dumper tool linked in the Genesis Mini 2 guide https://github.com/farmerbb/RED-Project/discussions/56
It will immediately start working.
Once you have the dump, mount it using
guestmount -a /path/to/nand.bin -m /dev/sda9 --ro /path/to/mount
Note the different path from the Genesis Mini 2 guide.
The three important files (alldata.bin, alldata.psb.m, and m2engage) will be in the root folder of the mounted drive.
DO THIS AT YOUR OWN RISK.
- Downloading and running mysterious executables from the net is always risky.
- It is always to accidentally brick your mini console.
Notes:
- I couldn't get the sunxi-fel-handshake tool to work on my Win11 laptop. Might have been a power issue. It worked fine on a Win10 desktop and a Linux desktop
- I couldn't get the guestmount tool to work on my Win11 laptop usig WSL. The tool wanted a valid kernel image in the right place. I couldn't be bothered to troubleshoot it, I just copied the nand file over to my Linux desktop and mounted it there.
- The USB drivers come with the hakchi dumper tool, so you may need to install these before the FEL tool.
Amazing. Well done! I will test it out when time allows. So basically run sunxi-fel-handshake.exe -> plug in and turn on your mini -> wait for FEL mode -> run hakchi.exe from the Genesis 2 tutorial -> save NAND -> mount the saved NAND and extract ROMs
Holy crap! I applaud you, @stuckinstyx!
All that we need now is a way to uncompress the CD games for the TG16 and the Genesis 2.
Thanks a lot, can confirm that it works perfectly, and m2-unpacker was able to get all the roms/images! Too bad that Salamander wasn't hidden on the PCE Mini, still don't understand why it was an exclusive to the TG-16 Mini when it was never released as a TG-16 game back in the day, but Konami's gonna Konami I guess. Hopefully someone figures out how to convert the CD images as well.
The three important files (alldata.bin, alldata.psb.m, and m2engage) will be in the root folder of the mounted drive.
Glossed over this at first, took me a couple minutes to figure out that one needs to copy from /home/[user]/mnt/ instead of /home/[user]/mnt/usr/games/ like on the Genesis 2 Mini.
I cannot get my CG mini into FEL mode using the tool. Does this only work with the PCE mini?
@DrAzathoth , try a different cable. Some micro USB cables are power only.
Also, you don't need to use a second cable like the Genesis Mini 2, a single cable to the power port is fine.
Have you installed the drivers? They are included with the Hakchi dumper if you need them.
Also make sure not to use a USB hub. And try it on a desktop computer if you can. I never got it to work on my laptop. Perhaps the USB ports don't provide enough power.
It took me a couple tries to get it to dump, try launching both of the tools and then plugging in the mini while its switch is turned on. It also worked fine on my laptop that doesn't have a VPN installed, but not on one that does (even with all of the VPN processes ended in Process Manager).
Incredible work! My question now is, how do we swap a game out? (Since I assume we can't just add more right now)
I’ve tried a wide variety of cables that I know work with other devices, but it still doesn’t work for me. I have been able to dump the Genesis Mini 1 and 2 so I am certain I have the drivers installed properly (PCE Mini is extremely similar to the Gen Mini 1’s hardware). The only feedback I receive is the message “No Allwinner devices in FEL mode detected”. The handshake tool terminates after 20 attempts.
My exact process is this:
- Run the handshake tool
- Within a couple seconds, plug in the CG Mini while the power is already on
- Wait until the tool terminates and then run it a couple more times to be certain it doesn’t work
I managed to dump the nand from my CoreGrafx mini, but my Linux skills isn't exactly great. Been trying for hours now. Any concrete examples on how to mount this thing?
I used sudo guestmount -o uid=500,gid=users,nounix -a /mnt/c/Users/[user]/Desktop/nand.bin -m /dev/sda9 ~/mnt
Then individually extracted the files as follows:
sudo cp /home/[user]/mnt/alldata.bin /mnt/c/Users/[user]/Desktop
sudo cp /home/[user]/mnt/alldata.psb.m /mnt/c/Users/[user]/Desktop
sudo cp /home/[user]/mnt/m2engage /mnt/c/Users/[user]/Desktop
Thank you. Unfortunately I only get this error message: "libguestfs: error /usr/bin/supermin exited with error status 1"
Like for others the guestmount command failed with a libguestfs error. But the following worked for me:
sudo losetup -Prf /path/to/nand.bin
sudo mount -o ro /dev/loop0p9 /path/to/mount
Thanks. I have tried that as well, but gets "losetup: cannot find an unused loop device".
Hmm, I know I had similar errors when trying to mount the Genesis 2 Mini nand, but I was able to eventually mount it by googling the errors and trying various things, so hope you're able to figure it out.
Finally got it to work with my Core Grafx mini.
First I tried the same methods on another computer, but got the same errors. What worked for me in the end was:
cp /mnt/c/Users/[username]/Desktop/nand.bin . sudo losetup -Prf nand.bin sudo mount -o ro /dev/loop0p9 rootfs
Then I just used the regular Windows File Explorer to navigate to the "rootfs folder" and copied over the 3 required files back to Windows and used the m2-unpacker.
I couldn't find any bios files on here. Do any of you know if it's included with the system?
@kjetil-f, I still haven’t had luck dumping my CG mini so I can’t say this with certainty, but surely the BIOSes have to be included? Holding the select button when you start a CD game on the mini console emulates running the game on an older BIOS (for example, getting the Peke easter egg instead of Rondo). Perhaps the BIOSes are hidden in the .cd archives just like how they are with the Genesis Mini 2? Yes I know the BIOSes are loose on that console, but it has been confirmed they are inside the archives as well. (Source)
Cool. How did he do that?
But I think you might be right. I took a quick peak with some of the games using a hex editor, and searched for "bios". Found a reference for it it within the games at least.
18 hits within alldata.bin.
None of the commands to mount the nand file have worked for me so far. Are you using WSL2 or custom builds/actual Linux systems?
I used WSL2, yeah. Did you run an update in it already? I believe the Genesis Mini 2 thread shows how, as well as some other tips.
I used WSL2, yeah. Did you run an update in it already? I believe the Genesis Mini 2 thread shows how, as well as some other tips.
WSL2 is version 2.0.14.0, guestfs and guestmount are also the current versions as well. I usually get an error message related to fuse:
fuse: device not found, try 'modprobe fuse' first libguestfs: error: fuse_mount failed: /home/red/mnt, see error messages above
I tried to follow the instructions in the Genesis Mini 2 thread, but none of them worked for me.