Homebrew WIP My Goldleaf fork, based on 0.9, with NSZ support

Worldblender

Well-Known Member
OP
Member
Joined
May 27, 2019
Messages
304
Trophies
0
Age
25
XP
1,688
Country
United States
i get this error

make[3]: *** [/opt/devkitpro/devkitA64/base_rules:14: ui_Application.o] Error 1
make[2]: *** [Makefile:99: build] Error 2
make[2]: Leaving directory '/c/projects/Goldleaf/Plutonium/Plutonium'
make[1]: *** [Makefile:9: all] Error 2
make[1]: Leaving directory '/c/projects/Goldleaf/Plutonium'
make: *** [Makefile:5: all] Error 2

can you please just post compiled nro
What you need to run is
Code:
git submodule init
git submodule update
The upstream repository uses Git submodules. These commands can be used on any repository using submodules.

--------------------- MERGED ---------------------------

If you could please make a release thread when this is function (instead of replying here) so that others can be notified I can get this added to xbins repo monitoring.

Thanks
I'm just going to make another post over at https://gbatemp.net/threads/goldbricks-nsp-nsz-title-installer.550869/, once the upsteam author (blawar) makes a new release. But I will update this thread to point to it.
 

Worldblender

Well-Known Member
OP
Member
Joined
May 27, 2019
Messages
304
Trophies
0
Age
25
XP
1,688
Country
United States
why not just post the compiled nro
Because another user already did the compilation, and that's when I learned that I actually did not implement the NSZ functionality correctly. See below quote:
Just checked your code. NSZ support added totally wrong - it will produce corrupted installs and will works awfully slow.
 

Worldblender

Well-Known Member
OP
Member
Joined
May 27, 2019
Messages
304
Trophies
0
Age
25
XP
1,688
Country
United States
I just updated my fork to fix most of the compilation errors in this commit, which hopefully should fix NSZ files being installed but becoming corrupted: https://github.com/RQWorldblender/Goldleaf/commit/926dc110c9819da406346752c3dc5f5f425e6dff
I have my development environment set up correctly, but it is not always clear about which libraries need to be installed for me to successfully compile Goldleaf.

Update: I made more changes to allow successful compilation of my Goldleaf fork: https://github.com/RQWorldblender/Goldleaf/commit/ccf90702543f875a56c7c3c91f3998e42e5015a4
I only add zstd to the Goldleaf Makefile so that linking will successfully complete.
 
Last edited by Worldblender,
  • Like
Reactions: Lumona

Worldblender

Well-Known Member
OP
Member
Joined
May 27, 2019
Messages
304
Trophies
0
Age
25
XP
1,688
Country
United States
The big moment of my fork: I have successfully compiled my fork! :D I now have an zipped NRO file that anyone can test out to see if the patched NSZ support works or not. Test away, and make sure to tell me so that I can investigate any further errors.

why not just post the compiled nro
See what I attached at the very first post, and give it a try.
 
Last edited by Worldblender,

Slluxx

GBATemp Mayor
Developer
Joined
Jul 17, 2019
Messages
400
Trophies
0
XP
1,227
Country
Germany
There are already plenty of installers that do support nsz, like tinfoil, lithium, tinleaf(?), awoo or tinwoo. (maybe DBI too? idk)
most of them have good features that goldleaf dont have so why should i or anyone use this? You said you came from goldbricks but whats wrong with all the other and better solutions that do work?

not bashing here, just trying to understand why this is a thing
 

Worldblender

Well-Known Member
OP
Member
Joined
May 27, 2019
Messages
304
Trophies
0
Age
25
XP
1,688
Country
United States
There are already plenty of installers that do support nsz, like tinfoil, lithium, tinleaf(?), awoo or tinwoo. (maybe DBI too? idk)
most of them have good features that goldleaf dont have so why should i or anyone use this? You said you came from goldbricks but whats wrong with all the other and better solutions that do work?

not bashing here, just trying to understand why this is a thing

I was in panic mode shortly after updating the firmware to 11.0.1, worried that I would be unable to install NSZ files.
For Tinfoil and Lithium: I cannot find the source code of these two programs anywhere, hence they're likely proprietary.
For Awoo Installer and some of the various forks: I initially got turned off by either over-the-top female anime imagery or the sound effect that plays after every successful installation. While the source code is available, I wanted to keep things simple for myself by overwhelming myself with so many installers, since there is no official user-accessible method for title installation by design.

Adding NSZ support to my Goldleaf fork was also good coding work for me, so it's not all lost.
The best side effect of my actions is that it motivated me to install devkitpro and some of the portlibs, which will help me in any future Switch homebrew projects
 

Slluxx

GBATemp Mayor
Developer
Joined
Jul 17, 2019
Messages
400
Trophies
0
XP
1,227
Country
Germany
yeah there is no source for tinfoil or tinleaf (atleast blawars fork). the OG tinfoil code should be somewhere around if im not mistaken. but just because there is no source doesnt mean its bad to use. Awoo has some weird design choices and i dont like them too. but tinwoo supports themes.

i get your point. i just think adding another installer to the wild (especially if its a fork of a really outdated installer) isnt the best thing for the (already installer overfilled) switch community.
 

Jayro

MediCat USB Dev
Developer
Joined
Jul 23, 2012
Messages
11,380
Trophies
4
Location
WA State
Website
ko-fi.com
XP
13,482
Country
United States
Imagine leaving out a specific file format in your installer because of a moral issue YOU have, so the hundreds of thousands who use it won't get that file format supported. What a bunch of high-horse bullshit. :rofl2:

That would be like me saying:
"I won't include 7-zip on MediCat USB, because the icon colors don't match my eyes." *nose in the air*
 
Last edited by Jayro,

Worldblender

Well-Known Member
OP
Member
Joined
May 27, 2019
Messages
304
Trophies
0
Age
25
XP
1,688
Country
United States
yeah there is no source for tinfoil or tinleaf (atleast blawars fork). the OG tinfoil code should be somewhere around if im not mistaken. but just because there is no source doesnt mean its bad to use. Awoo has some weird design choices and i dont like them too. but tinwoo supports themes.

i get your point. i just think adding another installer to the wild (especially if its a fork of a really outdated installer) isnt the best thing for the switch community.
The main reason why I forked Goldleaf is because it had a new release since last month, 0.9. I wouldn't perform the fork had that not happened. I could just make a patch that can be applied to a vanilla Goldleaf repository.
Imagine leaving out a specific file format in your installer because of a moral issue YOU have, so the hundreds of thousands who use it won't get that file format supported. What a bunch of high-horse bullshit. :rofl2:
I think of the same personally, but I don't have much choice.
 
  • Like
Reactions: Jayro

Slluxx

GBATemp Mayor
Developer
Joined
Jul 17, 2019
Messages
400
Trophies
0
XP
1,227
Country
Germany
The main reason why I forked Goldleaf is because it had a new release since last month, 0.9. I wouldn't perform the fork had that not happened. I could just make a patch that can be applied to a vanilla Goldleaf repository.
goldleaf shouldnt be used anymore alltogether. and as long as there are 3+ installers that support your needs, i dont think the world needs another one. it just adds to the confusion even more. thats my main point. glad you learned something during development but i hope this dies down rather quick (im really not trying to be rude). also the conversation about NSZ support is extremly old at this point. it doesnt need another dumpster fire
 
Last edited by Slluxx,

Imancol

Otak Productions
Member
Joined
Jun 29, 2017
Messages
1,346
Trophies
0
XP
2,338
Country
Colombia
NSZ author is blawar. All other reasons are bullshit.
NSZ is from Blawar. It is the only reason why it was not implemented. The rest are just excuses.

I was waiting for this implementation for years. Thanks.

--------------------- MERGED ---------------------------

Thank you for telling me ahead of time, it was my best guess. I'm not really experienced on this stuff. However, I made comments at https://github.com/blawar/goldbricks/issues/7, and the upstream author has mentioned about going to release a new version of Goldbricks soon.


Because I haven't reached the compilation part, and now learned that my result is not done right.
I'd rather you keep working on your fork.
 

Worldblender

Well-Known Member
OP
Member
Joined
May 27, 2019
Messages
304
Trophies
0
Age
25
XP
1,688
Country
United States
I was waiting for this implementation for years. Thanks.

I'd rather you keep working on your fork.
Just wondering, What attracts you to my fork? Why would you like to continue working on this fork? I just want to hear some insights since I don't get them so often.
 

Imancol

Otak Productions
Member
Joined
Jun 29, 2017
Messages
1,346
Trophies
0
XP
2,338
Country
Colombia
Just wondering, What attracts you to my fork? Why would you like to continue working on this fork? I just want to hear some insights since I don't get them so often.
I will gladly tell you, look.

Reading from USB is faster.
It has what I need, a stable installer. Simply put, it has less garbage.
Supports Amiibo emulation.
I can access the browser.

Hopefully the author would dedicate himself to creating his own NSP compressor. It is already known that it does not implement NSZ because the compressor was made by Blawar, regardless of the name. you could create a NSZ version by Xortroll. To say that it encourages piracy when emulating amiibos is an understatement.

Your implementation is necessary, since I have converted all my NSPs to NSZ on my HDD, and seeing that I could not install it in Goldleaf I ended up in the dilemma whether to go back to NSP or opt for other installers that tend to fail.
 
  • Like
Reactions: Worldblender

Worldblender

Well-Known Member
OP
Member
Joined
May 27, 2019
Messages
304
Trophies
0
Age
25
XP
1,688
Country
United States
Hopefully the author would dedicate himself to creating his own NSP compressor. It is already known that it does not implement NSZ because the compressor was made by Blawar, regardless of the name. you could create a NSZ version by Xortroll. To say that it encourages piracy when emulating amiibos is an understatement.

Your implementation is necessary, since I have converted all my NSPs to NSZ on my HDD, and seeing that I could not install it in Goldleaf I ended up in the dilemma whether to go back to NSP or opt for other installers that tend to fail.

How do you and other people know that the primary reason for NSZ not being included in upstream Goldleaf is because blawar created it?
Which other installers have you tried that have failed you? Would you be willing to try again with more recent versions of them?
 

Imancol

Otak Productions
Member
Joined
Jun 29, 2017
Messages
1,346
Trophies
0
XP
2,338
Country
Colombia
How do you and other people know that the primary reason for NSZ not being included in upstream Goldleaf is because blawar created it?
Which other installers have you tried that have failed you? Would you be willing to try again with more recent versions of them?
Reasons abound ... as if Tinleaf and Goldbricks didn't tell you anything ... apart from stealing Tinfoil's name.

The important thing is that it is done, thanks to you.

I don't use non-open source software. But if I use a version of Tinfoil modified by some Russians (of which they have the source code) that removes the absurd censorship that Hekate and Atmosphere have and implement their own store much more stable and even faster compatibility with the new Horizon and Atmosphere than the original version.
 
  • Like
Reactions: Worldblender

grey72

Well-Known Member
Member
Joined
Jul 5, 2018
Messages
272
Trophies
1
XP
1,627
Country
Antarctica
Imagine leaving out a specific file format in your installer because of a moral issue YOU have, so the hundreds of thousands who use it won't get that file format supported. What a bunch of high-horse bullshit. :rofl2:

That would be like me saying:
"I won't include 7-zip on MediCat USB, because the icon colors don't match my eyes." *nose in the air*
Was on the same boat, but I'm willing to give the guy a pass now that I know NSZ is blawar's work
 
Last edited by grey72,
  • Like
Reactions: Jayro

You may also like...

General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: https://i.imgur.com/IXlPrt6.jpeg