|
Titel: Unable to load BrettSpielWelt.exe [SOLVED] Beitrag von: snowraver1 am 18.01.2011, 20:41:59 Hi there.... Sorry, but I don't speak German. I'm not sure what the problem is but I downloaded the installer and ran it, but when I try to start the program, nothing happens. I can see the executable show briefly in the task manager, but it dissapears after a second or two. There are no error messages, and there are no .log files in the BSW folder.
I don't know what else to do! Thanks for the help! -- Snow. Titel: Re: Unable to load BrettSpielWelt.exe Beitrag von: snowraver1 am 18.01.2011, 23:33:02 No answers, so I thought that I would add some information. I am behind a corporate firewall, so that might have something to do with it, but it would be nice if there was an error that would be displayed. I'll try again from my home internet connection and see if that makes a difference.
-- Snow. Titel: Re: Unable to load BrettSpielWelt.exe Beitrag von: Spam9 am 19.01.2011, 00:49:54 you should wait some time to give people the chance to answer your question:)
And in deed its a bit few information. Are you sure that you have a installed working Java? Are you sure that you can use Port 80 and 7670 ? Did you try to generate a log? For debugging you can try and use the following debug.bat Code: REM ********************* REM *** Einstellungen *** REM ********************* REM path to your Java-Version. standard will try and use your standard Java. REM Standard: leer REM Example: REM C:\Programme\java\jre1.6.0_01\bin\ (may be that this will differ on your pc my path is the one below) set javadir=C:\Java-Programms\Java\jre6.23\bin\ REM name of the Logfile. This one should be in the Brettspielwelt folder. REM Standard: bswlog.txt set logfile=bswlog.txt REM ********************* REM *** Hauptprogramm *** REM ********************* if not exist de\brettspielwelt\client\Starter.class goto keineBSW if "%javadir%"=="" goto stdJava if not exist %javadir%java.exe goto keineJava :stdJava if "%logfile%"=="" set logfile=bswlog.txt echo Starte Brettspielwelt... echo %DATE% %TIME% > %logfile% echo ------------------------------------------ >> %logfile% %javadir%java -version >> %logfile% 2>&1 echo ------------------------------------------ >> %logfile% %javadir%javaw -ms256m -mx1024m -cp . de.brettspielwelt.client.Starter >> %logfile% 2>&1 echo The file %logfile% was saved. goto ENDE :keineJava echo no Java found. pause goto ENDE :keineBSW echo the installation path of Brettspielwelt is not correct. pause goto ENDE :ENDE you will need to put that file in the BSW directory in Roming archive of your Win7. And execute that one instead of your regular installed exe. This will generate a error log called bswlog.txt . If you post that one it will be easier for us to help you. Alternatively you can try and activate the Java logging in Java settings and post us that one. Titel: Re: Unable to load BrettSpielWelt.exe Beitrag von: Koski am 07.02.2011, 14:04:43 Hello, I'm having the same problem. Some information:
Code: D:\BSW>BrettspielWelt.exe D:\BSW> [info] Module Name: D:\BSW\BrettspielWelt.exe [info] Module INI: D:\BSW\BrettspielWelt.ini [info] Module Dir: D:\BSW\ [info] INI Dir: D:\BSW\ [info] Working directory set to: C:\Documents and Settings\Angel\Datos de progra ma\BSW [info] Found VM: C:\Archivos de programa\Java\jre6\bin\client\jvm.dll [info] Generated Classpath: [info] VM Args: [info] vmarg.0=-Djava.class.path= [info] vmarg.1=-Xmx256m [info] Main Class: de/brettspielwelt/client/Starter [info] Registering natives for Log class [warn] Could not find Log class [info] Registering natives for INI class [warn] Could not find INI class [info] Registering natives for SplashScreen class [warn] Could not find SplashScreen class [info] Registering natives for Registry class [warn] Could not find RegistryKey class [info] Registering natives for Shell class [info] Registering natives for EventLog class [warn] Could not find EventLog class ################## START ################## (Mon Feb 07 13:56:51 CET 2011) Using java version { 1, 6, 0, "23" } Version info ------------------------------------------------------------ Java: 1.6.0_23 Charset: windows-1252 OS: x86 - 5.1 - Windows XP ------------------------------------------------------------------------- UI: javax.swing.plaf.metal.MetalLookAndFeel -- Metal UI: com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel -- Nimbus UI: com.sun.java.swing.plaf.motif.MotifLookAndFeel -- CDE/Motif UI: com.sun.java.swing.plaf.windows.WindowsLookAndFeel -- Windows <- used UI: com.sun.java.swing.plaf.windows.WindowsClassicLookAndFeel -- Windows Classic StarterClassLoader: Loading class 'de.brettspielwelt.client.Starter'... StarterClassLoader: Loading class 'de.brettspielwelt.client.media.MediaConsumer' ... StarterClassLoader: Loading class 'de.brettspielwelt.client.StarterClassLoader'. .. StarterClassLoader: Loading class 'de.brettspielwelt.client.StarterApplet'... StarterClassLoader: Loading class 'de.brettspielwelt.client.media.MediaManager'. .. StarterClassLoader: Loading class 'de.brettspielwelt.client.media.MediaAppender' ... StarterClassLoader: Loading class 'de.brettspielwelt.client.media.LocalManager'. .. StarterClassLoader: Loading class 'de.brettspielwelt.client.media.HelpFormatter' ... StarterClassLoader: Loading class 'de.brettspielwelt.client.media.MediaStreamRea der'... DEFAULT_LANG=es, basePicUrl=http://game.brettspielwelt.de/Client/, codeBase=file :/C:/Documents and Settings/Angel/Datos de programa/BSW/, saveFiles=true StarterClassLoader: Loading class 'de.brettspielwelt.client.media.LocalAppender' ... setNation(es) getStreamFromFilesystem: Found ./localized/languages.txt >> chooseLanguage("Starter", "es") = "null" >> registerAppender("Starter") [@14ed9ff] java.lang.NullPointerException at de.brettspielwelt.client.media.LocalAppender.getStringLocal(LocalAppe nder.java:347) at de.brettspielwelt.client.media.LocalAppender.getFontLocal(LocalAppend er.java:223) at de.brettspielwelt.client.media.LocalAppender.getFontLocal(LocalAppend er.java:204) at de.brettspielwelt.client.Starter.localInit(Starter.java:281) at de.brettspielwelt.client.Starter.languageChanged(Starter.java:274) at de.brettspielwelt.client.Starter.construct(Starter.java:257) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at de.brettspielwelt.client.Starter.protected_run(Starter.java:383) at de.brettspielwelt.client.Starter.main(Starter.java:265) java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at de.brettspielwelt.client.Starter.protected_run(Starter.java:383) at de.brettspielwelt.client.Starter.main(Starter.java:265) Caused by: java.lang.NullPointerException at de.brettspielwelt.client.Starter.localInit(Starter.java:292) at de.brettspielwelt.client.Starter.languageChanged(Starter.java:274) at de.brettspielwelt.client.Starter.construct(Starter.java:257) ... 6 more The debug.bat posted in this thread show me "the installation path of Brettspielwelt is not correct." My OS is Windows XP. The web software for bsw works perfectly and also other java applications. I have reinstalled bsw 4 or 5 times. Thanks a lot. Titel: Re: Unable to load BrettSpielWelt.exe Beitrag von: SLC am 07.02.2011, 15:32:20 Moin, Koski!
The script is fine, but not perfect for every situation, sorry... Please check the following facts: In D:\BSW\, you'll have to find - BrettspielWelt.exe - Uninstall.exe - msvcr71.dll That's all! The data should be in %APPDATA%\BSW\, which is (for you): C:\Documents and Settings\Angel\Datos de programa\BSW\ Check this directory to find at least - Brettspielwelt.prop - Brettspielwelt.prop.en (optional) - Brettspielwelt.prop.nl (optional) - back.gif - mg16x16.gif - mg32x32.gif - directory tree "de" - directory "basePics" (not sure about this) - directory "localized" (will be created automatically) - directory "starterPics" - some more ;D (optional) Please check, that the directory is user WRITABLE (and readable). The client has to create new directories and store files! Main problem was, that your client didn't find the correct data for the Starter module: >> chooseLanguage("Starter", "es") = "null" (If you want to check this, your ./localized/languages.txt should contain sth. like "Starter=de,dk,en,eo,es,fr,it,ja,ko,nl,zh,zh-tr" as unique "Starter=..." line) Either the file was not writable or sth. strange happened... ;D BTW: You don't need the script. Just find "BSWlog.txt" in %USERPROFILE% (well, the Homedirectory of your login user "Angel", e.g. C:\Users\Angel\). Please delete the file before, because data is always appended to this file. Send me the result or post it here... Good luck! Greets, SLC Titel: Re: Unable to load BrettSpielWelt.exe Beitrag von: Koski am 07.02.2011, 20:38:10 Solved!
My ./localized/languages.txt didn't contain the line for "Starter=.." I have added it and now it works fine. Thanks a lot :) |