Hacking neek2o

  • Thread starter obcd
  • Start date
  • Views 301,336
  • Replies 1,533
  • Likes 5

Maxternal

Peanut Gallery Spokesman
Member
Joined
Nov 15, 2011
Messages
5,210
Trophies
0
Age
40
Location
Deep in GBAtemp addiction
Website
gbadev.googlecode.com
XP
1,709
Country
Wiiflow appears to have a special feature that lets it command neek2o to transparently launch individual channels from the emunand without having to manually boot into neek2o. Can documentation for this API be made available to other launcher authors? Would love to see this feature in USB Loader GX, for example, because its channel browser has a banner mode that looks the most like that of the System Menu.
http://gbatemp.net/threads/neek2o.313314/page-61#post-4512796

There's a few posts here where it's explained, if nothing else.
 
  • Like
Reactions: HunterZ

flamepanther

Well-Known Member
Member
Joined
Apr 16, 2011
Messages
159
Trophies
0
XP
196
Country
United States
Hey, so here's something odd. I have a 2TB AF hard drive with 4k clusters. It works for retail Wii games and most homebrew, but crashes DM to a black screen after trying to init the drive. So does it work with UNEEK and NEEK2O? Well that gets a bit funky.

Launching the NEEK2O forwarder channel results in an immediate crash. Using "exit to NEEK" in Wiiflow also crashes. However, I can set emu NAND games in Wiiflow to launch with NEEK, and somehow they work. Weirder, I can quit the game, which returns to Wiiflow running in NEEK mode, exit to system menu, and it takes me to my NEEK mode emulated system menu! On the other hand, trying to run retail disk games from the hard drive while Wiiflow is still in NEEK mode results in a "disc read error" and a reboot.

This isn't a request for help, since I already plan on switching drives to get DM working. I just thought it was weird and wondered whether anyone knows why it does this.
 

HunterZ

Well-Known Member
Newcomer
Joined
Aug 31, 2011
Messages
63
Trophies
0
XP
146
Country
United States
Hey, so here's something odd. I have a 2TB AF hard drive with 4k clusters. It works for retail Wii games and most homebrew, but crashes DM to a black screen after trying to init the drive. So does it work with UNEEK and NEEK2O? Well that gets a bit funky.

Launching the NEEK2O forwarder channel results in an immediate crash. Using "exit to NEEK" in Wiiflow also crashes. However, I can set emu NAND games in Wiiflow to launch with NEEK, and somehow they work. Weirder, I can quit the game, which returns to Wiiflow running in NEEK mode, exit to system menu, and it takes me to my NEEK mode emulated system menu! On the other hand, trying to run retail disk games from the hard drive while Wiiflow is still in NEEK mode results in a "disc read error" and a reboot.

This isn't a request for help, since I already plan on switching drives to get DM working. I just thought it was weird and wondered whether anyone knows why it does this.
How many games are in your emunand?
 

VashTS

Beat it, son
Member
Joined
Mar 14, 2009
Messages
4,308
Trophies
1
Age
39
Location
Upstate NY
XP
3,761
Country
United States
i have similar issues with neek2o, its retarded to say the least.

it works differently depending on the number of games (Wii, Gamecube, Quadforce, and WiiWare). some hard drives work fine with lots of games, others work terribly (like 10 minutes for a transition). i have three Wii's with different HDDs, and each three have different results.

i'm not criticizing the work done! i absolutely love and appreciate neek2o. I hope it one day becomes perfect and we can stop using the stupid 512 mb nand for good.

one idea i've had is just a simple progress shown on screen to let us know whats going on. even if it just says Loading....... and the dots continue. its hard to tell when it locked up sometimes and i've spent many hours waiting to see if neek2o was going to launch.
 

flamepanther

Well-Known Member
Member
Joined
Apr 16, 2011
Messages
159
Trophies
0
XP
196
Country
United States
How many games are in your emunand?
Like a bazillion? I had the entire North American Wii shop in there at one point, but I'm cutting back. :P

Thing is, it worked on a different drive (took something like 3 min to load the system menu, but it still worked). On the current drive, I immediately get a code dump.
 

HunterZ

Well-Known Member
Newcomer
Joined
Aug 31, 2011
Messages
63
Trophies
0
XP
146
Country
United States
Like a bazillion? I had the entire North American Wii shop in there at one point, but I'm cutting back. :P

Thing is, it worked on a different drive (took something like 3 min to load the system menu, but it still worked). On the current drive, I immediately get a code dump.
I tried putting all whatever-hundreds it was on my neek2o also, and neek2o wouldn't even boot (I waited hours). I'm thinking of putting them all back on and using USB Loader GX to launch the non-problematic ones, and using Wiiflow to launch the problematic ones in neek2o mode (since it can command neek2o to boot an individual game in neek2o mode). The only potential annoyance is that once a game is booted in neek2o mode, I'm pretty sure that Wiiflow does not automatically revert to real NAND mode.
 

flamepanther

Well-Known Member
Member
Joined
Apr 16, 2011
Messages
159
Trophies
0
XP
196
Country
United States
I tried putting all whatever-hundreds it was on my neek2o also, and neek2o wouldn't even boot (I waited hours). I'm thinking of putting them all back on and using USB Loader GX to launch the non-problematic ones, and using Wiiflow to launch the problematic ones in neek2o mode (since it can command neek2o to boot an individual game in neek2o mode). The only potential annoyance is that once a game is booted in neek2o mode, I'm pretty sure that Wiiflow does not automatically revert to real NAND mode.
That's correct, it does not. On the other hand, it doesn't really matter until you want to go back to the system menu, and at that point it does have an "exit to real NAND" option.

...Well, okay, it does matter if you have a hard drive like mine that prevents Wiiflow from loading disc games from USB while in NEEK mode ;)
 

HunterZ

Well-Known Member
Newcomer
Joined
Aug 31, 2011
Messages
63
Trophies
0
XP
146
Country
United States
That's correct, it does not. On the other hand, it doesn't really matter until you want to go back to the system menu, and at that point it does have an "exit to real NAND" option.

...Well, okay, it does matter if you have a hard drive like mine that prevents Wiiflow from loading disc games from USB while in NEEK mode ;)
It also matters if the neek2o system menu never appears due to the fact that you have too many channels on the emunand. It may be possible to access the "exit to real NAND" option from another launcher though.
 

flamepanther

Well-Known Member
Member
Joined
Apr 16, 2011
Messages
159
Trophies
0
XP
196
Country
United States
It also matters if the neek2o system menu never appears due to the fact that you have too many channels on the emunand. It may be possible to access the "exit to real NAND" option from another launcher though.
I guess it doesn't matter to me (when I have a compatible drive) because I have Wiiflow set up to return back to Wiiflow when I exit a game, and then I can choose to exit "to real NAND" when I quit, so it never even tries to load the Neek2o menu in the first place.
 

Katalin

Active Member
Newcomer
Joined
Jun 24, 2013
Messages
44
Trophies
0
Age
53
XP
77
Country
Netherlands
There was an unofficial beta released a few days ago for testing which possible solved issues and loading times for nands with lots of titles, but not everything was solved with it.

Just wanted to let you know that OverjoY is working on it
 
  • Like
Reactions: Maxternal

HunterZ

Well-Known Member
Newcomer
Joined
Aug 31, 2011
Messages
63
Trophies
0
XP
146
Country
United States
There was an unofficial beta released a few days ago for testing which possible solved issues and loading times for nands with lots of titles, but not everything was solved with it.

Just wanted to let you know that OverjoY is working on it
Thanks. Is there somewhere that we can follow the progress on this?

I checked the google code page and it hasn't been updated in ages.
 

HunterZ

Well-Known Member
Newcomer
Joined
Aug 31, 2011
Messages
63
Trophies
0
XP
146
Country
United States
Check the IRC room on irc.abjects.net room #cdi for discussions and beta versions
Thanks. Are recent source changes being hosted somewhere else other than google code, or have the authors just stopped pushing their commits to a public repo altogether?
 
  • Like
Reactions: megazig

Etheboss

Official LULWUT supporter
Member
Joined
Feb 24, 2009
Messages
2,445
Trophies
0
Location
Around somewhere
XP
851
Country
Netherlands
Overjoy is experimenting now with methods on how to reduce loading time for big nands...

I'll keep you all updated on how it is going.

HunterZ : unfortunately beta's are not committed, but neek2o is still worked on..
The neek2o google code page is still the place where the latest neek revs are committed, the new rev is still not out of beta stage yet, but when it is, it will get committed.

So, if you want to try new features or see if bugs are fixed, you should take Katelin's advise.
One thing though, if you are on the IRC channel, be patient, it sometimes could take a while for someone reacts at questions or requests.
Best time to visit this channel is around 23:00 Standard European Time +1.
 

HunterZ

Well-Known Member
Newcomer
Joined
Aug 31, 2011
Messages
63
Trophies
0
XP
146
Country
United States
The neek2o google code page is still the place where the latest neek revs are committed, the new rev is still not out of beta stage yet, but when it is, it will get committed.
That's too bad. The real power of version control is being able to track the entire history of changes to the files, as well as having backups. If they instead use it to publish large change-sets, then it will be much harder to see how the code evolved, and it will be much easier to lose progress if someone suffers a hard drive crash or gets hit by a bus or whatever.
 
  • Like
Reactions: megazig

koshizoku

New Member
Newbie
Joined
Jun 1, 2010
Messages
3
Trophies
0
XP
72
Country
I'm quite frustrated trying to use neek2o and could use some assistance.

I've been hacking my Wii for years. Got a SM Wii with Bootmii as boot2 and USB formatted FAT32 with 32k clusters (single active partition). Decided recently to update my version of Wiiflow to the one at http://dl.dropboxusercontent.com/u/101209384/MasterPiece/Wiiflow_Pack.html so I could use the source menu, which works beautifully. Everything works fine except for my WW/VC games. So, to improve compatibility, I want to use the game-specific option in that version of Wiiflow to use neek2o ("Launch Title with neek2o" on page 4 of game settings); see, I don't want to actually boot into an emunand. But no where in his pack's page or the neek2o forums have I seen a detailed setup of both the USB and SD card for Uneek that works the way I want it to. Here's my setup:

USB:
3 nands that have all been tried (file structure = nands\nand1, nands\nand2, nands\nand3)
1. Abz's nand
2. My custom nand
3. A brand new modmii-created nand
Sneek files from Abz's pack (includes di.bin, diosmioslite.bin [my hdd is not compatible with diosmios], font.bin, kernel.bin, quadforce.bin).
Other files, including wiiflow, emulators, etc.

SD :
Abz said the SD files are optional (bootmii\armboot.bin and sneek\kernel.bin), but I need my own version of armboot.bin (acquired so long ago I don't remember where it came from) so I can use bootmii from priiloader. His just leads to a black screen.

EMUNAND :
I have three different ones, but here is the general layout
Necessary system menus and IOS/MIOS
Back 2 Nand
Two test games
1. VC Majora's Mask (the main reason I'm doing all this and usually a problem game)
2. WW AYIM (never had an issue loading this in any loader, used as a control)

NAND :
Neek2o v2.2b
Wiiflow channel
Wiiflow hidden channel (for use with newest revision of Wiiflow and facilitating returning to Wiiflow after exiting emulators)
etc.

I'm at wit's end regarding all this. Now, I figure if I can boot into Neek using the Neek2o channel, then Wiiflow should be able to as well. However, when I launch Neek2o from my NAND :
Mounts USB
Finds partition
Finds and loads kernel.bin
Loads mini mod into memory
Freezes on message "Reloading bootmii IOS"

Please help. :(


I'm having the same problem. All are working except that I can't go further with Reloading bootmii ios!

I am using WD My Passport 320gb. If so, what hdd's are compatible with neek2o? Thanks for the reply.
 

Katalin

Active Member
Newcomer
Joined
Jun 24, 2013
Messages
44
Trophies
0
Age
53
XP
77
Country
Netherlands
The newer beta versions have much better support for usb devices

Visit the room on IRC: irc.abjects.net room: #cdi
 

Shag

Well-Known Member
Member
Joined
Jun 8, 2011
Messages
98
Trophies
0
XP
157
Country
United States
Hey OJ,
I have had NP with latest beta will test more though, I have even used My Menufy and themed my nands. ;)
Removed an old Christmas theme from last year lol

Shag
 

obcd

Well-Known Member
OP
Member
Joined
Apr 5, 2011
Messages
1,594
Trophies
0
XP
432
Country
Belgium
I examined the loading time for big nands months ago and figured out it was mainly caused by the system menu loading all the banner animations for the channels. It not only loads those for the visible channels, but also those for the channels that become visible if you scroll to the left or the right. you can check this by starting neek and having it launch a channel instead of the system menu. Load times of that should be the same whenever you have a lot of channels or just a few. Another issue can be the size of some buffers that are used to load the channel titles for the overlay menu. If you have 2 much channels, those buffers could overflow and crash the neek system. I even provided a framework that could set channels invisible for the system menu and still made them playable with a channel launcher... I think stfour implemented it once in postloader.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BakerMan @ BakerMan:
    i said i was sleeping...
  • BakerMan @ BakerMan:
    sleeping with uremum
  • K3Nv2 @ K3Nv2:
    Even my mum slept on that uremum
  • TwoSpikedHands @ TwoSpikedHands:
    yall im torn... ive been hacking away at tales of phantasia GBA (the USA version) and have so many documents of reverse engineering i've done
  • TwoSpikedHands @ TwoSpikedHands:
    I just found out that the EU version is better in literally every way, better sound quality, better lighting, and there's even a patch someone made to make the text look nicer
  • TwoSpikedHands @ TwoSpikedHands:
    Do I restart now using what i've learned on the EU version since it's a better overall experience? or do I continue with the US version since that is what ive been using, and if someone decides to play my hack, it would most likely be that version?
  • Sicklyboy @ Sicklyboy:
    @TwoSpikedHands, I'll preface this with the fact that I know nothing about the game, but, I think it depends on what your goals are. Are you trying to make a definitive version of the game? You may want to refocus your efforts on the EU version then. Or, are you trying to make a better US version? In which case, the only way to make a better US version is to keep on plugging away at that one ;)
  • Sicklyboy @ Sicklyboy:
    I'm not familiar with the technicalities of the differences between the two versions, but I'm wondering if at least some of those differences are things that you could port over to the US version in your patch without having to include copyrighted assets from the EU version
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
  • DinohScene @ DinohScene:
    run h2testw on it
  • DinohScene @ DinohScene:
    when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying
    DinohScene @ DinohScene: when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying