Jump to content

[Initial release] lua2lub


iwillnot

Recommended Posts


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  51
  • Reputation:   23
  • Joined:  04/28/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  187
  • Reputation:   35
  • Joined:  01/01/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  51
  • Reputation:   23
  • Joined:  04/28/12
  • Last Seen:  

Thanks for the clarification. :D

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  81
  • Reputation:   69
  • Joined:  11/08/11
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  51
  • Reputation:   23
  • Joined:  04/28/12
  • Last Seen:  

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?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  326
  • Reputation:   47
  • Joined:  04/01/12
  • Last Seen:  

+1 to your last post

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  268
  • Reputation:   27
  • Joined:  12/06/11
  • Last Seen:  

Very useful. /thx

Link to comment
Share on other sites

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

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  235
  • Reputation:   55
  • Joined:  12/02/11
  • Last Seen:  

How about, i wanted to, decompile again into, LUB to LUA?

How do i do that kind of method processing?

Thank you.

Link to comment
Share on other sites

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.

×
×
  • Create New...