Results 1 to 6 of 6

Thread: luac files decompiling

  1. #1

    Default luac files decompiling

    Hi,
    I want to edit a luac file (sp_battle3.sp_battle3.luac) but I'm new in modding and I don't know how to decompile it to a simple lua file.
    Can you suggest me a tool do do that?

    Thank you all in advance

  2. #2
    wangrin's Avatar Unguibus et Rostro
    Patrician Artifex

    Join Date
    Feb 2005
    Location
    France
    Posts
    4,397

    Default Re: luac files decompiling

    You can have a look here :

    Attached Files Attached Files


    « Le courage, c’est de ne pas subir la loi du mensonge triomphant qui passe, et de ne pas faire écho de notre âme, de notre bouche et de nos mains aux applaudissements imbéciles et aux huées fanatiques.. » Jean JAURES

  3. #3

    Default Re: luac files decompiling

    Quote Originally Posted by wangrin View Post

    Good afternoon.
    I have 2 questions about this - https://github.com/taw/etwng/tree/master/luac
    1. I try to compile luadec on Ubunty 16.04. When I try to execute Ruby script build_luadec I have an error.

    If I change string system "gcc #{cflags} -lm *.o ../lua-5.1.4/src/liblua.a -o ../../luadec"
    to
    system "gcc #{cflags} *.o ../lua-5.1.4/src/liblua.a -o ../../luadec -lm"
    luadec build successfully

    2. May be this question depends on the first question...
    I try to decompil .luac like this - ./luadec -dis xxx.luac >xxx.lua
    Ok,
    xxx.lua created. But xxx.lua file doesn't look like .lua script... It look like, hmmm... .lua script + disassembler


    Am I doing something wrong?
    Last edited by lolIsuck; January 11, 2017 at 12:17 PM.

  4. #4
    Primergy's Avatar Protector of the Union
    Join Date
    Mar 2009
    Location
    Augsburg
    Posts
    2,491

    Default Re: luac files decompiling

    In general i would suggest to contact Taw via github, i don't think he will read this thread here and i don't think someone else can work with luac files.

  5. #5
    Frunk's Avatar Form Follows Function
    took an arrow to the knee

    Join Date
    Jun 2009
    Location
    Gold Coast
    Posts
    6,503

    Default Re: luac files decompiling

    Thread moved from Tools, Tutorials and Resources.

  6. #6

    Default Re: luac files decompiling

    Good afternoon.

    Thanks for your answers.

    So, I have solution for Windows. Attach .zip file, please, try. Password - 123.
    Attached Files Attached Files

Posting Permissions

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