Can't automatically find WorldOfGoo.exe? Post here.

25 replies [Last post]
Joined: 11/04/2008

GooTool is configured to search in various standard locations for WorldOfGoo.exe but there may be others. If you're being prompted to locate WorldOfGoo.exe every time you run the tool, post here with the full path to your WorldOfGoo.exe.

Example: C:\Program Files\WorldOfGoo\WorldOfGoo.exe

Joined: 12/27/2008

Hello.
When I open gootool, i go to bin, and i click the green goo ball to start the program. I select to run the program.
It tells me::
"Error reading current configuration: C:\Prgram Files\WorldOfGoo\Properties\config.txt(the system cannot find the path specified)"
any idea what that means??
Thanks,
JoaeP2

JoaeP2

Joined: 12/12/2008

it says that the file doesn't exist

Joined: 12/29/2008

maybe it's been deleted by accident

Check out my SoundCloud, MomoSoundWaves

Joined: 01/07/2009

Hi, guys.

I just installed the latest version of GooTool, and I have the demo version of WoG for the PC. (I have WoG for the Wii, and I don't want to waste any money on buying the PC)

You know, I never got to run GooTool, ever. You wanna know why?

Everytime I try to open GooTool, it says it can't locate WoG, even though the shortcut to GooTool and the WoG demo are right next to each other! So I have to locate GooTool manually on my documents, but nothing's there!

So, can anyone help me?

Sweetheart, you can't buy the necesseties of life with cookies.

Joined: 03/23/2009

Gootool could not find WorldOfGoo.exe. Not sure if it is because it is a Steam version or because it is installed in an unusual place. The location on my system is:

F:\Program Files (x86)\Steam\steamapps\common\world of goo

I am not sure if this is possible from Java, but one way to probe for the Steam version would be to use the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 22000". This contains an "InstallLocation" setting with the value "f:\program files (x86)\steam\steamapps\common\world of goo" which is exactly what is needed.

The "22000" is the steam ID of World of Goo (http://store.steampowered.com/app/22000/), for the World of Goo demo this would be "22010" (http://store.steampowered.com/app/22010/)

This convention with the InstallLocation is in all the "Steam App <id>" keys that I have so that seems to be reliable.

I am a bit rusty on the registry stuff, but I think the "Wow6432Node" part is because I am running Vista x64. From java you probably see it without that node.

Joined: 11/04/2008

I don't see anything in there (or the equivalent 32-bit node) on my computer for Steam uninstalls - maybe it's optional whether to create an uninstall link.

Do you have a HKEY_LOCAL_MACHINE\SOFTWARE\Valve\Steam\Apps\22000 and if so does it have any values in it?

Joined: 11/04/2008

Can you try this for me?

1. download http://goofans.com/sites/default/files/dl/WindowsRegistry.class and save it

2. command line, change to that directory

3. "java WindowsRegistry" (you might need to put the full path to java)

4. paste the full output (should be something like the following)

Cheers,

David

C:\Dev\gootool\build\compiled>java WindowsRegistry
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 22000
  Reading: InstallLocation
    !!java.util.prefs.BackingStoreException: Not Found error opening key SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 22000
HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 2
2000
  Reading: InstallLocation
    !!java.util.prefs.BackingStoreException: Not Found error opening key SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 22000
HKLM\SOFTWARE\Valve\Steam
  Reading: InstallPath
    >>C:\Games\Steam<<
HKLM\SOFTWARE\Valve\Steam\Apps\15660
  Reading:
    >>null<<
HKLM\SOFTWARE\Valve\Steam\Apps\22000
  Reading:
    !!java.util.prefs.BackingStoreException: Not Found error opening key SOFTWARE\Valve\Steam\Apps\22000
HKLM\SOFTWARE\Valve\Steam\Apps\22010
  Reading:
    !!java.util.prefs.BackingStoreException: Not Found error opening key SOFTWARE\Valve\Steam\Apps\22010
Joined: 03/23/2009

Hmm weird. It looked like a system to me Wink

I have it as far as "HKEY_LOCAL_MACHINE\SOFTWARE\Valve\Steam\Apps\". I do have "HKEY_LOCAL_MACHINE\SOFTWARE\Valve\Steam\Apps\13210", but that seems to be for Unreal Tournament 3. No other entries at that level than 13210.

The Java program gives me an error:

C:\Users\Michel>java WindowsRegistry.class
Exception in thread "main" java.lang.NoClassDefFoundError: WindowsRegistry/class

Caused by: java.lang.ClassNotFoundException: WindowsRegistry.class
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: WindowsRegistry.class. Program will exit.

My java version:
java version "1.6.0_11"
Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode, sharing)

BTW: I had to add java to the path. I added "C:\Program Files (x86)\Java\jre6\bin" to the path and then I could execute Java.exe. I hope that was enough.

Joined: 11/04/2008

It's "java WindowsRegistry" (without .class on the end)

Joined: 03/23/2009

Whoops Sad

C:\Users\Michel>java WindowsRegistry
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 22000
Reading: InstallLocation
Mar 25, 2009 7:00:48 PM java.util.prefs.WindowsPreferences
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0
x80000002. Windows RegCreateKeyEx(...) returned error code 5.
>>f:\program files (x86)\steam\steamapps\common\world of goo<<
HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 2
2000
Reading: InstallLocation
>>f:\program files (x86)\steam\steamapps\common\world of goo<<
HKLM\SOFTWARE\Valve\Steam
Reading: InstallPath
>>F:\Program Files (x86)\Steam<<
HKLM\SOFTWARE\Valve\Steam\Apps\15660
Reading:
!!java.util.prefs.BackingStoreException: Not Found error opening key SOFTWAR
E\Valve\Steam\Apps\15660
HKLM\SOFTWARE\Valve\Steam\Apps\22000
Reading:
!!java.util.prefs.BackingStoreException: Not Found error opening key SOFTWAR
E\Valve\Steam\Apps\22000
HKLM\SOFTWARE\Valve\Steam\Apps\22010
Reading:
!!java.util.prefs.BackingStoreException: Not Found error opening key SOFTWAR
E\Valve\Steam\Apps\22010

Joined: 01/07/2009

Sorry. Fixed it.

Sweetheart, you can't buy the necesseties of life with cookies.

Joined: 06/13/2009

i try to run it but i looked all oveer my computer and its not there! make it installed to look only where you install it and ill be happy.

Joined: 06/13/2009

Now it stopped and says could not find args or something like that. I pasted the location and file name in the web address bar and it runs but it says something about an unexpected exception and it can't run arg.

Joined: 06/13/2009

never mind i was looking for the wrong thing

Joined: 09/01/2009

Hey, every time I start up GooTool, it says I have the demo version of World of Goo, which isn't true. Not that it's a major problem, but it is moderately irritating.

Edit: Okay, I got it figured out. When I intalled the WOG patch, it created a spot Program Files/World of Goo with some of the right stuff in it, but not all. Anyway, redirecting it to Program Files/Brighter Minds Media/World of Goo solved all the problems I was having. Yahoo! Great program!

Joined: 09/05/2009

I INSTALLED GOOTOOL AND IT IS TELLING ME TO LOCATE THE WORLD OF GOO FILE

Joined: 03/31/2009

So? Locate it! Smile

My Gooish profile | Videos on YouTube | My WOG Mods

Joined: 12/05/2009

I looked in the 2Dboy/WorldofGoo files, but couldn't find the .exe, and it wouldn't show up in any of my computer searches.

Joined: 03/31/2009

turn on "see hidden files and folders" in control panel Wink

My Gooish profile | Videos on YouTube | My WOG Mods

Joined: 12/05/2009
Joined: 03/31/2009

I suppose you have WoG shortcut on your desktop? Right click it and the properties. Now you should see where is the original exe file.

My Gooish profile | Videos on YouTube | My WOG Mods

Joined: 11/29/2009

Here's a code snippet of World of Goo Portable's World of Goo Detection routine. It's actually not grouped together as shown, but it's basically everything that's used to make the detection. Everything is written in AutoIt3.

Dim $defaultWoGInstallPath[2] = [@ProgramFilesDir & "\WorldOfGoo\", @ProgramFilesDir & "\WorldOfGooDemo\"]
Dim $defaultWoGInstallPathx64[2] = [EnvGet("PROGRAMFILES(X86)") & "\WorldOfGoo\", EnvGet("PROGRAMFILES(X86)") & "\WorldOfGooDemo\"]
 
If FileExists($WoGAppPath & "WorldOfGoo.exe") == 0 Then
	;Architecture check
	If EnvGet("PROGRAMFILES(X86)") <> "" Then
		If FileExists($defaultWoGInstallPathx64[0] & "WorldOfGoo.exe") Then
			$copyError = copyWoG($defaultWoGInstallPathx64[0], "World of Goo", 0)
			;Also checks for demo
		ElseIf FileExists($defaultWoGInstallPathx64[1] & "WorldOfGoo.exe") Then
			$copyError = copyWoG($defaultWoGInstallPathx64[1], "World of Goo", 0)
		Else
			$copyError = 1
		EndIf
	Else
		If FileExists($defaultWoGInstallPath[0] & "WorldOfGoo.exe") Then
			$copyError = copyWoG($defaultWoGInstallPath[0], "World of Goo", 0)
			;Also checks for demo
		ElseIf FileExists($defaultWoGInstallPath[1] & "WorldOfGoo.exe") Then
			$copyError = copyWoG($defaultWoGInstallPath[1], "World of Goo", 0)
		Else
			$copyError = 1
		EndIf
	EndIf
EndIf
 
	If $WoGType == "auto" Then
		If FileExists($WoGAppPath & "res\levels\ObservatoryObservationStation\ObservatoryObservationStation.level.bin") Then
			$WoGType = "full"
		Else
			$WoGType = "demo"
		EndIf
	EndIf

Note that I used the "PROGRAMFILES(X86)" environment variable to detect whether or not the current OS is 64-bit.

Author of World of Goo Portable. Download here!

Joined: 12/05/2009

Pavke wrote:
I suppose you have WoG shortcut on your desktop? Right click it and the properties. Now you should see where is the original exe file.

That just tells me where gootool.exe is, doesn't solve my problem of finding where worldofgoo.exe is.

But nevermind, I found it.

Joined: 09/08/2010

Mitch wrote:
Gootool could not find WorldOfGoo.exe. Not sure if it is because it is a Steam version or because it is installed in an unusual place. The location on my system is:

F:\Program Files (x86)\Steam\steamapps\common\world of goo

I have the same problem, and i did not found help anywhere, and i spent like one hour searching and reading a lot of threads, please help, i wanna check out those mods soon :/ and is there a possibility to install the mods/levels WITHOUT the gootool???

Joined: 11/04/2008

I had a typo - the Steam version should now be automatically detected in the next version. It will also now search Program Files (x86) in 64-bit versions.

You can always locate the directory manually from the Options tab in the meantime.

-davidc