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

bad header in precompiled chunk #9

Open
dcboy opened this issue Jan 7, 2015 · 9 comments
Open

bad header in precompiled chunk #9

dcboy opened this issue Jan 7, 2015 · 9 comments

Comments

@dcboy
Copy link

dcboy commented Jan 7, 2015

why i can dec lua file? what does this means "bad header in precompiled chunk"

@diedthreetimes
Copy link

+1

@diedthreetimes
Copy link

After some digging, I saw in an old thread that this may have something to do with encoding (utf8 instead of ASCII?). Eventually, however, I gave up and used this library instead http://sourceforge.net/projects/unluac/?source=directory

@intheway
Copy link

intheway commented Aug 3, 2015

you should match the lua version and the cpu architecture. for exapmle 32bit lua 5.1

@kingofnull
Copy link

how should I change use luadec or compile it as 32bit binary ?

@sztupy
Copy link
Owner

sztupy commented Jul 13, 2017

You can find releases under https://github.com/sztupy/luadec51/releases

Otherwise you have to compile it the same way as you compile lua

@kingofnull
Copy link

I don't know which release should. I compiled lua file on windows and I used the windows precompiled luadec which crashed and when I compile luadec on Ubuntu with Linux artitecthure it return this error.

@kingofnull
Copy link

l can send the lua compile file if it helps

@Nike-Prallow
Copy link

+1

@eraofchaos
Copy link

+1 bad header in precompiled chunk

let me know if You need 10Kb test luac file.

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

No branches or pull requests

7 participants