The above video goes away if you are a member and logged in, so log in now!
|
| |
Would you like to get all the new info from PSX-Scene in your email each day?
| |
|
-
#1
CONFIG.DAT CR+LF parsing bug.
CONFIG.DAT CR+LF parsing bug. –
02-06-2006,01:34 PM
Many users have reported problems during the startup of myPS2 from HDD, in that the program fails to mount the partition properly. I have made a small investigation of this (by testing, not by source inspection) and found two causes for it.
The primary cause is that the program parses the CONFIG.DAT file erroneously, recognizing only LF (0x0A) but not CR (0x0D) as terminator for the line containing the partition name. This is a bad mistake, as most people will be using a Windows-based text editor to add that line, and most such editors use CR+LF as line terminator by default.
That is why many users report seeing an odd 'half-hidden' character after the last real character of the partition name displayed in the failure message. That odd character is simply how the display routines render the CR character, which the program has tried to use as part of the partition name.
Even after fixing that error, the program still fails to mount that partition for use in its browsers ('My Files' etc). I suspect that this is because a mount point is already in use by the routines that allowed the CONFIG.DAT (and other myPS2 files used at startup) to be read in the first place. But that is still just a speculation on my part, and remains to be proven.
In any case, I assume that both problems will be rather easy to fix.
Best regards: dlanor
-
02-08-2006,06:09 PM
Good Find dlanor
I can confirm it for me that this was the cause of the Partition mounting error -2. I saved the file in the UNIX LF format and it works now.
Great!
-
02-08-2006,09:32 PM
Is there any program for windows that overcome this bug? I have the same -2 error.
-
02-09-2006,06:00 AM
Thanks dlanor.
Now myPS2 works!
-
02-09-2006,09:56 AM
How can I to fix the -2 error. I have only win xp on my pc.
-
02-09-2006,06:29 PM
you can use any texteditor that supports to "save the file as" the UNIX LF Format. I have used Ultraedit32. You need to resave the CONFIG.DAT file in the UNIX format.
-
02-09-2006,07:37 PM
Ok, thanks so much, i´ll try that.
-
#8
Good Text Editor
Good Text Editor –
02-09-2006,09:26 PM
Try this program. Its free and open source.
Notepad 2
Just go to File --> Line Endings --> and Choose "Unix (LF)"
It seems to work for me. It gets past the partition error.
P.S. can't someone develop a PS2 text editor? I doesn't seem it would be difficult but then again I only have a basic idea of programming in C++. Is there anyone developing one now?
-
02-15-2006,10:56 AM
I'd reccomend ultraedit, its great and hex editor too
-
03-02-2006,09:46 PM
Looks like the bug dlanor mentioned is still intact in the latest version (1.2)-- it just isn't liking being in hdd0:/__boot at all, and complains about mounting that partition (error -2) no matter what I do. I even went so far as to use nano from a linux machine to edit the config.dat file to make sure it was going to handle CR/LFs the way the program likes.
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|