The above video goes away if you are a member and logged in, so log in now!
CONFIG.DAT CR+LF parsing bug.
CONFIG.DAT CR+LF parsing bug. –
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
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.
Is there any program for windows that overcome this bug? I have the same -2 error.
Now myPS2 works!
How can I to fix the -2 error. I have only win xp on my pc.
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.
Ok, thanks so much, i´ll try that.
Good Text Editor
Good Text Editor –
Try this program. Its free and open source.
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?
I'd reccomend ultraedit, its great and hex editor too
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.