Player Profile and Mod Manager

Everything related to the code /
Tout ce qui touche au code
Post Reply
bigman2008
Posts: 18
Joined: Tue Jul 08, 2008 2:50 pm

Player Profile and Mod Manager

Post by bigman2008 » Tue Jul 07, 2009 2:59 am

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.

xpoy
Posts: 669
Joined: Mon Sep 22, 2008 3:55 am

Re: Player Profile and Mod Manager

Post by xpoy » Tue Jul 07, 2009 12:01 pm

That's not diffcult, I remeber the player profile just save in setting folden
Mod info save in setting and define by mods folden

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: Player Profile and Mod Manager

Post by zuzuf » Tue Jul 07, 2009 4:54 pm

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 :).
=>;-D Penguin Powered

bigman2008
Posts: 18
Joined: Tue Jul 08, 2008 2:50 pm

Re: Player Profile and Mod Manager

Post by bigman2008 » Tue Jul 07, 2009 5:15 pm

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.

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: Player Profile and Mod Manager

Post by zuzuf » Tue Jul 07, 2009 5:21 pm

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:
=>;-D Penguin Powered

xpoy
Posts: 669
Joined: Mon Sep 22, 2008 3:55 am

Re: Player Profile and Mod Manager

Post by xpoy » Wed Jul 08, 2009 4:13 am

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?

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: Player Profile and Mod Manager

Post by zuzuf » Wed Jul 08, 2009 3:34 pm

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 ...
=>;-D Penguin Powered

xpoy
Posts: 669
Joined: Mon Sep 22, 2008 3:55 am

Re: Player Profile and Mod Manager

Post by xpoy » Wed Jul 08, 2009 5:18 pm

/:^]
Got it
Diffrent set selecet before launch game, A HD set, a LD set.

bigman2008
Posts: 18
Joined: Tue Jul 08, 2008 2:50 pm

Re: Player Profile and Mod Manager

Post by bigman2008 » Fri Jul 10, 2009 9:36 pm

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.

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: Player Profile and Mod Manager

Post by zuzuf » Fri Jul 10, 2009 9:41 pm

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 ...
=>;-D Penguin Powered

xpoy
Posts: 669
Joined: Mon Sep 22, 2008 3:55 am

Re: Player Profile and Mod Manager

Post by xpoy » Sat Jul 11, 2009 6:33 am

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
here
or used
GetEnvironmentStringsW
get the output
Last edited by xpoy on Mon Jul 13, 2009 6:21 am, edited 1 time in total.

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: Player Profile and Mod Manager

Post by zuzuf » Sat Jul 11, 2009 10:57 am

Thanks,
I'll see that when I'll be back, now it's holiday time for 2 weeks :P
=>;-D Penguin Powered

xpoy
Posts: 669
Joined: Mon Sep 22, 2008 3:55 am

Re: Player Profile and Mod Manager

Post by xpoy » Sat Jul 11, 2009 11:15 am

good holiday !
What's the next ahpha? :P

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: Player Profile and Mod Manager

Post by zuzuf » Sat Jul 11, 2009 11:20 am

for now there is nothing new that needs testing, so there probably won't be a new alpha before I leave tomorrow morning ...
=>;-D Penguin Powered

xpoy
Posts: 669
Joined: Mon Sep 22, 2008 3:55 am

Re: Player Profile and Mod Manager

Post by xpoy » Sun Jul 12, 2009 7:58 am

viewtopic.php?f=1&t=838

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

milipili
Posts: 545
Joined: Thu Nov 02, 2006 8:52 am
Location: Paris (France)
Contact:

Re: Player Profile and Mod Manager

Post by milipili » Mon Jul 13, 2009 9:52 am

Good holidays ! :)
Damien Gerard
Ta3d & Yuni Developer

User avatar
Balthazar
Moderator
Posts: 2055
Joined: Wed Nov 01, 2006 4:31 pm
Location: Russian Federation
Contact:

Re: Player Profile and Mod Manager

Post by Balthazar » Mon Jul 13, 2009 10:29 am

Yeah :P Take a good break !!!

Post Reply

Who is online

Users browsing this forum: No registered users and 30 guests