Lugaru FAQ

From Wolfire Games Wiki
Revision as of 01:58, 22 June 2011 by Conner36 (talk | contribs) (Will Overgrowth have multiplayer?)
Jump to: navigation, search

How do I turn on debug mode?

Only registered users can enable debug mode.

If you have a Mac, debug can be enabled by using Apple's TextEdit. In your Lugaru folder, open the text file "Config.txt" which is located in the Data folder. Search for the text that says "Debug" and change the number that follows from 0 to 1. Press Command-Shift-T to convert the file to plaintext mode and save over the existing file. Debug will be enabled the next time you run Lugaru.

If you are using Windows, debug can be enabled by using Microsoft's WordPad. In your Lugaru folder, most likely located in Program Files, open the text file "Config.txt" which is located in the Data folder. Search for the text that says "Debug" and change the number that follows from 0 to 1. Save the file and debug will be enabled the next time you run Lugaru.

Why are changes I make to the 'Config.txt' ignored?

This can happen in later releases of the mac version, as well as when running the windows version under Vista or later.

What's happening is that the Config.txt file is actually being saved in another location than the one you are editing. If you edit that external version the changes should work.

  • In the mac version you can find it in /User/~YourUserName~/Library/Application Support/Lugaru/Data/config.txt
  • In the windows version you can find it in C:/users/admin/app data/local virtual store/program files/lugaru/config.txt

How was Lugaru made?

Lugaru was originally written on a Mac using the CodeWarrior IDE, OpenGL graphics API, FMOD sound API, and Quicktime. It was later ported to Windows by Defiance, and to Linux by Icculus.

Can I get the Source Code to Lugaru?

http://blog.wolfire.com/2010/05/Lugaru-goes-open-source

Can gameplay changes like new weapons and techniques be modded into Lugaru?

No. Without access to the source code, mods are limited to changes in the map and textures.

How do I make maps for Lugaru?

Please go to the map editing page.

Can I put my own models and animations into Lugaru?

Unfortunately, David created his own format for storing models and animations. In a tragic accident, David's private tools for creating and converting models and animations were permanently lost. However scripts have been created by other people that allow models and animations to be exported into Lugaru format. See this forum thread for more details: Rudel_ic's Import/Export script

Lugaru won't start (Linux)

The older versions of Lugaru are not compatible with new Linux distributions so check that you have the newest version of Lugaru. If it still doesn't work, make sure the resolution is set to either 1280x1024, 1024x768 or 800x600: you can modify this outside of the game by editing the config.txt file found by default in ~/.lugaru/Data. Since this is a hidden folder you will have to toggle "show hidden files/folder" in "View".

NB: there is also a config.txt file in ~/lugaru/Data but editing this one will not change the game settings.

Lugaru crashes before I can play

If this is a recent development, your "Users" or "config.txt" files may have gotten corrupted. You can find them and delete them in your Data folder, located in the Lugaru folder. Unfortunately, this will delete your progress and settings. If that still does not fix the problem, you may have to delete Lugaru and reinstall it.

If you are using an ATI graphics card and have never been able to run Lugaru, make sure you upgrade to the latest version. There was a glitch that prevented Lugaru from working in an older version. There is a patch available here.

Lugaru is running slowly

  • Make sure it is at lowest detail in the options setting. Turn down the resolution to 640x480, turn off the blood, decals, etc. If you really want to be thorough, open up Lugaru's config.txt file in the Data folder and set
detail=0
blur=0
resolution=640*480
blood=0
numplayers=2
decals=0
trilinear=0
music=0

Of these, blood, resolution and decals are probably the most important.

If you are using Windows

  • Close other programs.
  • Press control-alt-delete and go to the performance tab. Make sure that no hidden processes are using up all of your RAM or processing power.

If you are using Mac OS 9 (Classic)

  • File sharing should not be starting up.
  • A CD should not be mounting.
  • Turn off virtual memory (if textures are not broken.)

If you are using Mac OS X

  • Other applications should not be open.
  • Setting blood to 2 can cause a significant decrease in fps under Mac OS X.

My textures are white

If you are using Mac OS 9 (Classic), increase virtual memory. You probably aren't giving OpenGL enough RAM (OpenGL uses unused RAM; do not increase Lugaru's preferred memory size.)

There is flickering or pausing

  • Turn off motion blur in the options menu.
  • Close other applications that may be overwriting the screen buffer. Applications with popup dialogs, such as those below, are known to cause this.
    • MSN Messenger
    • Outlook 2002/XP
    • Some Mozilla Firefox extensions

Lugaru does not respond to the keyboard

On OS X, restart your computer. Sometimes keyboard support for carbon applications randomly dies.

Lugaru quits unexpectedly

Try setting blood to 1 in the options menu, if it is set to 2.

It is difficult to look around

If you are using a laptop, turn off the control panel setting that ignores accidental trackpad movement.

Lugaru does not respond to the keyboard

On OS X, restart your computer. Sometimes keyboard support for carbon applications randomly dies.

I edited the map, and at some random point, Lugaru began crashing when I try to load it! [curses]

There's a trick to fix this (yes there is) provided:

-You have a reasonably recent, working backup. You should :P

-You know how to use a hex editor. If not, you can try using this "MapFix" program for OS X: http://rapidshare.de/files/18252652/MapEdit.zip.html The link may or may not still be available. In case not, the ANSI-C source is also stored here: MapFix.

I'm not talking about a level crashing after you hex-edited it, because in that case, you're the bug. I'm talking about a level that has ceased to work after you modified it with the map editor.

In my experience, this actually only happens when the original level contained dialogue, and all you need to do is restore the dialogue data from your backup. Open your hex editor, and copy everything from the beginning of the backup until 3 bytes before the first occurence of the string "Data:". Select the same data (from the beginning of the file until 3 characters befor the first "Data:" string) in your crashing level file. If the length is the same, you win. Just paste the data you've copied from the backup. Otherwise, that backup was too old, and you lose.

As strange as it may sound, this has always worked for me, ie if "you win" then the level does work again.

I edited the map, and at some random point, the dialogue started refusing to trigger when I reload the map!

First, check that you saved the map with hostile set to 0. Most dialogues won't work otherwise. If the dialogue should start immediatly, also check that your character is at the right place (usually, near the person he's supposed to talk to). If the dialogue still doesn't work, go on.

There's a trick to fix this if:

-You have a reasonably recent, working backup. You should :P

-You know how to use a hex editor. If not, you can try using this "MapFix" program for OS X: http://rapidshare.de/files/18252652/MapEdit.zip.html The link may or may not still be available. In case not, the ANSI-C source is also stored here: MapFix.

Open your hex editor, and copy-paste the bytes from address 2F to 41 from the backup to the current level. Among other things, this sets the main character to the right place.

Check: the number before the 'B' character on the very first line of the file is the same as in the backup, probably a 0.

Either everything crashes (backup is too old), or the dialogue works again.

Lugaru crashes when I try to load my dialogue file

Make sure that no box text is longer than 128 characters.

Lugaru crashes every time after I add my dialogue to the map

This will happen if a string in your dialogue is exactly 10 or 13 characters long. For example:

Text: You knew him?

won't work because 'You knew him?' is 13 characters. To solve the problem, add a '#' at the end of the string in your dialogue file, like this:

Text: You knew him?#

The '#' won't appear in the actual dialogue.

The ground level is changing, and camera angles are messed up!

-Tactic 1: Change terrain type to grass (I *think* they don't have this problem).

-Tactic 2: Create you dialogue above ground level. Place your character on rocks or platforms. They won't be dependant on ground level.

Lugaru crashes right after I edit camera angles

You can still call the console, save the level, and restart Lugaru. You'll be fine.

Will there be a Lugaru 2?

Yes, Overgrowth has been in development since 2006. You can see development updates on the Wolfire Blog. David, Jeff, John, Aubrey or another member of the team post whenever an interesting feature gets completed.

Will Overgrowth have multiplayer?

Yes. Some multiplayer screenshots can be viewed in the Wolfire Blog.