Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#62435 - 23/01/2002 22:33 config.ini editing
RobotCaleb
pooh-bah

Registered: 15/01/2002
Posts: 1866
Loc: Austin
everytime i open my config.ini file for editing through emplode, it opens the config.ini with a few strange characters, after ive edited it it wont synchronize. it says "someones been here before" or something along those lines and wont sync. i can view the config.ini if i cat it or save it through ftp. im sure i could edit it this way and just put it back. my question is.. whats causing this error? and how do i work through it.

Top
#62436 - 23/01/2002 22:46 Re: config.ini editing [Re: RobotCaleb]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31583
Loc: Seattle, WA
You're not the only person to report corruption of the config.ini file.

Has anyone been able to get to the bottom of what's causing this?

Can you shed some light on it? What have you done on the player lately that might have involved writing to the config.ini?
_________________________
Tony Fabris

Top
#62437 - 23/01/2002 23:05 Re: config.ini editing [Re: tfabris]
RobotCaleb
pooh-bah

Registered: 15/01/2002
Posts: 1866
Loc: Austin
attached is my config.ini
unedited and in original 2.0b7 goodness

the first time i noticed this was when i tried to add a favorites vis list. when i open the file in emplode it just displays "; ??? ÿû°L"

will editing it in notepad and reuploading it hurt it?


Attachments
60594-CONFIG.ini (67 downloads)


Top
#62438 - 23/01/2002 23:12 Re: config.ini editing [Re: RobotCaleb]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31583
Loc: Seattle, WA
will editing it in notepad and reuploading it hurt it?

Yes. Is that what you did?

Notepad formats the carriage returns in Windows-style. Linux systems can't handle that, they need pure linefeeds (ascii 10's only) not windows-style combinations of carriage returns and linefeeds.

If that was the cause of the trouble, I'll put that one in the FAQ for sure.
_________________________
Tony Fabris

Top
#62439 - 23/01/2002 23:17 Re: config.ini editing [Re: RobotCaleb]
jheathco
enthusiast

Registered: 21/12/2001
Posts: 326
Loc: Mission Viejo, California
I had the same problem a while back. I removed my config.ini by getting into the empeg via serial, downgraded, then upgraded back. A big hassle, but it worked.

One of the problems I think has to do with some variable in the config.ini having to do with the current synchronize and the player's number for this variable not corresponding to emplode's?
_________________________
John Heathco - 30gig MKIIa w/ tuner module

Top
#62440 - 23/01/2002 23:28 Re: config.ini editing [Re: tfabris]
RobotCaleb
pooh-bah

Registered: 15/01/2002
Posts: 1866
Loc: Austin
In reply to:

attached is my config.ini
unedited and in original 2.0b7 goodness



In reply to:

Yes. Is that what you did?




im asking if i can edit it in notepad and use it successfully, ignoring the fact that i cant edit it in emplode

Top
#62441 - 23/01/2002 23:34 Re: config.ini editing [Re: RobotCaleb]
Terminator
old hand

Registered: 12/01/2000
Posts: 1079
Loc: Dallas, TX
No, theres no easy way to edit it in notepad and still have it work. You need a utility that will not add the extra carriage returns.

Top
#62442 - 24/01/2002 01:17 Re: config.ini editing [Re: Terminator]
svferris
addict

Registered: 06/11/2001
Posts: 700
Loc: San Diego, CA, USA
I recommend using the registry settings file that's available on riocar.org that allows you to edit the config.ini from within emplode. Then, you won't have to worry about using notepad.
_________________________
__________________ Scott MKIIa 10GB - 2.0b11 w/Hijack MKIIa 60GB - 2.0 final w/Hijack

Top
#62443 - 24/01/2002 01:47 Re: config.ini editing [Re: svferris]
frog51
pooh-bah

Registered: 09/08/2000
Posts: 2091
Loc: Edinburgh, Scotland
Once it's corrupt like this the emplode config.ini editor seems to keep messing up. I had to term onto the empeg and remove config.ini before I could edit it.

It happened to me 3 times (I think) and seemed to be caused by sync failing ('cos I was running other apps which upset comms) Some of the extra junk added to my config.ini appeared to be from other files on the empeg. Quite weird.
_________________________
Rory
MkIIa, blue lit buttons, memory upgrade, 1Tb in Subaru Forester STi
MkII, 240Gb in Mark Lord dock
MkII, 80Gb SSD in dock

Top
#62444 - 24/01/2002 12:50 Re: config.ini editing [Re: frog51]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31583
Loc: Seattle, WA
Once it's corrupt like this the emplode config.ini editor seems to keep messing up.

Correct. Once the config.ini has become corrupted, the Emplode config.ini editor will not work on it and the only resolution is to delete it and start over (hopefully with a new copy containing the data from the corrupted one).

Some of the extra junk added to my config.ini appeared to be from other files on the empeg. Quite weird.

This is scary, because that sounds like cross-linked sectors or something.

Empeg guys, are you reading this?
_________________________
Tony Fabris

Top
#62445 - 24/01/2002 13:05 Re: config.ini editing [Re: tfabris]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
The most interesting config.ini corruptions I've had have resulted in a config.ini that had an 8 or 9 digit file size. The config.ini contents were the first few hundred bytes, followed by a bunch of garbage. If I'm not mistaken the file size was much larger than the capacity of my Empeg. Makes me think something funky is going on in the directory entries somewhere.
_________________________
- Tony C
my empeg stuff

Top
#62446 - 24/01/2002 13:59 Re: config.ini editing [Re: Terminator]
ninti
old hand

Registered: 28/12/2001
Posts: 868
Loc: Los Angeles
I have never tried it on the Empeg, but sending the data in Ascii mode (such as using rz -a) should strip the excess characters off.
_________________________
Ninti - MK IIa 60GB Smoke, 30GB, 10GB

Top
#62447 - 24/01/2002 16:54 Re: config.ini editing [Re: Terminator]
TreeRip
new poster

Registered: 16/01/2002
Posts: 17
Loc: San Jose, CA
FWIW, I've found this free program "EditPad" to be a fantastic replacement for notepad and it handles the CR/LF conversions perfectly for editing UNIX or Mac text files. It has saved me many times while working in a mixed O/S environment.

Cheers!
Dave

Top
#62448 - 24/01/2002 17:13 Re: config.ini editing [Re: TreeRip]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Agreed, EditPad rules. Definitely worth the $25 or whatever it costs.
_________________________
- Tony C
my empeg stuff

Top
#62449 - 24/01/2002 18:40 Re: config.ini editing [Re: tonyc]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Everyone should use vi!

Grab a copy of vim for your favorite OS today! Guaranteed to be more powerful than whatever editor you're using now!



Seriously, I just did what I think is something really fancy with Vim today. I was editing up a C bitmap by hand. I didn't know what values corresponded to what colors (it was an indexed color bitmap with no index ), but I had a copy of the image it was based off of. So I could go through the file and replace each instance of the hex code (in 0xab format) with the real color I wanted (in octal 0777 format). So it was easy to search for outstanding `0x' strings. But one I was there, it was a real pain to do all the math based on the column and line number to find to what pixel it corresponded. So what I did was redefine vim's ruler to do the math for me, so it displayed x by y coordinates in the bitmap instead of column by line coordinates. Saved me probably hours of work.

Anyway, enough evangelizing.
_________________________
Bitt Faulk

Top
#62450 - 24/01/2002 18:42 Re: config.ini editing [Re: wfaulk]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
I could not POSSIBLY be as l33t as that. I do love vi and use it every day at work, but it was simpler to just do the editing of config.ini in a text editor and then paste it into Emplode's dialog. But it seems Emplode was doing some serious munging of the file, so I will go back to the ol' standby next time.
_________________________
- Tony C
my empeg stuff

Top
#62451 - 24/01/2002 18:42 Re: config.ini editing [Re: wfaulk]
Yang
addict

Registered: 14/01/2002
Posts: 443
Loc: Raleigh, NC
I do all my programming with notepad.. I'm serious..

Top
#62452 - 24/01/2002 18:46 Re: config.ini editing [Re: tonyc]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
I know. I just have to evangelize every chance it comes up. No good reason. Sorry.
_________________________
Bitt Faulk

Top
#62453 - 24/01/2002 18:52 Re: config.ini editing [Re: wfaulk]
Yang
addict

Registered: 14/01/2002
Posts: 443
Loc: Raleigh, NC
Heh.. I meant it more as a joke.. I wrote that track title->number script last night all in notepad.. As a person who never has/nor will learn to use VI, I tend towards the more obvious editing utilities.. At work I use Visual SlickEdit and absolutely love it.. saves me about an hour of work a day (sometimes more) just being able to record intelligent macros..

The only reason I use notepad, is that I haven't been bothered to find something else to use.. Besides, nothing I've been doing at home needs anything that I can't manage myself..

Top
#62454 - 24/01/2002 18:56 Re: config.ini editing [Re: Yang]
jnmunsey
member

Registered: 10/01/2002
Posts: 139
Loc: Houston, TX, USA
Textpad is another good text editor for saving text files in UNIX format..

Oh, I do a LOT of programming using Textpad, and I am not kidding...


Top
#62455 - 24/01/2002 18:58 Re: config.ini editing [Re: jnmunsey]
Yang
addict

Registered: 14/01/2002
Posts: 443
Loc: Raleigh, NC
After a day of programming at work, when I get home, it's hard to work up the energy needed to go and search for a text editing tool. The editing is hard enough, to add the search for a tool to the task is a little much..

Top
#62456 - 25/01/2002 02:38 Re: config.ini editing [Re: Yang]
bonzi
pooh-bah

Registered: 13/09/1999
Posts: 2401
Loc: Croatia
Visual SlickEdit is excellent. I use it with vi mappings, of course
_________________________
Dragi "Bonzi" Raos Q#5196 MkII #080000376, 18GB green MkIIa #040103247, 60GB blue

Top
#62457 - 25/01/2002 03:09 Re: config.ini editing [Re: bonzi]
frog51
pooh-bah

Registered: 09/08/2000
Posts: 2091
Loc: Edinburgh, Scotland
UltraEdit or Notepad on Windows, vi or gnotepad on Linux, jot on IRIX. You need no other editors:) I use these for html cration, C, Pascal, C++,CPFW1 object editing etc etc etc and they all do the job.
_________________________
Rory
MkIIa, blue lit buttons, memory upgrade, 1Tb in Subaru Forester STi
MkII, 240Gb in Mark Lord dock
MkII, 80Gb SSD in dock

Top
#62458 - 25/01/2002 19:44 Re: config.ini editing [Re: frog51]
hybrid8
carpal tunnel

Registered: 12/11/2001
Posts: 7738
Loc: Toronto, CANADA
I'll put in another for windows: TextPad (been my editor of choice since 1995).

And if anyone is using an Amiga, I'm willing to bet CygnusEd is still the best. For the Mac, BBEdit is probably tops.

Bruno
_________________________
Bruno
Twisted Melon : Fine Mac OS Software

Top
#62459 - 25/01/2002 20:13 Re: config.ini editing [Re: frog51]
Micman2b
addict

Registered: 27/12/2001
Posts: 441
Loc: Central, NC, USA
I have been using UltraEdit for a long time because it is a great text editor.

_________________________
_____________
Sean in NC
130gb MK2a w/ 32mb ram
80gb MK2a empeg spare

Top
#62460 - 25/01/2002 21:27 Re: config.ini editing [Re: hybrid8]
Chuck
member

Registered: 06/06/2001
Posts: 183
Aww, man, CygnusEd ruled!

Top