Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Implement Metaworm's Luadec #1

Open
taikyrio opened this issue Jan 6, 2024 · 11 comments
Open

[Feature] Implement Metaworm's Luadec #1

taikyrio opened this issue Jan 6, 2024 · 11 comments
Labels
enhancement New feature or request

Comments

@taikyrio
Copy link

taikyrio commented Jan 6, 2024

title

@Curve
Copy link
Member

Curve commented Jan 6, 2024

There's an export button which exports all lu files to lua files (if that's what you're looking for)

@Curve Curve added the question Further information is requested label Jan 6, 2024
@taikyrio
Copy link
Author

taikyrio commented Jan 6, 2024

i get this type of code :

local L0_1, L1_1, L2_1, L3_1
L0_1 = require
L1_1 = "CoronaLibrary"
L0_1 = L0_1(L1_1)
L2_1 = L0_1
L1_1 = L0_1.new
L3_1 = {}
L3_1.name = "plugin.att"
L3_1.publisherId = "com.solar2d"
L1_1 = L1_1(L2_1, L3_1)
function L2_1(A0_2)
  local L1_2, L2_2, L3_2, L4_2
  L1_2 = print
  L2_2 = "WARNING: The '"
  L3_2 = L1_1
  L3_2 = L3_2.name
  L4_2 = "' library is not available on this platform."
  L2_2 = L2_2 .. L3_2 .. L4_2
  L1_2(L2_2)
  L1_2 = type
  L2_2 = A0_2
  L1_2 = L1_2(L2_2)
  if L1_2 == "table" then
    L1_2 = type
    L2_2 = A0_2.att
    L1_2 = L1_2(L2_2)
    if L1_2 == "function" then
      A0_2 = A0_2.att
    end
  end
  L1_2 = type
  L2_2 = A0_2
  L1_2 = L1_2(L2_2)
  if L1_2 == "function" then
    L1_2 = A0_2
    L2_2 = {}
    L2_2.name = "att"
    L2_2.status = "unavailable"
    L1_2(L2_2)
  end
end
L1_1.request = L2_1
L1_1.status = "unavailable"
function L2_1()
  local L0_2, L1_2
  L0_2 = "00000000-0000-0000-0000-000000000000"
  return L0_2
end
L1_1.getAdId = L2_1
return L1_1

@Curve
Copy link
Member

Curve commented Jan 6, 2024

Make sure you have unluac setup properly

@taikyrio

This comment has been minimized.

@Curve
Copy link
Member

Curve commented Jan 6, 2024

Seems like unluac is the culprit here then.
I currently only unpack all lua files from the car archive and forward those to unluac.

I don't think there's anything I can do here.

@Curve Curve closed this as not planned Won't fix, can't repro, duplicate, stale Jan 6, 2024
@taikyrio
Copy link
Author

taikyrio commented Jan 6, 2024

i found this website you think you can do something similiar to this

@Curve
Copy link
Member

Curve commented Jan 6, 2024

I found luadec to be way less reliable than unluac especially for the lua version used in coromom

Edit: Just realized that this is another version of luadec. Will look into it!

@Curve Curve reopened this Jan 6, 2024
@taikyrio
Copy link
Author

taikyrio commented Jan 6, 2024

yeah i would love to see if there was a real way to get my files back cause i had a game on a google play store and they took it down since i wasn't at home at the time now i'm back and i wanted to get back into development i only have like a apk of it since it was coded in solar2d sooo that's why im searching for a way to get my code back

@taikyrio
Copy link
Author

taikyrio commented Jan 7, 2024

any updates?

@Curve
Copy link
Member

Curve commented Jan 7, 2024

any updates?

This will take some time. I don't think I can finish this before the end of the month as I have a lot of upcoming exams

@Curve Curve added enhancement New feature or request and removed question Further information is requested labels Jan 7, 2024
@Curve Curve changed the title any way to restore .lu files to original source? [Feature] Implement Metaworm's Luadec Jan 7, 2024
@taikyrio
Copy link
Author

any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants