A Lua script that aims to be helpful for creating tool-assisted speedruns for Mario Kart DS.
This script shows a bunch of information in text form on the bottom screen, and some information about collisions on the top screen. Use the view collision button to see a 2D top-down view of your kart's hitbox and nearby collision surfaces. Then change the viewing angle with the < and > buttons. Press < once for a 3D view from the camera. Check "freeze location" and then click on the display to move the camera.
Using a button you can toggle between viewing information for your kart and the ghost's kart. You can do this for the on-screen text, and this is separate from 3D view focus!
This version now supports fake ghosts! Click the button to record your kart's position and other data. (click again to stop recording) Now when you rewind to the recorded frames the Lua will pretend there's a ghost doing whatever you recorded.
Check out the file MKDS_Info_Config.txt (that is automatically created when you run this Lua script) for options. For example you can have it always draw all triangles, change the default zoom/scale, or render your hitbox and the fake ghost hitbox on-screen even while on-screen 3D view is off. Or you can just turn off the BizHawk dumbness warning that prints every time you start the script.
Most of the information displayed by the Lua script is explained on the MKDS Game Resources page.