Ranking
Original Post
[DISC] Replay player
i'd like to start by saying toribash is an awesome game. i got linked to it a day or two ago and been having fun with it since. a problem i had was replays, it's just not convenient enough. i thought it'd be very beneficial to be able to play replays in the browser instead of having users download and open replays.

i did some digging (more like skimming) to see if anyone's attempted to create their own replay players, but no luck. so i began writing my own. the thread on 'replay hacking' (http://forum.toribash.com/showthread.php?t=19742) saved me a lot of time on dissecting the replay format, but unfortunately i don't think i'll be able to make a proper player since there's a lot of physics involved between frames. though i'm still gonna try, and see how accurately it can be done so one day we'll be playing replays in a browser.

what i ask is for anyone to provide info on the replay format, and i'll start the discussion with what i've figured out (besides the info from the thread):

NEWGAME data:
o = unknown
f = flags (2=DQ when fall out of arena, 3=DQ when fall)

NEWGAME o; frames, frame steps, o, o, o, f, engage distance, o, o, game mod, o, arena size, dismember threshold, fracture threshold, engage height, o, o, o, o, engage rotation angle, o, o

also here's a screenshot of the replay player, it simply draws the positions of the joints in a single frame: http://img246.imageshack.us/img246/9220/replay.png


thanks and happy toribashing