DacoTaco / priiloader

A Wii homebrew application that can prevent and fix some user level bricks
GNU General Public License v2.0
544 stars 101 forks source link

hacks.ini for 4.2u (v481) is not working. (getline issue) #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
i have a wii that came from ninty with 4.2u.  i did all the usual
mumbo-jumbo to softmod it and crap.  i installed priiloader and put the
hacks.ini (from wiibrew) on the root of my sd card.  when i try to access
hacks in priiloader, it says that it cant find any for my system menu
version, but they are there.

Original issue reported on code.google.com by giantpune@gmail.com on 29 Nov 2009 at 8:13

GoogleCodeExporter commented 9 years ago
btw, did you even check what version it detects with some printf/gprintf ? :P

Original comment by dac...@gmail.com on 6 Dec 2009 at 5:26

GoogleCodeExporter commented 9 years ago
ok.  it detects the correct version.  but the char*getline() function doesnt 
parse
the file from sd correctly.  it returns "version=48" for each hack.  taking out 
the
"-1" after both llen lets it return the correct values. im not sure if its 
because it
expects windows newlines or what.  but the v481 hacks.ini i got from wiibrew 
uses
0x0a.  i havent installed this on my wii or tested any farther, as i dont want 
to
install broken shit without bootmii, but now you know where its fucking up.

Original comment by giantpune@gmail.com on 9 Dec 2009 at 9:17

GoogleCodeExporter commented 9 years ago
right, thanks.

Original comment by dac...@gmail.com on 9 Dec 2009 at 3:58

GoogleCodeExporter commented 9 years ago
I've got this too :/

Original comment by MangoScango on 9 Dec 2009 at 10:06

GoogleCodeExporter commented 9 years ago

Original comment by dac...@gmail.com on 12 Dec 2009 at 2:40

GoogleCodeExporter commented 9 years ago
I'm pretty sure r39 fixed this, as the problem for me was the linux format. 
once i 
opened and saved in wordpad, it worked fine in r30

Original comment by sca...@att.net on 16 Dec 2009 at 9:06

GoogleCodeExporter commented 9 years ago

Original comment by dac...@gmail.com on 16 Dec 2009 at 9:54