experiments/agx_1tri.py: Updates for new structs

This is probably broken anyway, but worth keeping around for
reference...

Signed-off-by: Asahi Lina <lina@asahilina.net>
This commit is contained in:
Asahi Lina 2022-08-17 13:46:07 +09:00
parent 554b44c022
commit ec3cc1bad3

View file

@ -74,7 +74,7 @@ try:
agx.start()
ctx_id = 3
ctx_something = 2
buffer_mgr_slot = 2
#agx.initdata.regionA.add_to_mon(mon)
#agx.initdata.regionB.add_to_mon(mon)
@ -533,7 +533,7 @@ try:
wc_initbm = agx.kobj.new(WorkCommandInitBM)
wc_initbm.context_id = ctx_id
wc_initbm.unk_8 = ctx_something
wc_initbm.unk_8 = buffer_mgr_slot
wc_initbm.unk_c = 0
wc_initbm.unk_10 = buffer_mgr.info.block_count
wc_initbm.buffer_mgr = buffer_mgr.info
@ -549,7 +549,7 @@ try:
wc_ta.context_id = ctx_id
wc_ta.unk_8 = 0
wc_ta.event_control = event_control
wc_ta.unk_14 = ctx_something
wc_ta.unk_14 = buffer_mgr_slot
wc_ta.buffer_mgr = buffer_mgr.info
wc_ta.buf_thing = buf_desc
wc_ta.unk_emptybuf_addr = wc_3d.unk_emptybuf_addr
@ -670,7 +670,7 @@ try:
start_ta.context_id = ctx_id
start_ta.unk_38 = 1
start_ta.unk_3c = 1 #0
start_ta.unk_40 = ctx_something
start_ta.unk_40 = buffer_mgr_slot
start_ta.unk_48 = 1 #0
start_ta.unk_50 = 0
start_ta.struct3 = wc_ta.struct_3