Fandom

Witcher Wiki

LUC format

7,788pages on
this wiki
Add New Page
Comments0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Files with .LUC extension are compiled LUA scripts. see LUA script in LUA format.

When LUA files are compiled using a LUA compiler, they become binary files — these binary files are the LUC files you see in The Witcher.

LUC files can be decompiled. I have used LUADEC 0.6 to do the job and I managed to decompile the majority of the LUC files. However, it seems that LUADEC 0.6 can not handle some of the LUC files in The Witcher: sometimes it gives an error, sometimes it totally crashes. Looks like an unfinished project — there is a bug report in their tracker about this.

To quickly decompile all LUC files, I have created a batch file containing the following commands — feel free to re-use it(note, how do you use it?):

@echo off

for %%f in (*.luc) DO LUADEC.EXE %%f > %%f.out

External links Edit

Also on Fandom

Random Wiki