Page 1 of 1

Player Profile and Mod Manager

Posted: Tue Jul 07, 2009 2:59 am
by bigman2008
How hard is it to add a player profile manger and mod manger to ta3d to come up before ta3d splash screen? The reason I ask is if its not that hard i can help add it to 0.6 before the beta/test versions are released.

Re: Player Profile and Mod Manager

Posted: Tue Jul 07, 2009 12:01 pm
by xpoy
That's not diffcult, I remeber the player profile just save in setting folden
Mod info save in setting and define by mods folden

Re: Player Profile and Mod Manager

Posted: Tue Jul 07, 2009 4:54 pm
by zuzuf
It's not difficult, it's just a matter of creating a new "menu" (the object we use to handle GUI events and the associated .tdf/.area files), then "reloading" (maybe just loading ?) the mod/player settings.
What is less obvious is integrating the profile stuffs into the settings system but it's not that difficult, just save the profile specific stuffs into TDF subsections in ta3d.cfg, and add a few data structures to store the profiles :).

Re: Player Profile and Mod Manager

Posted: Tue Jul 07, 2009 5:15 pm
by bigman2008
I have run into bugs with the 0.6 alphas related to mod management. The problem is when i go to options and select any mod the game crashes and I have no idea why it does because the mods i am using worked ok in 0.5.4.

Re: Player Profile and Mod Manager

Posted: Tue Jul 07, 2009 5:21 pm
by zuzuf
hm, probably VFS stuffs that are not bug free yet :evil: . As far as mods are concerned this is a key piece of code, it's where the patching magic takes place :twisted:

Re: Player Profile and Mod Manager

Posted: Wed Jul 08, 2009 4:13 am
by xpoy
About the player profile...
hadn't know what will be include /:^]
That mod manager maybe really useful, but for player profile, a set up? or some things personal?

Re: Player Profile and Mod Manager

Posted: Wed Jul 08, 2009 3:34 pm
by zuzuf
player profile could include player name, netserver account, camera preferences, play list, some settings could be personal too (like smaller resolution with all details enabled, or less details but higher resolution, or highlighting of underwater stuffs, etc...).

It would be useful on windows, on OS X I don't know, but I don't really see the use of having several profiles on Linux since settings are stored in personnel folder, your profile is associated with your user session ...

Re: Player Profile and Mod Manager

Posted: Wed Jul 08, 2009 5:18 pm
by xpoy
/:^]
Got it
Diffrent set selecet before launch game, A HD set, a LD set.

Re: Player Profile and Mod Manager

Posted: Fri Jul 10, 2009 9:36 pm
by bigman2008
could you make the player profiles be stored in the all users folder under documents on windows so if you share your computer with others and another user is logged in you can still play with your profile.

Re: Player Profile and Mod Manager

Posted: Fri Jul 10, 2009 9:41 pm
by zuzuf
this is a matter of changing a path, but I don't know how to get the path to user folder in windows :s, it should be somewhere in an old SVN revision when TA3D used to store all its data there ...

Re: Player Profile and Mod Manager

Posted: Sat Jul 11, 2009 6:33 am
by xpoy
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
here
or used
GetEnvironmentStringsW
get the output

Re: Player Profile and Mod Manager

Posted: Sat Jul 11, 2009 10:57 am
by zuzuf
Thanks,
I'll see that when I'll be back, now it's holiday time for 2 weeks :P

Re: Player Profile and Mod Manager

Posted: Sat Jul 11, 2009 11:15 am
by xpoy
good holiday !
What's the next ahpha? :P

Re: Player Profile and Mod Manager

Posted: Sat Jul 11, 2009 11:20 am
by zuzuf
for now there is nothing new that needs testing, so there probably won't be a new alpha before I leave tomorrow morning ...

Re: Player Profile and Mod Manager

Posted: Sun Jul 12, 2009 7:58 am
by xpoy
viewtopic.php?f=1&t=838

Here are some talk about profile, may help for bigman's work :)

Re: Player Profile and Mod Manager

Posted: Mon Jul 13, 2009 9:52 am
by milipili
Good holidays ! :)

Re: Player Profile and Mod Manager

Posted: Mon Jul 13, 2009 10:29 am
by Balthazar
Yeah :P Take a good break !!!