home-made demo samples ( TR1 )

home-made demo samples ( TR1 )


Replies | Reply | Tomb Raider Level Editor & Utility Discussion Forum

Posted by odjo on April 20, 2001 at 20:36:21:

TR1 demo data format and home-made demo samples

Nor the TRosettaStone doc nor Dr Zhivago's source described the demo
scene data format of TR level file.
So i write it down here as a marginal note to TR level doc archives.

This is a dump list of demo scene data field of TR1 level2.phd

; field #19 [demo sequence]
0016cdf8 10 10
0016cdfa 00 32 01 00 00 fc ff ff 00 32 00 00 00 00 00 00
0016ce0a 00 00 00 00 00 00 00 00 5a 00 00 00 00 00 00 00
0016ce1a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0016ce2a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0016ce3a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0016ce4a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0016ce5a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0016ce6a 00 00 00 00 00 00 00 00 01 00 00 00 01 00 00 00
0016ce7a 01 00 00 00 01 00 00 00 01 00 00 00 01 00 00 00
0016ce8a 01 00 00 00 01 00 00 00 01 00 00 00 01 00 00 00
...
0016dd8a 42 00 00 00 42 00 00 00 42 00 00 00 42 00 00 00
0016dd9a 42 00 00 00 40 00 00 00 40 00 00 00 40 00 00 00
0016ddaa 40 00 00 00 41 00 00 00 41 00 00 00 41 00 00 00
0016ddba 41 00 00 00 41 00 00 00 41 00 00 00 49 00 00 00
0016ddca 49 00 00 00 49 00 00 00 49 00 00 00 49 00 00 00
0016ddda 49 00 00 00 49 00 00 00 49 00 00 00 49 00 00 00
0016ddea 49 00 00 00 49 00 00 00 49 00 00 00 49 00 00 00
0016ddfa 49 00 00 00 49 00 00 00 49 00 00 00 ff ff ff ff

----------------
demo data format
----------------

; data size in bytes
dw 1010
; orientation of lara
dd 00013200 ; lara-x
dd fffffc00 ; lara-y
dd 00003200 ; lara-z
dd 00000000 ; rotation0
dd 00000000 ; rotation1
dd 00000000 ; rotation2
dd 0000005a ; room lara is in
; GAME_DWORD stream
dd 00000000, 00000000, 00000000, 00000000
dd ...
dd 00000049, 00000049, 00000049
dd ffffffff ; end mark


Sorry terminology is loose.

The bitwise meaning of "GAME_DWORD" will be obvious when you compare
the dump list with the demo movement.

I made several ( not so interesting ) demos using ld_tr.com and
tr_rec.bin patch ( i mentioned these tools somewhere far below ).

Some difficulties encountered in this demo-making are:

o some [esc] key in the demo is lost so that, for example,
lara can select UZI, which she had acquired by the all-
arms cheat, but can't return to demo.
o when starting demo with lara hanging from a shelf, she
can't hang well, slips down. or if you slightly tinker
the data she climbs up OK but she is desynchronized a little
and the demo will end up a fiasco.

I'll send the work-in-progress demo data and patching prog to
the interested. The demo-making progs i will also upload somewhere
soon.


odjo





Replies:



Reply

Name:

Email:

Subject:

Message:

Optional
Link URL:

Link Title:

Image URL:


Replies | Reply | Tomb Raider Level Editor & Utility Discussion Forum