www.tombraiderforums.com  

Go Back   www.tombraiderforums.com > Tomb Raider Modding > Tomb Raider Level Editor > Software Development

Reply
 
Thread Tools
Old 24-06-10, 05:17   #1
sapper
Archaeologist
 
sapper's Avatar
 
Join Date: Sep 2007
Posts: 1,639
Default Program (beta) to edit meshtrees

New version 0.2

meshtree_editor_0_2.zip
----------------------------------------------------------------
Download version 0.1 available at Trsearch.

http://www.trsearch.org/tools/

Old 4shared link for version 0.1. 4shared needs registration.

Meshtree Editor.zip (13MB)

IMPORTANT: You need to download and copy these two DLLs to the version 0.1 main folder.

meshtree_editor_dlls.zip
------------------------------------------------------------------------




Meshtree Editor is a program that allows you to change the meshtree structure of moveable objects made of more than one mesh.

It cannot Add meshes or Move meshes or Replace meshes, you need Wadmerger's Meshtree Editor for that.

The idea is that you create your object in Wadmerger's Meshtree Editor by adding the meshes in the same order as your meshtree diagram (see the MeshTreeKit in the Docs folder) and add or change the "Pushes" and "Pops" with this program.

For more info about meshtrees see my tutorial about "Pops" and "Pushes" and Wadmerger's documentation.

Make sure you always have a backup copy of your wad when you use this program.

Do not use it on your level wad. For any object you want to change, create a new wad containing that object and experiment with the new wad.
Test the new wad after making the changes and if everything is ok transfer the object back into your wad.

Changing the meshtree and offsets for an object will affect all the animations for an object.
Also, a mistake in the meshtree may make the object unuseable.

The program needs DLLs that cannot be distributed with it so hopefully your OS already has them.

Only tested on XP.

Last edited by sapper; 22-05-20 at 10:59.
sapper is offline   Reply With Quote
Old 24-06-10, 07:07   #2
aktrekker
Relic Hunter
 
aktrekker's Avatar
 
Join Date: Aug 2006
Posts: 5,239
Default

Quote:
Originally Posted by sapper View Post
The program needs DLLs that cannot be distributed with it so hopefully your OS already has them.
What DLLs would they be?
__________________
Don't bother me, I'm busy.
aktrekker is offline   Reply With Quote
Old 25-06-10, 02:33   #3
sapper
Archaeologist
 
sapper's Avatar
 
Join Date: Sep 2007
Posts: 1,639
Default

These are the DLLs py2exe says are required.

sapper is offline   Reply With Quote
Old 25-06-10, 02:58   #4
Shauni
Relic Hunter
 
Shauni's Avatar
 
Join Date: Feb 2005
Location: Emotion
Posts: 5,279
Default

Very interesting! Though I don't fully understand.. How are you changing the mesh tree if you can't move or replace anything?
__________________
(. .' ~Trinity~..)
Shauni is offline   Reply With Quote
Old 25-06-10, 04:24   #5
aktrekker
Relic Hunter
 
aktrekker's Avatar
 
Join Date: Aug 2006
Posts: 5,239
Default

But which ones does it say are required? Simple question.
__________________
Don't bother me, I'm busy.
aktrekker is offline   Reply With Quote
Old 25-06-10, 12:23   #6
sapper
Archaeologist
 
sapper's Avatar
 
Join Date: Sep 2007
Posts: 1,639
Default

Quote:
Originally Posted by Shauni View Post
Very interesting! Though I don't fully understand.. How are you changing the mesh tree if you can't move or replace anything?
It changes the structure by changing the "Pops" and "Pushes".
There are some examples in the docs included in the download folder.
Just another way of doing it since Wadmerger's meshtree editor can crash a lot if you don't do things right. You can use the program to remove all the "Pushes" and "Pops" in one step if you want. That makes it easier to move the meshes up and down in Wadmerger's meshtree editor.

Quote:
Originally Posted by aktrekker View Post
But which ones does it say are required? Simple question.
Not sure what you mean.

The list of DLLs above are the ones py2exe said are needed by my program but were not included in the folder for distribution with the other DLLs and this is what I meant when I said I couldn't distribute them.

My code doesn't link directly to any DLLs, only imports standard Python modules and wxPython so I rely on py2exe to tell which DLLs are required.

I tested the program on XP PCs without Python installed and it functioned correctly so I figured the DLLs listed above were included in XP.
sapper is offline   Reply With Quote
Old 25-06-10, 23:23   #7
aktrekker
Relic Hunter
 
aktrekker's Avatar
 
Join Date: Aug 2006
Posts: 5,239
Default

Sorry, I have images turned off. I really wasn't expecting an image for simple text information.

Those are all Windows DLLs. Everyone should have them.
__________________
Don't bother me, I'm busy.
aktrekker is offline   Reply With Quote
Old 25-06-10, 23:39   #8
Kapu
Professor
 
Kapu's Avatar
 
Join Date: Feb 2009
Location: Northwoods of Wisconsin
Posts: 3,556
Default

...

Last edited by Kapu; 18-08-17 at 19:27. Reason: unnecessary comment
Kapu is offline   Reply With Quote
Old 22-05-20, 11:07   #9
sapper
Archaeologist
 
sapper's Avatar
 
Join Date: Sep 2007
Posts: 1,639
Default

It was reported that meshtree editor 0.1 would not run on some PCs. (Thanks SrDanielPonces)

The cause was missing DLLs.

Download and copy these two DLLs into the main folder which contains meshtree_editor.exe.

meshtree_editor_dlls.zip

Or download version 0.2.

meshtree_editor_0_2.zip

Only differences between 0.1 and 0.2 is that version 0.2 has extended moveables names list, includes the missing DLLs and bundled most dependencies into one exe so the main folder contains fewer files.
__________________
Check trsearch\Tools for some of my programs
sapper is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 13:59.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.