Lua Decompiler Bat

Tools for osRose and osiRose will be placed in here, as well as Rose file formats.

Please PM rl2171 or lmame to get them added to the list.

Moderators: osRose dev team, ospRose dev team, osiRose dev team, Moderators

Lua Decompiler Bat

Postby DeltaBurnt on Mon Aug 17, 2009 2:41 am

Ok so I got Exjam's lua decompiler and compiled it and then I couldn't figure out why it wasn't working cause it wouldn't decompile my .luc file I finally figured it out and decided to make a user friendly bat file with the compiled decompiler (some people may not have C++ to compile it with).

Just rename your compiled lua file (probably has the .luc extension) to lua.lua and run "Run This.bat". It will automatically detect if you have a file name lua.lua in the same folder as it and when it's done it'll open the file for you.

Mainly I just did this cause I was bored, lol.

EDIT: I'm just going to put the bat file up until I ask Exjam if I can upload it.

You can get the actual decompiler's source here: http://exjam.co.uk/wp-content/uploads/2009/04/luadecompiler.zip

Just build it in Visual C++ Express 2008 (it's free), you shouldn't get any errors but you might get a warning or 2 but that's ok.
Attachments
DecompilerBat.rar
(375 Bytes) Downloaded 1385 times
Last edited by DeltaBurnt on Mon Aug 17, 2009 7:24 pm, edited 2 times in total.
DeltaBurnt
Rackie
Rackie
 
Posts: 206
Joined: Sun Jun 21, 2009 10:35 pm

Re: Lua Decompiler Bat

Postby rl-1 on Mon Aug 17, 2009 6:34 am

I hope you got permission from exjam to post this....
rl-1
Pomic
Pomic
 
Posts: 109
Joined: Wed Oct 03, 2007 4:00 am
Location: Illinois

Re: Lua Decompiler Bat

Postby amaedict on Mon Aug 17, 2009 7:00 am

thank you :)
We Have it all ... Image
Image
User avatar
amaedict
Clown
Clown
 
Posts: 531
Joined: Thu Apr 23, 2009 2:44 pm

Re: Lua Decompiler Bat

Postby DeltaBurnt on Mon Aug 17, 2009 5:00 pm

rl-1 wrote:I hope you got permission from exjam to post this....


I thought you wouldn't need permission on something that was given out publically, open source, and plus I didn't change a thing so yah...I guess I should ask em just in case :oops:
DeltaBurnt
Rackie
Rackie
 
Posts: 206
Joined: Sun Jun 21, 2009 10:35 pm

Re: Lua Decompiler Bat

Postby lmame on Mon Aug 17, 2009 6:00 pm

Post also the link to the source code ;)
The world is full of love and peace ^_^
Image
User avatar
lmame
Admin
Admin
 
Posts: 8997
Joined: Mon Aug 06, 2007 4:42 pm
Location: July City

Re: Lua Decompiler Bat

Postby Souleater on Mon Aug 17, 2009 6:40 pm

It's a straightforward batch file so the code is known and therefore there is no need to ask for permission.

However, you should've probably changed the naming from lua.lua to lua.luc, and lua.txt to lua.lua ... it's a bit more correct :)
Image
Souleater
Antares
Antares
 
Posts: 355
Joined: Thu Aug 09, 2007 10:59 pm

Re: Lua Decompiler Bat

Postby lmame on Mon Aug 17, 2009 6:56 pm

Souleater wrote:It's a straightforward batch file so the code is known and therefore there is no need to ask for permission.

However, you should've probably changed the naming from lua.lua to lua.luc, and lua.txt to lua.lua ... it's a bit more correct :)


There was the compiler in the first post, that's why I asked.
The world is full of love and peace ^_^
Image
User avatar
lmame
Admin
Admin
 
Posts: 8997
Joined: Mon Aug 06, 2007 4:42 pm
Location: July City

Re: Lua Decompiler Bat

Postby DeltaBurnt on Mon Aug 17, 2009 7:19 pm

Souleater wrote:It's a straightforward batch file so the code is known and therefore there is no need to ask for permission.

However, you should've probably changed the naming from lua.lua to lua.luc, and lua.txt to lua.lua ... it's a bit more correct :)


I tried that but for some reason it doesn't want to decode .luc files only .lua files, maybe that was a different one I'll try again.

Also I knew it was ok to post the batch file itself but what I needed to ask permission for was the compiled version of the decompiler.

And I will add the link to the actual decompiler in the first post.
DeltaBurnt
Rackie
Rackie
 
Posts: 206
Joined: Sun Jun 21, 2009 10:35 pm

Re: Lua Decompiler Bat

Postby lmame on Mon Aug 17, 2009 7:28 pm

DeltaBurnt wrote:
Souleater wrote:It's a straightforward batch file so the code is known and therefore there is no need to ask for permission.

However, you should've probably changed the naming from lua.lua to lua.luc, and lua.txt to lua.lua ... it's a bit more correct :)


I tried that but for some reason it doesn't want to decode .luc files only .lua files, maybe that was a different one I'll try again.

Also I knew it was ok to post the batch file itself but what I needed to ask permission for was the compiled version of the decompiler.

And I will add the link to the actual decompiler in the first post.


If you have the source, why don't rename the file in a temp file or just handle .luc extension?
The world is full of love and peace ^_^
Image
User avatar
lmame
Admin
Admin
 
Posts: 8997
Joined: Mon Aug 06, 2007 4:42 pm
Location: July City

Re: Lua Decompiler Bat

Postby DeltaBurnt on Mon Aug 17, 2009 8:36 pm

lmame wrote:
DeltaBurnt wrote:
Souleater wrote:It's a straightforward batch file so the code is known and therefore there is no need to ask for permission.

However, you should've probably changed the naming from lua.lua to lua.luc, and lua.txt to lua.lua ... it's a bit more correct :)


I tried that but for some reason it doesn't want to decode .luc files only .lua files, maybe that was a different one I'll try again.

Also I knew it was ok to post the batch file itself but what I needed to ask permission for was the compiled version of the decompiler.

And I will add the link to the actual decompiler in the first post.


If you have the source, why don't rename the file in a temp file or just handle .luc extension?


Oh yah, and I tried .luc again and it worked @.@ so I'll upload the updated bat in a bit.
DeltaBurnt
Rackie
Rackie
 
Posts: 206
Joined: Sun Jun 21, 2009 10:35 pm

Next

Return to Tools and File Format

Who is online

Users browsing this forum: No registered users and 5 guests

cron