Page 1 of 6

Swiss on Wiikey Fusion as initial ISO

Posted: Mon Apr 23, 2012 12:45 am
by emu_kidid
Swiss as a bootloader on the Wiikey Fusion can be implemented as two different methods:

Skip the IPL, boot directly to Swiss (custom "apploader").
Appear as a disc in the IPL just like the current menu.

Currently, I've written (ported from the official flasher) some code to do the flashing and it seems to work well as it's giving me back valid responses but I believe the file I'm flashing may be in the wrong format (layout).

This is what I've done so far:
I took a known "flash" file and injected my own DOL into it. I then flashed the entire file. The IPL with the wiikey was telling me "Please insert a GC disc" and the Wiikey was generally unresponsive. Luckily the next time I tried to flash, the recovery kicked in and took over, resulting in a working chip again (or I could've just run the official updater again).

What I'm pretty sure I actually did and why it didn't work as I expected (silly late night coding is to blame ;)):
I flashed the entire 2mb flash file to the section where "firmware" related updates are meant to sit (not the ISO file, but the actual low-level firmware that drives read commands/etc). I'll try again tonight when I get a chance, pretty sure that was my issue though and trying it tonight should hopefully give some good results!

Re: Swiss on Wiikey Fusion as initial ISO

Posted: Mon Apr 23, 2012 1:07 am
by Ashen
I can't even explain how awesome this is. I can't wait to try it!

Re: Swiss on Wiikey Fusion as initial ISO

Posted: Mon Apr 23, 2012 5:23 am
by liquitt
a gamecube thats automatically starting Swiss - shit's getting real!

Re: Swiss on Wiikey Fusion as initial ISO

Posted: Mon Apr 23, 2012 7:35 am
by mida84
Looking forward to this. Will be very useful for portables and such. Would it be possible to dual boot swiss and original menu ? That would be really cool. Can't wait !

Re: Swiss on Wiikey Fusion as initial ISO

Posted: Mon Apr 23, 2012 8:05 am
by LOCtronicz
This is going to be the best thing for portable cubes!! Can't wait!!!

Re: Swiss on Wiikey Fusion as initial ISO

Posted: Mon Apr 23, 2012 11:02 am
by _Nold_
Can't wait to be the first one with a swiss portable xD this will save me a lot of time and nervs ^^. This is just too awesome!

Re: Swiss on Wiikey Fusion as initial ISO

Posted: Mon Apr 23, 2012 10:39 pm
by emu_kidid
I didn't get any time to work on this yesterday but I'll get another chance in about 24hrs from now.. gives me some time to wire up a proper 'enable' switch onto my wiikey fusion GC.

Re: Swiss on Wiikey Fusion as initial ISO

Posted: Tue Apr 24, 2012 7:45 am
by _Nold_
If you need someone to test it, just write.. i don't have much sparetime but i'll then use it to test your swiss at the first place!

Re: Swiss on Wiikey Fusion as initial ISO

Posted: Wed Apr 25, 2012 1:56 pm
by emu_kidid
Success! I'll be tidying it up tomorrow hopefully for the masses to be able to utilize it :)

Image

Image

Re: Swiss on Wiikey Fusion as initial ISO

Posted: Wed Apr 25, 2012 2:21 pm
by Ashen
That... is... Beautiful.

Someday, I'm going to fly to Australia and buy you a beer (or 3).

Re: Swiss on Wiikey Fusion as initial ISO

Posted: Wed Apr 25, 2012 4:41 pm
by _Nold_
Damn it! You are just f***ing awesome!!! Can't wait! *~*

Btw: Shut up and give me the untidied version!!! :lol: >.<

Re: Swiss on Wiikey Fusion as initial ISO

Posted: Wed Apr 25, 2012 7:28 pm
by LOCtronicz
HOLY FLAX!!! I wasn't expecting this when I got home!!! You my friend are the god of awesomeness!!!

I can't wait to try this out. So is it just going to be like updating the wiikey via the menu? Can we also reflash it to the original wiikey menu??

Re: Swiss on Wiikey Fusion as initial ISO

Posted: Wed Apr 25, 2012 9:40 pm
by Ashen
My god, why would you ever want to. :P

Re: Swiss on Wiikey Fusion as initial ISO

Posted: Wed Apr 25, 2012 10:27 pm
by emu_kidid
LOCtronics wrote:HOLY FLAX!!! I wasn't expecting this when I got home!!! You my friend are the god of awesomeness!!!

I can't wait to try this out. So is it just going to be like updating the wiikey via the menu? Can we also reflash it to the original wiikey menu??
Yes, you can always flash back, I'll have to make some kind of "flash" pack, or you can run the original 1.5 updater again.

At the moment, the way it'll work is you'll have to select a specially crafted .fzn file from Swiss (via SDGecko/whatever) and then it'll flash your Wiikey Fusion with it. It doesn't override the firmware area (which affects the hardware and can brick, it'll only override the menu, so worst case if it messes up, you can drop the official updater back on the Wiikey SD and it'll flash that back for you).

I also have to strip the background out of Swiss for the time being for it to fit on the Wiikey Fusion flash.. I want to fix this and two other little things before I get the flash file out there. What is the preference, when it's booted from the wiikey fusion do you guys want the device selection to come up or automatically try to read/display the Wiikey Fusion files?

Re: Swiss on Wiikey Fusion as initial ISO

Posted: Wed Apr 25, 2012 11:30 pm
by Ashen
I'd say display whats on the wiikey first. Can always select device later if needed.

Re: Swiss on Wiikey Fusion as initial ISO

Posted: Wed Apr 25, 2012 11:49 pm
by LOCtronicz
Agreed. Auto list fusion slot first. They optional device selection later. I would remove every device except that of SD gecko slot A and B and Fusion Slot. Anything else won't be used anyway. Just a though though.

The reason you may want to flash it back if it doesn't work correctly. Things still need to be properly tested. But since it only flashes the menu I don't think it will matter.

Re: Swiss on Wiikey Fusion as initial ISO

Posted: Thu Apr 26, 2012 5:42 am
by _Nold_
emu_kidid wrote: At the moment, the way it'll work is you'll have to select a specially crafted .fzn file from Swiss (via SDGecko/whatever) and then it'll flash your Wiikey Fusion with it.
So, if i understand you right.. We need a running system with which can start stuff from SD-Gecko (etc.) and will flash the wiikey from there? :/
That would be bad for me, because it would be useless for my portable :(

Would it be possible to flash it with the recovery-image of WKF?

Re: Swiss on Wiikey Fusion as initial ISO

Posted: Thu Apr 26, 2012 6:00 am
by liquitt
Ashen wrote:I'd say display whats on the wiikey first. Can always select device later if needed.
so wiikey as the autoboot device so to say? yeah i'd prefer that too

edit:
well, on the wiikey sd card reader right? does it need to be wbfs then?

Re: Swiss on Wiikey Fusion as initial ISO

Posted: Thu Apr 26, 2012 6:42 am
by emu_kidid
question.. does the wiikey fusion auto-boot the 1.5 upgrade iso or we have to run it? I've forgotten how that worked.

liquitt, I'll sadly have to add in WBFS support to Swiss at some point for the wiikey fusion since I only support FAT at the moment and FAT32 is limited to 4GB files (no Wii support would be possible :\)

Re: Swiss on Wiikey Fusion as initial ISO

Posted: Thu Apr 26, 2012 6:44 am
by _Nold_
emu_kidid wrote:question.. does the wiikey fusion auto-boot the 1.5 upgrade iso or we have to run it? I've forgotten how that worked.

liquitt, I'll sadly have to add in WBFS support to Swiss at some point for the wiikey fusion since I only support FAT at the moment and FAT32 is limited to 4GB files (no Wii support would be possible :\)
Update dosn't start automatically.. Recovery does!

I'll prefer fat32 anyway :) I hate this WBFS-Tool-Stuff -.-'

Re: Swiss on Wiikey Fusion as initial ISO

Posted: Thu Apr 26, 2012 8:34 am
by liquitt
emu_kidid wrote:question.. does the wiikey fusion auto-boot the 1.5 upgrade iso or we have to run it? I've forgotten how that worked.

liquitt, I'll sadly have to add in WBFS support to Swiss at some point for the wiikey fusion since I only support FAT at the moment and FAT32 is limited to 4GB files (no Wii support would be possible :\)
it's cool. i got those unix tools running now anyway. was just a general question - i stopped ranting about wbfs ;)

Re: Swiss on Wiikey Fusion as initial ISO

Posted: Thu Apr 26, 2012 3:07 pm
by emu_kidid
I've implemented the following device priority at Swiss boot:
1. Wiikey Fusion (if detected)
2. SD Gecko (with "Default Device" selected in swiss.ini)
3. DVD (if medium is up)

I just need to iron out a bug that I think I've come across when reading from WKF and then make a standalone flasher that'll just have you confirm you want to upgrade.

Re: Swiss on Wiikey Fusion as initial ISO

Posted: Thu Apr 26, 2012 3:10 pm
by liquitt
emu_kidid wrote: 3. DVD (if medium is up)
hmmm :?


:lol:

Re: Swiss on Wiikey Fusion as initial ISO

Posted: Thu Apr 26, 2012 4:03 pm
by Ashen
I'm so excited, this all sounds great Emu.

A thought occurred to me that now that we don't have to use the official loader, we don't actually HAVE to be on WKF firmware v1.5. To test this theory I downgraded one of my Wiikey's today to v1.1 (unfortunately there is no 1.0 downgrade, and v1.0 actually autoboots the flashed .iso loader image) and booted the latest build of Swiss and voila! Loaded from my fat32 card with no problems.

Now the point of this is that it seems to me the Wiikey guys changed some timings or something with the FW 1.1+ upgrades and that it would be nice to test some games on FW 1.0 to see if the Wiikey behaves any differently with these different timings. Unfortunately, all the Wiikey's I have here are already upgraded to v1.5 and while downgrading is no problem, like I said, there is no v1.0 package available. :/

Re: Swiss on Wiikey Fusion as initial ISO

Posted: Thu Apr 26, 2012 4:36 pm
by pr0ton
Now Swiss loads .iso from WKF SD-cards, can audio from audiostreaming games work due to Swiss?