Hacking SneekFlow

lenny_kano

Member
OP
Newcomer
Joined
Jan 6, 2011
Messages
23
Trophies
0
XP
8
Country
Just posting this because I had a pm from someone asking if i wanted to maintain a build of wiiflow with the modifications i made to run channels in uneek, and if i could add wbfs or uneek di loading to it. Unfortunately, as the code I'm about to post shows, I'm not capable. I would be very happy to get rid of uniiloader, but unfortunately its the only choice at the moment if you want wbfs on an emulated nand with full compatibility and no cios.

To make wiiflow work in uneek, just make these changes:

In Makefile, line 59, changed:

ios := 249
to
ios := 56

(no cios installed )

In main.cpp, line 89,

iosOK = iosOK && mainIOSRev >= mainIOSminRev;
to
iosOK = true;

(to bypass cios checks)

main.cpp, line 110

wbfsOK = WBFS_Init(WBFS_DEVICE_USB, 1) >= 0;
to
wbfsOK = true;

(to stop hard drive waiting screen / freezes)

main.cpp, line 178

bool dipOK = Disc_Init() >= 0;
to
bool dipOK = true;

(don't initialise dip)

menu.cpp, line 255

m_current_view = COVERFLOW_USB;
to
m_current_view = COVERFLOW_CHANNEL;

(to boot straight into channel view and avoid possible errors with nonexistent wbfs)

and last but not least, fs.h lines 6,7,8

#define APPDATA_DIR "wiiflow"
#define APPDATA_DIR2 "apps/wiiflow"
#define CFG_FILENAME "wiiflow.ini"
to
#define APPDATA_DIR "sneekflow"
#define APPDATA_DIR2 "apps/sneekflow"
#define CFG_FILENAME "sneekflow.ini"

(so the normal wiiflow isnt disrupted at all)


As you can see, the above changes are fairly minor, but enough to make wiiflow a great frontend for usb nand channel loading. If wiiflow added support for wbfs through uneek in the same way as uniiloader does, i would be very happy, but unfortunately I am just a part time coder with no real skills. And i am aware that it should be called uneekflow, cause it wont work through sneek (i think? no sd access.)
 

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,381
Country
United States
Hopefully someone out there could be of some help.

My wii would be so comeplete with sneekflow + wbfs access.

Thanks again, lenny_kano, your aces in my book.
 

scooby74029

wanttabe dev
Member
Joined
May 7, 2010
Messages
1,357
Trophies
1
Age
48
Location
oklahoma, USA
Website
www.wiithemer.org
XP
1,327
Country
United States
@ lenny

i too have been trying to add .wbfs support to a loader for uneek but as you said I too am only a beginner at coding and my skills are well poop

if you would like to I would be willing to help you out anyway i can

pm me if interested i have made one program and edited the sources of triiforce_mrc and mighty_channels to both work with Uneek

well let me know either way

and I would like to get your uniloader for the wbfs if it loads .wbfs files from fat not from wbfs formated drive

scooby74029
 

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,381
Country
United States
Here's a homebrew icon I "made"(pasted)...My contribution, even if it's a small one.

sneekflow.png
 

scooby74029

wanttabe dev
Member
Joined
May 7, 2010
Messages
1,357
Trophies
1
Age
48
Location
oklahoma, USA
Website
www.wiithemer.org
XP
1,327
Country
United States
guys i dont think that lenny is going to keep this up

but i am going to take it on i am adding this mod to my program SneekyCompiler_SSE

along with the option of either Triiforce_MRC or Mighty_Channels for Uneek

@defiant

nice job i will use that if its ok
 

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,381
Country
United States
scooby74029 said:
@defiant

nice job i will use that if its ok
Sure, no problem...That's why its here.


Also... here is the compiled "sneekflow" taken from lenny_kano's post in "Mighty Channels" topic:

http://www.mediafire.com/?m96qtdd6d70r939

I figured it would be easier to find it here instead of there. Hope this is ok....I don't want to step on anyone's toes.

Maybe the mods could slap this link to lenny's first post or something, that would be alright by me.
 

scooby74029

wanttabe dev
Member
Joined
May 7, 2010
Messages
1,357
Trophies
1
Age
48
Location
oklahoma, USA
Website
www.wiithemer.org
XP
1,327
Country
United States
well if anyone wants to try this out they can either download from Defiants link or they can use my program SneekyCompiler_SSE v1.0

get it here http://www.mediafire.com/?cyo8eg1rq3ke1jb

with my program you can download all programs needed for sneek/uneek compiling and compile automatically or choose the revision you would like to compile
also you can get Sneeky_Triiforce_MRC, Sneeky_mighty_channels, or the new Sneekflow
and just copy to sd or usb

the above wiiware/vc loaders are only for Uneek at this time(because my programming skills are still poop)

thanks and hope this helps some of you out

scooby74029
 

jodur

Well-Known Member
Newcomer
Joined
Sep 12, 2009
Messages
62
Trophies
0
XP
74
Country
Netherlands
WiiBricker said:
You can try asking sorgelig for the source of Uniiloader or some help with the implementation of wbfs support.

I doubt if sorg is willing to do this, but it would be really nice!!!
You will then have 100% compatibility and no need for any cios any more!!
I now use Uniiloader for the reload cios games only (COD3, SAM and MAX etc...)

The concept Uniiloader with wiiflow interface would be the "app" for the WII!!
 

lenny_kano

Member
OP
Newcomer
Joined
Jan 6, 2011
Messages
23
Trophies
0
XP
8
Country
its not that i dont wanna keep it up, its just a temporary hack to use wiiflow for ww/vc in sneek. Afaik wiiflow itself is planned to use normal ios 58 eventually, and if they give the option of auto booting channel instead of game list when no hdd games present, my whole modification is redundant. Sneekflow is just a temp solution. Plus even if sorg did give me his source, i wouldnt know wat to do with it
tongue.gif
glad some people find it useful.
 

Slimmmmmm

GBAtemp MoNkEeE
Member
Joined
Nov 1, 2007
Messages
1,770
Trophies
0
Location
the land of lol
XP
528
Country
jodur said:
WiiBricker said:
You can try asking sorgelig for the source of Uniiloader or some help with the implementation of wbfs support.

I doubt if sorg is willing to do this, but it would be really nice!!!
You will then have 100% compatibility and no need for any cios any more!!
I now use Uniiloader for the reload cios games only (COD3, SAM and MAX etc...)

The concept Uniiloader with wiiflow interface would be the "app" for the WII!!

No softmod way of playing games allows 100% compatibility when using an emulated nand that stores files on NTFS or FAT file systems because some characters that are in the names of files are not allowed to be written. Fair enough these games are crap, but lets stick to the facts.

So Deluxe, SNEEK and uLoader (uLoader has other problems) all have games that they can't play correctly.

There are a number of ways to fix this including replacing these characters "on the fly" but it has problems and is not as straight forward as it at first seems. Another option is to have a non windows FS (like wbfs for example) but most devs want to move away from that type of thinking and use a more popular FS that helps in many ways with development.

I've no time for the Wii just now, so am glad I saw this topic because I never knew there was a sneekflow until now
smile.gif
 

scooby74029

wanttabe dev
Member
Joined
May 7, 2010
Messages
1,357
Trophies
1
Age
48
Location
oklahoma, USA
Website
www.wiithemer.org
XP
1,327
Country
United States
@ wiibricker

I am not sure but the onlt way to save to the real nand would be to use a savegame mananger.

@ pizzapino

No di or wbfs as of yet but i am trying to work on this but as you all know i am a beginner at programming so dont expect to much unless a real dev would like to help me out. I am trying though.

scooby74029
 

jodur

Well-Known Member
Newcomer
Joined
Sep 12, 2009
Messages
62
Trophies
0
XP
74
Country
Netherlands
Slimmmmmm said:
No softmod way of playing games allows 100% compatibility when using an emulated nand that stores files on NTFS or FAT file systems because some characters that are in the names of files are not allowed to be written. Fair enough these games are crap, but lets stick to the facts.

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!!!
 

Slimmmmmm

GBAtemp MoNkEeE
Member
Joined
Nov 1, 2007
Messages
1,770
Trophies
0
Location
the land of lol
XP
528
Country
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.
 

jodur

Well-Known Member
Newcomer
Joined
Sep 12, 2009
Messages
62
Trophies
0
XP
74
Country
Netherlands
Slimmmmmm said:
The saves for example .... Harry Snotter : blah blah

The colon : can't be written to NTFS or FAT.

You mean the gamesaves? Do you have a link to a topic were this is mentioned. As far as i know games saves are not stored in the nand filestructure with there Name.
 

Slimmmmmm

GBAtemp MoNkEeE
Member
Joined
Nov 1, 2007
Messages
1,770
Trophies
0
Location
the land of lol
XP
528
Country
I'm not saying I saw it in a topic, so I can't find a link.

I've saw this in real life, if you doubt me get a herry potter game and see for yourself.
If you don't have a harry potter game (or one of the others that do this, can't remember any off the top of my head) then unpack ANY save with FE100 and you will see the saves have all sorts of names when unpacked.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    NinStar @ NinStar: It will actually make it worse