Commandline script compiler/decompiler

Discussion in 'Modding and Scripting Support' started by Dj_Unique, Dec 4, 2001.

Remove all ads!
Support Terra-Arcanum:

GOG.com

PayPal - The safer, easier way to pay online!
  1. Dj_Unique

    Dj_Unique Member

    Messages:
    79
    Likes Received:
    5
    Joined:
    Nov 14, 2001
    I was just wondering if anyone else besides myself would be interested in an alternate method of creating scripts?

    I've made a command line compiler for Arcanum .SCR files, and while testing it, I found it pretty useful..

    (A big thanks goes out to Sawtooth for
    providing me with useful info about the file format, which isn't really that complex at all)

    It takes a text file as input formatted like this:
    (a simple example)

    description "Simple dialog script"
    check_vals 10 36725904

    0. dialog 1

    1. return and SKIP default

    and saves it in the Arcanum .SCR format

    Whether or not I'm releasing the compiler, depends on anyone else's interest in such a program. (It also comes with a handy decompiler)
     
  2. DarkUnderlord

    DarkUnderlord Administrator Staff Member

    Messages:
    4,315
    Likes Received:
    5
    Joined:
    Nov 10, 2001
    I'm interested...

    I'm interested in it. Can I use it for some of my more complex scripts or does it only handle simple scripts? Also... If you can make the .scr into a text file, why not then create a simple text editing program that lets you put in all the commands. Then, when you save it, it converts the file into a .scr.

    Anyway, I am VERY interested in a scriptmaker other than the horrid SockMonkey.
     
  3. Dj_Unique

    Dj_Unique Member

    Messages:
    79
    Likes Received:
    5
    Joined:
    Nov 14, 2001
    Sure, I've made it compatible with all of the opcodes and variable types and whatever.. And it's pretty easy to make a GUI for it, since all the script handling functions are in a separate unit. I was actually planning to make a user-friendly GUI for it, so why not. I'll whip it up in no time.. :smile:
     
  4. Calis

    Calis Member

    Messages:
    861
    Likes Received:
    1
    Joined:
    Apr 20, 2001
    Well, if you need a place on the web for it, be sure to send it to me... we'd love to have it in our downloads section once it's in a done'ish state. :smile:
     
  5. DarkUnderlord

    DarkUnderlord Administrator Staff Member

    Messages:
    4,315
    Likes Received:
    5
    Joined:
    Nov 10, 2001
    Waiting in eager anticipation...

    Waiting in eager anticipation...
     
  6. Jarinor

    Jarinor New Member

    Messages:
    6,350
    Likes Received:
    1
    Joined:
    Aug 5, 2001
    So this program is just an alternative to using the SockMonkey script maker? Don't you still have to type out every every character, instead of choosing from a dropdown menu?

    Oh wait, didn't see that thing about the GUI's...what language have you written it in?
    _________________
    "Some things in life you can't help, the rest you can avoid"

    "We will either find a way or make one" - Hannibal


    <font size=-1>[ This Message was edited by: Jarinor on 2001-12-06 06:51 ]</font>
     
  7. Dj_Unique

    Dj_Unique Member

    Messages:
    79
    Likes Received:
    5
    Joined:
    Nov 14, 2001
    You already know this but I'm using Delphi 5 for coding.

    Now there's still a few nasty bugs that cause the scripts to compile incorrectly.. after I've fixed 'em I might be able to release the first version of it..

    :minigun: "ME BASH SILLY BUGS WITH MINIGUN! RAAAWRR!"
     
  8. Jarinor

    Jarinor New Member

    Messages:
    6,350
    Likes Received:
    1
    Joined:
    Aug 5, 2001
    That little dude is going psycho there...

    Let us know when you finish it, I want to try it out :smile:.
     
Our Host!