homemade levels with homemade demo-scene

homemade levels with homemade demo-scene


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

Posted by odjo on June 12, 2000 at 13:10:45:

ld_tr.com report

hi there,

ld_tr.com ( a prototype of rec_tr.com TR_Recorder ) now overcomes DPMI crashes
and safely records some gamedata.

ld_tr.com loads patched tomb.exe named as "tr_rec.bin".
As i do not have 32 bit disassembler these codes are guesswork, but my guess
seems to work here.

before patching:


mov GAME_DWORD, ebx
pop edx
pop ecx
pop ebx
ret

after patching:


MAIN_INT equ 80h


mov GAME_DWORD, ebx
int MAIN_INT
pop ebx
ret

In MAIN_INT handler, register value of ebx is stored in buffer, edx and ecx
are popped from within, then stack is adjusted for iretd.
Crude log of ld_tr07.com has BUFSIZE dump of this buffer.

Seems somehow familiar?
Yes, this must be data stream similar to the demo scene data.
You can now put a homemade stunt scene in your homemade levels :).

In the instance below, lara does that trick-spin and aquires full-armed status.
I'm now coding if it is possible to flush buffer to the log file from within
MAIN_INT handler.


odjo


[ld_tr07.com] version 0.00, copyright (c) 2000 by odjo
loads patched tomb.exe (tr_rec.bin) and records int 80


status: very alpha :)
eax=00001260 ebx=00000000 ecx=000000ff edx=00001083
esi=000001a6 edi=0000fffe ebp=0000091c esp=00004c98
cs=1083 ss=1083 ds=1083 es=1083 fs=0000 gs=0000 eflg=00003246
prep entered
--- now calling int 2f, ax=1687 ---
--- ok, now running in protected mode ---
--- setintr setup mainintr subintr ok ---
eax=00000205 ebx=00000061 ecx=0000008f edx=00000911
esi=00000aaa edi=00002f97 ebp=0000091c esp=00004c98
cs=008f ss=0087 ds=0087 es=0097 fs=0000 gs=0000 eflg=00000246
--- load/execute tomb in real mode ---
returnded from tr, successful
int31 func 0301 returned NC
returned from proc load
0cbe
dump buffer:
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00100000 00100000 00100000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000008 00000008 00000008 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00100000
00100000 00100000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000001 00000001 00000001 00000001 00000001 00000001 00000001 00000001
00000001 00000001 00000001 00000001 00000001 00000001 00000001 00000001
00000001 00000001 00000001 00000001 00000001 00000001 00000001 00000001
00000001 00000001 00000001 00000001 00000001 00000001 00000001 00000001
00000001 00000001 00000001 00000001 00000001 00000001 00000001 00000001
00000001 00000001 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000080 00000080 00000080 00000080 00000080 00000080 00000080 00000080
00000080 00000080 00000080 00000080 00000080 00000080 00000080 00000081
00000081 00000081 00000081 00000081 00000081 00000081 00000081 00000081
00000081 00000081 00000081 00000081 00000081 00000081 00000081 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000080
00000080 00000080 00000080 00000080 00000080 00000080 00000080 00000080
00000080 00000080 00000080 00000080 00000082 00000082 00000082 00000082
00000082 00000082 00000082 00000082 00000082 00000082 00000082 00000082
00000082 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000008 00000008 00000008 00000008 00000008 00000008 00000008 00000008
00000008 00000008 00000008 00000008 00000008 00000008 00000008 00000008
00000008 00000008 00000008 00000008 00000008 00000008 00000008 00000008
00000008 00000008 00000008 00000008 00000008 00000008 00000008 00000008
00000008 00000008 00000008 00000008 00000008 00000008 00000008 00000008
00000008 00000008 00000008 00000008 00000008 00000008 00000008 00000008
00000008 00000008 00000008 00000008 00000008 00000008 00000008 00000008
00000008 00000008 00000008 00000008 00000008 00000008 00000008 00000008
00000008 00000008 00000008 00000008 00000008 00000008 00000008 00000008
00000008 00000008 00000008 00000008 00000008 00000008 00000008 00000008
00000008 00000008 00000008 00000008 00000008 00000008 00000008 00000008
00000008 00000008 00000008 00000008 00000008 00000008 00000008 00000008
00000008 00000008 00000008 00000008 00000008 00000008 00000008 00000008
00000008 00000008 00000008 00000008 00000008 00000008 00000008 00000008
00000008 00000008 00000008 00000008 00000008 00000008 00000008 00000008
00000008 00000008 00000008 00000008 00000008 00000008 00000008 00000008
00000008 00000008 00000008 00000008 00000008 00000008 00000008 00000008
00000008 00000008 00000008 00000008 00000008 00000008 00000008 00000008
00000008 00000008 00000008 00000008 00000008 00000008 00000008 00000008
00000008 00000008 00000008 00000008 00000008 00000008 00000008 00000008
00000008 00000008 00000008 00000008 00000008 00000008 00000008 00000008
00000008 00000008 00000008 00000008 00000008 00000008 00000008 00000008
00000008 00000008 00000008 00000008 00000008 00000008 00000008 00000008
00000008 00000008 00000008 00000008 00000008 00000008 00000008 00000008
00000008 00000008 00000008 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000012 00000012 00000012
00000012 00000012 00000012 00000012 00000012 00000012 00000010 00000010
00000010 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000002 00000002
00000002 00000002 00000002 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00200100 00200100 00200100 00200100 00200100 00200100
00200100 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000004 00000004 00000004 00000004 00000004 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000004 00000004 00000004 00000004 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00200100 00200100 00200100 00200100 00200100 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000001 00000001 00000001 00000001
00000001 00000001 00000001 00000001 00000001 00000001 00000001 00000001
00000001 00000001 00000001 00000001 00000001 00000001 00000001 00000001
00000001 00000001 00000001 00000001 00000001 00000001 00000001 00000001
00000001 00000001 00000001 00000001 00000001 00000001 00000001 00000001
00000001 00000001 00000001 00000001 00000001 00000001 00000001 00000001
00000001 00000001 00000001 00000001 00000001 00000001 00000001 00000001
00000001 00000001 00000001 00000001 00000001 00000001 00000009 00000009
00000009 00000009 00000009 00000009 00000009 00000009 00000009 00000009
00000009 00000009 00000009 00000009 00000009 00000009 00000009 00000009
00000009 00000009 00000009 00000009 00000009 00000009 00000009 00000009
00000009 00000001 00000001 00000001 00000001 00000001 00000001 00000001
00000001 00000001 00000001 00000001 00000001 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000




Replies:



Reply

Name:

Email:

Subject:

Message:

Optional
Link URL:

Link Title:

Image URL:


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