Page 1 of 1

New Tool Created

Posted: Mon Sep 12, 2005 3:19 am
by MasterNoth
I just created a new tool that will go into ANY ODF folder and find all ODFs, then open them up, read them for their MSH information, go into the MSH folder, find the corresponding MSH file that the ODF calls for and then extracts what TGA files are required!

So, basically, it makes complete lists of required files for ALL OBJECTS!!!

Here is a taste:
Object: tat1_bldg_arch2.odf
Requirements (ODF):
tat1_bldg_arch2.odf

Requirements (MSH):
tat1_bldg_arch2.msh
tat1_rocks1.tga
tat1_rocks1_lowrez.tga



Object: tat1_bldg_arch_tri.odf
Requirements (ODF):
tat1_bldg_arch_tri.odf

Requirements (MSH):
tat1_bldg_arch_tri.msh
tat1_rocks1.tga
tat1_rocks3.tga



Object: tat1_bldg_crawler.odf
Requirements (ODF):
tat1_bldg_crawler.odf

Requirements (MSH):
tat1_bldg_crawler.msh
sandcrawler.tga
crawler_wheels.tga
crawler_tread.tga
crawler_wheels.tga
crawler_tread.tga
sandcrawler.tga
crawler_wheels.tga



Object: tat1_bldg_moisturefarm.odf
Requirements (ODF):
tat1_bldg_moisturefarm.odf

Requirements (MSH):
tat1_bldg_moisturefarm.msh
tat_bldg_moisturefarm_1.tga
tat_bldg_tusken1.tga
tat_bldg_moisturefarm_1.tga
tat_bldg_moisturefarm_1_lowrez.tga
tat1_Dirt_blow_in.tga



Object: tat1_bldg_moisturefarm_courtyard.odf
Requirements (ODF):
tat1_bldg_moisturefarm_courtyard.odf

Requirements (MSH):
tat1_bldg_moisturefarm_courtyard.msh
tat_main_3.tga
tat1_bldg_moisture01.tga
tat1_bldg_moisture02.tga



Object: tat1_bldg_mushroom.odf
Requirements (ODF):
tat1_bldg_mushroom.odf

Requirements (MSH):
tat1_bldg_mushroom.msh
tat1_rocks1.tga



Object: tat1_bldg_pillar.odf
Requirements (ODF):
tat1_bldg_pillar.odf

Requirements (MSH):
tat1_bldg_pillar.msh
tat1_rocks1.tga
tat1_rocks2.tga
tat1_rocks3.tga


It then puts it nice and neatly into a TXT file for editing at my convenience! It takes all of about 5 seconds to list a whole world's objects! And I have EVERYTHING! So easy...

Now, does anyone want to help with making the Tutorial? :twisted:

Posted: Mon Sep 12, 2005 7:45 am
by Qdin
I understand it like it only give the 'needed' files, but doesn't tell you where to find them nor if they exist in the project folder. right? :lol:

Posted: Mon Sep 12, 2005 4:25 pm
by MasterNoth
pF: Yes, I did make it so that it will recognize the difference in things like Common FX (bonfire.odf) and Objects that only contain textures (end_prop_bush.odf). It let's you know what textures you need. For example:

Object: end_prop_bush.odf
Requirements (ODF):
end_prop_bush.odf

Requirements (MSH):
editor_prop_bush.msh
MISSING: editor_prop_bush.msh. Looking for required texture. Texture: end_leaf2


and

Object: bonefirelight.odf
Requirements (ODF):
bonefirelight.odf

Requirements (MSH):
None (FX or other)


It isn't supposed to give a false sense of reality. It is only to show what any and all ODF's exist and what MSH's and TGA's are required for Shipped Worlds. It can also check for Common items. It can go into ANY world folder and, using the ODF folder, determine if you have everything you need.

So, let's say I point it my Dagobah: The Force world, it produces this (Shortened):

Object: all_fly_ywing.odf
Requirements (ODF):
all_fly_ywing.odf

Requirements (MSH):
all_fly_ywing.msh
noIcon.picall_fly_ywing_lowrez.tga
all_fly_ywing_windscreen.tga
all_fly_xwing.tga
all_fly_xwing_lowrez.tga



Object: bonefirelight.odf
Requirements (ODF):
bonefirelight.odf

Requirements (MSH):
None (FX or other)



Object: end_prop_bush.odf
Requirements (ODF):
end_prop_bush.odf

Requirements (MSH):
editor_prop_bush.msh
MISSING: editor_prop_bush.msh. Looking for required texture. Texture: end_leaf2



Object: end_prop_bush2.odf
Requirements (ODF):
end_prop_bush2.odf

Requirements (MSH):
editor_prop_bush.msh
MISSING: editor_prop_bush.msh. Looking for required texture. Texture: end_prop_bush1



Object: end_prop_fern2.odf
Requirements (ODF):
end_prop_fern2.odf

Requirements (MSH):
end_prop_fern2.msh
end_prop_foliage_1.tga



Object: end_prop_fern3.odf
Requirements (ODF):
end_prop_fern3.odf

Requirements (MSH):
end_prop_fern3.msh
end_prop_foliage_1.tga



Object: end_prop_fern4.odf
Requirements (ODF):
end_prop_fern4.odf

Requirements (MSH):
end_prop_fern4.msh
end_prop_foliage_1.tga



Object: end_prop_fernclump_1.odf
Requirements (ODF):
end_prop_fernclump_1.odf

Requirements (MSH):
end_prop_fernclump_1.msh
end_prop_foliage_1.tga



Object: end_prop_fernclump_2.odf
Requirements (ODF):
end_prop_fernclump_2.odf

Requirements (MSH):
end_prop_fernclump_2.msh
end_prop_foliage_1.tga



Object: end_prop_firepit.odf
Requirements (ODF):
end_prop_firepit.odf

Requirements (MSH):
end_prop_firepit.msh
tat_prop_tuskencamp.tga
tat_prop_tuskencamp.tga



Object: end_prop_foliage1.odf
Requirements (ODF):
end_prop_foliage1.odf

Requirements (MSH):
end_prop_foliage1.msh
end_prop_tree_2.tga
end_prop_foliage_1.tga
end_prop_foliage_1.tga



Object: end_prop_foliage2.odf
Requirements (ODF):
end_prop_foliage2.odf

Requirements (MSH):
end_prop_foliage2.msh
end_prop_tree_2.tga
end_prop_foliage_3.tga



Object: end_prop_foliage3.odf
Requirements (ODF):
end_prop_foliage3.odf

Requirements (MSH):
end_prop_foliage3.msh
end_prop_tree_2.tga
end_prop_foliage_1.tga



Object: end_prop_foliage4.odf
Requirements (ODF):
end_prop_foliage4.odf

Requirements (MSH):
end_prop_foliage4.msh
end_prop_tree_2.tga
end_prop_foliage_1.tga
end_prop_foliage_3.tga



Object: end_prop_foliage5.odf
Requirements (ODF):
end_prop_foliage5.odf

Requirements (MSH):
end_prop_foliage5.msh
end_prop_foliage_1.tga
end_prop_tree_leaves.tga
end_prop_tree_leaves.tga



Object: end_prop_foliage6.odf
Requirements (ODF):
end_prop_foliage6.odf

Requirements (MSH):
end_prop_foliage6.msh
end_prop_foliage_1.tga
end_prop_tree_leaves.tga



Object: end_prop_foliage7.odf
Requirements (ODF):
end_prop_foliage7.odf

Requirements (MSH):
end_prop_foliage7.msh
end_prop_tree_leaves.tga
end_prop_bush_1.tga
end_prop_foliage_1.tga


.....

Object: end_prop_treeclump02.odf
Requirements (ODF):
end_prop_treeclump02.odf

Requirements (MSH):
end_prop_treeclump02.msh
end_prop_tree_2.tga
end_prop_tree_leaves.tga
end_prop_tree_moss.tga
end_prop_tree_leaves.tga
end_prop_tree_lowrez.tga
end_prop_tree_leaves_lowrez.tga
end_prop_tree.tga



Object: end_prop_treeclump03.odf
Requirements (ODF):
end_prop_treeclump03.odf

Requirements (MSH):
end_prop_treeclump03.msh
end_prop_tree.tga
end_prop_tree_base.tga
end_prop_tree_leaves.tga
end_prop_tree_leaves.tga
yav_prop_leaftree_branch.tga
end_prop_tree_lowrez.tga
end_prop_tree_leaves_lowrez.tga
end_prop_tree_2.tga



Object: end_prop_treeclump_1.odf
Requirements (ODF):
end_prop_treeclump_1.odf

Requirements (MSH):
end_prop_treeclump_1.msh
end_prop_foliage_1.tga



Object: end_prop_treeclump_2.odf
Requirements (ODF):
end_prop_treeclump_2.odf

Requirements (MSH):
end_prop_treeclump_2.msh
end_prop_foliage_1.tga



Object: end_prop_treesmall_1.odf
Requirements (ODF):
end_prop_treesmall_1.odf

Requirements (MSH):
end_prop_treesmall_1.msh
end_prop_foliage_1.tga


So, this program can literally go into any ODF folder and do "checkups" on your ODF's and MSH's, and show you what you're missing (MSH's) or let you know what you need.

It's not all-inclusive, but it does the job nicely. And it will help for the tutorial as an explanation of what shipped with the Assets folder.

Common items are not included in the list, but can be. Sides can also be done completely. But, yes, I will need to work more on the Sides section when it comes to Commons. For the most part, simple-wise to Object ODF's, it's complete.

Qdin: Correct. With the program, you point it at an ODF directory (Either Common or a world ODF directory) and "load" all of the ODF's from the ODF folder. Then, you click another button, and WHAMO! It goes through each ODF and determines what MSH files are required. Then, while in that ODF, it searches the MSH files for the TGA's (Textures) that are required. It then lists all the information in a TXT file.

You can use it for "checking" your installation of ODF's in the ODF folder, or, it can help you find mistakes in your copying of files. Either way, a useful tool. ESPECIALLY for the Tutorial!

Posted: Mon Sep 12, 2005 4:33 pm
by Delta_57_Dash
KEWL!!! can this be done for side folders as well?

Posted: Mon Sep 12, 2005 7:54 pm
by MasterNoth
Yes, I see... You got it pF! I can possibly work on an idea for the Sides end of it, but it will be a while. Go over to the Tutorial section. I just posted what I am doing with the tool and how I'm using it. I'm telling you, if we can pull it off, this TuT is gonna be DA BOMB!!! So, I'm hoping more people want to get involved!

Posted: Mon Sep 12, 2005 7:56 pm
by MasterNoth
D57D: I haven't tried it in there, but I will soon. pF is telling me about some stuff to watch out for, so it'll be a bit. But I'm sure, with enough work, it can be done well.

Posted: Tue Sep 13, 2005 1:21 pm
by Leviathan
Maybe it is off-topic, but what programming's language have you used for this tool ? (Java, HTML, PHP, etc...)

Posted: Tue Sep 13, 2005 6:01 pm
by MasterNoth
Visual Basic from the Visual Studio 6 Enterprise Edition.

Posted: Wed Sep 14, 2005 12:28 pm
by Leviathan
That's all I wanted to know... Thanks to you !... :)

Posted: Mon Oct 10, 2005 9:25 pm
by Delta_57_Dash
Is this being released soon?