Hacking [RELEASE] WiiVC Injector Script (GC/Wii/Homebrew Support)

markehmus

Well-Known Member
Member
Joined
Jul 26, 2008
Messages
1,521
Trophies
0
Age
112
Location
in the GAME
XP
1,279
Country
Canada

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,649
Country
France
do you think you can check the ISO's header to determine if it's Wii or gamecube ? it will prevent the need to rename .iso to .gcm
if 0x18 == 0x5D1C9EA3 then it's Wii
if 0x1C == 0xC2339F3D then it's a GameCube
64 next bytes (0x20 to 0x5f) are game's title (you could use it to pre-fill the user's entry)

for the other informations:
I don't know how the WiiU titleID is working (never really looked at it yet), but the ISO has the titleID on the first 6 bytes.
not sure if it can be used to generate the WiiU channel's ID, or if it's not compatible or conflicting.
currently, the user has to invent a new ID by himself? could be bad if using an existing ID already used by the console.


0x06 = disc number, 00 = disc1, 01=disc2
but users should work a little and not put only a disc2 without disc1 in the folder, or not name a disc2 "game.iso" or a disc1 "disc2.iso". just common sense :P
but you could use that to auto-rename the ISOs.
tales_disc1.iso
tales_disc2.iso
your tool check the header and rename "00" to game.iso (or game.gcm if you need that extension for the rest of your script) and "01" to disc2.iso/gcm automatically before packing.
 
Last edited by Cyan,

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,649
Country
France
a reminder (or a first time notice for most users) :
I'm sorry, you can't share compiled and ready to install channels, nor resources for building channels.

they contain copyrighted files, which is why the users have to use JNUSTool to get the necessary files themselves directly from Nintendo's servers.
You can't share fw.img because it's (c)IOS255 (all IOS have always been forbidden to share here in any form, wad, neek, etc.), nor the official bootmovie/bootsound/bootlogo located in meta folder.
I don't know about the shaders (located in /content/ folder), but I guess it's official nintendo's code too.
and of course, most (all?) the binaries in /code/ are nintendo's. only the xml is fine.


I've been talking with KhaderWelaye to work on a very simple solution to build channels (his tool, WiiVC injector Script) so users don't have to mess with many tools and don't share copyrighted files all over the forum.
a single program to pack all the iso or dol should be easy enough to prevent sharing resources.

You can share only data you created yourself, like the gamecube background picture for created channels I've seen few post ago.
or self created /meta/ files to replace the Nintendo's copyright logo, sound, etc.

edit:
resources you can share (made by users)
custom bootLogo : https://gbatemp.net/posts/7590397
some nintendont resources : https://gbatemp.net/posts/7590108
custom Zelda WindWaker background : https://gbatemp.net/posts/7587575
empty background : https://gbatemp.net/posts/7587633 and https://gbatemp.net/posts/7590486
MGS boot files : https://gbatemp.net/posts/7589752
And this thread (I hope it has only pictures, no binaries from NUS) : https://gbatemp.net/threads/banners-icon-templates-for-wii-vc.483080/
 
Last edited by Cyan,

ItsAshleyFTW

Well-Known Member
Member
Joined
Sep 20, 2017
Messages
129
Trophies
0
Age
21
XP
555
Country
United States
I'm trying to install a GameCube game but when it appears on the system menu it is a question mark and when I tap it, it says something is wrong in the app's data.
 

Dekirai

Well-Known Member
Member
Joined
Jun 21, 2016
Messages
1,050
Trophies
0
XP
2,611
Country
Germany
I'm trying to install a GameCube game but when it appears on the system menu it is a question mark and when I tap it, it says something is wrong in the app's data.
you can't use special characters in your title like &, is that your issue?
yep that has to be a special character I had this too
 
  • Like
Reactions: wicksand420

Sumea

Disco Ninja Frog
Member
Joined
Aug 16, 2008
Messages
1,589
Trophies
1
Age
32
Location
Turku
XP
946
Country
Finland
I was trying to make settings for nintendon't from it's menu by booting the forwarder - I tried causing error for not having a included Image, or just returning to loader with home button after changing settings - What is best way to make config for autobooting gamecube games?
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,649
Country
France
the settings are generated when launching a game.
the best way is :
- run nintendont in Wii/vWii mode and play a game after choosing all the wanted settings.
- make a WiiVC forwarder (simple forwarder, not with "integrated autolaunch iso" forwarder), select a game from SD and launch it after selected wanted settings.
- get someone else nincfg file, there are plenty posted in that thread.

like said above, if autoboot is set and you launch from wiivc, it will autoboot the inserted iso, not the game on SD.

maybe it's like this :
the forwarder_autoboot is autobooting the WiiVc injected ISO
the forwarder not autoboot with nincfg autoobot setting is for autobooting last played game from SD, press B to skip autoboot and choose another SD game.
 
Last edited by Cyan,
  • Like
Reactions: Xyphoseos

Sumea

Disco Ninja Frog
Member
Joined
Aug 16, 2008
Messages
1,589
Trophies
1
Age
32
Location
Turku
XP
946
Country
Finland
the settings are generated when launching a game.
the best way is :
- run nintendont in Wii/vWii mode and play a game after choosing all the wanted settings.
- make a WiiVC forwarder (simple forwarder, not with "integrated autolaunch iso" forwarder), select a game from SD and launch it after selected wanted settings.
- get someone else nincfg file, there are plenty posted in that thread.

like said above, if autoboot is set and you launch from wiivc, it will autoboot the inserted iso, not the game on SD.

maybe it's like this :
the forwarder_autoboot is autobooting the WiiVc injected ISO
the forwarder not autoboot with nincfg autoobot setting is for autobooting game on SD

OK, I was thinking that is requirement, I had just cleared my SD card out of my gamecube files to have space for few bigger installations, so probably time to put one game back there for a moment. Thanks for the help very much!
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
45
Location
Engine room, learning
XP
15,649
Country
France
Yes, and what other characters can't I use?
accents (é, è, à, ç, ñ, etc.)
just use simple A-Z a-z and numbers only. dot and "-" are fine, but why take the risk?
edit: ah, even ":" is fine? you can try, you'll know which one you can't use if you have a bad channel.
 
Last edited by Cyan,

ItsAshleyFTW

Well-Known Member
Member
Joined
Sep 20, 2017
Messages
129
Trophies
0
Age
21
XP
555
Country
United States
accents (é, è, à, ç, ñ, etc.)
just use simple A-Z a-z and numbers only. dot and "-" are fine, but why take the risk?
edit: ah, even ":" is fine? you can try, you'll know which one you can't use if you have a bad channel.
It kind of worked, but when it loads Nintendont it says "Failed to load IOS58" or something like that.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: https://www.youtube.com/watch?v=TKyNPg7UIIc