fodev.net

Other => FOnline:2238 Forum => Archives => Tools and Modifications => Topic started by: vad on January 10, 2010, 07:42:52 am

Title: GUI program for NameColorizing.txt
Post by: vad on January 10, 2010, 07:42:52 am
I am writing program (http://dl.dropbox.com/u/1962790/Colorizer.rar) which edits NameColorizing.txt and I have 2 goals:
1) Possibility to load txt files from internet.
2) Possibility to merge 2 or more files in one.

I have created shared document (http://docs.google.com/Doc?docid=0ASnLxbLxveTzZGdoNmhjc3JfMGZyenJyemM3&hl=en) and copypasted some gangs from North Alliance forum.(just for test)
Title: Re: GUI program for NameColorizing.txt
Post by: Wipe on January 10, 2010, 09:30:55 am
Can be nice tool for all who afraid notepad and paint (for RGB). Good job :)

Didn't played with this too long, but it looks like not all names are cleared on "new".
(run program) -> "open from url" -> (file loaded) -> "new" -> "open" -> (my own NameColorizing.txt) -> (file loaded + "mordecai" is added to list)
Title: Re: GUI program for NameColorizing.txt
Post by: skejwen on January 10, 2010, 01:01:43 pm
Nice work - if you want any help feel free to ask. I sent you file as you requested.



Didn't played with this too long, but it looks like not all names are cleared on "new".
(run program) -> "open from url" -> (file loaded) -> "new" -> "open" -> (my own NameColorizing.txt) -> (file loaded + "mordecai" is added to list)
This is probably due to this feature: "2) Possibility to merge 2 or more files in one." ;)
Title: Re: GUI program for NameColorizing.txt
Post by: Wipe on January 10, 2010, 01:12:04 pm
This is probably due to this feature: "2) Possibility to merge 2 or more files in one." ;)

Then i should have all nicks added, not only one.
Title: Re: GUI program for NameColorizing.txt
Post by: Cpt.Rookie on January 10, 2010, 01:42:00 pm
Sounds interesting.
About files from GoogleDocs - it look that txt files are downloaded in UTF-8 encoding, so it doesn't matter what language version of Windows are you using.
It will be really nice to have a sw which will take different files, merge them, solve conflicts (same name, different colors) and make a final one. Good for keeping other allied factions informed about new players - and making one global file for everyone.

Maybe we should suggest to dev change of default encoding of _NameColorizing.txt to UTF-8. It will definitely help.
Title: Re: GUI program for NameColorizing.txt
Post by: vad on January 10, 2010, 02:55:17 pm
Quote
This is probably due to this feature: "2) Possibility to merge 2 or more files in one."
No, it was bug and now it is fixed.

Quote
Nice work - if you want any help feel free to ask. I sent you file as you requested.
Thanks. As I suspected program does not convert UTF-8(Google) in CP-1251(FOnline) in not Russian verion of Windows.
Title: Re: GUI program for NameColorizing.txt
Post by: Cpt.Rookie on January 10, 2010, 03:07:13 pm
Thanks. As I suspected program does not convert UTF-8(Google) in CP-1251(FOnline) in not Russian verion of Windows.
Generally, it is ANSI (I mean default encoding on Windows for given language) what FOnline is using when saving file. So on Czech Windows, the encoding is CP-1250.
Title: Re: GUI program for NameColorizing.txt
Post by: vad on January 10, 2010, 08:19:30 pm
It seems a have won battle: Me VS UTF-8&CP-1251. Also in new version added two options for saving files: "replace space by ?" and "replace & by ?". My goal in next version is to prevent possibility to have doubles of players and colors.
But because of work I can't tell when I will have time to make new version.
Title: Re: GUI program for NameColorizing.txt
Post by: vad on January 23, 2010, 06:53:59 pm
I have done all that I wanted. New versions will appear only after bug reports or suggestions.
Title: Re: GUI program for NameColorizing.txt
Post by: skejwen on January 24, 2010, 03:44:13 am
I have done all that I wanted. New versions will appear only after bug reports or suggestions.

For editing lists now its perfect, but for creating new ones its pain... so I have one suggestion - it would be nice to be able to add more nicks at once (maybe based on txt files with nicks, like in my simple console program that I made some time ago: http://www.nma-fallout.com/forum/viewtopic.php?t=53237).

/skejwen
Title: Re: GUI program for NameColorizing.txt
Post by: kyborekcz on March 04, 2010, 10:14:51 am
I like your program very much. I have some suggestions, there is too much free space below listbox so if you could make it longer to fill the space it would be very good. Also, it would be very usefull if user could click some button "add admins" which would add admin names with admin-color and admin-contour, because not all player remember the names so users like me who erased them could add them back because program will remember the names.

Also i made czech translation for your program so you can implement it in download pack..
Here you are: http://www.mediafire.com/?mtmknowym0j
Title: Re: GUI program for NameColorizing.txt
Post by: vad on March 06, 2010, 02:39:49 pm
xpath created a more advanced program for editing NameColorizing.txt (http://fodev.net/forum/index.php?topic=2314.0) and I have no free time, so I abandon the development of my program. I apologize to those who liked it.
Title: Re: GUI program for NameColorizing.txt
Post by: kyborekcz on March 26, 2010, 06:55:48 pm
I just want you to know that i keep using your version anyways because this interface is more friendly to me than the Xpath´s version
Title: Re: GUI program for NameColorizing.txt
Post by: crash^US on April 01, 2010, 08:42:24 am
tHx