Page 1 of 3 123 LastLast
Results 1 to 10 of 27

Thread: Tool - ArmaScriptTrace

  1. #1

    Tool - ArmaScriptTrace

    ArmaScriptTrace

    Example Screenshot

    http://img709.imageshack.us/img709/8944/testqk.png


    Hello,

    I wrote a small Java application that is able to parse Arma script files and trace the execution calls of other scripts via #includes, execvm, etc. It then displays a nice tree graph image using GraphViz showing the structure. Anyway, I find it handy when making missions to run it on init.sqf and see what scripts are being called.

    Please test and let me know if it breaks or is unable to parse something. Or, if you have suggestions I would love to hear them.

    Thanks.

    Current Version:

    v0.4 (BETA) - still some bugs I think, please test

    Dev-Heaven Project Page:

    http://dev-heaven.net/projects/arma-script-trace

    Download:

    http://dev-heaven.net/projects/arma-script-trace/files

    Requirements:

    Java Runtime Environment
    Last edited by firefly2442; Jan 5 2011 at 05:09. Reason: new release

  2. #2
    Hmm I may be doing it wrong or perhaps (unlikely) I need to update my JRE or something. It usually pops up whenever it needs updating though. I've tried on my carrier addon and on a mission I made but neither return any image, and trying to save just saves an empty file. Any other system requirements? 32/64-bit issues perhaps? Regardless this seems kinda neat, especially for larger projects, to visually see it.

  3. #3
    Hmm, so you've tried going to Open, and then specifying like your init.sqf file or something? Have you tried it on any other files or missions? I don't believe there are 32/64 compatibility issues, however, it may be possible I missed a dependency for GraphViz.

    Try this, open up your file again and minimize the app (don't close it). Go into the folder and check to see if there is a "temp.dot" and/or "temp.png" file. That will tell us if it's actually running.

    Thanks for testing.

  4. #4
    Just tried it myself, I open a file and nothing. It creates a temp.dot with just some armtrace text but nothing else.

    If I try and save temp.png it saves nothing.

  5. #5
    Quote Originally Posted by F2k Sel View Post
    Just tried it myself, I open a file and nothing. It creates a temp.dot with just some armtrace text but nothing else.

    If I try and save temp.png it saves nothing.
    Same here. Windows 7 Enterprise 64Bit - Java 6 Update 21

  6. #6
    What version of Java are both of you running? When I ran it on my development machine I had 1.6. If you open up the console and type "java -version" it will tell you.

    edit: Hmm, ok clearly I goofed on something. Thanks for trying. I'll see if I can fix it this evening.

  7. #7
    Windows XP Pro 32Bit - Java 6 Update 21

  8. #8
    I just tried it on another machine and it seems to work fine. At this point, I'm guessing it's hanging when it parses the file. For those of you where it doesn't work, can you please post/send me the file/files that you tried running it on. If you want, you can PM me or send me an email. My email is "my_forum_username@hotmail.com". (Take that spam bots!).

    Thanks in advance.

  9. #9


    zlib1.dll

    At least that makes it all work for me

    As seen here


    Let me know if I can help any further.

  10. #10
    removed old download link.

    Thanks, try this updated zip.
    Last edited by firefly2442; Sep 30 2010 at 02:09. Reason: old link

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •