Homebrew The Legend of Zelda - A Link to the Past (Nintendo Switch port)

Vorde

Well-Known Member
Member
Joined
Jul 8, 2015
Messages
497
Trophies
0
Age
35
XP
1,541
Country
Canada
Do you mean zelda3_assets.dat inside /switch/zelda3 folder? I have that. Is there a new version of zelda3_assets.dat that may be not compatible with the new compilation of the .nro? Because I cannot find any other reason why it does not work...
Was this ever solved? I'm trying to run this on my Switch and it just immediately closes, and I've double checked the assets, and these were generated just a few days ago.
 

Vorde

Well-Known Member
Member
Joined
Jul 8, 2015
Messages
497
Trophies
0
Age
35
XP
1,541
Country
Canada
Try recreating it.
I tried recreating it, and uploaded it to the /switch/zelda3 folder and it still didn't work. No error or anything, just brings me back to the Homebrew Menu with all my other homebrew apps.
I tried uploading the folders and files that are in the Zelda 3 launcher and it didn't make any difference.
I'm unsure what to do at this point as the Zelda 3 recompilation for PC works just fine, and has no issues, so I don't believe it to be an assets issue. Is there a verbose mode or log I could enable?
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
Zelda3 for vita.
 

Attachments

  • 1680402447736.png
    1680402447736.png
    56.7 KB · Views: 54
  • zelda3.zip
    1.3 MB · Views: 55

blaizX

Active Member
Newcomer
Joined
Nov 24, 2009
Messages
36
Trophies
1
XP
168
Country
Alright here's a tweaked build, I wanted to use the autosave function (enabled from the ini, saves on quit and reloads on restart) but afaik there's no way to quit the nro with the default controls. I saw this person's pull request to quit by pressing start + select together, copied the code but changed it to pressing both joysticks in at the same time, as I don't think the joystick presses have any effect in the default controls. So this updated nro is from the same latest commit on master but with the added quit code as described, I've also changed Autosave to 1 in the included ini, so you can use that or set it yourself in your own ini.

Next up - neither of the forwarders in this thread worked for me, so I made my own (using the same titleid as impeeza's because thinking of numbers is hard), I used the setup from this forwarder maker but the main from this one so that when you quit the nro, it exits back to the home menu rather than reopening the nro over and over. So with the aforementioned modified nro you can click both joysticks any time and it will autosave and exit to home menu, then autoload when you reopen. nro path is /switch/zelda3/zelda3.nro
Nice
works perfect

Autosave = 1
Language = de
AudioSamples = 1024

but how can I reset the game, so I could load the standard-savegame (if I dont want the autosavegame)?
Is there another shortcut like MINUS & ZL to start the game without loading the autosavegame?

or how to load the autosavegame if "autosave = 0" ? shortcut?

I would like it if it were possible to create a savestate using a shortcut. and with another shortcut to load this savestate, instead of the autosavegame-option.
 
Last edited by blaizX,
  • Like
Reactions: hippy dave

hippy dave

BBMB
Member
Joined
Apr 30, 2012
Messages
9,897
Trophies
2
XP
29,530
Country
United Kingdom
Nice
works perfect

Autosave = 1
Language = de
AudioSamples = 1024

but how can I reset the game, so I could load the standard-savegame (if I dont want the autosavegame)?
Is there another shortcut like MINUS & ZL to start the game without loading the autosavegame?

or how to load the autosavegame if "autosave = 0" ? shortcut?

I would like it if it were possible to create a savestate using a shortcut. and with another shortcut to load this savestate, instead of the autosavegame-option.
Glad it's working. Yeah there aren't any shortcuts set up in the standard Switch configuration, because all the buttons are in use apart from the joystick clicks (SDL doesn't see ZL/ZR as buttons but as axes because they're analogue on some platforms, which is a pain for our purposes).

The ini file has configuration for keyboard shortcuts to load/save state, I don't know if it would work with putting joypad button names in instead of keys, if not then it would require more code tweaks to enable manual save states when autosave = 0. Can have a look when I have some time.
 
  • Like
Reactions: sean222 and blaizX

hippy dave

BBMB
Member
Joined
Apr 30, 2012
Messages
9,897
Trophies
2
XP
29,530
Country
United Kingdom
The ini file has configuration for keyboard shortcuts to load/save state, I don't know if it would work with putting joypad button names in instead of keys,
I saw a github comment saying this should work, but haven't tried.

Unrelated, has anyone encountered the hookshot being invisible? The inventory icon is visible, but when I use it, no part of it is visible. It still works tho. Couldn't see any mention of this issue on the github or the discord.
 
  • Like
Reactions: sean222

mlgfx

Member
Newcomer
Joined
Nov 18, 2018
Messages
9
Trophies
0
Age
33
XP
342
Country
Germany
Every time I try to build the assets on my Mac I get the following error:

Traceback (most recent call last):


File "restool.py", line 2, in <module>


import util


File "/Users/---/zelda3/tables/util.py", line 80


msg = f"\n\nROM with hash {hash} not supported.\n\nYou need one of the following ROMs to extract the resources:\n"


I checked the hash of the rom but it is correct. Any help?
 

kiyafox

Well-Known Member
Member
Joined
Oct 20, 2020
Messages
268
Trophies
0
Age
31
XP
478
Country
United States
can some one please make a video on how to make a nd install this port to the switch with the cheats? i need a visual learning
 

Vaskie

Active Member
Newcomer
Joined
Nov 21, 2016
Messages
25
Trophies
0
Age
34
XP
663
Country
Would someone be able to help me run it on Ryujinx ?

Ryujinx detects the nro, but nothing happens when I launch it. I am not too sure where to put the data file.
 

sean222

Well-Known Member
Newcomer
Joined
Sep 7, 2007
Messages
92
Trophies
1
XP
784
Country
Canada
I saw a github comment saying this should work, but haven't tried.

Unrelated, has anyone encountered the hookshot being invisible? The inventory icon is visible, but when I use it, no part of it is visible. It still works tho. Couldn't see any mention of this issue on the github or the discord.
Did you ever get to look into the keyboard shortcuts? I've tried many combinations in the ini file and nothing seems to work on the Switch. I guess the shortcuts are for keyboards only.
 

Frisk_

Member
Newcomer
Joined
May 4, 2023
Messages
6
Trophies
0
XP
81
Country
France
Great port !

I try to use shaders but nothing happens. I have the correct line in ini file with OpenGL instead of SDL.
Anyone succeed with this ?

Also bilinear filtering is by default and I can't get rid of it even if I set it to 0 in ini file.

Thanks for your help
 

switcher4579

New Member
Newbie
Joined
Apr 10, 2023
Messages
4
Trophies
0
Age
34
XP
70
Country
United States
Phew, this took a bunch of tries for me to get running.

Firstly, as hippy dave mentioned in comment #67, Python 3.8 is required to run the asset extraction scripts. I copied the dumped rom file to the root of the source code's folder. Then `cd`ed into it, and ran:

Code:
python ./assets/restool.py --extract-from-rom

You'll get a warning while running about an "invalid escape sequence", but this did not affect the output for me. (this may become an error in future Python versions, in which case, just try escaping each backslash in the offending Python file with another: `\` to `\\`)

With the v0.3 of the code, the resulting assets file had an MD5 of 9c9c356f6cbf837d828c0fb4bed45962. Next, you'll want to use an up-to-date nro. Not the one on the first page of this thread, but from user octopus in comment #95. When you copy the files over to your switch, make sure the assets file and config is in the same directory as your nro. You can use the nsp-forwarder.n8.io online generator to make your own forwarder.

Finally, I wanted to use a shader. Make sure to change your renderer in the config: "OutputMethod = OpenGL". For the shader, both glsl and glslp files are supported. Keep in mind however that glslp files have a file path configured inside of them, so if you want to use them as-is, you'll have to have the same folder structure inside the folder containing your nro. I kept things simple with a flat directory structure and set "Shader = crt-hyllian.glslp" and modified that file so "shader0 = crt-hyllian.glsl" (erasing the folder paths). Then I placed both shader files alongside the nro.

And with that, I have this running on my Switch with a shader :). Refer also to the wiki on the GitHub page, which explains many things, such as the bug fix options.
 
  • Like
Reactions: Frisk_

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, that guy who was dissappeared?
  • Psionic Roshambo @ Psionic Roshambo:
    My favorite thing about that Ken, if they talk bad about others to you. They doing it to you too.
  • Psionic Roshambo @ Psionic Roshambo:
    Always remember that
  • K3Nv2 @ K3Nv2:
    More or less then they drop you and blame you when you find out
  • Psionic Roshambo @ Psionic Roshambo:
    Well taking responsibility for their own actions would mean doing work and self reflection lol easier to just be a pile of crap rolling down hill
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, I dont mean to be rude but what was so important about them?
  • SylverReZ @ SylverReZ:
    @Xdqwerty, He truly shared his great knowledge about Switch modding.
    +1
  • SylverReZ @ SylverReZ:
    People miss him because he used to be active a lot.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I modified a switch in a bathroom one time by wiping poop on it... Lol
  • K3Nv2 @ K3Nv2:
    Been noticing it more these days alot has to do with coperation attitude manipulation people work in it so long they think it's a good way to live
    +1
  • BigOnYa @ BigOnYa:
    And he/she used to do any/every mod to the Switch, just to learn and teach others as well. A true Switch genius.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Ken secret tactic to expose them, "I was told you where a really bad person, now I'm not so sure." Watch who they tear into, that's the person who is doing that crap.
  • K3Nv2 @ K3Nv2:
    I just say this person said this about you and let it play out
  • Psionic Roshambo @ Psionic Roshambo:
    Fight lies with truth
  • K3Nv2 @ K3Nv2:
    Don't want me to snitch don't treat me any different
    +1
  • Xdqwerty @ Xdqwerty:
    @Psionic Roshambo, new version of rock paper scissors: truth lies
    hipocrisy
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    My ex fiance was a master liar, manipulator and hypocrite. An actual diagnosed psychopath.
  • Psionic Roshambo @ Psionic Roshambo:
    They are not even human in my opinion.
  • K3Nv2 @ K3Nv2:
    Just because I said you were big that one time you believed me
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    The shameful part is, I fell so in love with her mask. If I could find the real woman she pretended to be I would die for her without a moments hesitation.
  • Psionic Roshambo @ Psionic Roshambo:
    Truly loved what was never there
  • Psionic Roshambo @ Psionic Roshambo:
    I would have fought demons, gods, armies.
  • BigOnYa @ BigOnYa:
    "Be gentle, I've never done this before." What, biatch you got 3 kids already.
    BigOnYa @ BigOnYa: "Be gentle, I've never done this before." What, biatch you got 3 kids already.