Question to Tony re: logoedit

Posted by: accept

Question to Tony re: logoedit - 16/08/2006 01:14

Hi Tony,
Question about logoedit, can you change the com port to com5 or other number?
In "Select com port" choices are 1-4. and of course mine is on Com5.
Don't seem to be able to change my com port number allocation, and probably don't wanna (everything working fine now) took a while to get new computer config right and had to install a serial pci card also, and just upgraded to 100GB !!!
Thanks for any help
Posted by: mlord

Re: Question to Tony re: logoedit - 16/08/2006 10:45

Just run LogoEdit, and select COM4, then *try* to send a logo (it will fail).
Next, close the program, and edit the LogoEdit.ini file it created, using notepad or wordpad.

Find the line "MyCOMPort=4", and change the 4 to a 5, and save the modified file.

Finally, run LogoEdit again. It should now be using COM5.

-ml
Posted by: andy

Re: Question to Tony re: logoedit - 16/08/2006 11:46

Quote:

Finally, run LogoEdit again. It should now be using COM5.



Surely having Mark give advice on how to use a Windows app is one of the signs of the apocalypse
Posted by: sn00p

Re: Question to Tony re: logoedit - 16/08/2006 17:12

Quote:
Quote:

Finally, run LogoEdit again. It should now be using COM5.



Surely having Mark give advice on how to use a Windows app is one of the signs of the apocalypse


I wondered what those 4 horsemen were doing outside.....
Posted by: tfabris

Re: Question to Tony re: logoedit - 16/08/2006 17:56

You sly devil, Mark. I didn't know that would even work. :-)

Anyway. Another way to get the same job done is to run UPLOAD.EXE by hand. Please look in the README.TXT file for instructions on how to do it. Flash memory addresses for kernels and logos are listed in the FAQ.
Posted by: accept

Re: Question to Tony re: logoedit - 16/08/2006 18:18

thanks for the replies guys, will try as soon as possible.
thank you again !
Posted by: accept

Re: Question to Tony re: logoedit - 16/08/2006 19:04

tried mark's idea but got the following error:-

Error: Incorrect parameters passed to upload.
----------------------------------------------------------
-ERROR: Couldn't open com port. -
---------------------------------------------------------

Press the Enter key to continue.

So no luck with that .
have yet to work out how to do Tony's method
Posted by: mlord

Re: Question to Tony re: logoedit - 16/08/2006 19:09

Heh.. I thought the ice looked a little thin down there.



Edit - Fixed link. Links must contain http:// or they link to currentURL/url.tld
--_l0ser
Posted by: tfabris

Re: Question to Tony re: logoedit - 16/08/2006 19:21

Yeah, OK, upload.exe is hard coded to accept the parameters 1-4 only.

If you've got a C compiler, you're welcome to fidget with it. Source code attached.
Posted by: accept

Re: Question to Tony re: logoedit - 18/08/2006 18:03

ok , so no other ideas?
trying to upload hijack that's all
don't have ethernet connection, only usb and serial on com5
Posted by: wfaulk

Re: Question to Tony re: logoedit - 18/08/2006 18:09

Can you use [url=http://www.riocar.org/modules.php?op=modload&name=FAQ&file=index&myfaq=yes&id_cat=7&faqent=82#82hyperterminal to access the empeg's console[/url]? Just making sure that the serial port is working properly.
Posted by: dr_dos

Re: Question to Tony re: logoedit - 18/08/2006 18:20

Why don't you just change the port # to something between 1 and 4? Device Manager -> Ports -> Properties -> Advanced -> COM Port Number

Peter
Posted by: tfabris

Re: Question to Tony re: logoedit - 18/08/2006 18:38

Yeah, I'm with him. If you're not using both a modem and a serial mouse at the same time, then you should be able to safely set the com port to whatever you want.

Odds are, you don't even have a modem, and your mouse is USB.
Posted by: Roger

Re: Question to Tony re: logoedit - 19/08/2006 05:08

Quote:
Yeah, OK, upload.exe is hard coded to accept the parameters 1-4 only.

If you've got a C compiler, you're welcome to fidget with it. Source code attached.


If you can attach the source code in a form that's not mangled, it'd be easier to fidget with. Try a ZIP file.
Posted by: canuckInOR

Re: Question to Tony re: logoedit - 19/08/2006 15:16

Quote:
Quote:
Yeah, OK, upload.exe is hard coded to accept the parameters 1-4 only.

If you've got a C compiler, you're welcome to fidget with it. Source code attached.


If you can attach the source code in a form that's not mangled, it'd be easier to fidget with. Try a ZIP file.

It doesn't look mangled to me. I clicked the attachment, and told firefox to save to disk. Opened in vim just fine. Unless, of course, you're calling Tony's coding standards mangled... in which case using a zip file isn't going to help much.
Posted by: tfabris

Re: Question to Tony re: logoedit - 19/08/2006 16:08

Well, keep in mind I only added a few lines to Hugo's prior code, so talk to him about standards.
Posted by: Roger

Re: Question to Tony re: logoedit - 19/08/2006 16:45

Quote:
I clicked the attachment, and told firefox to save to disk.


I did the same in IE, and it comes out with no line endings in it, at all.
Posted by: mlord

Re: Question to Tony re: logoedit - 19/08/2006 18:23

Quote:
Quote:
I clicked the attachment, and told firefox to save to disk.


I did the same in IE, and it comes out with no line endings in it, at all.


Most likely it just has standard "newline" characters in it ('\n'). This is how just about every O/S in the world stores text files. Except for Microsoft OSs, which want a newline *and* a carriage-return (yes, the typewriter thing).

Try a cross-platform text editor (vim, gvim, emacs.. ) and see if that helps.

EDIT: Mmm.. looking at the file here, it seems to have both the newline and carriage-return characters in it. So perhaps your web-browser is being stupid.

-ml
Posted by: mlord

Re: Question to Tony re: logoedit - 19/08/2006 18:28

Just just now tried right-click-save-target-as with IE6 under WinXP, and the file is perfectly readable afterwards with Notepad and Wordpad.

-ml
Posted by: RobotCaleb

Re: Question to Tony re: logoedit - 20/08/2006 18:48

I'm pretty much a noob, but it compiled. In theory it may work. I didn't test it.
Posted by: RobotCaleb

Re: Question to Tony re: logoedit - 20/08/2006 18:49

And the source. I only made a few changes. The first ones that jumped out at me, so I could be completely wrong.