loosepolygon / luadec-5.0

luadec 0.6 (for Lua 5.0) made to work with debug info stripped (hacked on to for Dark Souls)
Other
14 stars 7 forks source link

Error Trying to Decompile Dark Souls 3 LUA #1

Open Bond697 opened 6 years ago

Bond697 commented 6 years ago

Hello!

When I try to run a DS3 lua file through luadec, I get this error:

https://i.imgur.com/3jaGknw.png

D:\Games\PS4\bloodborne\luadec-master\luadec-5.0-master\bin\Debug>luadec SkeletonKingDefault_Battle.lua luadec: virtual machine mismatch in SkeletonKingDefault_Battle.lua: size of size_t is 4 but read 8

Anything I can do about this?

Realex-fire commented 6 years ago

You need to compile luadec for x64 and everything will work out. (https://github.com/Meowmaritus/luadec-5.0/commit/3cce4804c48605eab1185b0bbbd4302794f0f350)

MagnificentS commented 6 years ago

It doesn't work on global_event.lua

Bond697 commented 5 years ago

I tried to build for x64 and got a ton of errors about not being able to find header files. Eventually I realized I needed to go into the project properties for each of the projects and add the include directory as an additional include directory for x64 building:

https://i.imgur.com/4uTOg7O.png

Once that was done I tried to build for x64 and I get a ton of "unresolved external symbol" errors, How do I get around this?

https://i.imgur.com/BljlmYt.png

Not to be a pain, but is there somewhere I can download a compiled x64 version?

cikilang168 commented 5 years ago

I tried to build for x64 and got a ton of errors about not being able to find header files. Eventually I realized I needed to go into the project properties for each of the projects and add the include directory as an additional include directory for x64 building:

https://i.imgur.com/4uTOg7O.png

Once that was done I tried to build for x64 and I get a ton of "unresolved external symbol" errors, How do I get around this?

https://i.imgur.com/BljlmYt.png

Not to be a pain, but is there somewhere I can download a compiled x64 version?

so, have you fix this problems, can you share you solutions

Bond697 commented 5 years ago

i did not. tried for awhile and eventually gave up.

cikilang168 commented 5 years ago

https://github.com/cikilang168/luadec-5.0

here is my solution, hope it will help you

Mat notifications@github.com 于2019年3月8日周五 上午10:44写道:

i did not. tried for awhile and eventually gave up.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/loosepolygon/luadec-5.0/issues/1#issuecomment-470783651, or mute the thread https://github.com/notifications/unsubscribe-auth/AtvJh9pSU1DAxZ0nsLzF2gbdG7lMXTdbks5vUc6VgaJpZM4UyzEK .

cikilang168 commented 5 years ago

and you need compile it in visual studio 2017.

i used visual studio 2017 community

lang ciki cikilang168@gmail.com 于2019年4月1日周一 下午5:23写道:

https://github.com/cikilang168/luadec-5.0

here is my solution, hope it will help you

Mat notifications@github.com 于2019年3月8日周五 上午10:44写道:

i did not. tried for awhile and eventually gave up.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/loosepolygon/luadec-5.0/issues/1#issuecomment-470783651, or mute the thread https://github.com/notifications/unsubscribe-auth/AtvJh9pSU1DAxZ0nsLzF2gbdG7lMXTdbks5vUc6VgaJpZM4UyzEK .