Wikia

Witcher Wiki

LUC format

Talk0
4,219pages on
this wiki

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:

@echo off

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

External links Edit

Start a Discussion Discussions about LUC format

You can find discussions about everything related to this wiki on Witcher Wiki Forum!

Advertisement | Your ad here

Photos

Add a Photo
5,144photos on this wiki
See all photos >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki