ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก
Hacking and Flashing Game&Watch (Zelda, linux VM)
ฝัง
- เผยแพร่เมื่อ 19 ก.พ. 2023
- In This video I'm (again) going back to hacking and flashing Game&Watch - and this time it's Zelda variant. Just as in my most recent video I'll be using linux VM as I think it's a faster and more convenient.
Here are the links to my previous videos on Game and Watch hacking:
Mario variant, dual boot, linux VM: • Hacking and flashing G...
Mario variant, dual boot, RPi: • Hacking and Flashing G...
Zelda, retro-go only, RPi: • Hacking and flashing G...
Here's a link to VM image I'm using. It contains all the tools you need, including a script I made to help with coverflow artwork.
mega.nz/file/T...
login: adam
passwd: gameandwatch
Alternative link: drive.google.c...
Here's a link to ST-Link device I'm using (colors may vary but it's the same device):
amazon US: amzn.to/3ls1qXp
amazon UK: amzn.to/3XxCpYi
I'm using MX25U51245GZ4I00 chip. Full list of compatible chips is here: / flash-upgrade
Here's the link to the page where I sourced the pinouts from - it's a very well written and well worth reading page (note that it's not dual boot so you may need to follow the video if you want original games and retro-go):
community.elem...
Here are the commands I'm using in the video (Zelda):
--- Backup and unlock
./1_sanity_check.sh stlink zelda
./2_backup_flash.sh stlink zelda
./3_backup_internal_flash.sh stlink zelda
./4_unlock_device.sh stlink zelda
./5_restore.sh stlink zelda
--- Patching of original firmware
make PATCH_PARAMS="--device=zelda" LARGE_FLASH=1 ADAPTER=stlink flash_patched
--- Generating artwork
make_covers.sh nes
(repeat for each system you want to flash)
--- Build and flash retro-go
make romdef
make COVERFLOW=1 GNW_TARGET=zelda EXTFLASH_SIZE_MB=60 EXTFLASH_OFFSET=4194304 INTFLASH_BANK=2 flash
And here are the commands you can use if you have Mario variant (covered in previous video):
--- Backup and unlock
./1_sanity_check.sh stlink Mario
./2_backup_flash.sh stlink Mario
./3_backup_internal_flash.sh stlink Mario
./4_unlock_device.sh stlink Mario
./5_restore.sh stlink mario
--- Patching of original firmware
make PATCH_PARAMS="--device=mario" LARGE_FLASH=1 ADAPTER=stlink flash_patched
--- Generating artwork
make_covers.sh nes
(repeat for each system you want to flash)
--- Build and flash retro-go
make romdef
make COVERFLOW=1 GNW_TARGET=mario EXTFLASH_SIZE_MB=63 EXTFLASH_OFFSET=1048576 INTFLASH_BANK=2 flash
Please consider subscribing to my channel.
You can buy me a coffee if you like my content: buymeacoffee.c...
/ retrotechcorner
/ retrotechcorner
I just want to drop by to say thank you. Your video helped me to Jb my game and watch Zelda. It took me half a day because I lifted one of the pad on the motherboard when I tried to remove the original memory chip. However all is good now. I managed to save it.
In case of someone can't make VM image to work on windows 10 with vmware workstation (and trying for hours like me), there is a workaround about the issue that says that "this image is not compatible" etc.
All you need to do is just load the image and don't run it yet. Then go to the upper bar and choose VM-> Manage-> Change hardware compatibility and just follow the steps from the window that will open. Then choose to fix the same vmx file and you are done. Now you can run the image successfully.
Ps: If ubuntu run sluggish, then go to VM -> Settings -> Display -> 3D graphics, and uncheck that box. Then ubuntu will run normally.
Excellent mod 👏👏👏👏. Great work!
Great videos on the game and watch. 👍 Those are some awesome tutorials. Greatly appreciated 👍
Glad you like them!
👌 excellent as always
I'm back to this video, and I want to say thank you for your work. i have two modded Zelda consoles now. Which retro go do you think is the best? I use Sylver fork, but maybe you have other opinion?
Hopefully, this is not a stupid question....
but if every Zelda game and watch is shipped with the same firmware, why isn't there a generic backup file of the original flash content?
Is it because of copyright laws, or does every device have a unique serial number?
Because if the microcontroller and flash chip are whipped, there would be no way for the mcu or flash to know the origin of the .bin files, so is it to protect yourself from copyright?
Here's the new link where you can download VM image: drive.google.com/file/d/1Hufz0JupE2pSLhS4sAhHnmCys-40Iw2_/view?usp=sharing
as soon as i finalize the last step the game just dont boot. kepps black screen. even if every step occur mostly equal.
the difference is that im using a 16mb chop instead of 64 and when i run the large flash script i got an error. another odd thing is thar my screen shows 3 tasks instead of 63 like yours
what can i do?
Thank you for your guide! Using the VM images you provided it went flowless till flashing retro go with also patched original software (25:20 minutes:seconds).
Even keeping holding the power button, I have an endless loop with "state: FLASHAPP_INIT" that repeats over and over without ever stopping.
Do you have any advice on how to do it?
Flashing the original firmware, patched firmware or just retro go (without original software) is done without any problems. But if I try to flash retro go AFTER original patched for dual boot, I get this bootloop. A thousand thanks!
Is there a command that checks, if the total size of roms and covers, is within the limits of the 64mb ?
That it warns you if you have too much data for the custom firmware ?
It seems after the custom firmware build, it says something about the Capacity, Usage and Free space,
but that's after the build, would be nice if it warns you before it starts building it.
Nice video, what is the extension need it for game and watch roms?
Hello and first thank you for the tutorial!!
Second, would you have a link to buy the new flash?
Thx
I'm using MX25U51245GZ4I00 (64MB).
I buy them here: ie.farnell.com/macronix/mx25u51245gz4i00/flash-memory-512mbit-40-to-85deg/dp/3129236 but you can buy those on aliexpress as well..
@@RetroTechCorner thx a lot !
Does your How to support gbc roms? How to i add gbc roms to your folders to build?
Do games like super Mario 3 and Zelda games that have save states work or no? I mean does it save your game?
Would I be able to add Pokémon gold on stock chip
if im gonna do it with stock memory chip, i skip the patch part, right?
Yes, but you won't be able to fit many games on original flash...
Would I be able to fit Pokémon gold on stock chip
@@RetroTechCornerlike how many fit in the original?
Hi RTC do you do the to my game and watch if I pay you let me know how you can do and how much we will cost me for this job please thanks
Hi, thought id try your VM. But just wanted to check if you're using a M1/2 Mac or Intel?
Intel...
@@RetroTechCorner Do you know if there's a way to get this VM image to run on an Apple Silicon Mac?
No idea. It's.different architecture so (probably) not...
Bro its impossiblee to dowload ur image from mega for free, its forcing me to pay in order to download a huge file, plss help! another link would be awesome!
Sorry if this is mentioned in this video (I'm watching it now!) but can these scripts be easily used with the stock chip? Thanks!
Yes, you can do this all with stock chip. But it's just 1mb (or 4mb in case of Zelda) and you won't fit too many games...
Could it fit Pokémon
Hello, could you please share your script for the covers ? thanks
The script is included in the image I shared...
@@RetroTechCorner i know but I can’t download the image for free, mega is asking to pay.
oh, sorry - didn't know that... You can download the script here: github.com/RetroTechCorner/gnw-covers
You'll most likely need to adjust the two variables: roms_dir and covers_dir
@@RetroTechCorner Thank you so much for your help 😃
@@RetroTechCorner what am I doing wrong? Can you help?
$: ./make_covers.sh nes
./make_covers.sh: linia 21: crc32: nie znaleziono polecenia
Super Mario Bros.nes: Cover not found!
I try to flash my Zelda g&w and I'm stuck on step 3. Could you please share the internal flash backup? My screen stays black and it doesn't turn on anymore. I hope that I could unlock it with a copy of the internal flash. Thank you very much
Sorry, I'm unable to share Nintendo software (for legal reason)..
After successfully flashing a G&W Mario, I wanted to flash the Zelda version. Unfortunately I get this problem:
Hash mismatch in FLASH. Flashing failed.
Flashing chunk 14 failed... power cycle unit and retry? (y/n)
Unfortunately it is not possible to continue. I have already created a new image, but without success. This error always occurs:
Preparing chunk 15 / 64 in file /tmp/flash_chunk.SctPqW
Flashing!
.
.
.
Starting flash process
Please see the LCD for interactive status.
State: FLASHAPP_CHECK_HASH_RAM
Hash mismatch in FLASH. Flashing failed.
Flashing chunk 14 failed... power cycle unit and retry? (y/n)
^Cmake[1]: *** [Makefile.common:716: flash_extflash] Interrupt
make: *** [Makefile.common:726: flash] Interrupt
Do you or anyone else have an idea?
I also had this error when recopying games. Start at the point where you restore the backups. After the process you should see something on the screen again