Hacking SneekFlow

SanGor

Witchhunter
Member
Joined
Aug 21, 2008
Messages
993
Trophies
0
Website
Visit site
XP
215
Country
United States
I think we should stick to the topic, what me puzzles me a bit that there are only a few changes needed to make WiiFlow work on SNEEK, yet the the coders of WiiFlow never added support?

Maybe since they know the changes now they can keep WiiFlow working with SNEEK?
We all know it runs pretty much all games without any altdol and IOS patching stuff.

About the HP game; companies can pick their own filename for the savefile.

@Slimmmmmm if you know about the issue why not code a fix? or at least post an issue?
There is not a signle issue about that problem at the SNEEK page!
 

Slimmmmmm

GBAtemp MoNkEeE
Member
Joined
Nov 1, 2007
Messages
1,770
Trophies
0
Location
the land of lol
XP
528
Country
Sangor, I don't know if it's been fixed in SNEEK (and my Wii is too long winded to get it to the right environment to test and return it to where it is now). But I'm sure it's still there. Crediar knows about it as I told him in irc about it before.

I noticed this a long time ago, very long ago, My kid had completed the crap games within a couple of hours so I didn't waste time or persist other than point it out to some other devs it concerned.
'cause well you never know we might get Zelda : Skyward Sword
tongue.gif


Nicksasa coded a fix into bluedump for the HP games iirc.

Wanin etc are aware of it too.

It's very rare, but I'm an ass that likes to point it out, and some other games may have the problem now, and may in the future.
 

lenny_kano

Member
OP
Newcomer
Joined
Jan 6, 2011
Messages
23
Trophies
0
XP
8
Country
@SanGor

These modifications only allow you to use wiiflow as a substitute for mighty channels or triiforce, as a frontend for channels in sneek. to modify wiiflow to actually load games in sneek is a much bigger change which is very difficult to do. I'm pretty sure the WiiFlow devs would have been able to do what i did themselves if they wanted to.
 

Blue-K

No right of appeal.
Member
Joined
Jun 21, 2008
Messages
2,572
Trophies
0
Location
Helvetica
XP
209
Country
Swaziland
Slimmmmmm said:
jodur said:
What files names are u refering to? The wbfs or iso files names can't be the problem! Perhaps you are refering to SNEEK, but i am talking about Uniiloader!
Uniiloader can load iso or wbfs files. Sneek uses the raw file structure. perhaps you are refering to that.
As far as i know you will have 100% compatibility with uniiloader! To bad sorg stopped with it!!!

The saves for example .... Harry Snotter : blah blah

The colon : can't be written to NTFS or FAT.
Well, that doesn't mean that it won't work, you know? You shouldn't jump to conclusions so quick, Harry Potter and the Half-Blood Prince for example works fine here, no problems at all. I have yet to find a game that doesn't work (besides Rock Band/Guitar Hero, which both work, but the Instruments don't, afaik). I guess it just does what FS-Dumper does, replace the faulty letter/sign with one that works on FAT32 when the game writes/reads the save.

@Topic: I'm still wondering why nobody (except sorgelig) sees the enorm potential in this and want to polish/make loaders compatible with it. The cIOS is simply a dead end, and will only continue to be a target for Ninty. Oh well, you're loss, right?
 

jodur

Well-Known Member
Newcomer
Joined
Sep 12, 2009
Messages
62
Trophies
0
XP
74
Country
Netherlands
Blue-K said:
@Topic: I'm still wondering why nobody (except sorgelig) sees the enorm potential in this and want to polish/make loaders compatible with it. The cIOS is simply a dead end, and will only continue to be a target for Ninty. Oh well, you're loss, right?

You're totally right! Uniloader concept is Beautifull, to bad no sources available otherwise other developers could take over the development!
 

Slimmmmmm

GBAtemp MoNkEeE
Member
Joined
Nov 1, 2007
Messages
1,770
Trophies
0
Location
the land of lol
XP
528
Country
Blue-K, I'm not jumping to conclusions. If you read my posts then you'd see It didn't work the last times I checked and I mention this was a long time ago. If it's been fixed then I wouldn't know unless I never got the memo
tongue.gif


Maybe chainloading a few diff apps could get close to what you want lenny_kano?
 

DEFIANT

a daft old man who stole a magic box and ran away
Member
Joined
Dec 9, 2008
Messages
364
Trophies
1
Location
Gallifrey
Website
www.youtube.com
XP
1,390
Country
United States
Can loading be sped up?

I've managed to install all the wiiware an virtual console games to test this fully under load.

It take up 40s-1min to load from sneek cold start and an addition 30-45s to load between switching games. That's way too long for my patience. I'm a "want it now" kinda guy but whatever...

I've notice uniiloader can do it 3-5s.

Can sneek be ran from a solid state drive? Would that improve speed all around?
 

lenny_kano

Member
OP
Newcomer
Joined
Jan 6, 2011
Messages
23
Trophies
0
XP
8
Country
QUOTE said:
QUOTE said:
I've made some progress on finding how to make wiiflow interact with sorg's di module with wbfs support. Basically all that needs to be done (seemingly) is delete the cache.dat and state.dat from titles/00000001/00000002, and write a diskmap.sys with the information necessary for the di module to mount the disc. Ive been testing and manually checking values, and I've almost figured out the format for the diskmap.sys file:

0000-0007 is usually 00 00 00 01 00 00 00 01 - will do more testing soon but i believe the numbers are references to number of fragments/files.

0008-2007 are bytes 300-22FF of the wbfs file itself

2008-200B i believe is the offset to the file on disc (which I have no way to figure out or check. Any ideas?)

200C-200F is the size in bytes / 512 (number of sectors?)

2010-2013 is 00 00 00 00 (end of file?)

like i said more testing to do to determine exact format and what actually happens when files are fragmented or split, but this is a good start.
now i just need to know some isfs commands to test writing values and reading them from the files, to see if this actually does work.

quick update before bed:

tested uniiloader mounting gh 5 which was in 5 parts, one of which was fragmented. results supported my theory.

byte 07 was 6 (5 parts, one in 2 fragments = 6 fragments)

then from 2008 onwards had:

2008-200B was 1D CF CE A7 (offset for start of file .001)
200C-200F was 00 20 00 00 (size of .001 - 1 gig)
2010-2013 was 1B E2 54 27 (offset for .002)
2014-2017 was 00 20 00 00 (size of 002 - 1 gig)
2018-201B was 1C 02 54 27 (offset for .003 (exactly 00 20 00 00 more than .002, makes sense some parts will be together on disk)
201C-201F was 00 20 00 00 (003 - 1 gig again)
2020-2023 was 1C 22 54 27 (.004, again exactly 1 gig past previous)
2024-2027 was 00 19 79 80 (.004 was fragmented, this is size of first fragment)
2028-202B was 1D C9 18 27 (offset for second fragment of 004 - completely different area of disk, makes sense)
202C-202F was 00 06 86 80 (004 size second fragment, note this + size of first fragment = 00 20 00 00 = 1 gig)
2030-2033 was 1D CF 9E A7 (005 offset = last offset + last size again)
2034-2037 was 00 00 30 00 (005 size, last part of disc image)
2038-203B was 00 00 00 00 (escape sequence for end of file listing i believe)

hopefully this made some sense, but basically it means i now know how uniiloader mounts the discs with sorgs di using wbfs, so i just need the programming to do so, as Ive mentioned I barely know c++ and only bought a wii 2 months ago so don't have the skills myself.

basically need:

if (cache.dat exists) delete
if (state.dat exists) delete // not sure about this, but i did it anyway while i was testing
if (diskmap.sys exists) delete
create diskmap.sys
write 00 00 00 01 00 00 00
int i = 1
while
{
if exists *gamename*.wbf"i" i++;
else break
}
write i to 0x07

read bytes 300-22FF from wbfs file
write to bytes 0008-2007 of diskmap.sys

for (int j=0; j
 

lenny_kano

Member
OP
Newcomer
Joined
Jan 6, 2011
Messages
23
Trophies
0
XP
8
Country
puneek wiiflow used the sneek di commands to list and mount discs. Dont have the source for sorgs di or uniiloader so have to do it the hack way i think.
 

DEFIANT

a daft old man who stole a magic box and ran away
Member
Joined
Dec 9, 2008
Messages
364
Trophies
1
Location
Gallifrey
Website
www.youtube.com
XP
1,390
Country
United States
What changes need to made to make this load the emulated nand on the sd/sdhc card while running in the real wii? Kinda like how mighty channels or triforce works.

I think that if I can split the virtual console games, to work off the sd/sdhc card... 100% compatibility?

and the wiiware games, to work on the emulated nand... again 100% compatibility?

This might speed things up and still have the best of both worlds.
 

lenny_kano

Member
OP
Newcomer
Joined
Jan 6, 2011
Messages
23
Trophies
0
XP
8
Country
nice one. Looks good. About emulating nand in wiiflow, sorry but that would be a lot more coding to do. Im still trying to get wiiflow to work with sorgs di, but cant figure out how to get the sector of the start of a file.
 

moosehunter

Well-Known Member
Member
Joined
Nov 26, 2008
Messages
219
Trophies
0
XP
342
Country
United States
DEFIANT said:
Can loading be sped up?

I've managed to install all the wiiware an virtual console games to test this fully under load.

It take up 40s-1min to load from sneek cold start and an addition 30-45s to load between switching games. That's way too long for my patience. I'm a "want it now" kinda guy but whatever...

I've notice uniiloader can do it 3-5s.

Can sneek be ran from a solid state drive? Would that improve speed all around?

Really? It only takes about 10 seconds for me.
 

DEFIANT

a daft old man who stole a magic box and ran away
Member
Joined
Dec 9, 2008
Messages
364
Trophies
1
Location
Gallifrey
Website
www.youtube.com
XP
1,390
Country
United States
lenny_kano said:
nice one. Looks good. About emulating nand in wiiflow, sorry but that would be a lot more coding to do. Im still trying to get wiiflow to work with sorgs di, but cant figure out how to get the sector of the start of a file.No problem, sorry to trouble you, just thought I'd ask...Thanks for your time in this...It's appreciated.

moosehunter said:
QUOTE(DEFIANT @ Jan 22 2011, 01:25 PM) Can loading be sped up?

I've managed to install all the wiiware an virtual console games to test this fully under load.

It take up 40s-1min to load from sneek cold start and an addition 30-45s to load between switching games. That's way too long for my patience. I'm a "want it now" kinda guy but whatever...

I've notice uniiloader can do it 3-5s.

Can sneek be ran from a solid state drive? Would that improve speed all around?

Really? It only takes about 10 seconds for me.
Hmmm...10s you say...might be my hard drive then? I'm using a Western Digital "My Book" 1TB (10EADS)(External)[This also contains all my wii games (wbfs) too]. I've got a couple of smaller hard drives laying around... maybe I'll switch them out and see if it's really my hard drive.

Thank you for your input though...I've got a goal to shoot for now =)
 

lenny_kano

Member
OP
Newcomer
Joined
Jan 6, 2011
Messages
23
Trophies
0
XP
8
Country
I use a 2tb WD MyBook and a 1tb WD Elements and havent had any trouble with either. Have you tried defragmenting? That can cause speed issues, i would try that first.
Also I tried compiling that wiiflow uneek and I get dsi within 2 seconds of starting. I even changed some of the source which I think will enable it to mount games in uneeks di, but no way to test it. It dsi'd even when I compiled the original source, so it wasnt my changes that caused it.
 

DEFIANT

a daft old man who stole a magic box and ran away
Member
Joined
Dec 9, 2008
Messages
364
Trophies
1
Location
Gallifrey
Website
www.youtube.com
XP
1,390
Country
United States
lenny_kano said:
I use a 2tb WD MyBook and a 1tb WD Elements and havent had any trouble with either. Have you tried defragmenting? That can cause speed issues, i would try that first.
Also I tried compiling that wiiflow uneek and I get dsi within 2 seconds of starting. I even changed some of the source which I think will enable it to mount games in uneeks di, but no way to test it. It dsi'd even when I compiled the original source, so it wasnt my changes that caused it.
I tried defragmenting... It's a little better. From what I've been reading Sneek gets slower the more you load on the emulated nand. I have 748 items installed on my nand. I'm thinking you guys don't have that much installed on your nand?
Maybe I'll partition my hard drive to include sneek on the first partition and my wbfs games on the second. That way sneek is closer to the fastest part of the hard drive.

Now for some good news...I've completed my throbber mod.

wait01.png


The modified pics:
http://www.megaupload.com/?d=L5WG35N4
http://www.mediafire.com/?dtj3nvutl52r9q3

The compiled boot.dol with modified pics (for those who can't compile---hey, I've been there):
http://www.megaupload.com/?d=895PLLTX
http://www.mediafire.com/?gefp640c78ygjbt

EDIT: Fixed...Saved my pics in 8bit instead of 32bit (DOH!)...All's good...

If you downloaded before the fix... just redownload, drag n drop over boot.dol.


Enjoy...!
 

Site & Scene News

Popular threads in this forum

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