Linux gootool problem with World Of Goo native for Linux.

21 replies [Last post]
Joined: 04/27/2010

Hi all.

I have a problem with the GooTool in Linux Ubuntu 9.10 and the RC 10.04.
The error are:

"Error reading current configuration: Unable to parse config.txt"

I have give all the files of GooTool and java root permissions, I read the forum and in the version of 64b of ubuntu the tool is not work but I have a sistem of 35b and the original "World Of Goo" game for Linux.

I need a solution please.

thB
thB's picture
ContributorAddin AuthorKleptomaniacToo Much Free TimeSerious OCD
Joined: 04/17/2009

I sure hope you have a 32 bit system, not a 35 bit one. Wink
Have you manually edited your config.txt? If so, be sure to double-check if it's still syntactically correct.

my gooey profile | my video channel | author of Hazardous Environment

Joined: 04/27/2010

Thanks for the correction in my world we have systems based in 75b and 36b Tongue, I will review my config.txt but in the moment when edit are only for change the lenguage to spanish.

Joined: 09/01/2009

Uh, then make sure you changed it to something like language = es, not language = spanish. GooTool can change the language for you anyway, so you might consider changing it back and just changing it to Spanish in GooTool.

Joined: 11/04/2008

Failing that, check the logfile (usually in /tmp/gootool0.log) and paste the error here.

Joined: 04/27/2010

OK, I have in the config.txt all correct, I past now my logfle:

"29/04/2010 10:14:07 AM com.goofans.gootool.GooTool main
INFO: Launching gootool 1.0.2.376
29/04/2010 10:14:07 AM com.goofans.gootool.GooTool main
INFO: Java version 1.6.0_18 from Sun Microsystems Inc. in /usr/lib/jvm/java-6-openjdk/jre
29/04/2010 10:14:07 AM com.goofans.gootool.GooTool main
INFO: OS Linux version 2.6.32-21-generic on i386
29/04/2010 10:14:12 AM com.goofans.gootool.P a
INFO: Found World of Goo at stored location of "/home/shanty/.WorldOfGoo" at: /home/shanty/.WorldOfGoo
29/04/2010 10:14:12 AM com.goofans.gootool.bh a
INFO: Found profile at stored location of "/home/shanty/.WorldOfGoo/pers2.dat"
29/04/2010 10:14:12 AM com.goofans.gootool.ba a
GRAVE: Unable to parse config.txt
org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:253)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:288)
at com.goofans.gootool.ba.b(SourceFile:68)
at com.goofans.gootool.ba.a(SourceFile:34)
at com.goofans.gootool.af.a(SourceFile:55)
at com.goofans.gootool.aD.a(SourceFile:142)
at com.goofans.gootool.bs.a(SourceFile:121)
at com.goofans.gootool.bs.a(SourceFile:45)
at com.goofans.gootool.aE.run(SourceFile:106)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
29/04/2010 10:14:12 AM com.goofans.gootool.bs a
GRAVE: Error reading configuration
java.io.IOException: Unable to parse config.txt
at com.goofans.gootool.ba.a(SourceFile:38)
at com.goofans.gootool.af.a(SourceFile:55)
at com.goofans.gootool.aD.a(SourceFile:142)
at com.goofans.gootool.bs.a(SourceFile:121)
at com.goofans.gootool.bs.a(SourceFile:45)
at com.goofans.gootool.aE.run(SourceFile:106)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
29/04/2010 03:03:46 PM com.goofans.gootool.GooTool main
INFO: Launching gootool 1.0.2.376
29/04/2010 03:03:46 PM com.goofans.gootool.GooTool main
INFO: Java version 1.6.0_18 from Sun Microsystems Inc. in /usr/lib/jvm/java-6-openjdk/jre
29/04/2010 03:03:46 PM com.goofans.gootool.GooTool main
INFO: OS Linux version 2.6.32-21-generic on i386
29/04/2010 03:03:48 PM com.goofans.gootool.P a
INFO: Found World of Goo at stored location of "/home/shanty/.WorldOfGoo" at: /home/shanty/.WorldOfGoo
29/04/2010 03:03:48 PM com.goofans.gootool.bh a
INFO: Found profile at stored location of "/home/shanty/.WorldOfGoo/pers2.dat"
29/04/2010 03:03:48 PM com.goofans.gootool.ba a
GRAVE: Unable to parse config.txt
org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:253)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:288)
at com.goofans.gootool.ba.b(SourceFile:68)
at com.goofans.gootool.ba.a(SourceFile:34)
at com.goofans.gootool.af.a(SourceFile:55)
at com.goofans.gootool.aD.a(SourceFile:142)
at com.goofans.gootool.bs.a(SourceFile:121)
at com.goofans.gootool.bs.a(SourceFile:45)
at com.goofans.gootool.aE.run(SourceFile:106)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
29/04/2010 03:03:48 PM com.goofans.gootool.bs a
GRAVE: Error reading configuration
java.io.IOException: Unable to parse config.txt
at com.goofans.gootool.ba.a(SourceFile:38)
at com.goofans.gootool.af.a(SourceFile:55)
at com.goofans.gootool.aD.a(SourceFile:142)
at com.goofans.gootool.bs.a(SourceFile:121)
at com.goofans.gootool.bs.a(SourceFile:45)
at com.goofans.gootool.aE.run(SourceFile:106)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
29/04/2010 03:16:45 PM com.goofans.gootool.GooTool main
INFO: Launching gootool 1.0.2.376
29/04/2010 03:16:45 PM com.goofans.gootool.GooTool main
INFO: Java version 1.6.0_18 from Sun Microsystems Inc. in /usr/lib/jvm/java-6-openjdk/jre
29/04/2010 03:16:45 PM com.goofans.gootool.GooTool main
INFO: OS Linux version 2.6.32-21-generic on i386
29/04/2010 03:16:47 PM com.goofans.gootool.P a
INFO: Found World of Goo at stored location of "/home/shanty/.WorldOfGoo" at: /home/shanty/.WorldOfGoo
29/04/2010 03:16:47 PM com.goofans.gootool.bh a
INFO: Found profile at stored location of "/home/shanty/.WorldOfGoo/pers2.dat"
29/04/2010 03:16:47 PM com.goofans.gootool.ba a
GRAVE: Unable to parse config.txt
org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:253)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:288)
at com.goofans.gootool.ba.b(SourceFile:68)
at com.goofans.gootool.ba.a(SourceFile:34)
at com.goofans.gootool.af.a(SourceFile:55)
at com.goofans.gootool.aD.a(SourceFile:142)
at com.goofans.gootool.bs.a(SourceFile:121)
at com.goofans.gootool.bs.a(SourceFile:45)
at com.goofans.gootool.aE.run(SourceFile:106)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
29/04/2010 03:16:47 PM com.goofans.gootool.bs a
GRAVE: Error reading configuration
java.io.IOException: Unable to parse config.txt
at com.goofans.gootool.ba.a(SourceFile:38)
at com.goofans.gootool.af.a(SourceFile:55)
at com.goofans.gootool.aD.a(SourceFile:142)
at com.goofans.gootool.bs.a(SourceFile:121)
at com.goofans.gootool.bs.a(SourceFile:45)
at com.goofans.gootool.aE.run(SourceFile:106)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
29/04/2010 03:17:52 PM com.goofans.gootool.GooTool main
INFO: Launching gootool 1.0.2.376
29/04/2010 03:17:52 PM com.goofans.gootool.GooTool main
INFO: Java version 1.6.0_18 from Sun Microsystems Inc. in /usr/lib/jvm/java-6-openjdk/jre
29/04/2010 03:17:52 PM com.goofans.gootool.GooTool main
INFO: OS Linux version 2.6.32-21-generic on i386
29/04/2010 03:17:54 PM com.goofans.gootool.P a
INFO: Found World of Goo at stored location of "/home/shanty/.WorldOfGoo" at: /home/shanty/.WorldOfGoo
29/04/2010 03:17:54 PM com.goofans.gootool.bh a
INFO: Found profile at stored location of "/home/shanty/.WorldOfGoo/pers2.dat"
29/04/2010 03:17:54 PM com.goofans.gootool.ba a
GRAVE: Unable to parse config.txt
org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:253)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:288)
at com.goofans.gootool.ba.b(SourceFile:68)
at com.goofans.gootool.ba.a(SourceFile:34)
at com.goofans.gootool.af.a(SourceFile:55)
at com.goofans.gootool.aD.a(SourceFile:142)
at com.goofans.gootool.bs.a(SourceFile:121)
at com.goofans.gootool.bs.a(SourceFile:45)
at com.goofans.gootool.aE.run(SourceFile:106)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
29/04/2010 03:17:54 PM com.goofans.gootool.bs a
GRAVE: Error reading configuration
java.io.IOException: Unable to parse config.txt
at com.goofans.gootool.ba.a(SourceFile:38)
at com.goofans.gootool.af.a(SourceFile:55)
at com.goofans.gootool.aD.a(SourceFile:142)
at com.goofans.gootool.bs.a(SourceFile:121)
at com.goofans.gootool.bs.a(SourceFile:45)
at com.goofans.gootool.aE.run(SourceFile:106)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)"

thB
thB's picture
ContributorAddin AuthorKleptomaniacToo Much Free TimeSerious OCD
Joined: 04/17/2009

I suggest you do a quick copy&paste of your config.txt here. That'd help much.

my gooey profile | my video channel | author of Hazardous Environment

Joined: 04/27/2010

ok, here my config.txt:

"<!-- IMPORTANT WARNING:
 
     If you edit this file, your computer will probably explode.
     -Your friend, the High Resolution Sign Painter
 
     (Instead of editing this file, you can copy it to $HOME/.WorldOfGoo to
      to change settings on a per-user basis. Read linux-issues.txt for
      additional documentation.)
-->
 
<config>
 
  <!--
    Game parameters
  -->
 
  <!-- Game language -->
  <param name="language" value="auto" />
 
  <!-- Graphics display -->
  <param name="screen_width" value="800" />
  <param name="screen_height" value="600" />
  <param name="color_depth" value="0" />
  <param name="fullscreen" value="true" />
  <param name="ui_inset" value="10" />
 
  <!-- Sound -->
  <param name="sound_num_channels" value="16" />
  <param name="sound_buffer_size" value="1024" />
  <param name="sound_mute" value="false" />
 
  <!-- Input -->
 
  <!-- Support for multiple mice through Linux evdev interface, which requires
       mouse event devices (/dev/input/eventN) to be readable. This is an
       unsupported bonus feature, so don't report bugs if it doesn't work! -->
  <param name="manymouse" value="false" />
 
 
  <!--
    Environmental variables
 
    Do not change unless you are sure what you're doing!
  -->
 
  <!-- This controls the audio driver used by the game. 
       If set to "auto" (default) a suitable driver is determined automatically
       at runtime. You can override the selected driver by setting this variable
       to one of the following values:
           "pulse"  for PulseAudio
           "alsa"   for ALSA 0.9 PCM audio
           "dsp"    for OSS /dev/dsp standard audio
           "dma"    for OSS /dev/dsp DMA audio
           "arts"   for Analog Realtime Synthesizer (aRts)
           "esd"    for Enlightened Sound Daemon (EsounD, ESD) -->
  <env name="SDL_AUDIODRIVER" value="auto" overwrite="true" />
 
  <!-- This forces the NVIDIA driver to sync on vertical blanking.
       Turn this off if you experience performance problems. -->
  <env name="__GL_SYNC_TO_VBLANK" value="1" overwrite="true" />
 
  <!-- This determines whether DGA is used (when available) for mouse movement.
       In theory this would be more precise, but this does not scale well to
       different resolutions. -->
  <env name="SDL_VIDEO_X11_DGAMOUSE" value="0" overwrite="true" />
 
  <!-- This changes the mouse acceleration in the game.
       Value is of the form "x/y/z" (x, y and z being integers) where x/y is a
       fraction specifying the acceleration factor, and z is the movement speed
       threshold above which acceleration applies. -->
  <!-- <env name="SDL_VIDEO_X11_MOUSEACCEL" value="2/1/0" overwite="true" /> -->
 
  <!-- Set this to 1 to use the XRandR extension for mode switching; may fix 
       mode selection problems in multiple-monitor configurations. -->
  <env name="SDL_VIDEO_X11_XRANDR" value="0" overwrite="true" />
 
  <!-- If you need to use a web proxy, uncomment the variable below and set its
       value to "<hostname>:<port>" of your proxy server. Note that this proxy
       must support HTTPS connections! -->
  <env name="all_proxy" value="" overwrite="false" />
 
</config>"

One question: My directori of World Of Goo is /opt/WorldOfGoo Is corect?

Joined: 04/27/2010

Not wory, I put the code html for "code" Laughing out loud

I change my configuration tu auto for lenguage (default) and is work for my.

thB
thB's picture
ContributorAddin AuthorKleptomaniacToo Much Free TimeSerious OCD
Joined: 04/17/2009

It works when the language value is set to "auto", but it doesn't if you set it to "es"?

my gooey profile | my video channel | author of Hazardous Environment

Joined: 04/27/2010

Is work in auto, It set my lenguage to Spanish.

thB
thB's picture
ContributorAddin AuthorKleptomaniacToo Much Free TimeSerious OCD
Joined: 04/17/2009

I'm sorry, I'm not sure I understand what you are saying. Is it working in Spanish now (with "auto" in the config file) or do you mean you changed the value to "Spanish" and then it didn't work anymore? You have to set the value to "es" for Spanish, not to "Spanish" or "spanish".

my gooey profile | my video channel | author of Hazardous Environment

Joined: 04/27/2010

Jajajajajajajaj XD

Excusemy my english is not the best Tongue

My config.txt are the original with her default text.

thB
thB's picture
ContributorAddin AuthorKleptomaniacToo Much Free TimeSerious OCD
Joined: 04/17/2009

Ok, but did you change this line
<param name="language" value="auto" />
to this: <param name="language" value="es" />
or to this: <param name="language" value="spanish" /> ?

The first line (the one with "es") is correct. "Spanish" will not work.

my gooey profile | my video channel | author of Hazardous Environment

Joined: 04/27/2010

Yes but I do a copi of the original and when the gootool popup my the error y repast the config.txt file original.

thB
thB's picture
ContributorAddin AuthorKleptomaniacToo Much Free TimeSerious OCD
Joined: 04/17/2009

Have you tried leaving the config.txt with the default value of "auto" and only use GooTool to set the language? You can do this in the Options tab in GooTool.

my gooey profile | my video channel | author of Hazardous Environment

Joined: 04/27/2010

!!!! I CAN RON GOOTOOL!!!!

is gibe my tis mensage:

"Error reading current configuration: Unable to parse config.txt"

thB
thB's picture
ContributorAddin AuthorKleptomaniacToo Much Free TimeSerious OCD
Joined: 04/17/2009

Sorry, I thought that only happens when you manually changed the language before. We should wait for davidc then, he might know an answer.

my gooey profile | my video channel | author of Hazardous Environment

Joined: 04/27/2010

Ok, Thanks.

Joined: 11/04/2008

The key error is "XML document structures must start and end within the same entity.".

The XML file is malformed somehow - though what you pasted looks okay. Possibly it has been mangled by a Unicode text editor or something. Try loading it up in something basic like emacs/vi and checking for cruft at the beginning/end. Also try removing the comment at the start so that the very first line begins "<config>" (though that would be weird...)

-davidc

Joined: 04/27/2010

I review the archive but not, the gootool give my the error again,

Joined: 11/04/2008

Did you check both copies of the config.txt? There's one in the game directory (/opt/WorldOfGoo I think), and another in your home directory ($HOME/.worldofgoo I think).

-davidc