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

newline/zero #67

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Just compiled and installed R77
it shows in gecko the message

failed to find the newline\zero byte @ 0x8140451f4

is this an issue?

Original issue reported on code.google.com by yvonne.m...@gmail.com on 19 Mar 2010 at 10:50

GoogleCodeExporter commented 9 years ago
that is a hacks.ini issue. is your hacks.ini good? :/

Original comment by dac...@gmail.com on 20 Mar 2010 at 6:42

GoogleCodeExporter commented 9 years ago
it was ok, with r69, or better, until then i didnt got an report

is there anything i should look for?

Original comment by yvonne.m...@gmail.com on 20 Mar 2010 at 9:04

GoogleCodeExporter commented 9 years ago
keep in mind that gprintf() wasn't there before.
also keep in mind that the gprintf means nothing bad if the hacks still gets 
read
normally...

if not, the new getline stuff (eventho it shouldn't cause any drastic changes) 
must
not like your hacks.ini and i would like it if you would upload it so i can 
reproduce it

Original comment by dac...@gmail.com on 20 Mar 2010 at 9:27

GoogleCodeExporter commented 9 years ago
Dont get shocked, this is my monster hacks.ini for every wii i get on my desk,
independend of the sysmenu :)

It worked until now fine

I have an issue since some weeks, that shutting down from cfg loader (dont know 
if in
other cases too) sometimes does not ignore standby, so the wii wont turn 
complete
off, and the hdd does not switch off
maybe...?!?!? this could be an issue, but again, sometimes it works, sometimes 
not, i
wasnt able to be sure for a reproducable scenario, but i also didnt dig deeper 
into it

Original comment by yvonne.m...@gmail.com on 20 Mar 2010 at 12:15

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
the turning off depends on what shuts down and how (a game, usbloader itself etc
etc). eitherway ill take a look at the hacks.ini

seeing the hacks.ini in a hex editor i think i know what happens, to confirm i 
need
to know if the hacks.ini still gets loaded fine

if it does, the last line doesn't have a newline (0x0d 0x0a is a windows 
newline in hex)
if it doesn't then ill need to do more tests

for me it loaded fine meaning its just a minor report. the reason it says that 
now is
cause i left that gprintf() there. i suggest you edit the hacks.ini to have a 
newline
at the end just to be sure, but it shouldn't matter :)

Original comment by dac...@gmail.com on 20 Mar 2010 at 1:27

GoogleCodeExporter commented 9 years ago
Hi Daco

there was no "return" after the last line, just added in windows an line end, 
and the
message disappeared

Thanks for claryfing, maybe you can look for a last line, missing line break and
ignore that message in that case

anyway, it canbe closed

Original comment by yvonne.m...@gmail.com on 20 Mar 2010 at 6:23

GoogleCodeExporter commented 9 years ago
there is already a check to see if its the last line.
however, youre line wasn't empty and didn't end on a newline making it confuse 
itself :)

Original comment by dac...@gmail.com on 20 Mar 2010 at 6:49