hannes's modified Tech3 Demo API - 0.1
used by Wolfenstein: Enemy Territory demo tools
- 0.1.1
- cut ettv demo (*.tv_84) with selected player's POV.
- cut from command-line arguments
- detection of duplicate bullet events from ETTV demos
cuts demo
Anders.Gaming.LibTech3 cut demo_path output_path start end cut_type (client_num)
where cut_type values are:
- SNAPNUMBER = 0
- SNAPTIME = 1 - most useful
- SNAPCOUNT = 2
client_num is ignored if it's POV demo
example: Anders.Gaming.LibTech3.exe demo01-10-31.tv_84 demo01-10-31.dm_84 56621000 56632000 1 0
parses demo
Anders.Gaming.LibTech3 indexer options
where options are:
exportBulletEvents = 0
exportPlayers = 1
exportDemo = 0
exportObituaries = 1
exportChatMessages = 0
exportJson = 1
exportSQL = 0
exportJsonFile = stdout
exportSQLFile = out.db
logFile = stdout
exportPaths = 0
exportEntityType = -1
exportEventType = -1
exportStart = -1 // export time interval
exportEnd = -1 //
indexType = demo
indexTarget
example:
Anders.Gaming.LibTech3.exe indexer indexTarget/demo.dm_84/exportJsonFile/out.json/exportBulletEvents/1