Hacking SwitchMii - switch2sneek mod

person66

If it isn't edited, it isn't a true person66 post
OP
Member
Joined
Jun 16, 2009
Messages
1,108
Trophies
0
Location
Canada
XP
415
Country
Canada
Well, I don't know if anyone will use this, I really just made it for myself, but maybe it will be useful for someone.

So, I made this because I'm extremely lazy, and I only use SNEEK to play games that have problems with current USB loaders (like Metroid Prime Trilogy), so I wanted to have an app that would switch me to sneek, and then put the files back to normal so that when I restart the wii it loads my regular NAND (I have bootmii as boot2, so it normally just loads SNEEK again).
So thats why I made this, its basically switch2sneek that is completely automated (no need to push any buttons) and a few other improvements (UNEEK compatibility, uses bootmii as IOS, detects whether you are on emulated or regular nand automatically, and whether you are on SNEEK or UNEEK). When it is used in combination with priiloader (on emulated NAND) it achieves exactly what I wanted.

most of the code is still conanac's, I just changed a few lines here and there.

switchmiibig.png

First of all, this is the first time I have done anything related to writing apps. The closest thing I had done was making a simple web page for grade 8 info tech last year. So there are probably problems with this, even though I didn't change much.

here is the Readme (mostly the same as conanac's):

QUOTE said:
This is a simple application for switching between real NAND
and SD/USB NAND (through SNEEK).

This is a beta release so there are RISKS you could make your Wii
unoperable (i.e. bricked). Do not use this application if you
cannot take such a risk.

This app works with bootmii as boot2, and bootmii as IOS (but then I don't really see the point)

How is it different from switch2sneek?:
-Automated
-Detects if you are on SNEEK or UNEEK, and then uses the proper commands
-Checks the name of the 'switchtosneek' file to determine if you want to switch to SNEEK or your real NAND (instead of asking you)
-Uses BootMii as IOS
-Works with UNEEK

Requirements:
1. Bootmii
2. SD card has bootmii directory or folder with the following files inside:
a. armboot.bin from bootmii installation
b. armbootsneek.bin from SNEEK v2 compilation
c. ppcboot.elf from bootmii installation
d. bootmii.ini
e. switchtosneek (blank file, no extension)
3. SD card has apps directory or folder, and inside that folder:
a. switchmii folder with the following files:
     i. boot.dol
     ii. icon.png
     iii. meta.xml
Instructions:
The app does most of the work, once the above files are on your sd card, just run the app.
It will detect wheather you want to switch to SNEEK/UNEEK or BootMii (it checks the name of the "switchtosneek" file)
Then it will switch.

By default, if your switching from SNEEK/UNEEK back to your NAND, it will reboot the Wii once it's done setting up the files.
However, you can change this by creating a new blank file (without an extension) in the "bootmii" directory and naming it...
i. 'exitmii' -- If you want it to go back to the Wii menu (still in SNEEK, useful when using in combination with priiloader)
ii. 'shutdown' -- If you want the wii to shut down once its done

NOTE: If it finds both 'exitmii' and 'shutdown' it will just reboot like normal.

Video:
Sorry, I didn't feel like digging out my easycap and installing the drivers, so I just used a camera and a tripod.
[youtube]apIGYdgJA4A[/youtube]

Download (with source & forwarder channel): SwitchMii - MediaFire
 

scooby74029

wanttabe dev
Member
Joined
May 7, 2010
Messages
1,357
Trophies
1
Age
48
Location
oklahoma, USA
Website
www.wiithemer.org
XP
1,330
Country
United States
hey i like that

i ann another guy from the forums here are working on a usbloader for s/uneek at the moment

when done it will load channels -games extracted from discex and hopefully .wbfs files

so far we have it loading games in extracted form and then go back to system menu to play

also redid the sneek di so it recognizes .wbfs files and we are slowly progressing

this might come in handy yet our mod of sneek uses sorgs ios253

and i made a loader for it that launches either sneek or uneek

well ill check this out more later and get back to you might see if you can redo it to work with ios253 too

scooby74029
 

cladian

Member
Newcomer
Joined
Jul 10, 2011
Messages
16
Trophies
0
XP
7
Country
El Salvador
Hi,

I am trying to get this app to work because i've been searching for an app I can load from priiloader to boot into sneek and then back to the system menu. I understand your guide except for the blank file part. Could you explain that part a bit more, I have googled creating a blank file but nothing seems that relevant.

Thanks!
 

kylster

mich weich töten
Member
Joined
Sep 11, 2010
Messages
1,393
Trophies
0
Age
37
Location
Fr33D0M R1N6
XP
472
Country
United States
I believe he means any document with the extension removed. This is a blank file.

exitmii.doc but if you remove the extension .doc it becomes a blank file which can't be opened untill its associated with a program. Hope this helps.

I may be wrong but this is my interpretation of a blank file. If you test it let me know
tongue.gif
 

cladian

Member
Newcomer
Joined
Jul 10, 2011
Messages
16
Trophies
0
XP
7
Country
El Salvador
I managed to use this to switch from my regular nand to the sneek nand but it doesn't work for switching from my sneek nand back to my regular nand. I have a blank file called switchtosneek in the bootmii folder on the sd. However I am thinking that since the sneek nand is running from the sd that it would need to get instructions from another location. Is anyone else able to use this app properly? I would love to have my set up match what is done in the video.
 

person66

If it isn't edited, it isn't a true person66 post
OP
Member
Joined
Jun 16, 2009
Messages
1,108
Trophies
0
Location
Canada
XP
415
Country
Canada
I believe that if you are using SNEEK (not UNEEK) then you will have to compile it with SD card access enabled. If you don't know how to do this just PM me and I will send you the files.

EDIT: for the blank file you can just copy the 'switchtosneek' file and rename it to whatever
 

rykotxet

Member
Newcomer
Joined
Jul 12, 2006
Messages
9
Trophies
1
Age
41
Website
Visit site
XP
193
Country
Hi. This app is just what I need, but I'm not able to make it work properly. It only works when I want to switch from real nand to uneek nand. When I try to switch from uneek nand to real nand I get a black screen and I have to hard-reset my Wii. After the reset, the switch isn't done.

My Wii has bootmii installed as boot2 and priiloader isn't installed. System Menu is 4.1E (and uneek emulated nand has the same). Uneek nand is clean (created with ModMii), so it hasn't any cIOS. "Switchtosneek" blank file is present at bootmii folder. In the emulated nand, I can load switchmii through the forwarder and from Homebrew Filter, but I get the same black screen anyways. Of course, I followed exactly the instructions of readme.txt, so... Any ideas about what could be wrong?
 

zizer

Well-Known Member
Member
Joined
Aug 23, 2010
Messages
2,036
Trophies
0
Website
Visit site
XP
167
Country
G0dLiKe said:
Nice, say is this supposed to work with sneek-di?

QUOTE(person66 @ Jul 27 2011, 12:40 AM) I believe that if you are using SNEEK (not UNEEK) then you will have to compile it with SD card access enabled
 

G0dLiKe

who needs a title ;)
Member
Joined
Aug 2, 2009
Messages
1,674
Trophies
0
Website
db.tt
XP
206
Country
United States
zizer said:
G0dLiKe said:
Nice, say is this supposed to work with sneek-di?

QUOTE(person66 @ Jul 27 2011, 12:40 AM) I believe that if you are using SNEEK (not UNEEK) then you will have to compile it with SD card access enabled

Quoting as answer, great
unsure.gif


yes or no would be ok but I guess yes.
 

Captain_N

Well-Known Member
Member
Joined
Mar 29, 2010
Messages
1,903
Trophies
2
XP
2,024
Country
United States
I got a SNEEK Channel that when launched boots SNEEK or UNEEK. Its a fowarder channel that boots bootmii ios. Just use a sd card with the SNEEK/UNEEK files and it will boot it.
when you turn off the wii and power it on the wii will boot your real NAND
 

person66

If it isn't edited, it isn't a true person66 post
OP
Member
Joined
Jun 16, 2009
Messages
1,108
Trophies
0
Location
Canada
XP
415
Country
Canada
Captain_N said:
I got a SNEEK Channel that when launched boots SNEEK or UNEEK. Its a fowarder channel that boots bootmii ios. Just use a sd card with the SNEEK/UNEEK files and it will boot it.
when you turn off the wii and power it on the wii will boot your real NAND
Doesn't work if you have bootmii as boot2, because then SNEEK/UNEEK just starts up when you turn your wii back on.

But I don't even use this anymore, after I found out about Sorg's IOS253, I just use that, and have the bootmii folder on my USB drive.
 

papermanzero

Well-Known Member
Member
Joined
Nov 20, 2009
Messages
353
Trophies
0
XP
273
Country
Gambia, The
No, Modmii doesn't contain switchmii.
That's why I am asking. I like the project because it's the most simple way to change between emulated and real nand.
 

XFlak

Wiitired but still kicking
Member
Joined
Sep 12, 2009
Messages
13,811
Trophies
3
Age
38
Location
Cyprus, originally from Toronto
Website
modmii.github.io
XP
9,801
Country
Cyprus
ModMii has a neek2o channel, containing the nswitch dol, which allows you to switch from real nand to emunand and vice versa. ModMii also supports switch2uneek, for users who want to be able to switch between multiple emunands running neek (not necessary for neek2o as you can switch between emunand from within neek2o).

IMHO, nswitch is better than any other method of launching neek, as it does not require a bootmii folder on the sd card. This means users with bootmii as boot2 can turn on their wii directly to real nand instead of always auto-loading neek. Also, users can keep the standard bootmii folder on their sd card and access bootmii via the HBC\priiloader\etc, while still being able to launch neek via nswitch. Lastly, it allows users to load uneek without requiring an sd card (may not be applicable to this topic as an sd card is always required for sneek)
 

obcd

Well-Known Member
Member
Joined
Apr 5, 2011
Messages
1,594
Trophies
0
XP
432
Country
Belgium
it looks like you haven't heard of neek2o yet.

it has a channel to switch from real nand to uneek. (even without sd card in the wii)
it has a channel to switch back from uneek to real nand.
it has an option to switch between emulated nands on the fly. nands can reside in subfolders.
the emulated nands don't need to be on the root.
it can launch game backups in wbfs format.
 

mikefor20

Well-Known Member
Member
Joined
Jan 12, 2009
Messages
1,920
Trophies
2
Location
Mushroom Kingdom ( o Y o )
XP
3,801
Country
United States
Just use neek2o and nSwitch. Use modmii to build it. Neek2o is better than sneek. There is a channel too on the neek2o Google code page,

http://code.google.com/p/custom-di/

I switched after 2 years of uneek. There is a sneek equivalent too.

Check it out.
 

papermanzero

Well-Known Member
Member
Joined
Nov 20, 2009
Messages
353
Trophies
0
XP
273
Country
Gambia, The
Neek2o is not the use case I am searching for (that's what I am believing ^^, but maybe I am completely wrong)

I would like to boot the emulated nand like an application from the homebrew channel (e.g like mighty channel does).
Mean, select an App in the Homebrew Channel in order to boot the nand. I don't want to use the "start Bootmii" Option in the homebrew channel, because I am using bootmii in parallel.
If I reached the emulated nand I would like to exit the emulated nand as well (it's like to quit the app)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    NinStar @ NinStar: you are a product of my imagination