Hacking Build SNEEK for VWii, linux helper script

mive

Well-Known Member
OP
Member
Joined
Jul 19, 2018
Messages
252
Trophies
0
Age
40
XP
598
Country
Germany
After meddling around with various sneek tutorials and other stuff I finally found a good source and made a simple bash script which should allow easy build of SNEEK for vWII (on linux)
(I only have a very old windows 7 install which I rarely boot, so I cant really help with windows issues, but you can try with msys2 or maybe cygwin.)

You need:
- FSToolbox (for dumping nand to sd card, [maybe usb loader gx or similar loader/tools with dump emunand feature may work also]) (I used this mod: https://github.com/WiiDatabase/FSToolBox-Mod)
- script from https://gist.github.com/vetzki/62bd8758376c5a4af5a6189c8052d2a6
- devkitpro stuff as you need to compile a boot.dol (nswitch), without I was not able to boot sneek (stuck on black screen). I can't tell you the needed packages yet (check nswitch makefile)
- some packages like git, python2 (which are usually installed on most linux distros, else use package manager and install needed stuff)

Whats next:
- dump you vWii nand with FSToolbox
- download script and copy title/00000001/00000050/content/0000000d.app in the same dir as the script (or specifiy filepath)
- chmod 755 script_name
- execute script (in terminal)
- after build finished, download sneek package (download dir is in project dir), extract contents to sd card. (sd./SNEEK and sd:/apps/SNEEK)
- ! go to nswitch dir and copy the boot.dol to sd:/apps/SNEEK/ (overwrite existing boot.dol) !
- go to sneek project dir and copy kernel_sd.bin (or kernel_sd_di.bin) to sd./SNEEK/kernel.bin (if you use kernel_sd_di.bin you need also di.bin in sd:/SNEEK)
- move FSToolbox dump to root of sd card
- boot vWii, enter homebrew channel and start sneek, booting shouldn't take that long (maybe 30s-2min). If you're stuck at a black screen you have to pull the plug as the power button wont respond

File structure
SD:
  • apps/SNEEK/
    • boot.dol (build from nswitch with armboot from mini-tree-mod [raw2c armboot.bin provides armboot.c and armboot.h])
    • icon.png
    • meta.xml
  • import/
  • meta/
  • shared1/
  • shared2/
  • SNEEK/
    • di.bin (if using kernel_sd_di.bin)
    • font.bin
    • kernel.bin
  • temp/
  • title/
  • ticket/
  • sys/
(DI CURRENTLY UNTESTED)
USB (only +DI):


https://wiidatabase.de/downloads/pc-tools/discex/


(default project location is /tmp. currently not sure about the di stuff. taken from https://wiidatabase.de/downloads/pc-tools/sneek-installer/)

(using newer devkitarm should also work, as only linking fails. I didnt check needed libs and/or making some makefile changes)

also note:
Running homebrew on vSNEEK
Remember, you have NO access to your SD card when running vSNEEK, because that's essentially your NAND. As far as your vWii is concerned, there is no SD card inserted. Everything will have to be run from USB. In addition to that, the Homebrew Channel will not work, and there's nothing you can do to change that. Just like with the real NAND, all forwarder channels will need to be run through Convert2vWii.

A great alternative to the HBC is the Homebrew Filter (mirror). Download and extract it to your SD card. Run ShowMiiWads, and if it's blank, choose "Change NAND Backup Path" from the Options menu, then select your SD card.

Next drag-and-drop "Homebrew Filter v42 - THBF.wad" to the window. Do the same for any other channels you want on your emunand, then click Install on the bottom of the window. You can close ShowMiiWads when it's done installing them.



Credits:
Big thanks to https://github.com/eluancm/sneek for a proper readme
Big thanks to the original creator of SNEEK
Thanks to JoostinOnline for the semi functional description, nswitch zip file, sneek font and app/sneek base package
leseratte10 for providing server with (ancient) devkitarm_r32
Also thanks to the creators of the needed tools and who I forgot
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
I'm not sure if you need neek2o or just regular sneek works, but some games don't run with normal emunand like castlevania adventure rebirth. you need neek for that. btw, this can work on usb as well with uneek. that's how I have my neek2o setup.
 
  • Like
Reactions: mive

mive

Well-Known Member
OP
Member
Joined
Jul 19, 2018
Messages
252
Trophies
0
Age
40
XP
598
Country
Germany
I didn't deal with neek2o yet, maybe I'll try the next days.
But building uneek (thats the usb variant, at least I think so), segfaults (the elfins command).
Do you know where I can find source for the kernel bins for neek2o ?

Also what may give headaches in the future is the included elfins binary, as only god knows how long that will work on current systems as its not static and I wasn't able to find a elfins source yet (googling "elfins" or "elfins source" show lots of garbage)

I did only short test some rf neogeo games
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
yes, you need the sneek folder on the usb for uneek. I can't recall if the files are different as it's been years.
 

mive

Well-Known Member
OP
Member
Joined
Jul 19, 2018
Messages
252
Trophies
0
Age
40
XP
598
Country
Germany
I'm not sure if you need neek2o or just regular sneek works, but some games don't run with normal emunand like castlevania adventure rebirth. you need neek for that. btw, this can work on usb as well with uneek. that's how I have my neek2o setup.

I tested the rebirth games (except the castlevania one), they seem to work fine.
I also tested Metal Slug 3 and KOF 98, both didnt work on emunand for me. They also seem to work fine.

I have an issue with Pulstar, which works fine, but pressing the home button wont show the wii menu (just black screen), could be a region issue (game is set to regionfree but maybe it needs japanese menu strings)

I also encountered a strange issue (which I didnt encounter before):
setting resolution and aspect ratio to 480/4:3 before booting vWii caused a strange graphic issue only if I booted a game (only about 1/3 of the tv screen was used. The rebirth games had additonal grapic issues, e.g. a green vertical bar [on the visible screen]). Not sure what caused this. maybe its tv related.
Didn't encounter the issue before or afterwards

I attached some photos showing Rebirth stuff working, also some which showing the graphic issue
 

Attachments

  • IMG_20210114_152417.jpg
    IMG_20210114_152417.jpg
    614.1 KB · Views: 193
  • IMG_20210114_152421.jpg
    IMG_20210114_152421.jpg
    643.9 KB · Views: 203
  • IMG_20210114_152933.jpg
    IMG_20210114_152933.jpg
    749.2 KB · Views: 216
  • IMG_20210114_154050.jpg
    IMG_20210114_154050.jpg
    654.8 KB · Views: 199
  • IMG_20210114_154550.jpg
    IMG_20210114_154550.jpg
    865.2 KB · Views: 220

mive

Well-Known Member
OP
Member
Joined
Jul 19, 2018
Messages
252
Trophies
0
Age
40
XP
598
Country
Germany
As my wiiu is eu/pal, my vwii uses pal video mode.
so I tried:
using SettingEdit (works with wine) setting video mode to ntsc -> works (game uses 480/60hz)

next thing I tried:
using SettingEdit and change Area and Game to JP, video mode to ntsc -> works (menu is in japanese)
also japanese arcade games are working (couldn't start them before, tried on regualr vwii nand, patch country string on, language set to japanese)
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
you can start in Japanese menu with a game's settings in usb loader gx from what I remember. I've done it before. I didn't check the game exactly, but the wiimote screens were in Japanese.
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,138
Country
United States
not sure. I've only tried it on the virtual wii.

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

I think that settings app is for games that don't work though. I only tested one game. actually, I don't remember which game it was though.
 

MundoU

Member
Newcomer
Joined
Apr 15, 2020
Messages
20
Trophies
0
XP
346
Country
Mexico
After meddling around with various sneek tutorials and other stuff I finally found a good source and made a simple bash script which should allow easy build of SNEEK for vWII (on linux)
(I only have a very old windows 7 install which I rarely boot, so I cant really help with windows issues, but you can try with msys2 or maybe cygwin.)

You need:
- FSToolbox (for dumping nand to sd card, [maybe usb loader gx or similar loader/tools with dump emunand feature may work also]) (I used this mod: https://github.com/WiiDatabase/FSToolBox-Mod)
- script from https://gist.github.com/vetzki/62bd8758376c5a4af5a6189c8052d2a6
- devkitpro stuff as you need to compile a boot.dol (nswitch), without I was not able to boot sneek (stuck on black screen). I can't tell you the needed packages yet (check nswitch makefile)
- some packages like git, python2 (which are usually installed on most linux distros, else use package manager and install needed stuff)

Whats next:
- dump you vWii nand with FSToolbox
- download script and copy title/00000001/00000050/content/0000000d.app in the same dir as the script (or specifiy filepath)
- chmod 755 script_name
- execute script (in terminal)
- after build finished, download sneek package (download dir is in project dir), extract contents to sd card. (sd./SNEEK and sd:/apps/SNEEK)
- ! go to nswitch dir and copy the boot.dol to sd:/apps/SNEEK/ (overwrite existing boot.dol) !
- go to sneek project dir and copy kernel_sd.bin (or kernel_sd_di.bin) to sd./SNEEK/kernel.bin (if you use kernel_sd_di.bin you need also di.bin in sd:/SNEEK)
- move FSToolbox dump to root of sd card
- boot vWii, enter homebrew channel and start sneek, booting shouldn't take that long (maybe 30s-2min). If you're stuck at a black screen you have to pull the plug as the power button wont respond

File structure
SD:
  • apps/SNEEK/
    • boot.dol (build from nswitch with armboot from mini-tree-mod [raw2c armboot.bin provides armboot.c and armboot.h])
    • icon.png
    • meta.xml
  • import/
  • meta/
  • shared1/
  • shared2/
  • SNEEK/
    • di.bin (if using kernel_sd_di.bin)
    • font.bin
    • kernel.bin
  • temp/
  • title/
  • ticket/
  • sys/
(DI CURRENTLY UNTESTED)
USB (only +DI):


https://wiidatabase.de/downloads/pc-tools/discex/


(default project location is /tmp. currently not sure about the di stuff. taken from https://wiidatabase.de/downloads/pc-tools/sneek-installer/)

(using newer devkitarm should also work, as only linking fails. I didnt check needed libs and/or making some makefile changes)

also note:
Running homebrew on vSNEEK
Remember, you have NO access to your SD card when running vSNEEK, because that's essentially your NAND. As far as your vWii is concerned, there is no SD card inserted. Everything will have to be run from USB. In addition to that, the Homebrew Channel will not work, and there's nothing you can do to change that. Just like with the real NAND, all forwarder channels will need to be run through Convert2vWii.

A great alternative to the HBC is the Homebrew Filter (mirror). Download and extract it to your SD card. Run ShowMiiWads, and if it's blank, choose "Change NAND Backup Path" from the Options menu, then select your SD card.

Next drag-and-drop "Homebrew Filter v42 - THBF.wad" to the window. Do the same for any other channels you want on your emunand, then click Install on the bottom of the window. You can close ShowMiiWads when it's done installing them.



Credits:
Big thanks to https://github.com/eluancm/sneek for a proper readme
Big thanks to the original creator of SNEEK
Thanks to JoostinOnline for the semi functional description, nswitch zip file, sneek font and app/sneek base package
leseratte10 for providing server with (ancient) devkitarm_r32
Also thanks to the creators of the needed tools and who I forgot
This I have to try! Excellent work uwu
 
  • Like
Reactions: godreborn

Visualwit

Well-Known Member
Newcomer
Joined
Jul 27, 2021
Messages
84
Trophies
0
Age
16
XP
353
Country
United States
I Get This Error: /home/visualwit/Documents/sneek/sh_build_sneek_vWii.sh: 109: /tmp/sneek_wiiu/IOSKpatch/IOSKPatch: not found
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: douche