Difference between revisions of "Lugaru FAQ"

From Wolfire Games Wiki
Jump to: navigation, search
(I make changes to the 'Config.txt' file but the game ignores them)
m
 
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
=== How do I turn on debug mode? ===
+
{{wip}}<div style="width:100%">
 +
</div>
 +
{{Template:Box-header | title=Basic Information
 +
|editpage=Template:Lugaru_Portal
 +
|border=#8A9EA7        <!-- This is the color of the borders around Box Sections -->
 +
|titleforeground=#00005D <!-- This is the color of the Box Section Title Bar text -->
 +
|titlebackground=#BBC6CA <!-- This is the color of the Box Section Title Bar -->
 +
|background=#D0D8DB      <!-- This is the color of the Box Section background -->
 +
|foreground=#00005D}}      <!-- This is the color of the Box Section text -->
 +
<div style="float:right; width:32%"> <!-- This margin should be right of the above -->
 +
</div>{{TabsHeader|link1=Portal:Lugaru#Basic Information|name1=Lugaru Portal|link2=Lugaru FAQ|name2=FAQ|name3=Console Guide|link3=Lugaru's Console Guide|name4=Movement|link4=Movement|name5=Strategy|link5=Lugaru Combat Strategy|name6=Lugaru Walkthrough|link6=Lugaru Walkthrough|This=2}}
 +
 
 +
== How do I turn on debug mode? ==
 
Only registered users can enable debug mode.
 
Only registered users can enable debug mode.
  
Line 6: Line 18:
 
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.
 
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? ===
+
== 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.
 
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.
+
 
 +
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 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
 
* 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? ===
+
== 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.
 
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? ===
+
== Can I get the Source Code to Lugaru? ==
No.  David worked very hard on Lugaru for a long time and would prefer to keep the source code private.  While some of his other games are open source, Lugaru is being sold as shareware and releasing the source code would greatly complicate things.
 
  
=== Can gameplay changes like new weapons and techniques be modded into 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.
 
No.  Without access to the source code, mods are limited to changes in the map and textures.
  
=== How do I make maps for Lugaru? ===
+
== How do I make maps for Lugaru? ==
 
Please go to the [[Map Editing|map editing]] page.
 
Please go to the [[Map Editing|map editing]] page.
  
=== Can I put my own models and animations into Lugaru? ===
+
== 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: [http://forums.wolfire.com/viewtopic.php?t=5620 Rudel_ic's Import/Export script]
 
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: [http://forums.wolfire.com/viewtopic.php?t=5620 Rudel_ic's Import/Export script]
  
=== Is there going to be a Lugaru 2? ===
+
== 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 [http://www.wolfiles.com/LugaruFix.zip 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 [http://blog.wolfire.com Wolfire Blog].  David, Jeff, John, Aubrey or another member of the team post whenever an interesting feature gets completed.
 
Yes, [[Overgrowth]] has been in development since 2006. You can see development updates on the [http://blog.wolfire.com Wolfire Blog].  David, Jeff, John, Aubrey or another member of the team post whenever an interesting feature gets completed.
  
=== Is Overgrowth going to have multiplayer? ===
+
== Will Overgrowth have multiplayer? ==
Yes. Some multiplayer screenshots can be viewed in the [http://wolfire.com/blog/2006/12/16/lugaru-2-multiplayer/ Wolfire Blog].
+
Yes. Some multiplayer screenshots can be viewed in the [http://blog.wolfire.com/2006/12/lugaru-2-multiplayer/ Wolfire Blog].
  
[[Category:Help]]
+
[[Category:FAQs]]
[[Category:Wolfire]]
+
[[Category:Lugaru]]

Latest revision as of 19:58, 2 March 2012


Work in Progress Work in Progress: Comments & Edits Welcome



Basic Information


Lugaru Portal   FAQ   Console Guide   Movement   Strategy   Lugaru Walkthrough  


 

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.