OpenArena Message Boards

OpenArena => General => Topic started by: swaggerall on February 26, 2011, 09:50:06 PM



Title: Openarena Name Changer??
Post by: swaggerall on February 26, 2011, 09:50:06 PM
Im Having A Bit Of Trouble With Making A Quote On Quote "Fake Quake3.exe file" I Seem To Not Be Able To Create One The Proper Way... Can Anyone Make A Name Changer For Openarena I Mean Like If Its Not To Hard. A Name Changer for Openarena Sounds Great. Either That Or Can You guys Join On My Topic "Openarena Symbols ?" I Help Out On How To Make A Fake Quake 3 File.

Thanks!


Title: Re: Openarena Name Changer??
Post by: Gig on February 27, 2011, 04:36:00 AM
Please, use normal capital letters.
I don't understand why you created a new thread instead of continuing into the existing one.
http://openarena.ws/board/index.php?topic=4079

Anyway, I agree that an "OpenArena Name Changer" tool would be nice. But I'm not capable to create it.


Title: Re: Openarena Name Changer??
Post by: Cacatoes on February 27, 2011, 07:08:28 AM
1) Install Linux
2) echo -e \\x63\\x61\\x63\\x61 > copy_to_q3conf.txt
3) It works :D


Title: Re: Openarena Name Changer??
Post by: swaggerall on February 27, 2011, 08:05:49 AM
Hey Gig Im Sorry Im Sort Of New To doing Forums And Stuff But I Neeeded A New topic On This Name Changer. How Would It Be Possiable For Someone To Make A New Name Changer But for Openarena I mean What Will It take to Create Such?


Title: Re: Openarena Name Changer??
Post by: dbX on February 28, 2011, 09:25:58 PM
This should not be too hard. I might make one for OA today when I get home. The q3 name changer is simply inconvenient to use. I guess for start it should write directly to the config file and colors will be selectable with preview. If anyone needs any specific feature or has an idea let me know.


Title: Re: Openarena Name Changer??
Post by: Gig on March 01, 2011, 01:56:06 AM
Yesterday, Cacatoes did a try (you can find it in this post (http://openarena.ws/board/index.php?topic=4079.msg37746#msg37746))... a web-based name creator (http://openarena.tuxfamily.org/namecreator/), inspired by DO NOT LINK[/b]) h t t p s : / / openarena . wikia . com/wiki/Quake_3_Name_Changer]Quake 3 Name Changer (http://([b).
It does not have support for colors (yet), but the main problem is that, being web-based, it does not interact directly with the user's q3config.cfg files, and needs users to manually apply the new name editing their q3config.cfg files.


Title: Re: Openarena Name Changer??
Post by: swaggerall on March 01, 2011, 12:49:45 PM
So http://openarena.tuxfamily.org/namecreator/ is just a suggjestion? i noticed that i didnt have colors as well but it needs work. not bad though


Title: Re: Openarena Name Changer??
Post by: swaggerall on March 01, 2011, 12:52:35 PM
Thank you @dbX please post or reply (reply to my pm i sent you) when you have started and or finished your "openarena name changer". Im sure your an expirenced person when it comes to this sort of stuff.

Thanks


Title: Re: Openarena Name Changer??
Post by: dbX on March 05, 2011, 10:42:07 AM
I've worked on my OA name changer tool for the past few days. Now it is fully functional. It took a bit longer than I thought it would, since I took a lot of time polishing, and figuring out how to change the color of the characters in Lazarus (but primarily due to procrastination).

I've attached a windows executable, and the entire source code (GPLv2). You'll need Lazarus (http://"http://www.lazarus.freepascal.org/") to compile this. I'll also make a Linux executable once I get around to a Linux system (hopefully tomorrow). The tool should also work on a Mac, it may need a slight change (and recompile) so it can figure out where OA config file is. Since I don't have a Mac I can't check this.

Edit: I've uploaded a modified version, with option to allow to store the config file in the same directory as oanc. This is helpful for systems with non-standard characters, which oanc does not support currently.


Title: Re: Openarena Name Changer??
Post by: Gig on March 05, 2011, 12:19:45 PM
Seems nice. I will try it!  :)

PS: From the screenshot, it seems you forgot ^8. I suppose orange color has been introduced with OA 0.8.5: there is a prblem that it is not correctly shown in console (I hope they will fix it before 0.8.6), but is shown correctly in the score table.

(DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/Text_colors


Title: Re: Openarena Name Changer??
Post by: dbX on March 05, 2011, 12:21:39 PM
I did not know about the orange color. I will add this too.

Edit: attached archive and image


Title: Re: Openarena Name Changer??
Post by: Cacatoes on March 05, 2011, 04:06:58 PM
Haven't tried but well done dbx, far more polished than my attempt ;) and cross-platform which was my main worry and you answered it so that's very fine. I don't know if I'll continue to work on that web interface even though it was fun to make, time will say.

Maybe your tool could come with OA release's package.


Title: Re: Openarena Name Changer??
Post by: swaggerall on March 05, 2011, 05:00:43 PM
Thank You DBX Im Glad Someone Knew What To Do Now The Only Thing Is I Want To Figure Out How To Use It With 8.1 Servers Even Though It Works Fine With 8.5 THANK YOU SO MUCH ♥ (no homo)


Title: Re: Openarena Name Changer??
Post by: Gig on March 05, 2011, 07:09:33 PM
Given a rapid test. Very nice!  :)

If would be even better if you could re-create the feature of DO NOT LINK[/b]) h t t p s : / / openarena . wikia . com/wiki/Quake_3_Name_Changer]Quake 3 name changer (http://([b) that allows to select if to apply the selected name to a single mod, to some mods or to all mods....


PS: I don't know why, but if I close the "config" window without having selected the "save configuration on the same directory of OANC" flag, I get a "file not found" error (but then it seems to work anyway).

Note: that flag means that if you enable it, the program configuration (oanc.ini) will be stored in the same folder where you extracted its executable, and if you leave this unckeded, under Windows the config file will be stored under %appdata%\.oanc folder

PPS: also a version number in the "about" window may be nice.


Title: Re: Openarena Name Changer??
Post by: dbX on March 05, 2011, 07:55:48 PM
Given a rapid test. Very nice!  :)

If would be even better if you could re-create the feature of DO NOT LINK[/b]) h t t p s : / / openarena . wikia . com/wiki/Quake_3_Name_Changer]Quake 3 name changer (http://([b) that allows to select if to apply the selected name to a single mod, to some mods or to all mods....

PS: I don't know why, but if I close the "config" window without having selected the "same configuration on the same directory of OANC" flag, I get a "file not found" error (but then it seems to work anyway).

Note: that flag means that if you enable it, the program configuration (oanc.ini) will be stored in the same folder where you extracted its executable, and if you leave this unckeded, under Windows the config file will be stored under %appdata%\.oanc folder

PPS: also a version number in the "about" windows may be nice.

I'll make some of these adjustments and fixes tomorrow, as well as testing under Linux. I guess I could add options to apply to some or all mods, but I'll need to first figure out what mods are present, and present the list to the user. I have not poked much at q3nc, but will see how it works in more detail.

Maybe your tool could come with OA release's package.

That would be nice, but in any case I think it could be placed in the Downloads section on the OA site.


Title: Re: Openarena Name Changer??
Post by: swaggerall on March 05, 2011, 10:09:06 PM
Great Dbx  I Love It I Already know How To use It :D I Have A Diffrent Name For Every Server I Go To :D I Love It It Even Works For The Super Server 0.8.1

q3config.cfg is the file you save the names to since going to another server automaticly creates a folder that contains >demos,videos,screenshots q3key's and q3config.cfg


Title: Re: Openarena Name Changer??
Post by: Gig on March 06, 2011, 04:59:17 AM
Great Dbx  I Love It I Already know How To use It :D I Have A Diffrent Name For Every Server I Go To :D I Love It It Even Works For The Super Server 0.8.1

q3config.cfg is the file you save the names to since going to another server automaticly creates a folder that contains >demos,videos,screenshots q3key's and q3config.cfg

A different folder is created each time you play on a server that uses a new DO NOT LINK[/b]) h t t p s : / / openarena . wikia . com/wiki/Mod]mod (http://([b).


Title: Re: Openarena Name Changer??
Post by: swaggerall on March 06, 2011, 09:21:24 AM

A different folder is created each time you play on a server that uses a new DO NOT LINK[/b]) h t t p s : / / openarena . wikia . com/wiki/Mod]mod (http://([b).
[/quote]

Yeah I Meant That But In Order To Save Your Name You Would Need To Save It To Either That Servers Folder Or To All Of Them.

im very impressed on his creation its very very well put together,the only thing is that 8.5 has a bug with the orange color :(


Title: Re: Openarena Name Changer??
Post by: dbX on March 06, 2011, 11:32:15 AM
I'll implement functionality to save to all mods hopefully next week.

im very impressed on his creation its very very well put together,the only thing is that 8.5 has a bug with the orange color :(
What bug?


Title: Re: Openarena Name Changer??
Post by: swaggerall on March 06, 2011, 12:12:08 PM
Dbx its not a bug on your part its a bug on the 0.8.5 that dosent show the orange text color


Title: Re: Openarena Name Changer??
Post by: Gig on March 06, 2011, 04:32:48 PM
As previously said, orange is not shown in the console (where it looks black, if I remember correctly). But it is correctly shown in the score table. More, it is also shown in the extended message of the day. I think it is shown also in the "player settings" menu (but not 100% sure). I don't know if it works on the name that appears over who you are aiming at.


Still about colors, maybe the purple in square in the name changer program could be lighter (more like the color of the text), right?


Title: Re: Openarena Name Changer??
Post by: swaggerall on March 06, 2011, 05:43:04 PM
The colors are all perfect its just even with the prograsm orange doesnt show


Title: Re: Openarena Name Changer??
Post by: fromhell on March 06, 2011, 06:27:54 PM
prograsm

orange isn't a supported color


Title: Re: Openarena Name Changer??
Post by: Gig on March 07, 2011, 01:47:51 AM
prograsm

orange isn't a supported color
But it has somehow made its way into the game. I don't know how, but someone programmed it..... or is it comed out from some bug?


Title: Re: Openarena Name Changer??
Post by: dbX on March 07, 2011, 02:40:38 AM
orange isn't a supported color

As Gig said, orange works, more or less, which is why I've included it.

I've worked a bit more on oanc, now I've also included a Linux executable (it's a lot larger than the windows one, hence the ~2 MiB archive filesize). Also fixed several bugs and made some adjustments. Unfortunately, I could not attach the archive here due to it's size (or perhaps it takes too long to upload, don't know). So you'll have to get it from my site (http://dbx.orgfree.com/projects/quake.html).

Thanks Gig for testing.


Title: Re: Openarena Name Changer??
Post by: pulchr on March 07, 2011, 05:48:47 AM
how about a version for the web?
i wouldn't download and install a program if i could just as easily go to a webpage and tinker with my playername.

the output could be a textbox that would be manually pasted into the correct config-file.


Title: Re: Openarena Name Changer??
Post by: Cacatoes on March 07, 2011, 06:55:43 AM
erf, lol.

The web version I did could still be much improved (if I improve it I'll take into acount your remark, Gig already told me the same).

---

Anyway, I plan to host oanc here: http://download.tuxfamily.org/openarena/other/oanc/


---

Edit: ran oanc under Linux, it works very fine (it found my config file, cool :D)

When started from console I have a few outputs which we may ignore:

Code:
~/Desktop$ ./oanc

(oanc:3772): Gdk-CRITICAL **: IA__gdk_pixbuf_get_from_drawable: assertion `gdk_window_is_viewable (src)' failed

(oanc:3772): Gdk-CRITICAL **: IA__gdk_pixbuf_get_from_drawable: assertion `gdk_window_is_viewable (src)' failed

(oanc:3772): Gdk-CRITICAL **: IA__gdk_pixbuf_get_from_drawable: assertion `gdk_window_is_viewable (src)' failed

I only copied the binary and the chars/* files


Title: Re: Openarena Name Changer??
Post by: Gig on March 07, 2011, 07:10:47 AM
how about a version for the web?
Link to Cacatoes' test web tool:
http://openarena.tuxfamily.org/namecreator/

@ DBX, i was thinking... the background of the "preview" field is black... that means that black text will not be visible, I suppose. What about making the background of that field of a colour different from any of those available for the text? For example, a dark grey, or something else...


Title: Re: Openarena Name Changer??
Post by: pulchr on March 07, 2011, 11:47:53 AM
i've seen cacatoes name changer before (nice), but i was thinking about the colours too.



Title: Re: Openarena Name Changer??
Post by: swaggerall on March 07, 2011, 08:59:56 PM
Hey for some reason it opens the commaqnd prompt on windows idk why


Title: Re: Openarena Name Changer??
Post by: dbX on March 08, 2011, 12:24:37 AM
Hey for some reason it opens the commaqnd prompt on windows idk why

I forgot to disable a switch during compilation. I'll try to make a new version today with some fixes and mod selection. I'll also change the name preview background color.


Title: Re: Openarena Name Changer??
Post by: swaggerall on March 08, 2011, 03:53:12 PM
Yeah your pretty good at this man, and you see your bugs and mistakes fairly quicly.

Really appreciate the polishing :D

BTW you should make the background gray ...GRAY


Title: Re: Openarena Name Changer??
Post by: dbX on March 09, 2011, 03:16:31 PM
Ok, I've uploaded a new version. Should have some bugs fixed, and the background color for name preview is dark gray. It is now also possible to select mods to which you want the name saved. The command prompt on windows should no longer appear.

You can get it from my site (http://dbx.orgfree.com/projects/quake.html).


Title: Re: Openarena Name Changer??
Post by: Cacatoes on March 09, 2011, 04:56:11 PM
Updated. From your previous readme, I considered current version to be 1.0.4, though that may be wrong.


Title: Re: Openarena Name Changer??
Post by: dbX on March 09, 2011, 05:25:58 PM
Updated. From your previous readme, I considered current version to be 1.0.4, though that may be wrong.

The current version is 1.1.0, I just forgot to change it in the readme :/
I've uploaded a new archive with updated readme. I always forget something :D


Title: Re: Openarena Name Changer??
Post by: swaggerall on March 09, 2011, 07:57:02 PM
Getting Better On Every Update @Dbx :D


Title: Re: Openarena Name Changer??
Post by: Cacatoes on March 10, 2011, 09:30:59 AM
For future versions, any way you make "oanc" linux file executable ? We need to chmod +x it otherwise.


Title: Re: Openarena Name Changer??
Post by: dbX on March 10, 2011, 02:26:52 PM
For future versions, any way you make "oanc" linux file executable ? We need to chmod +x it otherwise.

It's probably because I create the archive on a windows system, and the executable attribute gets lost. I'll see if I can make an archive that would preserve the x attribute.

EDIT: Ok, I've created a new archive which has oanc with the executable attribute, so no chmod+x is no longer required.


Title: Re: Openarena Name Changer??
Post by: swaggerall on March 10, 2011, 02:47:41 PM
I have no idea what you meant by that. but im glad you did it  on windows


Title: Re: Openarena Name Changer??
Post by: Gig on March 10, 2011, 03:26:10 PM
Man, your program rocks!  :)
You just earned a cake for that!  :)

PS: Maybe the green "block" may be a little lighter...
PPS: I see that the window is not resizable, and that (at least on my system) the preview field can show up to 26 (printable) characters at the same time (over this limit, the first characters are out from the screen). Just wondering: are they enough or it would be better to use smaller fonts (or a bit larger window) to allow some some characters to be shown, e.g. 32 or 40?


Title: Re: Openarena Name Changer??
Post by: swaggerall on March 11, 2011, 07:49:53 AM
Dbx I have detected a problem with the openarena name changer ,as you select a name and choose to save it ,IT DOSENT save to all mods.



by the way is it possiable to add more symbols such as >>ひ ..would openarena regonize these types of symbols


Title: Re: Openarena Name Changer??
Post by: fromhell on March 11, 2011, 08:57:08 AM
no it wouldn't


Title: Re: Openarena Name Changer??
Post by: Gig on March 11, 2011, 09:39:44 AM
Dbx I have detected a problem with the openarena name changer ,as you select a name and choose to save it ,IT DOSENT save to all mods.
Wait, what "save" button did you press? "Save to Config" applies the name to the configuration file selected from the "config" window (by default, the one in "baseoa" folder/mod) only. "Save Select", instead, allows to select the mods you wish to update. What did you try exactly?


Title: Re: Openarena Name Changer??
Post by: swaggerall on March 11, 2011, 10:58:30 AM
I have tried to use "save select"..to save to ALL MODS and it wont do it..i'll go to a server and it will have my old name and then ill go to another it will say somthing else.


Title: Re: Openarena Name Changer??
Post by: Gig on March 11, 2011, 11:11:53 AM
You are right... other mods are not affected....


Title: Re: Openarena Name Changer??
Post by: dbX on March 11, 2011, 01:00:45 PM
You are right... other mods are not affected....
All other mods, or only some? I'll investigate this further. I've figured out where the problem lies, while a correct filename for each mod config is determined, I still use the selected config one :-[ I'll fix this in a few hours, once I'm home.

PS: Maybe the green "block" may be a little lighter...
PPS: I see that the window is not resizable, and that (at least on my system) the preview field can show up to 26 (printable) characters at the same time (over this limit, the first characters are out from the screen). Just wondering: are they enough or it would be better to use smaller fonts (or a bit larger window) to allow some some characters to be shown, e.g. 32 or 40?

I'll see to make some changes to improve this. But first I'll make a fixed version for the mod issue.


Title: Re: Openarena Name Changer??
Post by: swaggerall on March 11, 2011, 03:14:54 PM
i beileve the files name is q3config something like that its supposed to save to all of the "q3config files"


Title: Re: Openarena Name Changer??
Post by: dbX on March 11, 2011, 05:12:38 PM
 - Ok, fixed the mod saving bug. Uploaded a new archive to my site (http://dbx.orgfree.com/projects/quake.html).


Title: Re: Openarena Name Changer??
Post by: swaggerall on March 11, 2011, 08:19:41 PM
Ive Feel In Love With It Again :D Btw what about the extra symbols?? can you add some... or would it be a waste ..Would Openarena identify some of the new additional symbols


Title: Re: Openarena Name Changer??
Post by: Gig on March 12, 2011, 03:50:06 AM
Premise: I'm not a game coder.

I fear that may further break compatibility. I'm not sure, but probably it is already that orange color would be shown as black when running Quake 3 mods... adding additional symbols may bring to unexpected results, I suppose...

PS: Just a curiosity:
I see that are some little differences in the symbols table in Quake 3 Name Changer and OpenArena Name Changer.
Compare them... Q3NC (http://images2.wikia.nocookie.net/__cb20110227014621/openarena/images/thumb/4/43/Q3nc_001.png/300px-Q3nc_001.png) with OANC (http://openarena.ws/board/index.php?action=dlattach;topic=4083.0;attach=3247;image). dbX, do you have "blanked" some symbols that did not work?


Title: Re: Openarena Name Changer??
Post by: dbX on March 12, 2011, 04:44:04 AM
Ive Feel In Love With It Again :D Btw what about the extra symbols?? can you add some... or would it be a waste ..Would Openarena identify some of the new additional symbols

I cannot add any symbols that do not exist on the OA font texture (/gfx/2d/bigchars.tga in pak0.pk3).

Premise: I'm not a game coder.

I fear that may further break compatibility. I'm not sure, but probably it is already that orange color would be shown as black when running Quake 3 mods... adding additional symbols may bring to unexpected results, I suppose...

PS: Just a curiosity:
I see that are some little differences in the symbols table in Quake 3 Name Changer and OpenArena Name Changer.
Compare them... Q3NC (http://images2.wikia.nocookie.net/__cb20110227014621/openarena/images/thumb/4/43/Q3nc_001.png/300px-Q3nc_001.png) with OANC (http://openarena.ws/board/index.php?action=dlattach;topic=4083.0;attach=3247;image). dbX, do you have "blanked" some symbols that did not work?

I have used the first 128 symbols. The other 128 symbols seem to be another font, and I'm not sure if they would display. The first 32 characters of the other font have different symbols, so I guess that could be useful. But I think a developer could shed some light on this. As far as I know, I have not blanked out any characters that exist in the font texture, except the other 128 which seem to be another font (which I'm unsure when it's used).


Title: Re: Openarena Name Changer??
Post by: swaggerall on March 12, 2011, 09:40:44 AM
yes some of the symbols will not click to advance the symbol into the name bar.


Title: Re: Openarena Name Changer??
Post by: dbX on March 12, 2011, 09:58:48 AM
yes some of the symbols will not click to advance the symbol into the name bar.

It's not possible to display some of the symbols in the name input bar, because they do not have equivalents in the font used by the name input bar, but they should be visible on the preview regardless. The first symbol however, cannot be used (the dot in the top left corner of the character selection box), since it has ASCII value 0. That's a null char, and is used to indicate string end.


Title: Re: Openarena Name Changer??
Post by: dbX on March 12, 2011, 12:48:27 PM
I've uploaded a version 1.2.0 to my site (http://dbx.orgfree.com/projects/quake.html).

Changes include resizeable windows, fixed license notifications  in the source (shame on me), and some other minor changes.


Title: Re: Openarena Name Changer??
Post by: swaggerall on March 12, 2011, 02:49:47 PM
Beautiful


Title: Re: Openarena Name Changer??
Post by: swaggerall on March 12, 2011, 02:50:35 PM
the green is lighter again


Title: Re: Openarena Name Changer??
Post by: Gig on March 19, 2011, 08:35:26 PM
the green is lighter again
Excuse me, what's the problem?


DBX, using the program I tought about a new feature that should be easy enough to implement.
One or two buttons that would allow to "read" (or "import"?) the name that is currently stored in the main configuration file, or in the configuration file of a specific mod. What do you think about it? Note for readers: the program remembers the last used name from its own config file, it does not read the oaconfig file (this is okay, but a button to read from OA config files would be good, I think).

Another thing: trying to avoid confusion in users, since all those in mods folder are configuration files, too... why don't saying "default config" (or maybe better "main config"?) -instead of simply "config"- when referring to the baseoa configuration file (not in the "save select" window -where baseoa is correctly listed with the folder name-, but in the main and "config" windows)?

Bye!  :)

PS: I suppose the "extended" preview window may be shown when clicking on the preview field also from the "favorites" window...

PPS: If you close the program with an "empty" name, when you open it again it shows "player". Okay, there is no need to use the same "UnnamedPlayer" that the game uses in these cases, but at least making the initial "p" with a capital letter ("Player") would be nice.

PPPS: Since many people are not used to read "readme" files, what about writing somewhere inside the program (maybe in the "about" screen?) that the orange color is only supported starting from OA 0.8.5, and that could be shown as black or as white when using previous versions of the game or old mods?
To be verbose, one should notice that in OA 0.8.5 black text appears white on players names. But this has later been changed: in current OAX versions this happens only if there are no other characters of a different color. But no idea when 0.8.6 will come out.

PPPPS: your program is very good!!!!  :) :) :)


Title: Re: Openarena Name Changer??
Post by: dbX on March 21, 2011, 05:47:44 PM
DBX, using the program I tought about a new feature that should be easy enough to implement.
One or two buttons that would allow to "read" (or "import"?) the name that is currently stored in the main configuration file, or in the configuration file of a specific mod. What do you think about it? Note for readers: the program remembers the last used name from its own config file, it does not read the oaconfig file (this is okay, but a button to read from OA config files would be good, I think).
The program should already load the name from your baseoa config file, if available, and if not from it's own configuration file. I'll check this, and add functionality to load the username from a mod (with the possibility to preview the username before it's loaded).

Another thing: trying to avoid confusion in users, since all those in mods folder are configuration files, too... why don't saying "default config" (or maybe better "main config"?) -instead of simply "config"- when referring to the baseoa configuration file (not in the "save select" window -where baseoa is correctly listed with the folder name-, but in the main and "config" windows)?
I guess I should be more clear about it.

PS: I suppose the "extended" preview window may be shown when clicking on the preview field also from the "favorites" window...
I'll make it so.

PPS: If you close the program with an "empty" name, when you open it again it shows "player". Okay, there is no need to use the same "UnnamedPlayer" that the game uses in these cases, but at least making the initial "p" with a capital letter ("Player") would be nice.
Yeah.

PPPS: Since many people are not used to read "readme" files, what about writing somewhere inside the program (maybe in the "about" screen?) that the orange color is only supported starting from OA 0.8.5, and that could be shown as black or as white when using previous versions of the game or old mods?
To be verbose, one should notice that in OA 0.8.5 black text appears white on players names. But this has later been changed: in current OAX versions this happens only if there are no other characters of a different color. But no idea when 0.8.6 will come out.

I'll make this information sticks out somewhere. Perhaps it would be good to show this information upon starting the program for the first time.

PPPPS: your program is very good!!!!  :) :) :)

Thanks. My intention is to make it even better with your suggestions. I'm not sure when I'll get around to it, but hopefully sometime this week.


Title: Re: Openarena Name Changer??
Post by: Gig on March 29, 2011, 01:22:14 PM
Another question.
Do you think it would be possible to make the "find openarena base config file" window (config --> ...) show hidden folders even if the user hides them in Windows (folder options)? "Application data" folder is hidden, and an unexperienced user may not find it.
Only it if is easy enough and does not have side effects.


Title: Re: Openarena Name Changer??
Post by: dbX on March 29, 2011, 01:44:05 PM
Another question.
Do you think it would be possible to make the "find openarena base config file" window (config --> ...) show hidden folders even if the user hides them in Windows (folder options)? "Application data" folder is hidden, and an unexperienced user may not find it.
Only it if is easy enough and does not have side effects.

I'm not sure but I think it's not possible. Since I use the standard windows dialog, it depends upon windows on whether or not the hidden files are shown. Usually, users should not need to do this as the program finds the folder automatically (I could add a button to reset the base config file to default one).


Title: Re: Openarena Name Changer??
Post by: Gig on March 29, 2011, 01:48:48 PM
(I could add a button to reset the base config file to default one).

A sort of "autodetect" (or "default") button, to find the default path again if someone erroneously changed it in OANC configuration? Nice.


Title: Re: Openarena Name Changer??
Post by: Gig on April 07, 2011, 03:45:39 PM
Any news?


Title: Re: Openarena Name Changer??
Post by: dbX on April 08, 2011, 06:26:38 PM
Any news?

Unfortunately, I've been busy with other stuff (attempting to get a new job). But I should have some free time in the upcoming days, and I'll try to make the changes (no promises though). I don't need much time, but I just don't seem to be able to get around to it.


Title: Re: Openarena Name Changer??
Post by: Gig on April 11, 2011, 09:55:53 AM
Okay, take your time. We don't escape...
But please keep us informed...  :)


Title: Re: Openarena Name Changer??
Post by: sheepofsin on April 12, 2011, 02:38:33 AM
[removed]


Title: Re: Openarena Name Changer??
Post by: Gig on April 14, 2011, 02:57:20 PM
http://ge.tt/4muzDIS/namecreator.7z?type=download
it uses a single image and can remove letters properly

edit:
this one creates the file with javascript though I am not sure if it works correctly
http://ge.tt/7fjhDKL/namecreator2.7z?type=download
Uhm... the first one seems to be a download version of the online tool made by Cacatoes (http://openarena.tuxfamily.org/namecreator/)... but when I click the final button, it opens a popup with some numbers...

The second one seems damaged... the extracted htm file is 0 byte long...

PS: DBX, I created a page about OANC on the Wiki:
(DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/OpenArena_Name_Changer

:) I hope you may add the new features... Oh... another thing: maybe the button to exit from the "favorites" dialog window could be labeled as "Back" instead of "Cancel". Usually a "cancel" button implies to do not save the changes, but if you just "removed" a favorite, this is committed anyway... so I suppose that naming the button "Back" would be better. Bye!


Title: Re: Openarena Name Changer??
Post by: sheepofsin on April 15, 2011, 01:34:34 AM
[removed]


Title: Re: Openarena Name Changer??
Post by: Gig on April 15, 2011, 02:06:55 AM
yes it is based on cacatoes'
archives work. you might need an up to date version of 7zip.

Uhm.. on a PC with the latest 7zip, it works... while with the older version it says that the compression method is not supported. Why don't use the standard compression method?

However, when I press the button to get the name's source code, it opens a popup window with some numbers in it.
PS: Maybe there is no reason to spend a lot of time with download packages for this tool: if one does not want to download a program, will use Cacatoes' online version, and if one wants to download a program, it is better to get OANC that has got more features...


Title: Re: Openarena Name Changer??
Post by: sheepofsin on April 15, 2011, 04:31:14 AM
[removed]


Title: Re: Openarena Name Changer??
Post by: sheepofsin on April 15, 2011, 07:31:37 AM
[removed]


Title: Re: Openarena Name Changer??
Post by: Cacatoes on April 15, 2011, 08:08:12 AM
Good job Sheepofsin, I'll have a deeper look at it and host it when I have time ;)


Title: Re: Openarena Name Changer??
Post by: sheepofsin on April 15, 2011, 09:48:38 AM
[removed]


Title: Re: Openarena Name Changer??
Post by: dbX on April 15, 2011, 09:57:41 AM
PS: DBX, I created a page about OANC on the Wiki:
(DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/OpenArena_Name_Changer

:) I hope you may add the new features... Oh... another thing: maybe the button to exit from the "favorites" dialog window could be labeled as "Back" instead of "Cancel". Usually a "cancel" button implies to do not save the changes, but if you just "removed" a favorite, this is committed anyway... so I suppose that naming the button "Back" would be better. Bye!

I'm working on OANC and implementing the features. I also added a preview area to the mod selection dialog so the current name stored for that mod can be seen. Hopefully I'll get this done today. I'll rename the "Cancel" button to "Back" as suggested.

Thanks for the wiki page.


Title: Re: Openarena Name Changer??
Post by: Gig on April 15, 2011, 04:55:05 PM
http://ge.tt/60xPGwR/namecreator4.zip?type=download
this might work better
NameCreator 4 works ("download" gives you the "seta name" code). :) But "remove this" and "generate file" seem to have no effect.

@DBX: Very good news! :)
PS: in readme.txt, the first phrase in --General-- section begins with OANC written in lowercase caracters, if you want to fix it...


Title: Re: Openarena Name Changer??
Post by: sheepofsin on April 16, 2011, 07:44:32 AM
[removed]


Title: Re: Openarena Name Changer??
Post by: dbX on April 18, 2011, 01:54:46 PM
Ok, I've finally got to improving OANC. Version 1.3.0 is complete and uploaded to my site (http://dbx.orgfree.com/projects/quake.html).


Title: Re: Openarena Name Changer??
Post by: Gig on April 18, 2011, 03:47:35 PM
Thank you! I think will test it tomorrow evening... :)


Title: Re: Openarena Name Changer??
Post by: Gig on April 19, 2011, 07:38:11 AM
Good job, DBX!  :)
I like this program very much!  ;D
The "help" section is a good idea!

Just a few questions/notes:

- The last used name is still stored in the .ini file, but not used when you open the program again (it seems it loads from oa config instead). I this intentional?
- Is there a way to load a single name from a single mod and place it in the main program window, without having to save it to favorites first?
- Was a button to auto-detect the configuration file again (if one previously changed the path) too difficult/useless to implement? (Without the user having to delete his alternate config file to make the program automatically select the default one again)
- In the "Player Name Load" window there is the list of the mods, plus the preview field for the name of the currently selected mod. What about also placing the "source code" of the names in this page? Or in a second preview filed (for the currently selected mod), or even in a second column, to show all the "sources" names together? In the second case, this could be appliable to the "save mods" window, too, to allow the user to know the old usernames that he is going to replace!
- What about asking for a confirmation when the user clicks on the "Save All" button?
- In the "readme" you say <<I've provided scripts for Windows and Linux called createpng(.sh or .cmd respectively)>>. There should be a space before "(" and I suppose .cmd would be for Windows and .sh would be for Linux.
- On your site you did not update the "Last update" date for the tool download link.

Again, a thank you and a "forum cake" for you (I'm not sure if, for this tool, I alredy gave to you one before or not).


Title: Re: Openarena Name Changer??
Post by: dbX on April 19, 2011, 09:20:54 AM
- The last used name is still stored in the .ini file, but not used when you open the program again (it seems it loads from oa config instead). I this intentional?
It is intentional. I may have gotten the wrong impression from you before. I can change it either way, or add an option for this. What do you think would be best?
- Is there a way to load a single name from a single mod and place it in the main program window, without having to save it to favorites first?
Not currently, I figured people would want to have it in the favorites anyway. I guess I could add a button for this.
- Was a button to auto-detect the configuration file again (if one previously changed the path) too difficult/useless to implement? (Without the user having to delete his alternate config file to make the program automatically select the default one again)
I knew I forgot something :D
- In the "Player Name Load" window there is the list of the mods, plus the preview field for the name of the currently selected mod. What about also placing the "source code" of the names in this page? Or in a second preview filed (for the currently selected mod), or even in a second column, to show all the "sources" names together? In the second case, this could be appliable to the "save mods" window, too, to allow the user to know the old usernames that he is going to replace!
Great idea, I'll add this to the next version.
- What about asking for a confirmation when the user clicks on the "Save All" button?
A confirmation dialog can be added. I'll also add a option for those people who do not want to be bothered by a lot of questions. :D
- In the "readme" you say <<I've provided scripts for Windows and Linux called createpng(.sh or .cmd respectively)>>. There should be a space before "(" and I suppose .cmd would be for Windows and .sh would be for Linux.
I'll make a minor correction there. Yes, it means .sh for Linux and .cmd for Windows, but anyone interested in building the sources would probably already know this.
- On your site you did not update the "Last update" date for the tool download link.
I put in the correct day, but did not change the month :/

Again, a thank you and a "forum cake" for you (I'm not sure if, for this tool, I alredy gave it to you one before or not).
Moar!


Title: Re: Openarena Name Changer??
Post by: Gig on April 19, 2011, 10:01:44 AM
- The last used name is still stored in the .ini file, but not used when you open the program again (it seems it loads from oa config instead). I this intentional?
It is intentional. I may have gotten the wrong impression from you before. I can change it either way, or add an option for this. What do you think would be best?
Maybe proposing the latest typed name (not considering if it has been stored in the OA config file or not), but with a button to quick-load the one currently on the default configuration file. What do you think? Theorically, the quick load may even show a preview window with a confirm request, but then it would be not so "quick"...
Quote from: dbX
- Is there a way to load a single name from a single mod and place it in the main program window, without having to save it to favorites first?
Not currently, I figured people would want to have it in the favorites anyway. I guess I could add a button for this.
It could be good.
Quote from: dbX
- Was a button to auto-detect the configuration file again (if one previously changed the path) too difficult/useless to implement? (Without the user having to delete his alternate config file to make the program automatically select the default one again)
I knew I forgot something :D
It happens
Quote from: dbX
- In the "Player Name Load" window there is the list of the mods, plus the preview field for the name of the currently selected mod. What about also placing the "source code" of the names in this page? Or in a second preview filed (for the currently selected mod), or even in a second column, to show all the "sources" names together? In the second case, this could be appliable to the "save mods" window, too, to allow the user to know the old usernames that he is going to replace!
Great idea, I'll add this to the next version.
Good. :)
Quote from: dbX
- What about asking for a confirmation when the user clicks on the "Save All" button?
A confirmation dialog can be added. I'll also add a option for those people who do not want to be bothered by a lot of questions. :D
Well, that would be the only question... or not? What other questions would you need to "hide"?
Quote from: dbX
- In the "readme" you say <<I've provided scripts for Windows and Linux called createpng(.sh or .cmd respectively)>>. There should be a space before "(" and I suppose .cmd would be for Windows and .sh would be for Linux.
I'll make a minor correction there. Yes, it means .sh for Linux and .cmd for Windows, but anyone interested in building the sources would probably already know this.
Sure. But it is not a good reason to keep an error! ^_^
Quote from: dbX
- On your site you did not update the "Last update" date for the tool download link.
I put in the correct day, but did not change the month :/
It happens. Anyway, you could write also the program version there: it should make easier for a visitor to understand if the current version of the server is higher than his currently installed one.
Quote from: dbX
Again, a thank you and a "forum cake" for you (I'm not sure if, for this tool, I alredy gave to you one before or not).
Moar!
What?  ???


Title: Re: Openarena Name Changer??
Post by: dbX on April 19, 2011, 11:29:03 AM
It happens. Anyway, you could write also the program version there: it should make easier for a visitor to understand if the current version of the server is higher than his currently installed one.
Quote from: dbX
Again, a thank you and a "forum cake" for you (I'm not sure if, for this tool, I alredy gave to you one before or not).
Moar!
What?  ???
I meant, more cake is always welcome! IRL I eat a lot of cake too.

The OANC version is written on the site next to the name. I also corrected the typo.


Title: Re: Openarena Name Changer??
Post by: Gig on April 24, 2011, 04:48:08 AM
Hi Dbx...
I was thinking another thing, another improvement for the "Save Mods" window. What do you think about adding two lines (source code and preview) to repeat what is the name you are going to save? This, together with the additional column of the source codes of the "old" names (that I suggested in a previous post) and the preview field that shows the preview of the mod that one selects (that is already there), will allow people to know exactly what they are doing.


Title: Re: Openarena Name Changer??
Post by: dbX on April 24, 2011, 08:38:31 AM
Hi Dbx...
I was thinking another thing, another improvement for the "Save Mods" window. What do you think about adding two lines (source code and preview) to repeat what is the name you are going to save? This, together with the additional column of the source codes of the "old" names (that I suggested in a previous post) and the preview field that shows the preview of the mod that one selects (that is already there), will allow people to know exactly what they are doing.


I think people would probably remember what they're saving (and don't have to be reminded) once they're satisfied with editing a name (then again there are "people" who get confused over any little thing). It's not a problem to add this. The column with source codes of the names can be implemented once for both saving and loading names (as I reuse the same dialog).


Title: Re: Openarena Name Changer??
Post by: Gig on April 26, 2011, 05:13:23 AM
@Cacatoes: I really don't know why Sheepofsin decided to leave the forum and to delete all of his posts.
Anyway, the fourth version of OpenArena Name Creator (not to be confused with OpenArena Name Changer) that he did starting from your online version (http://openarena.tuxfamily.org/namecreator/), adding color support and the ability to delete a character, was not bad.
This is the link that he uploaded (http://ge.tt/60xPGwR/namecreator4.zip?type=download), and I attach the file to this post, too.

I was about asking to him if he would add some "help" inside the tool (specifying that one has to click on a character in the preview field before clicking "remove this" to delete it and that one has to click on "generate file" before clicking on the download link), but I discovered that Sheepofsin has made all his posts empty, writing only [removed] there.

Cacatoes, do you think you could host that tool on your site, and make it also available without the need to download it (to be able to use it both offline and online)? Consider that it is a derivative work from your online tool...

@DBX: I've just found a bug in OpenArena Name Changer 1.3.0. If I open the program, then go to "Load Name(s)", then click "Select None", then manually select some mods (but not the first one!), then "Add to Favorites", i get a "you need to select some mods to be able to load them into favorites" error. But I actually selected them! Making other tests, it seems that it is not related to the "select none" passage: program needs to have the first mod selected or it gives the error! I have no idea if there could be a similar problem also in "save to mods" phase.


Title: Re: Openarena Name Changer??
Post by: dbX on April 26, 2011, 07:02:00 AM
@DBX: I've just found a bug in OpenArena Name Changer 1.3.0. If I open the program, then go to "Load Name(s)", then click "Select None", then manually select some mods (but not the first one!), then "Add to Favorites", i get a "you need to select some mods to be able to load them into favorites" error. But I actually selected them! Making other tests, it seems that it is not related to the "select none" passage: program needs to have the first mod selected or it gives the error! I have no idea if there could be a similar problem also in "save to mods" phase.
I've probably made some stupid mistake when determining if any mods are selected. Will fix it.

It's strange that Sheepofsin left so abruptly. The modifications he made were useful.


Title: Re: Openarena Name Changer??
Post by: Cacatoes on April 26, 2011, 08:57:57 AM
Thanks to he if he's still reading, though yeah, removing messages doesn't benefit OA community. I don't understand his departure either, and it seems fromhell was quick at reacting.
I updated the tuxfamily webpage with his version of the tool. Text labels aren't so intuitive to click, and there are weird horizontal/vertical lines, but nevermind ;)


Title: Re: Openarena Name Changer??
Post by: Gig on April 26, 2011, 04:44:51 PM
 Thank you, Cacatoes.

Why don't you add few lines of "help" text in that page? There is much free space there.  A version 5?

And what about renaming the link to download the tool from "Source of this tool" to "Download Source/Offline version of this tool" or similar? To let people know that, if they wish, they can also use it offline. I know that, once you decide to download something, then OANChanger would be much better than OANCreator... but the second one, being html-based, is even more cross platform.


Title: Re: Openarena Name Changer??
Post by: Cacatoes on April 27, 2011, 03:18:44 AM
Do it, then I'll upload it ;)


Title: Re: Openarena Name Changer??
Post by: swaggerall on June 25, 2011, 07:27:26 AM
I found additonal chars for openarena I THINK



check it out


Title: Re: Openarena Name Changer??
Post by: dbX on June 25, 2011, 01:39:53 PM
The other 128 characters are not displayed as it's another font (the first 128 are used to display player names), I think. I'm not sure though which font is used when.

As for the next version of OANC, I was really busy with real life in the past couple of months, but some free time should clear up soon, and I'll work on some proposed improvements.


Title: Re: Openarena Name Changer??
Post by: Gig on June 25, 2011, 02:14:14 PM
but some free time should clear up soon, and I'll work on some proposed improvements.
Good. :-)


Title: Re: Openarena Name Changer??
Post by: swaggerall on June 25, 2011, 10:05:52 PM
YAAAAY :)


Title: Re: Openarena Name Changer??
Post by: swaggerall on June 26, 2011, 02:00:16 PM
By the way long ago i noticed a bug when you have a set symbols as the first or last part of the name and you save it as a FAVORITE it removes the last or first symbol


Title: Re: Openarena Name Changer??
Post by: fromhell on July 01, 2011, 08:20:52 PM
I found additonal chars for openarena I THINK



That's not for OpenArena. I think that's Generations Arena's bigchars.tga. Either way, we cannot use it. Udi made some cool ones.


Title: Re: Openarena Name Changer??
Post by: swaggerall on July 02, 2011, 05:56:48 PM
thanks fromhell :D


realese 8.7 already !


Title: Re: Openarena Name Changer??
Post by: dbX on August 23, 2011, 01:26:57 PM
Okay, after quite some time(over 4 months I think) I got some free time and will to work on a new version. Fixed bugs and implemented most of Gigs suggestions. I don't think I'll work on a next version, at least not in the near future. I put a thanks to Gig in the readme file, since he's the one who made most of the feedback.

Due to my hosting being crap, I had to upload this to rapidshare. I have uploaded to my site too, but it's really slow to download and it mostly breaks, at least for me, and it took me 15 - 20 attempts to upload the file. I'm looking for new hosting.

Download from here: OANC 1.4.0 (http://rapidshare.com/files/3991396573/oanc.7z)


Title: Re: Openarena Name Changer??
Post by: Neon_Knight on August 23, 2011, 03:04:07 PM
Mirror here:

http://www.onykage.com/files/armageddonman/stuff/oanc.7z


Title: Re: Openarena Name Changer??
Post by: dbX on August 25, 2011, 04:35:15 AM
Mirror here:

http://www.onykage.com/files/armageddonman/oanc.7z

Thanks Neon_Knight.


Title: Re: Openarena Name Changer??
Post by: Gig on August 25, 2011, 05:45:18 AM
Download from here: OANC 1.4.0 (http://"https://rapidshare.com/files/3991396573/oanc.7z")
Please check your post, the url is incorrect (maybe the forum automatically added some tags).
This should work: OANC 1.4.0 (https://rapidshare.com/files/3991396573/oanc.7z)

I'll try it and give you some feedback in few days. For the moment, thank you, man!  :)


Title: Re: Openarena Name Changer??
Post by: dbX on August 25, 2011, 05:50:24 AM
Download from here: OANC 1.4.0 (http://"https://rapidshare.com/files/3991396573/oanc.7z")
Please check your post, the url is incorrect (maybe the forum automatically added some tags).
This should work: OANC 1.4.0 (https://rapidshare.com/files/3991396573/oanc.7z)

I'll try it and give you some feedback in few days. For the moment, thank you, man!  :)

Ok, fixed the link. Thanks.


Title: Re: Openarena Name Changer??
Post by: swaggerall on August 25, 2011, 07:52:58 AM
dbx the screenshot on your site says "OA" and "CFG" in the corners but the download doesnt have "OA" and "CFG" in the corner


and   these 2 buttons do what exactly?


Title: Re: Openarena Name Changer??
Post by: Gig on August 25, 2011, 07:59:19 AM
Okay.. with the first checks:

- In the "Gnu modified lgpl" readme, carriage returns are not shown correctly (they are shown as white squares instead of going to new line). As usual, I'm testing under Windows only.
- In "Readme", a couple of missing spaces before "(", after "Windows" and "Linux" words.
- In the "Quick help" readme, in the "Save select" section, there is an extra space before a comma, and where you say <<only the 'Selected config file' mod will be shown>>, I suggest to change to <<only the mod containing the 'OpenArena Configuration File' set in 'Options' window (usually 'baseoa') will be shown>> or similar.
- In the "Quick help", in the "Other" section, there is a missing space in <<visible(on some platforms)>>
- In the "Quick help", I suggest to mention that, even if you don't "save" the currently typed name to OpenArena, it will be saved in OANC settings at program close, and will automatically be loaded when launching the tool again. One can quickly load the name stored in the main OA configuration file simply using the "Quick load OA" button on the upper right corner.
--Hey, I see in the "Others" section, that says <<The program will load your last used player name from the OA config file, if it can. If not it loads from it's own configuration file.>>. As I just told, it loads from its own file instead (and I think it's the right behavior)... so maybe is this line outdated?
- The "You need to select some mods to be able to load them into favorites" error even if you have selected some mods but not the first one of the list (bug), is still there! Changelog says you fixed a similar problem during saving, but previously I mentioned this one with loading... (at that time, I mentioned that maybe there could be a similar one with saving, but did not test it).
- Maybe it would be "safer" to make the "save mods" window start with all mods de-selected, instead of all of them selected (considering that, unlike using the "Save all" button, there is no confimation request here!).
- What about changing the "Save Mods" button text to "Save to Mods"? Maybe also "Save All" may be labelled "Save to All" or "Save to all mods"...
- The two "Save" buttons inside the "Save to Mods" are a bit confusing this way... what about naming them to "Save to all checked mods" and "Save to highlighted mod only"? (Italic is used just for explaining here). Similar terms could be used also in "load names" window buttons (also in that window, one button works with the checked lines and one with the hightlighted line).
- Another bug: the "name source" field in "save to mods" and "load names" windows sometimes appear with a name already in, before you select any line. I'm unsure from where that text comes from, but probably after you save/load one (it is not shown when you go to that window just after launching the program) it remains stored in the variable until you select another one, even if you close and open the load/save window again: probably the variable is not initalized each time you load that window.
- In the "configuration" window, to be clearer, the button "set to default configuration file" should be nearer to the text field that contains the path than the "save configuration to same directory as OANC" checkbox (that is a different thing and should be a little more separate from them). I really suggest this.
-- Still in the configuration window, but only if you have some more spare time, you could also do a cool thing: next to that checkbox, placing a read-only text field that shows you what will be the actual path of the OANC config file (that changes if you check or uncheck the box).
- The "quick load" text may be placed a litte nearer to the "OA" and "CFG" buttons. Wait... if you espressly placed it at that distance to preserve compatibility with systems with different fonts, leave it there (I see in your screenshot here (http://dbx.orgfree.com/projects/quake.html) that in your system it looks better than in mine with windows XP). :)

I understand you don't plan further development, but I hope you may make a 1.4.1 version with these small fixes.

PS: To swaggerall... please check you are using v 1.4.0. I have those buttons (that load the name from your baseoa folder or from OANC config file to the main window).

PPS: to everyone... Please do your own tests, also under Linux, and submit bugs if you find them.... finding all (or most) of them now, we will not need to disturb dbX in future too much.


Title: Re: Openarena Name Changer??
Post by: dbX on August 25, 2011, 08:21:50 AM
Okay.. with the first checks:

- In the "Gnu modified lgpl" readme, carriage returns are not shown correctly (they are shown as white squares instead of going to new line). As usual, I'm testing under Windows only.
- In "Readme", a couple of missing spaces before "(", after "Windows" and "Linux" words.
- In the "Quick help" readme, in the "Save select" section, there is an extra space before a comma, and where you say <<only the 'Selected config file' mod will be shown>>, I suggest to change to <<only the mod containing the 'OpenArena Configuration File' set in 'Options' window (usually 'baseoa') will be shown>> or similar.
- In the "Quick help", in the "Other" section, there is a missing space in <<visible(on some platforms)>>
- In the "Quick help", I suggest to mention that, even if you don't "save" the currently typed name to OpenArena, it will be saved in OANC settings at program close, and will automatically be loaded when launching the tool again.
--Hey, I see in the "Others" section, that says <<The program will load your last used player name from the OA config file, if it can. If not it loads from it's own configuration file.>>. As I just told, it loads from its own file instead (and I think it's the right behavior)... so maybe is this line outdated?
- The "You need to select some mods to be able to load them into favorites" error even if you have selected some mods but not the first one of the list (bug), is still there!
- Maybe it would be "safer" to make the "save mods" window start with all mods de-selected, instead of all of them selected (considering that, unlike using the "Save all" button, there is no confimation request here!).
- What about changing the "Save Mods" button text to "Save to Mods"?
- The two "Save" buttons inside the "Save to Mods" are a bit confusing this way... what about naming them to "Save to all checked mods" and "Save to highlighted mod only"? (Italic is used just for explaining here)
- Another bug: the "name source" field in "save to mods" and "load names" windows sometimes appear with a name already in, before you select any line. I'm unsure from where that text comes from, but probably after you save/load one (it is not shown when you go to that window just after launching the program) it remains stored in the variable until you select another one, even if you close and open the load/save window again: probably the variable is not initalized each time you load that window.

I understand you don't plan further development, but I hope you may make a 1.4.1 version with these small fixes.

I'll try to implement these changes once I get back home, these should not take a lot of time. I might continue development on the program, I just don't plan on doing much in the near future.


Title: Re: Openarena Name Changer??
Post by: Gig on August 25, 2011, 11:44:14 AM
Who knows, maybe near Christmas you may have more vacations and you may want to put in more features... I just thought to a science-fiction-like OANC 2.0 (or 3.0) feature: a system to associate names with key bindings (and remove them) in configuration files (bind <key> "name <name>", from the OANC GUI, e.g. one key for each favorite), that would allow users to switch between their names on-the-fly, directly from the game. That would be a great feature from the user's point of view, but a pain from the developer's point of view (since one should check carefully to do not overwrite existing bindings -unless they already contain a "name", "set name", "seta name" command-, that would be possible, and managing mods correctly, that would be a lot harder; maybe one could limit this feature to the main configuration file only...).

Well, this is simply a futuristic idea (who knows, maybe you may like it). For now, having the fixes mentioned in the previous post would be great.


Title: Re: Openarena Name Changer??
Post by: dbX on August 25, 2011, 12:01:25 PM
- In the "Gnu modified lgpl" readme, carriage returns are not shown correctly (they are shown as white squares instead of going to new line). As usual, I'm testing under Windows only.

One of the things I hate about the Windows operating system, is how little effort is put into the base applications such as Notepad. Even after all these years, Notepad has practically not received much improvement. It still does not support Unix style line endings, and probably will not in Windows 8. Sure you can replace notepad with many other text editors, but most users wont, so I need to check line endings every time I modify a file on Linux so it's readable under Windows. I do not know why they're showed as squares. With notepad it does not show anything, it just makes one big line, which is also bad.


Title: Re: Openarena Name Changer??
Post by: dbX on August 25, 2011, 12:11:48 PM
Who knows, maybe near Christmas you may have more vacations and you may want to put in more features... I just thought to a science-fiction-like OANC 2.0 (or 3.0) feature: a system to associate names with key bindings (and remove them) in configuration files (bind <key> "name <name>", from the OANC GUI, e.g. one key for each favorite), that would allow users to switch between their names on-the-fly, directly from the game. That would be a great feature from the user's point of view, but a pain from the developer's point of view (since one should check carefully to do not overwrite existing bindings -unless they already contain a "name" command-, that would be possible, and managing mods correctly, that would be a lot harder; maybe one could limit this feature to the main configuration file only...).

Well, this is simply a futuristic idea (who knows, maybe you may like it). For now, having the fixes mentioned in the previous post would be great.

I'm not sure how hard this would be to do, and it's unlikely I'll ever implement this. I like powerful tools, but this might be a bit over the top.


Title: Re: Openarena Name Changer??
Post by: Gig on August 25, 2011, 12:24:34 PM
- In the "Gnu modified lgpl" readme, carriage returns are not shown correctly (they are shown as white squares instead of going to new line). As usual, I'm testing under Windows only.

One of the things I hate about the Windows operating system, is how little effort is put into the base applications such as Notepad. Even after all these years, Notepad has practically not received much improvement. It still does not support Unix style line endings, and probably will not in Windows 8. Sure you can replace notepad with many other text editors, but most users wont, so I need to check line endings every time I modify a file on Linux so it's readable under Windows. I do not know why they're showed as squares. With notepad it does not show anything, it just makes one big line, which is also bad.
I don't know which API your program uses to show text files, but it has got the same (silly) limitation as notepad: I noticed the problem (that is not new for notepad... somewhere in the Wiki I think I have suggested to edit q3config.cfg using Notepad++) opening it from the "help" menu of OANC.


Title: Re: Openarena Name Changer??
Post by: dbX on August 25, 2011, 12:38:24 PM
I don't know which API your program uses to show text files, but it has got the same (silly) limitation as notepad: I noticed the problem (that is not new for notepad... somewhere in the Wiki I think I have suggested to edit q3config.cfg using Notepad++) opening it from the "help" menu of OANC.

Well, crap. I guess it's Lazarus :(
I'll see if I can change that. While I'm already at this, I might also fix the limitation for paths which contain special characters, I guess this will make for better user experience.


Title: Re: Openarena Name Changer??
Post by: Gig on August 25, 2011, 12:51:15 PM
Well, if the problem is only a single text file, it would be quicker to fix that file (a thing that I suggest anyway, so if a user opens it with the classic notepad instead of from the help menu, it will work correctly anyway).
If you think there is a way to fix the special characters limit, and it is easy enough and without negative effects, you can try it. Personally, I don't have special characters in my path and I don't even know what kind of error messages the program shows in that case... can you tell me some specific special characters (but that Windows filesystem accepts) that should cause the program get in trouble, to make a test?


Title: Re: Openarena Name Changer??
Post by: dbX on August 25, 2011, 12:55:09 PM
If you think there is a way to fix the special characters limit, and it is easy enough and without negative effects, you can try it. Personally, I don't have special characters in my path and I don't even know what kind of error messages the program shows in that case... can you tell me some specific special characters that should made the program get in trouble, to make a test?

There is a way, it should be relatively easy. Try any non-US, country specific characters (in my case čćžšđ). The program finds those paths unreadable. I need to use UTF8 when handling such paths. I need to test this anyway so you need not worry. However, a test after I implement this would be great.


Title: Re: Openarena Name Changer??
Post by: dbX on August 25, 2011, 04:55:48 PM
I've completed the new 1.5.0 version. It can be downloaded from rapidshare (https://rapidshare.com/files/1754851076/oanc.7z) or my crappy site (http://dbx.orgfree.com/projects/quake.html) (good luck getting that to work). I'm looking into new hosting and a new domain, so if anyone has suggestions on a good hosting company (I'm looking primarily into paid hosting, because free ones usually don't cut it with ads, limits ...), let me know.

In this version I've implemented most of the fixes Gig suggested, and the program can now work on systems with language specific characters in the file paths. Also some slight modifications to UI so text fits on all platforms I tested. Fedora 15 with Gnome 3.0 has a huge font. I'm satisfied with the program and I think it's well-rounded. If anyone encounters any additional bugs let me know, I'll fix them eventually.


Title: Re: Openarena Name Changer??
Post by: Gig on August 25, 2011, 06:42:48 PM
Wow, you have been extremely fast! I haven't had the time to come back home and write this message before you uploaded a new version!

What I wanted to write to you is this one more suggestion... Call me paranoid if you think...
OANC saves q3config.cfg files, before changing them, copying them to q3config.cfg.bak. Well, adding a .bak extension is quite a common pratic when one wants to keep a copy of a file before making some changes, that usually is done manually. The point is: what does it happen if someone creates a .bak to keep a copy of his config for any other reason, and later uses OANC? That his manual backup will be overwritten by OANC. The solution? I suggest to add a different extension instead of .bak, something that people would not use by their own (.oanc, .oancbk, .oancbck, .ncbck, for example).

Well, if you decide to make this change, remember to check all the four save kinds (save to default config, save to all, save to checked mods, save to highlighted mod), and then to update the help, too...
 


Title: Re: Openarena Name Changer??
Post by: dbX on August 26, 2011, 12:02:54 AM
Wow, you have been extremely fast! I haven't had the time to come back home and write this message before you uploaded a new version!

What I wanted to write to you is this one more suggestion... Call me paranoid if you think...
OANC saves q3config.cfg files, before changing them, copying them to q3config.cfg.bak. Well, adding a .bak extension is quite a common pratic when one wants to keep a copy of a file before making some changes, that usually is done manually. The point is: what does it happen if someone creates a .bak to keep a copy of his config for any other reason, and later uses OANC? That his manual backup will be overwritten by OANC. The solution? I suggest to add a different extension instead of .bak, something that people would not use by their own (.oanc, .oancbk, .oancbck, .ncbck, for example).

Well, if you decide to make this change, remember to check all the four save kinds (save to default config, save to all, save to checked mods, save to highlighted mod), and then to update the help, too...
 

It's not a problem. Only a single change needs to be made since all four save kinds use the same end routine to save the file. I'll make a 1.5.1 tomorrow, since today I'm not going to be home.


Title: Re: Openarena Name Changer??
Post by: Gig on August 26, 2011, 07:31:40 AM
I was about asking to you to add a message, when you enable or disable the "Save configuration to same directory as OANC", to warn the user that the change will be effective after program restart, and that the existing configuration file will not be automatically copied from a location to the other -correct, but better to say it- (tested with OANC 1.4.0)....

And while doing such tests, I noticed a strange thing... where does OANC 1.5.0 store its configuration file, when "Save configuration to same directory as OANC" is NOT checked? The program is working (I can store and recall favorites after program closure), but is using with a different configuration file, that I don't find! The file in my %appdata%\.oanc folder is not being modified anymore...

PS: What about mentioning in the "quick help" that the user should have read/write permissions for the OANC installation folder?

PPS: No time for this, uh?
-- Still in the configuration window, but only if you have some more spare time, you could also do a cool thing: next to that checkbox, placing a read-only text field that shows you what will be the actual path of the OANC config file (that changes if you check or uncheck the box).


Title: Re: Openarena Name Changer??
Post by: dbX on August 26, 2011, 07:48:27 AM
I was about asking to you to add a message, when you enable or disable the "Save configuration to same directory as OANC", to warn the user that the change will be effective after program restart, and that the existing configuration file will not be automatically copied from a location to the other (tested with OANC 1.4.0)....

And while doing such tests, I noticed a strange thing... where does OANC 1.5.0 store its configuration file, when "Save configuration to same directory as OANC" is NOT checked? The program is working (I can store and recall favorites after program closure), but is using with a new configuration file, that I don't find! The file in my %appdata%\.oanc folder is not being modified anymore...

PS: What about mentioning in the "quick help" that the user should have read/write permissions for the OANC installation folder?

The program no longer stores in %appdata%, I use the integrated Lazarus functionality, to make it work with different systems (since before I manually figured out for each platform where to store the configuration file). This way Lazarus does it for me, but it stores in a different path. It's no longer in roaming (AppData) but in local (LocalSettings\AppData\.oanc).

I could make the program store the settings to the local configuration file if the "Save configuration to same directory as OANC" option is checked. This way it will "copy" the settings. I guess I could add a message, but I don't expect this feature to be used much considering the program should now have no problems accessing paths with language specific characters.

I'll make a note in the quick help.


Title: Re: Openarena Name Changer??
Post by: Cacatoes on August 26, 2011, 08:12:15 AM
In case you need:

http://openarena.tuxfamily.org/upload/

I'll upload/move your release to right FTP directory when you are done with developments ;)


Title: Re: Openarena Name Changer??
Post by: Gig on August 26, 2011, 08:13:23 AM
Uh... I don't like "local", I prefer the "%appdata%" one (that can be easily accessed using that "shortcut")... but if you say that it is better for other reasons (like code cleanup and, more important, O.S. compatibility)....
Side note: changelog should have told about this 1.5.0 change. ;)

But in this case, considering that the path is different than the one used by OpenArena, I suggest again to show the saving path in the configuration window (in a read-only text field), if possible.


About automatically copying the configuration file from installation folder to user data folder and vice versa, maybe it is not worth of implementation. What would happen in a multi-user environment? What do you think about it? I fear if the "A" user checks the checkbox, its personal config would overwrite the "shared" one in OANC folder; and then if the "B" user unchecks the checkbox, the shared configuration (that would contain "A"'s favorites) would overwrite B's personal config...
I suppose a message that informs that the change will be applied after program restart, and that configuration data will not be automatically copied should be enough... what's your opinion?


Title: Re: Openarena Name Changer??
Post by: Gig on August 26, 2011, 10:26:11 AM
Another thing...
I renamed the OANC folder, including non-US letters, and then enabled the "Save configuration to same directory as OANC": 1.5.0 did the same thing as 1.4.0 did... it does not say any error message, but does not create the configuration file there, and the next time you open it, you find the checkbox unchecked.

It seems there is still some problem with special characters, man... also that license information file is still shown without correct line endings...


PS: A very, very insignificant change, but, since we are here... I suppose you may change the "Current name in selected mod" text to "Current name in highlighted mod", and the "select all/select none" buttons to "check all/check none". In the same way, "No mods are selected" in save to mods may say "No mods are checked", and "you need to select some mods to be able to load them into favorites" in load names may say "check" instead of "select". Do you like it? Is "Check none" correct in English?

PPS: I just noticed that "Configuration" window is sizeable, but lower limits are too small, and enlarging it is useless, at the moment, since it does not expand the "path" field. Hey, about sizeable windows, maybe also the loading and saving windows could be sizeable (like main and favorites are, not allowing to set smaller than default size -I just checked that everything fits correctly also in a relatively "small" 800x600 screen-), if you wish...

PPPS: About "Favorites" window, what about some option to sort or change the order of lines the list?

PPPPS: In main window it is possible to create your name just using the mouse... but what about a sort of "backspace" button to be able to make corrections without switching from the mouse to the keyboard?

PPPPPS: In quick help, in "other" section, you talk about configuration files backups. I suppose it would be better to specify that you are talking about OpenArena configuration files, and not about OANC configuration files.

PPPPPPS: Maybe the "Save configuration to same directory as OANC" text would be clearer if saying "Save OANC configuration to its own directory", "... to its installation directory", "... to its executable directory" or similar (to explain that, unlike the two options above it, this option is not referring to OA configuration).


Title: Re: Openarena Name Changer??
Post by: sago007 on August 26, 2011, 10:30:01 AM
also that license information file is still shown without correct line endings...
Have you tried viewing it in wordpad?

Correct line endings are a relative term. At work I sit with text editors that does not support CRs.


Title: Re: Openarena Name Changer??
Post by: Gig on August 26, 2011, 10:47:35 AM
also that license information file is still shown without correct line endings...
Have you tried viewing it in wordpad?

Correct line endings are a relative term. At work I sit with text editors that does not support CRs.
There is an "help" section inside the program itself that shows the content of the help and license files, directly inside the program. And it does not work correctly, just like the classic notepad. In theory, 1.5.0 should have fixed this (together with the special characters in paths problem), but someting seem to have went wrong, as both problems are still there...


Title: Re: Openarena Name Changer??
Post by: Cacatoes on August 26, 2011, 12:59:57 PM
@Sago
"Correct line ending" is not that much a relative term, it just means: there is no crap displayed at the end of line, and, the end of the line is taken into account. You probably meant something like "there is no implementation more correct than the other, they only follow their own standards" ;)
And I don't know what to think of a text editor which doesn't allow you to handle both of them.

@Gig
I'd tend to prefer the "more semantical" description than the more "visual" one. Good software is one which is both meaningful when used (GUI) while exposing its mechanism when needed (source code). For instance, representation of "selection" (which is something semantic) may change according to toolkits.


Title: Re: Openarena Name Changer??
Post by: Gig on August 26, 2011, 02:01:45 PM
@Gig
I'd tend to prefer the "more semantical" description than the more "visual" one. Good software is one which is both meaningful when used (GUI) while exposing its mechanism when needed (source code). For instance, representation of "selection" (which is something semantic) may change according to toolkits.
This sounds correct and seems a good general approach... but how to best apply it to this case? In this parcular case, we have a single window with two "save" buttons... one of them works with the "n" elements of the list that have their checkbox enabled, and the other works with only the hightlighted element (without considering its checkbox state, and it not possible to hightlight multiple elements). They are two different kinds of "selections" in this window... any suggestions about how to semantically separe them, to be clear for both final users and developers?
Note: My suggestion of replacing the -in this particular case- ambiguous "selected" term with "checked" and "hightlighted" in the remaining strings related to that window was intended for making the final user's experience even easier, but it could also be leaved as it is now. Now it's not bad, I only said that it could be even clearer.


Title: Re: Openarena Name Changer??
Post by: swaggerall on August 26, 2011, 09:34:09 PM
i just donwloaded the name changer gig o.O of course its up to date xD


i still dont have the buttons

oh and btw dbx i found an error




using a certain symbol AS THE FIRST in a name when its saved as a favorite it skips it and that symbols isnt there such as this



<SYMBOL>swaggerall

<---before saved



after closing program and opening it


swaggerall

the symbol doesnt save it gets skipped


ONLY IN FAVORITES


Title: Re: Openarena Name Changer??
Post by: Cacatoes on August 27, 2011, 01:47:35 AM
@Gig
It could be necessary to rethink the whole GUI and I'm just too lazy to do that :p
I see there are several similar windows (each with their own "preview+source-nick" fields), many save and load options and ways to interact from different places/files, that's what confuses me the most (while I'm familiar enough with OA to understand the logic). I would have stick with a more simple "first window", like, favs are meant to be handy, they're probably not meant to be managed/added directly from the first window. Kinda the same with all the save options for "mods". Favorites could be managed directly from the list, instead of the tickable box column it could recognize which of these names are already in favorites or not and you would just have to de/select them in one click, that would also avoid the "add to favs" button. In general, I would try to avoid repetition. I didn't get yet what "Quick load from CFG" does, I suppose the tool has its own entry for a nick, this may not be necessary to save it if you already have stored name in favorites (as they are both meant as a "call back from an easy place").
I wouldn't have forbid moving the "centered window" either, his responsibility to move and not to lose it ;) I even thought I had a problem with my window decorator or graphic driver ! :D (it already happened)


Title: Re: Openarena Name Changer??
Post by: dbX on August 27, 2011, 05:52:44 AM
i still dont have the buttons

What buttons?

I wouldn't have forbid moving the "centered window" either, his responsibility to move and not to lose it ;) I even thought I had a problem with my window decorator or graphic driver ! :D (it already happened)

It's not that I forbid it, I just don't save it (though I thought I did). Every program has to save windows size/position itself.


Title: Re: Openarena Name Changer??
Post by: Cacatoes on August 27, 2011, 09:22:11 AM
Hmm, I meant, "it's up to the user to be able to move the window and not lose it". Right now I can't move the window at all, the "move" option of my Gnome environment is greyed out for this particular window, and I can't move the window by mouse either when I click on its top. It may be a problem with my setup ... It only happens with the "Load name(s)" window.


Title: Re: Openarena Name Changer??
Post by: dbX on August 27, 2011, 02:13:48 PM
Hmm, I meant, "it's up to the user to be able to move the window and not lose it". Right now I can't move the window at all, the "move" option of my Gnome environment is greyed out for this particular window, and I can't move the window by mouse either when I click on its top. It may be a problem with my setup ... It only happens with the "Load name(s)" window.

I've never experienced this problem on Windows XP, Windows 7, Fedora 14 with Gnome 2 or Fedora 15 with Gnome 3. If you can move the "Save to mods" window then you should also be able to do the same with the "Load name(s)" window as it's basically the same window, only reused so I don't duplicate window functionality.


Title: Re: Openarena Name Changer??
Post by: Gig on August 27, 2011, 05:38:16 PM
i still dont have the buttons
What buttons?

I think swaggerall is talking about "quick load" buttons. Strange, could you please upload a screenshot, Swaggerall?

@Cacatoes: well, when you close and open the program again, it remembers the last name you were editing, even if you did not save it to any OA config. Clicking "quick load oa", it reads your current name from baseoa. Clicking "quick load cfg", it reads again the name that you were editing when you last closed the program (maybe like some sort of undo).

I don't think it would be necessary to radically change program UI. I like the current one, I simply suggested some little clarifications in buttons.


Title: Re: Openarena Name Changer??
Post by: Cacatoes on August 28, 2011, 02:43:35 AM
Problem also happens with "Save mods" window ;) (but doesn't happen with "Favorites")


Title: Re: Openarena Name Changer??
Post by: Gig on August 28, 2011, 04:45:23 AM
About the bug reported by Swaggerall (http://openarena.ws/board/index.php?topic=4083.msg39679#msg39679), I have done a test. It does affect symbols, those that in the "source" field are shown as squares. You can notice the problem closing and opening the program again: those symbols disappear from the name. It seems that they are removed when saved in the oanc configuration file in the "favorites" section (this may even bring to duplicate entries in favorites list), while written in the "last used name" section (but then not re-loaded anyway, for some unknown reason).
Maybe Lazarus implementation of special characters has got some flaw with Windows... or maybe there is something different, since the name is correctly stored and loaded from OpenArena configuration files. Is it possible that q3config.cfg has got a different encoding than oanc.ini?

Wait, there is some problem also with names saved/loaded in OA config, depending from which is the symbol used: e.g. the "lower right corner" symbol is not shown when re-loading the name from OA config, and makes even the character before it disappear! It was not so easy to notice such important problems, because you see them only after closing and opening the program again.

Note: I just checked, and symbols disappearing from favorites affect the "old" 1.3.0 version of OANC, too. Maybe that problem has always been there, and we didn't notice it...

Problem also happens with "Save mods" window ;) (but doesn't happen with "Favorites")
Uhm... maybe this problem affects the OANC windows that are not sizeable, for some reason in your system? Under Windows XP, all OANC windows are movable (unless there are lower level dialogs/windows open!), while only some of them are sizeable.


Off-topic: is it normal that "deleted" favorites aren't really deleted from the configuration file, but simply ignored? Not the maximum of privacy...


Title: Re: Openarena Name Changer??
Post by: dbX on August 29, 2011, 12:44:47 PM
I've released a new version. Hopefully I've fixed all of the bugs mentioned, except that window move bug which I do not know why it's happening (it could be a problem with the Lazarus GTK2 widgetset, or with Cacatoes system).

Here is a rundown of changes:
 - It should be possible to save OANC configuration file locally now.
 - Settings and favorites should be preserved now when changing the "Save OANC configuration to i'ts own directory" checkbox in configuration.
 - Mod selection windows are now sizeable.
 - Name and favorites are now url encoded in the OANC configuration file, since the INI file parser did not support symbols used. This is the bug swaggerall reported.
 - Favorites are no longer preserved in the OANC configuration file, but are now permanently removed when removed by user from favorites.
 - Some other changes and bugfixes.

I've uploaded the archive to rapidshare (https://rapidshare.com/files/936655380/oanc.7z) and to tuxfamily (http://download.tuxfamily.org/openarena/upload/oanc.7z), though as I understand this will be a temporary location on tuxfamily.

I'll fix bugs if there are any, just no new features.


Title: Re: Openarena Name Changer??
Post by: Gig on August 29, 2011, 04:14:48 PM
OKay, I have to go bed so I can't test it now (and I will be quite busy in RL for the next two days).
I will need some time to check which bugs have been really fixed and which not (e.g. you mentioned URL encoding for fixing the bug affecting favorites stored in ini file, but did not mention the problems with loading certain symbols from q3config.cfg and the fact that non-us characters in path didn't work as expected).

And there are a couple of things in the changelog that I'm not sure about.
- Settings and favorites should be preserved now when changing the "Save OANC configuration to i'ts own directory" checkbox in configuration.
Why this? I've said it seemed a little dangerous to me, and that a simple notice could have been enough. Well, it can go in this way, too... but I suggest to you to add something to the quick help, where you talk about that checkbox, like: "Setting off or on the feature will copy your OANC configuration from program folder (shared between computer users) to data folder (specific for each user) or vice-versa: rember that changing this option you may overwrite one user's configuration with the settings of another one. In a multi-user machine, it is advisable to immediately select for a shared or user-specific configuration, just after program installation."
... what about creating a backup file, when overwriting program configuration?

Anyway, I'm too anxious to test this new version of this very nice tool...  :)

UPDATE:
- I've done a little test and I'm happy that url encoding seems to have fixed the problem with favorites... but the one with managing some symbols (like the "lower right corner") from q3config.cfg is still there. URL encoding will not help us in that, I fear... (unless OpenArena itself may read url encoded names?) Anyway, I don't understand why does this happen only after closing and opening the program again, considering that q3config.cfg is instantly updated when you hit "save".

- For some reason, "favorites" button appears a little wider than the other buttons above and below it.

- What did you mean with "It should be possible to save OANC configuration file locally now."? Under Windows XP, versions up to 1.4.0 used "C:\Documents and Settings\<username>\Application data\.oanc", while 1.5.0 and 1.6.0 use "C:\Documents and Settings\<username>\Local settings\Application data\.oanc". What should have changed with 1.6.0? PS: for me, you can save it to the folder you wish, if you can inform the user displaying that path in the GUI (but I already told this, and I don't want you to get angry with me if I repeat it too much :p)
---Update, the following day. Reading the changelog in the program, I see that you fixed a bug that did not allow to save to the same folder as oanc executable. I suppose you were referring to this, now.

And now, goodnight (really).


Title: Re: Openarena Name Changer??
Post by: Gig on August 30, 2011, 01:08:37 AM
Hi, I just noticed a small problem: in a double-monitor Windows XP environment, OANC windows are placed in the middle of the two monitors (half in one and half in the other). For most screens, it is not a big problem, seeing that their coordinates are stored (after you move them to somewhere once, you will find them there the next time)... but some screens (help window, about, name preview) do not store their position and thus you will find them in the middle of the two monitors each time you will access them, that is a little uncomfortable. Windows that contain text files (quick help, changelog, etc) are always opened in the middle of the main monitor, instead.


Title: Re: Openarena Name Changer??
Post by: dbX on August 30, 2011, 01:24:23 AM
Hi, I just noticed a small problem: in a double-monitor Windows XP environment, OANC windows are placed in the middle of the two monitors (half in one and half in the other). For most screens, it is not a big problem, seeing that their coordinates are stored (after you move them to somewhere once, you will find them there the next time)... but some screens (help window, about, name preview) do not store their position and thus you will find them in the middle of the two screens each time you will access them, that is a little uncomfortable. Windows that contain text files (quick help, changelog, etc) are always opened in the middle of the main screen, instead.

I just set windows positions to desktop center. I'll see if I can change this to be monitor center. I hope there's an easy way to do this in Lazarus, otherwise I am not sure what I can do about it, aside from positioning windows at some fixed initial position. I'll research into this.


Title: Re: Openarena Name Changer??
Post by: Gig on September 01, 2011, 02:50:36 PM
Two more things tested under 1.6.0:

- "backspace" virtual button always deletes the last character of the name, without considering the place of the cursor!
- in my system, paths with special characters continue to do not work: in this case, it does not even create the "writeconfighere" file if I check the option. (Tested under both FAT32 and NTFS, same behavior)


Title: Re: Openarena Name Changer??
Post by: dbX on September 01, 2011, 03:03:28 PM
Two more things tested under 1.6.0:

- "backspace" virtual button always deletes the last character of the name, without considering the place of the cursor!
- in my system, paths with special characters continue to do not work: in this case, it does not even create the "writeconfighere" file if I check the option. (Tested under both FAT32 and NTFS, same behavior)

Crap, I hoped I fixed that. The problem with the backspace key is that there is no way to figoure out the caret position in the input, so I can`t really tell what character to delete. I`ll look into this some more when I get some free time, as this would also be useful for other applications I write.


Title: Re: Openarena Name Changer??
Post by: swaggerall on September 01, 2011, 04:20:54 PM
Quote
What buttons?


the 2 buttons in the right upper corner it says CFG and OA

i dont have them


And Btw dbx is there away you can make oanc hold ,store and create configs?


and possibly save a specfic config to all mods?




Title: Re: Openarena Name Changer??
Post by: Gig on September 02, 2011, 12:48:20 AM
the 2 buttons in the right upper corner it says CFG and OA

i dont have them

And Btw dbx is there away you can make oanc hold ,store and create configs?

and possibly save a specfic config to all mods?
I really don't understand how it is possible you don't have them, if you are using the latest version. Are you sure you used a "clean" installation of OANC? I mean, decompressing the zip to a new folder, instead over a previosly created OANC folder?

About configurations, if you mean settings like network settings, key bindings, graphic options... it would be out from the program's meaning. It is a "name changer", and it works with names only. dbX will not implement my idea of managing name bindings "bind <key> set name <name>" (to allow people to quikly switch names from inside the game)... do you imagine the work needed to manage all settings?

However, I'm not sure, but I think there have been some threads that mentioned other tools that tried to work with configurations... maybe, trying some search on the forum, you may find something....


Title: Re: Openarena Name Changer??
Post by: dbX on September 02, 2011, 01:02:07 AM
the 2 buttons in the right upper corner it says CFG and OA

i dont have them

And Btw dbx is there away you can make oanc hold ,store and create configs?

and possibly save a specfic config to all mods?

Try to download the program again and delete your previous OANC directory. You should have the button, check if the version is 1.6.0 in the help menu, click about.

About configurations, if you mean settings like network settings, key bindings, graphic options... it would be out from the program's meaning. It is a "name changer", and it works with names only. dbX will not implement my idea of managing name bindings "bind <key> set name <name>" (to allow people to quikly switch names from inside the game)... do you imagine the work needed to manage all settings?

However, I'm not sure, but I think there have been some threads that mentioned other tools that tried to work with configurations... maybe, trying some search on the forum, you may find something....

The base I made for OANC could be used to make a tool that manages OA configuration files, allows to edit them, also add some kind of panel to change settings without the need to edit the config files, make backups, not only of config files, but also make backups of mods. I will probably integrate OANC into this tool. This will require quite some work, and I'll try to work on this when in my spare time, and development will probably be slow. It's just an idea for now, and I won't make any promises.


Title: Re: Openarena Name Changer??
Post by: Gig on September 02, 2011, 01:53:59 AM
That would be interesting. :)
It could be a fork, so who will simply have an easy-to-use name changer tool, would download OANC, and who will want a complex OA configurator, would download that new tool.

But before that, let's try to fix the bugs that affect this tool (or they could affect the new tool, too).


Title: Re: Openarena Name Changer??
Post by: dbX on September 02, 2011, 02:05:33 AM
But before that, let's try to fix the bugs that affect this tool (or they could affect the new tool, too).
Definitely.


Title: Re: Openarena Name Changer??
Post by: Gig on September 05, 2011, 12:18:31 PM
Hi dbX.. do you remember where I mentioned that exporting a name to a key binding could have been very useful, but also a little "dangerous"? I've had an alternative idea... what about exporting a name to a .cfg file (that only contains the "name" command)? In that way, the user should use commands like /exec name1, /exec name2, /exec coolname to switch from a name to the other, from inside OpenArena (without the risk of pressing a wrong key during playing). A such cfg file could simply be placed inside baseoa folder and it would automatically be available from all mods. Program should ask for confiirmation before overwriting an existing cfg file, and should refuse to overwrite "q3config.cfg", "q3config_server.cfg" and "autoexec.cfg" files.


Title: Re: Openarena Name Changer??
Post by: Gig on November 02, 2011, 03:12:04 AM
Hi dbX, any news? Any idea of how to resolve the special characters in player name problem?

This page says something about Lazarus and Unicode support: http://wiki.lazarus.freepascal.org/LCL_Unicode_Support
http://wiki.lazarus.freepascal.org/LCL_Unicode_Support#Unicode-enabling_the_win32_interface


Title: Re: Openarena Name Changer??
Post by: dbX on November 02, 2011, 04:31:00 AM
Hey Gig. Sorry, I did not have a lot of time lately,

Do you mean special characters in the players user profile path? I think I do not handle these properly at a certain point, I'll look into this some more when I have the time, but for now I have other more critical personal things to do.


Title: Re: Openarena Name Changer??
Post by: Gig on November 02, 2011, 06:17:27 AM
I should check again, but if I remember correctly, you already fixed the problem with special ("accented"?) characters in program/save data paths. But I'm not completely sure (a couple of times, you thought you succeded in fixing it, but then we discovered that it did not work yet).

The problem that is surely still there is with symbols that you can place in the OA nickname (the first two lines of the available characters grid): they seem to work correctly, as long as they are in the program memory... but if you use them, save them to OA config, close OANC and then open it again and re-load names... you find out strange behaviors.
You did a "workaround" to save such special characters to oanc ini file ("url encoding" them), but this is not applied to q3config.cfg file, where they are still incorrectly stored (I haven't tried yet if OpenArena would parse URL encoded names, but I suppose not... probably that workaround would not work there!).

Anyway, no matter. Real Life is far more important! Just remember, when you will have some time, that this nice program has still got this bug that prevents from using symbols in player name.


Title: Re: Openarena Name Changer??
Post by: dbX on November 02, 2011, 06:26:40 AM
I'll look into how OA saves those characters into the .cfg file and try to do the same. I'll try to do so this weekend.


Title: Re: Openarena Name Changer??
Post by: Gig on November 02, 2011, 07:01:21 AM
I found a previous post that means that also the special characters in paths does not work yet (take a look):
http://openarena.ws/board/index.php?topic=4083.msg39727#msg39727
It referrers to 1.6.0, that is the current release...

Another post referring to 1.6.0 (take a look, too):
http://openarena.ws/board/index.php?topic=4083.msg39693#msg39693

I've just done some more tests, and many of the symbols work (are shown in OA and OANC can read them from q3config.cfg after being closed and opened again, then pressing "quick load OA"), but some symbols have problems (like the triangle and the underscore).

Tried, OA does not parse URL encoded names (sequences like %12%13 are shown as you see them here): the workaround you used for storing them in oanc.ini is not appliable to q3config.cfg.... I fear we have to find a way to have Lazarus support the few missing characters...

Another problem was about some windows positions in a multiple monitor environment:
http://openarena.ws/board/index.php?topic=4083.msg39697#msg39697

And we were talking if it is better to have the data path in %appdata% (under Windows XP, user\application data) or in the other folder (under Windows XP, user\local settings\application data)... I suggest the first one, that is the same used by OpenArena...

PS: one of the download links on your site is broken.


Title: Re: Openarena Name Changer??
Post by: dbX on November 02, 2011, 07:24:29 AM
I never used url encoded names in .cfg files as, only in program .ini files. I store the names as is, that is with the same ASCII codes as they are in memory, i never encoded them in the .cfg files. I am not sure why some symbols have problems, but I'll look into it. The broken download link must be for the archive on my site. Even though the link was valid, the hosting company seems to removed my .7z files. They even seem to refuse me to make an FTP connection. I'll look up into better hosting once I determine I can set aside some money for it.


Title: Re: Openarena Name Changer??
Post by: Gig on November 02, 2011, 07:34:47 AM
I know you did not use url encoded names in q3config.cfg, I simply warned you that trying (in the previous post, you said you would have made the same thing you did for oanc config file) would have been a lost of time.  :) I did the test manually editing q3config.cfg file, and seeing the result.


Title: Re: Openarena Name Changer??
Post by: Gig on November 03, 2011, 03:48:36 PM
dbX, sorry for the off-topic... did you see the PMs I wrote you on 15 october (and some days before) with feedback for that small tool?


Title: Re: Openarena Name Changer??
Post by: dbX on November 03, 2011, 03:51:19 PM
dbX, sorry for the off-topic... did you see the PMs I wrote you on 15 october (and some days before) with feedback for that small tool?

Yes I have, sorry for not replying. Even if I do not reply, I always read PMs. I'll see if I can do some work on the weekend.