FA Chart updated for FAF-Replays

Everything about mods can be found here.

Moderator: Morax

FA Chart updated for FAF-Replays

Postby fffmmm » 05 Jan 2013, 23:25

Download
Dowload it here


How to use it
Windows
  • Download it
  • Extract it somewhere
  • Execute FAF-Chart.cmd
  • File->Open Replay; Chose the replay and click on 'open'
Linux
  • Download it
  • Extract it somewhere
  • Open a Terminal, type java -jar FAF-Chart.jar and hit enter
  • File->Open Replay; Chose the replay and click on 'open'

A more in depth How-to by Myxir


Credits
(in no particular order)
  • Aaron Elligsen : FA-Chart is his work
  • The FAF-Team : open source FAF lobby helped a lot (qCompress adds some data that you have to remove before inflating it; the source was of great assistance here)
  • Myxir: for the information on how to use it
  • JZlib: used to inflate the FAF-Replays
  • JFreeChart: used to draw the charts


Notes
How to convert a .fafreplay-file manually into a -SCFAReplay-file[Linux]
If you're on linux you can install pigz and then use the following command to convert the fafreplay into an scfareplay:
Code: Select all
tail -n +2 replay.fafreplay | base64 -d | tail -c +5 | unpigz>replay.SCFAReplay

(This is not required in order to use FAF-Chart; It's just general Information in case someone ever needs to convert a replay.)

Source
The Source is in the /src Folder in the Archive [java]

Batch scripting sucks
If that's your opinion, then I happen to agree! Batch is probably the second worst scripting Language ever. Only PL/SQL is worse.
Last edited by fffmmm on 06 Jan 2013, 15:00, edited 3 times in total.
User avatar
fffmmm
Contributor
 
Posts: 8
Joined: 16 Jul 2012, 18:54
Has liked: 0 time
Been liked: 0 time
FAF User Name: fffmmm

Re: FA Chart updated for FAF-Replays

Postby Myxir » 06 Jan 2013, 11:44

thank you for your work, this will make it alot easier :)


Image

ideas?
windows 7, home premium, 64 bit
started with the .exe file, also tried run as admin and with compatibility mode to xp sp3



making a .bat file and typing java -jar FAF-Chart.jar worked fine, guess it's just the .exe
Unhappy with balance http://i.imgur.com/q5G2BlM.png
User avatar
Myxir
Evaluator
 
Posts: 791
Joined: 09 Apr 2012, 14:01
Has liked: 94 times
Been liked: 306 times
FAF User Name: Washy (irc)

Re: FA Chart updated for FAF-Replays

Postby fffmmm » 06 Jan 2013, 14:53

Thanks for the heads up! I removed the shitty exe and replaced it with a .cmd script as launcher for convenience.

The script has the same functionality as the exe: it checks whether the jar exists and it also tells you to install java if it wasn't found.
User avatar
fffmmm
Contributor
 
Posts: 8
Joined: 16 Jul 2012, 18:54
Has liked: 0 time
Been liked: 0 time
FAF User Name: fffmmm


Return to Mods & Tools

Who is online

Users browsing this forum: No registered users and 1 guest