Tomb Raider Forums  

Go Back   Tomb Raider Forums > Tomb Raider Level Editor and Modding > Tomb Raider Level Editor > Software Development

Reply
 
Thread Tools
Old 29-04-13, 19:44   #21
meta2tr
Member
 
Joined: Apr 2008
Posts: 368
Default

Titak did encrypt the MoA levels.

Paolone's kayak.tr4 would be a good test.

It is not encrypted so you will not have ZIP errors.

It is a TRNG level, so it has the NG header at the end.

The Wad in this level was edited in Wadmerger, this results in two changes to the format:
1) it has an extended sound map
2) animations were added, and which causes the problem with FrameEnd=-1
meta2tr is offline   Reply With Quote
Old 29-04-13, 21:56   #22
Titak
Moderator
 
Titak's Avatar
 
Joined: Jul 2003
Posts: 33,359
Default

Quote:
Originally Posted by meta2tr View Post
The Wad in this level was edited in Wadmerger, this results in two changes to the format:
1) it has an extended sound map
Does WADMerger automatically extend the soundmap?
Titak is offline   Reply With Quote
Old 30-04-13, 02:16   #23
sapper
Member
 
sapper's Avatar
 
Joined: Sep 2007
Posts: 1,684
Default

No.

I think meta2tr converted it to v130 for testing purposes to see how the soundmap was changed.
sapper is offline   Reply With Quote
Old 30-04-13, 05:32   #24
meta2tr
Member
 
Joined: Apr 2008
Posts: 368
Default

Quote:
Originally Posted by sapper View Post
No.

I think meta2tr converted it to v130 for testing purposes to see how the soundmap was changed.
Actually no, it was Paolone that converted it to v130, I suppose he did this to be able to include all of the kayak sounds.
meta2tr is offline   Reply With Quote
Old 30-04-13, 09:15   #25
Titak
Moderator
 
Titak's Avatar
 
Joined: Jul 2003
Posts: 33,359
Default

Ah, v130.
Never use it.

I always try, and so far succeed, to put all sounds in the default TR4 sound list.
Titak is offline   Reply With Quote
Old 30-04-13, 18:57   #26
TeslaRus
Member
 
TeslaRus's Avatar
 
Joined: Jan 2013
Posts: 195
Default Challenge complete (FY)

I fix kayak.tr4 loading. Level works! But I did not use extended data. In l_tr1.cpp I use this stick (alligator looks like a baggage ):
Code:
if ((moveable.mesh_tree_index % 4) != 0)
{
            moveable.mesh_tree_index += 4 - moveable.mesh_tree_index % 4;
            //Sys_Error("read_tr_moveable: mesh_tree_index");
}
In tree mesh matrix calculation I fix stack using (make it safely). I will upload new version to SF with a hour.
TeslaRus is offline   Reply With Quote
Old 01-05-13, 02:51   #27
sapper
Member
 
sapper's Avatar
 
Joined: Sep 2007
Posts: 1,684
Default

This is another thing wadmerger does.

Puts garbage values between the meshtrees.
sapper is offline   Reply With Quote
Old 01-05-13, 08:10   #28
TeslaRus
Member
 
TeslaRus's Avatar
 
Joined: Jan 2013
Posts: 195
Default mesh tree index

How to calculate real mesh tree index? Is real mesh tree data in extended data?
TeslaRus is offline   Reply With Quote
Old 02-05-13, 17:04   #29
meta2tr
Member
 
Joined: Apr 2008
Posts: 368
Default

Quote:
Originally Posted by TeslaRus View Post
How to calculate real mesh tree index? Is real mesh tree data in extended data?
As far as I know, there are no references to the mesh tree in the NG header, but to be sure, you would need to contact Paolone.
meta2tr is offline   Reply With Quote
Old 02-05-13, 17:12   #30
Titak
Moderator
 
Titak's Avatar
 
Joined: Jul 2003
Posts: 33,359
Default

Quote:
Originally Posted by sapper View Post
This is another thing wadmerger does.

Puts garbage values between the meshtrees.
Would that be fixable if someone like you would be able to rewrite WADMerger?
Or at least sort of clean it up so this does not happen anymore?

Sounds to me like things would become easier if those garbage values weren't there.
Titak 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 14:24.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Tomb Raider Forums is not owned or operated by CDE Entertainment Ltd.
Lara Croft and Tomb Raider are trademarks of CDE Entertainment Ltd.