Jump to content
  • 0

Need Help on Decompiling..


Musika6988

Question


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  53
  • Reputation:   6
  • Joined:  09/09/13
  • Last Seen:  

Can someone please help me Decompile my Lub into Lua?..

I tried some tutorials but can't seem to get it right../sob

I just need to decompile the accname.lub and accessoryid.lub into .lua..

 

Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  53
  • Topics Per Day:  0.01
  • Content Count:  240
  • Reputation:   40
  • Joined:  04/27/13
  • Last Seen:  

you can download it here

 

 

 

Was my response helpful? If so, please click the rep-up ( rep_up.png ) button on the lower right-hand side of this post!

the LuaDec for Lua 5.1.4.rar

Edited by themon
  • Upvote 2
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  53
  • Reputation:   6
  • Joined:  09/09/13
  • Last Seen:  

you can download it here

 

 

 

Was my response helpful? If so, please click the rep-up ( rep_up.png ) button on the lower right-hand side of this post!

 thanks sir themon for this useful links, but i was hoping for a Lub to Lua decompiler../thx

Uhmmm.. i tried following the Chunkspy guid on youtube but, can't seem to get it right cause I'm not so familiar with Notepad++../sob

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  53
  • Topics Per Day:  0.01
  • Content Count:  240
  • Reputation:   40
  • Joined:  04/27/13
  • Last Seen:  

just download the attached file.

and edit that Run Me.bat batch file

and put the file you want to decrypt in the same folder

 

example

 

@echo off
luadec jobname_f.lub >jobname_f.lua
echo. & pause
 

this will decrypt the jobname_f.lub

[spoiler=jobname_f.lub]LuaQ

to

[spoiler=jobname_f.lua]-- Decompiled using luadec 2.1 r80 from http://code.google.com/p/luadec
-- Command line: jobname_f.lub

ReqJobName = function(jobID)
if JobNameTable[jobID] ~= nil then
return JobNameTable[jobID]
end
return ""
end

GetJobString = function(jobID)
for k,v in pairs(jobtbl) do
if v == jobID then
return k
end
end
return ""
end

GetPetIllustName = function(jobID)
filePath = "À¯ÀúÀÎÅÍÆäÀ̽º\\illust\\"
fileName = "Æê_Æ÷¸µ.bmp"
if PetIllustNameTable[jobID] ~= nil then
fileName = PetIllustNameTable[jobID]
end
return filePath .. fileName
end

GetPetIllustName_V2 = function(jobID, in_bResEnglishName)
local filePath = "UserInterface\\illust\\"
local fileName = "PET_PORING.bmp"
-- DECOMPILER ERROR: unhandled construct in 'if'

if in_bResEnglishName == true and PetIllustNameTable_Eng[jobID] ~= nil then
fileName = PetIllustNameTable_Eng[jobID]
end
do return end
return GetPetIllustName(jobID)
return filePath .. fileName
end

GetPetIllustName_V3 = function(jobID)
local filePath = "UserInterface\\illust\\"
local fileName = "PET_NOIMAGE.bmp"
if PetIllustNameTable_Eng[jobID] ~= nil then
fileName = PetIllustNameTable_Eng[jobID]
end
return filePath .. fileName
end

GetPetAccActName = function(accID)
local filePath = "¸ó½ºÅÍ\\"
local fileName = "chocho_¹æµ¶¸é.act"
if PetAccActNameTable[accID] ~= nil then
fileName = PetAccActNameTable[accID]
end
return filePath .. fileName
end

GetPetAccActName_V2 = function(accID, in_bResEnglishName)
local filePath = "Monster\\"
local fileName = "ACC_CHOCHO.act"
-- DECOMPILER ERROR: unhandled construct in 'if'

if in_bResEnglishName == true and PetAccActNameTable_Eng[accID] ~= nil then
fileName = PetAccActNameTable_Eng[accID]
end
do return end
return GetPetAccActName(accID)
return filePath .. fileName
end

IsPetAccessory = function(accID)
if PetAccIDs.ACC_FIRST < accID and accID < PetAccIDs.ACC_LAST then
return true
end
return false
end


 

if this still doesn't help try downloading this using tortoise

[spoiler=client-side-translation - Revision 60: /]https://subversion.assembla.com/svn/client-side-translation/

 

[spoiler=luatolub.bat]for /r %%x in (*.lub) do ren "%%x" *.lua
rmdir /s /q "lub files\chatwndinfo"
rmdir /s /q "lub files\optioninfo"
pause 5

luafiles514.rar

client-side-translation - Revision 60.rar

Edited by themon
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  120
  • Reputation:   3
  • Joined:  07/04/13
  • Last Seen:  

none

Edited by Mau
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  55
  • Reputation:   0
  • Joined:  08/23/12
  • Last Seen:  

Could someone pls decompile them for me../sob

i can't seem to get it right..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  53
  • Topics Per Day:  0.01
  • Content Count:  240
  • Reputation:   40
  • Joined:  04/27/13
  • Last Seen:  

+1 for being lazy /hmm

 

https://subversion.assembla.com/svn/client-side-translation/

Edited by themon
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  55
  • Reputation:   0
  • Joined:  08/23/12
  • Last Seen:  

Sir themon thanks for the effort, already done it../thx../no1

i just made a whole new accname and accesorryid by encoding it 1 by 1../heh

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
Answer this question...

×   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...