Page 1 of 2

Little tool to modify names in different ways

PostPosted: 26 Jul 2011, 09:32
by kersou
Hi all,

I developed a little tool allowing the modification of all the names in the players base (ATP or WTA ini files).
You will see that it's an very old fashion GUI (but except me who cares ?).
There are 6 rules of names conversion:
    'Roger Federer' => 'ROGER FEDERER'
    'Roger Federer' => 'Roger FEDERER'
    'Roger Federer' => 'R.FEDERER'
    'Roger Federer' => 'R. FEDERER'
    'Roger Federer' => 'Federer'
    'Roger Federer' => 'FEDERER'
Note that:
    this will modify all the names for all the players.
    this solution is not perfect because you will lose information for the players (firstname,...).
    The best solution will be to have new data in TE engine (maybe a future Manutoo task I hope :D...)

You can download it here:
http://www.mediafire.com/?80gc1ax5si0ugb9

After download, unzip in one of your folder and then launch the file "ediTEnv".
Image
http://www.mediafire.com/i/?lzn7cmvvg2lw3su

I only tested this tool under Windows 7 et Windows XP
If it doesn't work, try to launch "vcredist_IA64.exe" or "vcredist_x86.exe".
And it does not still work, tell me: there is another solution...

Re: Little tool to modify names in different ways

PostPosted: 26 Jul 2011, 10:41
by SamModder
Hi kersou, :)

I have a problem: it asks me for "both files" the original and the "converted file"... What do it means by that? :/

Re: Little tool to modify names in different ways

PostPosted: 26 Jul 2011, 11:07
by kersou
Hi sam (thx to be the beta tester !),

I said it's an old fashion interface so given without any help ! ;-)

So to use it:
    1) select your original players files by clicking the "...' button
    Ex.: D:\WonderfulGame\Tennis Elbow 2011\Data\Players.ATP.ini
    2) select the name of the new file (the tool will not overwrite the original file)
    Ex.: D:\WonderfulGame\Tennis Elbow 2011\Data\Players.ATP_new.ini
    3) Click the "RUN" button
    4) Replace your original file by the new one (the tool will not overwrite the original file)
If you prefer, I can add an option to overwrite the original file.
If you have any idea to improve the tool, I take !

Re: Little tool to modify names in different ways

PostPosted: 26 Jul 2011, 11:24
by SamModder
Ok kersou thanks it works perfectlly! :) But unfortunately the fact that the names become like that in ALL the game bothers me :/ Anyways thank you so much with your contribution I am impatient for your scoreboard update :)

Re: Little tool to modify names in different ways

PostPosted: 26 Jul 2011, 12:18
by kersou
I agree with you!
I use the "'Roger Federer' => 'R.FEDERER'" option to have a little more information...

Re: Little tool to modify names in different ways

PostPosted: 26 Jul 2011, 20:17
by Mesut
thanks kersou, and how can i change my name in the world tour ? I have my full name and it didn't change.

Re: Little tool to modify names in different ways

PostPosted: 26 Jul 2011, 22:58
by kersou
Mesut wrote:thanks kersou, and how can i change my name in the world tour ? I have my full name and it didn't change.

Hi,
I think you have to activate the DevMode in your "Tennis.ini", launch the game, change your name and then deactivate the DevMode.
Take a look at this topic: http://www.managames.com/Forum/viewtopic.php?f=15&t=2264&p=22449&hilit=dev#p22518

Re: Little tool to modify names in different ways

PostPosted: 27 Jul 2011, 15:01
by SamModder
Kersou can you please create an option to make everything back to normal? For example FEDERER back to Roger Federer (I want this just in case I want to change lol) I would REALLY be grateful, really! Thank you for all the great modding!

Re: Little tool to modify names in different ways

PostPosted: 27 Jul 2011, 15:11
by Deviances
kersou wrote:Hi,
I think you have to activate the DevMode in your "Tennis.ini", launch the game, change your name and then deactivate the DevMode.
Take a look at this topic: http://www.managames.com/Forum/viewtopic.php?f=15&t=2264&p=22449&hilit=dev#p22518


I have the same problem as Mesut, but the DevMode doesn't help to change our own name apparently ...
I don't know if there's really a way to change it

Re: Little tool to modify names in different ways

PostPosted: 27 Jul 2011, 16:04
by kersou
sam250 wrote:Kersou can you please create an option to make everything back to normal? For example FEDERER back to Roger Federer (I want this just in case I want to change lol) I would REALLY be grateful, really! Thank you for all the great modding!

Ok it's possible! But I will create it after the new scoreboard...
Do you have a backup of the original file?

Deviances wrote:I have the same problem as Mesut, but the DevMode doesn't help to change our own name apparently ...
I don't know if there's really a way to change it

:sweat: I should have tested it before giving explanation...
Manutoo, is there a solution to change our name in World Tour?

Re: Little tool to modify names in different ways

PostPosted: 27 Jul 2011, 16:25
by SamModder
YES man you're awsome! I have a backup of my original file but the problem is since I have used the tool to make every name like FEDERER I have modified pretty much the file (but not the names! only little things...) so I can't backup with the old file == it would be practical if the tool enabled me to retransform the names.

Re: Little tool to modify names in different ways

PostPosted: 27 Jul 2011, 17:15
by kersou
Ok I understand!
With a text editor, you can easily modify the converted file: indeed the tool store the full name in the new property FullName (not used by TE)
Before save your modified file
So in the editor just do a replace all of the following word:
1) "Name" by "OldName"
2) "FullOldName" by "Name"

Re: Little tool to modify names in different ways

PostPosted: 27 Jul 2011, 17:44
by SamModder
kersou I don't understand how to do these modifications! (do you mean I manually replace all these?? ) Please tell me the exact steps :) Isn't there a way you add this option to your tool?

EDIT: It's ok!!! I founnnnd ':D

Re: Little tool to modify names in different ways

PostPosted: 27 Jul 2011, 18:10
by kersou
Cool!
I will try to not forget to add this option...

Re: Little tool to modify names in different ways

PostPosted: 27 Jul 2011, 19:08
by SamModder
Ok thanks :) I am soooo wating for your next scoreboard version :)