Page 1 of 1

Clarification about "resources" folder

Posted: Sun Jan 10, 2010 3:02 pm
by slogic
Am i right its contents are the representation of (for example) totala1.hpi pack? So i can just unpack its contents there & this data is considered default (base) for all mods. Right?

Re: Clarification about "resources" folder

Posted: Sun Jan 10, 2010 3:54 pm
by slogic
I don't understand. Here http://springrts.com/phpbb/viewtopic.ph ... 39#p337839 Baltazar told to put packs into "resource" directory. I was 100% sure you can put them into TA3D root folder or subfolder under "mods" dir.

Re: Clarification about "resources" folder

Posted: Sun Jan 10, 2010 4:16 pm
by zuzuf
Yes you're right, resources can be any HPI archive or the real directory tree.

You can put them in any folder TA3D considers as a resource folder:
TA3D's root folder, the resources/ folder

and for mods it also takes into account the following folders to patch the base resource tree:
$resource_folder/mods/$mod_name

where $resource_folder is a root folder.

Putting things into the resources directory prevents filling TA3D's root folder.

Re: Clarification about "resources" folder

Posted: Sun Jan 10, 2010 6:50 pm
by xpoy
I always call HPI file in HPI path, which same as true-path for TA, so does TA3D..

But it shouldn't be root, maybe a spec data path for these resource? music/ hpi/ GUI/ font/ etc, for all less change file.

Re: Clarification about "resources" folder

Posted: Sun Jan 10, 2010 8:14 pm
by zuzuf
You're free to add more resource paths and organize things the way you want. Just add new paths to ta3d.cfg :P

Re: Clarification about "resources" folder

Posted: Wed Jan 13, 2010 8:25 am
by xpoy
/:^}!!
How?
Just add a set in setting.ini?

Re: Clarification about "resources" folder

Posted: Wed Jan 13, 2010 11:25 am
by zuzuf
in ta3d.cfg there is a key for that, it's:

Code: Select all

           Resource Paths = ;

Re: Clarification about "resources" folder

Posted: Wed Jan 13, 2010 3:23 pm
by slogic
What's splitter?

Re: Clarification about "resources" folder

Posted: Wed Jan 13, 2010 3:29 pm
by zuzuf
It's ','. You could write:

Code: Select all

Resource Paths = C:\, C:\games\ta3d, E:\, D:\ta3d_mods\;

Re: Clarification about "resources" folder

Posted: Wed Jan 13, 2010 4:35 pm
by xpoy
/:^]
Great, beatiful TA3D, I set TA and rev31.gp3 path for this.

and, Need a option for this!

Re: Clarification about "resources" folder

Posted: Wed Jan 13, 2010 7:00 pm
by zuzuf
Well, this option is a very advanced one. If you make a mistake in the path list or if there is a problem the game just won't start if it can't find game resources and in this case you should be able to fix it by yourself and not depend on the GUI you can't start.

It should be better documented but I don't like the idea of changing it through GUI.

Re: Clarification about "resources" folder

Posted: Fri Jan 15, 2010 12:33 pm
by xpoy
Avoid the path if it wasnt loadable, and just load root path as default.
Surely this one need a warning and should set in advtange /:^]

Re: Clarification about "resources" folder

Posted: Fri Jan 15, 2010 2:51 pm
by zuzuf
No, if you put your files in some non standard folder then then accidentally remove it from GUI TA3D just won't start because it doesn't have the path to the resource files any more and those files are not in its root path and you'll just get the RESOURCE ERROR message.