Page 1 of 1

Film Parser

Posted: Fri Jan 07, 2022 3:33 am
by hmp
I made a tool for parsing Myth recordings in bulk. http://tain.totalcodex.net/items/show/film-parser
Can be used to extract plugin information, player lists, and chat. Requires java, .jar file, no GUI atm. Writes to text files in same directory as the recordings. Can optionally log all game packets, not just chat, but I haven't deciphered much for non-chat packets yet other than length, sender, time, and some of the types. Might not work on single player films.

edit: updated to include a few more packet types

Sample output

Code: Select all

14800 (08:13.333) : CHAT : FROM = [monty       : 15] : WHISPER : warrs going to our back flags
14801 (08:13.366) : MOVE : FROM = [|bPフr￵s            |icivil : 3] : COMMAND SUBTYPE = 0 : FORMATION = SHORT LINE
	FACING = 0.0
	11 UNITS = [10602] [10523] [10522] [10246] [10532] [10577] [10603] [10518] [10576] [10497] [10574]
	1 WAYPOINTS = {x=120.178, y=88.645}
14801 (08:13.366) : MOVE : FROM = [|badrenaline : 9] : COMMAND SUBTYPE = 16 : FORMATION = SHORT LINE
	FACING = 213.0
	5 UNITS = [10003] [10064] [10430] [10431] [10432]
	1 WAYPOINTS = {x=86.385, y=110.936}

Code: Select all

Recording Name: testfilm
Mesh Tag ID: stoc
Game Build: 454
Difficulty: NORMAL
Game Type: TERRITORIES
Time Limit: 0:12:00
Planning Time: 4:00
Plugin: BTLMWC
URL: tain.totalcodex.net
Checksum: 0x99b597f5
http://tain.totalcodex.net/items/show/behind-the-library-mwc-2-team
-----Player List-----
Ratking
|iKillerKing          
Gekko
|bPフr￵s            |icivil
|bMidget Killer Crun
Captain
argos 
Asmodian
hmp
|badrenaline
spoon
Arzenic
Shad
|iProfessional Killer
Funk
monty