Post subject: Lua Code for Reading bk2 file format extracting Player info
LuciDOW
He/Him
Joined: 6/3/2020
Posts: 1
Hey I am trying to write a lua script for Mario kart 64 that can read a .bk2 movie file and extract the controller inputs and player states (like position and speed) frame by frame and write the data to a .csv file. I'm brand new so I don't know where to start with answering my questions. I know I need to fine the addresses to the variables I'm looking for in the RAM to record the player states but I am having trouble trying to determine a reliable way to test for it or finding the address online. My other issue is the .bk2 is not a simple file format like a plain text .bkm file, Is there any way to easily read and extract the data I need from it? or is there a way to save a movie as a .bkm file still? I have a lot more experience with plaintext files Do you think someone of my skill level can write a lua script that can do what I need? or its this far above my skill level If you have any resources or advice you would like to share I would greatly appreciate it. Thank you