• Editing LUA files
    4 replies, posted
I'm trying to open a lua file to force a game to play in a window. The game is Tropico 3. I read that you can edit some parameter in the config.lua file in the install folder, but as soon as I open the Lua file in Notepad I get a bunch of random letters and symbols, about 4 rows of them. According to the site, I should be getting something readable atleast. What do?
[QUOTE=Gurant;24880942]I'm trying to open a lua file to force a game to play in a window. The game is Tropico 3. I read that you can edit some parameter in the config.lua file in the install folder, but as soon as I open the Lua file in Notepad I get a bunch of random letters and symbols, about 4 rows of them. According to the site, I should be getting something readable atleast. What do?[/QUOTE] They're encrypted if you're getting loads of symbols, that or they're corrupt.
[QUOTE=Gurant;24880942]I'm trying to open a lua file to force a game to play in a window. The game is Tropico 3. I read that you can edit some parameter in the config.lua file in the install folder, but as soon as I open the Lua file in Notepad I get a bunch of random letters and symbols, about 4 rows of them. According to the site, I should be getting something readable atleast. What do?[/QUOTE] [QUOTE]1) Download Decompress Config. 2) Extract Decompress Config somewhere you can find it. 3) Run Decompress Config. 4) If the Location isn't showing the full path to config.lua, click the ... button and browse for the location. It will be the same location as Tropico3.exe. 5) Click on Open with Notepad. Notepad should open up with a bunch of lines starting with config. 6) Find the line that says config.IsFullscreen = 1 and change that 1 to a 0 (that's zero, not "O"). 7) Change the resolution from inside the game settings.[/QUOTE] Google does wonders
Decompile it. [url]http://luadec.luaforge.net/[/url]
[QUOTE=TheSpy;24880990]Google does wonders[/QUOTE] Luadec just shuts down the instant I try to open it. [url]http://filesmelt.com/dl/config.lua[/url] There's the file. If anyone can decompile it I'd be really, really grateful.
Sorry, you need to Log In to post a reply to this thread.