-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TurboGrafx-16/ PC Engine/ CoreGrafx Mini ROM dumping #112
Comments
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. 1.) This person dumped the exclusive games somehow. 2.) There is more than one video on YouTube of someone playing on a modded TG-16/PC Engine mini |
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. |
He is still pretty active on Reddit. Try there. |
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 Then you can run the hakchi dumper tool linked in the Genesis Mini 2 guide 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.
Notes:
|
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.
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! |
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:
|
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 |
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:
|
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:
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. |
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:
I tried to follow the instructions in the Genesis Mini 2 thread, but none of them worked for me. |
It's also possible to apply romhacks to some of the PCEmini roms, so the code for the ones that work should be the same (at least for the parts that get patched). But Splatterhouse Chrome didn't work for me after patching, so I wonder what was changed for Splatterhouse. |
Are you sure you patched the right region ROM? According to the romhacking.net page, it needs the Japanese ROM, which is only on the PC Engine mini—not the TG16 mini or the CG mini. Edit: The page also mentions “You have to add 512 octets (= 512 bytes / 4096 bits) at the begining of the ROM's file before patching.” Did you try that? |
Ah, thanks. I have the PCE Mini but I missed the part about the octets, so I used Advanced_SNES_ROM_Utility to add a SNES header (which are also 512 bytes), and the patched rom worked after that (at least in Ootake). I forget if there were other patches that didn't work, but good to know that the roms are seemingly all unaltered. |
I have good news and bad news. Good News: I have found a tool that extracts both the pcd and mcd formats perfectly! Bad News: I am not allowed to distribute it. |
Are you allowed to give a hint of where to find it?
…On Thu, 4 Apr 2024 at 21:58, DrAzathoth ***@***.***> wrote:
I have good news and bad news.
Good News: I have found a tool that extracts both the pcd and mcd formats
perfectly!
Bad News: I am not allowed to distribute it.
—
Reply to this email directly, view it on GitHub
<#112 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BFDXE2H7QOFPWRLONZJPX73Y3XZLFAVCNFSM6AAAAAA3TZYK6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZYGU2TSMBXHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I traced it to the No Intro forums, but I had to ask someone if I could have it. He told me not to distribute, so I’ll respect his wishes. |
After looking at the tool itself, it appears to have been made by Cyanic from MMC. Possibly an overhauled version of this. Regardless, if you guys want this tool publicly released, then you’ll need to contact Cyanic, not the unrelated No-Intro forum member. |
Sigh... What's the output format for the uncompressed disc images? And does the tool also support compression of disc images in other formats to potentially make them playable in M2's stock emulators? |
It seems like a WIP development tool used for R&D for the PCE mini hack, thus it only has extraction and debug log support. I still haven’t been able to dump the nand for my CoreGrafx mini, so the results might only be true for the Genesis Mini 2. What it does is extract the mcd archives into an iso/cue format with uncompressed .wav files for the audio tracks. Optionally, you can choose to extract the BIOS packed with it in the archive. Curiously, the BIOSes have different checksums than the ones easily found loose. After compressing the iso/cues into a chd files, some games were recognized by RetroAchievements, so most, if not all of them, are probably clean dumps. The only problems I encountered were both the US and Japanese versions of Ecco: The Tides of Time erroring before it extracted the last audio track. Also, the iso for the European version of Robo Aleste was unable to the mounted by me, but ran fine in an emulator. |
Does anyone have their contact info? I've found a GBATemp profile which had the same profile picture as their Nuget profile, but they haven't logged in in about four years. I'm not sure if they're maintaining an online presence at this point, so we might be out of luck. |
I believe Cyanic's GitHub is https://github.com/GMMan. I found this through using a reverse image search on their profile picture and checking to see if any of their repositories correlate to the mini modding community, which some do. They appear to be still actively using their GitHub account as well. |
Anyone have the means to get in touch with them and ask them about the tool? There's no DM function on Github and I'm not sure if randomly commenting on one of their repos will get their attention. Not to mention that might come off as rude. |
Sounds like the same person who posted a description of the file format on Twitter. |
There is a contact owners function on the website I gave earlier. |
I've contacted them, here's their response:
I don't know a single thing about programming, but if anyone has the necessary know-how, feel free to reach out to them. |
Maybe I'll take a crack at it despite having no experience with this sort of thing. I'll see if I can clear my schedule to work on this as well. However, I won't attempt this until I can actually dump my CoreGrafx Mini as I still can't get it to boot into FEL mode. |
Could you share the model number of your unit? The dumping process worked fine on the Coregrafx Mini that I bought early 2022. Maybe those were from two different production runs? |
@RealRelativeEase, mine is HTG-009. While doing a little research, found out that there are revisions between serial numbers so I’ll include mine: 01001602 As for the model numbers: |
Mine is 01003911. So mine is a newer model, if they're numbered in ascending order? You wrote that you've already tried different cables, so I suppose that you've also tried different USB ports and maybe even a different machine? At this point, I'm stumped.
At least that alleviates my paranoia about the faulty USB port. |
Don’t take my word for it. I found a case on Reddit where someone with a 010x model had broken USB ports, so still exercise caution. This is all just a rumor. |
I have only a single desktop PC, so I have no other devices to try it out on. I am using the same cable I use regularly with my controller and it was also used to dump the other mini consoles. |
Have you tried uninstalling the drivers and reinstalling the ones packaged with the Hakchi dumper? It might be an issue with the drivers on your system if the mini doesn't go into FEL mode. |
I’ll give that a try, then. |
Still no luck. I guess I'll have to wait until KMFDManiac releases his work or find some way to FTP the console with UART as I have heard somewhere that it is possible. |
You'll be wasting your time if you or anyone else decides to just wait on KMFDManiac. |
He did show how to extract the files required for M2 Unpacker in one of his videos, using a (to my knowledge) not yet released version of Hakchi to access the system via FTP and grab the files from there. |
Maybe try a Windows boot USB like WinPE or maybe a dual-boot with a fresh Windows install and see if you can get the Mini working with your PC that way. Might be some kind of software or hardware conflict preventing it from connecting, dunno. |
Hi, was anyone able to extract images or elements of the UI used in the PCE mini? I am recreating the interface for emulator front ends, I find it so nice! It would help a great deal to get the original images rather then remake them :) Thanks |
Now who, may I ask, is the creator of this extraction tool? And why do they forbid distribution? |
Their name and their response is further up in this thread. #112 (comment) They developed the tool, so it's their decision to make. |
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.
The text was updated successfully, but these errors were encountered: