Jump to content

Recommended Posts

Posted (edited)

A newbie-friendly Lua to Lub compiler for folders!

What

This program allows you to compile a whole "lua files" folder's LUA files into LUB files.

I found it annoying that I'd need to do it manually for each file (Or maybe there is a simpler way, I just didn't know how).

I know not every file needs to be protected since not all LUA files are customized by most RO server owners but oh well.

The files are saved in their corresponding folders.

How to use

  1. Save the RAR file in a simple directory like C:/lua2lub/ or D:/lua2lub/.
  2. Extract in the same folder so that the 2 applications and the lua files folder are in the D:/lua2lub/ folder.
    75921263.jpg
  3. Run lua2lub.exe
  4. Set the directory path ( option 2 )
    29587277.jpg
  5. Start compiling ( option 1 )
    72809579.jpg
  6. Exit ( option 4 )

Credits

luac5.0.2 is created by the lua creators itself. so the credits goes to http://www.lua.org/

Revisions and downloads

Version 1.0 : May 20, 2012

First release. Basic functions.

Side note:

I've always dreamed of contributing to eAthena (Ragnarok Online Private Server community in general) since I was 12 years old. 7 years later, here I am. :D

Edited by iwillnot
  • Upvote 3
Posted

Another note that may interest,

It is not required to compile the lua, a simple rename to .lub and the client can read it without problem

Compiled lua is harder to read, but anybody with common sense can decompile :)

Yom <3

  • Upvote 2
Posted

I feel immensely dumb now. lol.

Can I take a guess? We decompiled Gravity's LUB into LUA, which we now use. So... it's kinda pointless to turn it back into LUB?

  • 3 months later...
  • 7 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...