Author Topic: Config files on all platforms  (Read 15233 times)

0 Members and 1 Guest are viewing this topic.

Offline m!m

  • 211
Re: Config files on all platforms
<snip>
Which launcher did you use? My updated build or the old one?

The path should be %APPDATA%\HardLightProductions\FreeSpaceOpen which should be writable for the FSO process. Could you post what the data folder in that directory contains (if it exists at all)?

 
Re: Config files on all platforms
Your updated build.
This %APPDATA%\Roaming\HardLightProductions\FreeSpaceOpen exists but I have nothing there.
« Last Edit: December 17, 2015, 04:18:32 pm by tomimaki »

 

Offline m!m

  • 211
Re: Config files on all platforms
That's weird, could you post the contents of %APPDATA%\wxlauncher\wxLauncher.log (obviously after running my wxLauncher build)?
Also make sure that you have selected the correct FSO build, if an old build is used the new behavior will not be triggered.

 
Re: Config files on all platforms
Oh, silly me. :ick:
I just renamed wxlauncher folder in Appdata\Roaming, so tested launcher doesn't use old data. Then all works ok.
I could create pilot and start mission, fs2_open.log is created in AppData\Roaming\HardLightProductions\FreeSpaceOpen\data.

Seems this launcher doesn't like profiles created by normal wxlauncher.

 

Offline m!m

  • 211
Re: Config files on all platforms
That's odd. Which launcher version are you using? I'm guessing 0.10.1. I'll try to reproduce this issue.

 
Re: Config files on all platforms
Yes, 0.10.1.

 

Offline m!m

  • 211
Re: Config files on all platforms
I can't reproduce it here, everything works fine when switching between the launcher versions.
Could you post the old wxLauncher log file here?

 
Re: Config files on all platforms
Launcher 0.10.1, tested fso - wxlauncher crash when I try to play
Launcher 0.10.1, nightly fso - ok, pilots from game\data\players
Launcher test, tested fso - ok, pilots from AppData\Roaming\HardLightProductions\FreeSpaceOpen\data\players
Launcher test, nightly fso - ok, pilots from game\data\players

Tested launcher never copied pilots to new location.

Log from 0.10.1 when crash
Code: [Select]
15355211327:INFO :wxLauncher Version 0.10.1
15355211327:INFO :Build "7dffa3aced" committed on (Tue Sep 22 21:03:26 2015 -0600)
15355211327:INFO :12/21/15 22:13:27
15355211327:INFO :Initializing profiles...
15355211327:INFO : My profiles file is: C:\Users\Tomi\AppData\Roaming\wxlauncher\global.ini
15355211327:INFO : Found 1 profile(s).
15355211327:INFO :Initializing SkinSystem...
15355211327:INFO :Initializing HelpManager...
15355211327:INFO :Initializing FlagListManager...
15355211327:INFO :Initializing ProfileProxy...
15355211327:INFO :wxLauncher starting up.
15355211327:STSBR:Profile 'Default' saved
15355211327:STSBR:Now autosaving profiles.
15355211327:ERROR:file '': unexpected character
15355211329:STSBR:MainWindow is complete
15355211329:STSBR:Ready.
15355211329:ERROR:file '': unexpected character
15355211330:INFO :The current game root folder is D:\FreeSpace2
15355211330:INFO : Found 38 FS2 Open executables in 'D:\FreeSpace2'
15355211330:WARN :Revision version number out of range (175640) in executable fs2_open_3_7_3_SSE2_20151216_175640d-DEBUG.exe
15355211330:WARN :Revision version number out of range (175640) in executable fs2_open_3_7_3_SSE2_20151216_175640d.exe
15355211330:WARN :Token ending in 'd' is not a number (7badc4d) in executable fs2_open_3_7_3_SSE2_20151217_7badc4d-DEBUG.exe
15355211330:WARN :Token ending in 'd' is not a number (7badc4d) in executable fs2_open_3_7_3_SSE2_20151217_7badc4d.exe
15355211331:INFO :Detected OpenAL version: 1.1 ALSOFT 1.17.1

Log from tested launcher
Code: [Select]
15355210536:INFO :wxLauncher Version 0.10.1
15355210536:INFO :Build "123456789abc+ unknown custom tip" committed on (Thu Jan 01 00:00:00 1970 -0000)
15355210536:INFO :Mon Dec 21 22:05:36 2015
15355210536:INFO :Initializing profiles...
15355210536:INFO : My profiles file is: C:\Users\Tomi\AppData\Roaming\wxlauncher\global.ini
15355210536:INFO : Found 1 profile(s).
15355210536:INFO :Initializing SkinSystem...
15355210536:INFO :Initializing HelpManager...
15355210536:INFO :Initializing FlagListManager...
15355210536:INFO :Initializing ProfileProxy...
15355210536:INFO :wxLauncher starting up.
15355210536:STSBR:Profile 'Default' saved
15355210536:STSBR:Now autosaving profiles.
15355210537:ERROR:file '': unexpected character
15355210538:STSBR:MainWindow is complete
15355210538:STSBR:Ready.
15355210539:ERROR:file '': unexpected character
15355210540:INFO :The current game root folder is D:\FreeSpace2
15355210540:INFO : Found 38 FS2 Open executables in 'D:\FreeSpace2'
15355210540:WARN :Revision version number out of range (175640) in executable fs2_open_3_7_3_SSE2_20151216_175640d-DEBUG.exe
15355210540:WARN :Revision version number out of range (175640) in executable fs2_open_3_7_3_SSE2_20151216_175640d.exe
15355210540:WARN :Token ending in 'd' is not a number (7badc4d) in executable fs2_open_3_7_3_SSE2_20151217_7badc4d-DEBUG.exe
15355210540:WARN :Token ending in 'd' is not a number (7badc4d) in executable fs2_open_3_7_3_SSE2_20151217_7badc4d.exe
15355210540:INFO :Detected OpenAL version: 1.1 ALSOFT 1.17.1
15355210546:INFO :Detected OpenAL version: 1.1 ALSOFT 1.17.1
15355210555:INFO :FS2 Open is now running...
15355210951:INFO :FS2 Open exited with a status of 0
15355211007:INFO :saving global profile before exiting.
15355211007:INFO :autosaving profile Default before exiting
15355211008:STSBR:Profile 'Default' saved
15355211008:INFO :wxLogger shutdown complete.

Log closed.
« Last Edit: December 21, 2015, 04:04:50 pm by tomimaki »

 

Offline Bryan See

  • Has anyone really been far as decided to use even go want to do look more like?
  • 210
  • Trying to redeem, but under Tiger Parents
    • Skype
    • Steam
    • Twitter
Re: Config files on all platforms
Check your config parser. Is there something wrong with it?
Bryan See - My FreeSpace Wiki User Page (Talk, Contributions)

Full Projects:
Shattered Stars

Campaigns:
Lost in the Mist - Cyrene vs. Psamtik
FreeSpace: Reunited

Ships:
GTS Hygeia, GTT Argo, SC Raguel

Tools:
FSO TC/Game template

I've been under attack by Tiger Parents like Jennifer Pan...

 

Offline Bryan See

  • Has anyone really been far as decided to use even go want to do look more like?
  • 210
  • Trying to redeem, but under Tiger Parents
    • Skype
    • Steam
    • Twitter
Re: Config files on all platforms
I've tested this build, and when I try to type in a new pilot name, it refuses because of the different language. Closing FSO will result in the error.

Code: [Select]
Error: Couldn't load pilot file, bailing
File: playermenu.cpp
Line: 499

ntdll.dll! ZwWaitForSingleObject + 12 bytes
KERNELBASE.dll! WaitForSingleObject + 18 bytes
fs2_open_3_7_3_SSE2-DEBUG.exe! <no symbol>
fs2_open_3_7_3_SSE2-DEBUG.exe! <no symbol>
fs2_open_3_7_3_SSE2-DEBUG.exe! <no symbol>
fs2_open_3_7_3_SSE2-DEBUG.exe! <no symbol>
fs2_open_3_7_3_SSE2-DEBUG.exe! <no symbol>
fs2_open_3_7_3_SSE2-DEBUG.exe! <no symbol>
fs2_open_3_7_3_SSE2-DEBUG.exe! <no symbol>
fs2_open_3_7_3_SSE2-DEBUG.exe! <no symbol>
fs2_open_3_7_3_SSE2-DEBUG.exe! <no symbol>
fs2_open_3_7_3_SSE2-DEBUG.exe! <no symbol>
fs2_open_3_7_3_SSE2-DEBUG.exe! <no symbol>
fs2_open_3_7_3_SSE2-DEBUG.exe! <no symbol>
fs2_open_3_7_3_SSE2-DEBUG.exe! <no symbol>
fs2_open_3_7_3_SSE2-DEBUG.exe! <no symbol>
fs2_open_3_7_3_SSE2-DEBUG.exe! <no symbol>
fs2_open_3_7_3_SSE2-DEBUG.exe! <no symbol>
fs2_open_3_7_3_SSE2-DEBUG.exe! <no symbol>
KERNEL32.DLL! BaseThreadInitThunk + 36 bytes
ntdll.dll! RtlUnicodeStringToInteger + 595 bytes
ntdll.dll! RtlUnicodeStringToInteger + 542 bytes
Bryan See - My FreeSpace Wiki User Page (Talk, Contributions)

Full Projects:
Shattered Stars

Campaigns:
Lost in the Mist - Cyrene vs. Psamtik
FreeSpace: Reunited

Ships:
GTS Hygeia, GTT Argo, SC Raguel

Tools:
FSO TC/Game template

I've been under attack by Tiger Parents like Jennifer Pan...

 

Offline m!m

  • 211
Re: Config files on all platforms
Have you set a different message in your current registry settings?
I just realized that when using a config file, FSO doesn't read the language setting from the registry and then uses the default which is English because the config file doesn't contain that value. Trying to load a previous pilot will then obviously result in issues. I'll fix that by transferring the old value when wxLauncher creates the file for the first time.

I don't understand why FSO has issues when creating a new pilot because then the language should be the same. I'll need to know a few things about your system to reproduce this issue:
  • Did you use the updated wxLauncher or the normal version?
  • Did you change the language setting in the registry? If yes, what value did you change it to?

 

Offline Bryan See

  • Has anyone really been far as decided to use even go want to do look more like?
  • 210
  • Trying to redeem, but under Tiger Parents
    • Skype
    • Steam
    • Twitter
Re: Config files on all platforms
No. There's no registry settings. I used command line settings. I did not used the updated wxLauncher (i.e. the latest version which do not have a registry helper). I used the recent version on my laptop, as this is brand new. I did not change the language setting in the registry.
Bryan See - My FreeSpace Wiki User Page (Talk, Contributions)

Full Projects:
Shattered Stars

Campaigns:
Lost in the Mist - Cyrene vs. Psamtik
FreeSpace: Reunited

Ships:
GTS Hygeia, GTT Argo, SC Raguel

Tools:
FSO TC/Game template

I've been under attack by Tiger Parents like Jennifer Pan...

 

Offline m!m

  • 211
Re: Config files on all platforms
I have worked a bit more on these builds. The new wxLauncher now copies all configuration found in the registry to the new config file so nothing gets lost even if the launcher doesn't use a specific option. To test this properly you will need to delete all files in %AppData%\HardLightProductions\FreeSpaceOpen if the directory exists. Before using the new launcher, start one of the new builds using the old launcher to confirm that it can still properly launch these new builds. After that try launching one of the new builds using the new launcher and check if anything is wrong.

Link to new launcher: http://www.mediafire.com/download/ecfiooto5pimghl/wxlauncher-0.10.1.zip
Link to new builds: http://www.mediafire.com/download/aduvyjz7o3arhji/NewConfigBuilds.zip

 
Re: Config files on all platforms
Do these new builds need sdl2.dll? What version?
« Last Edit: March 15, 2016, 05:09:15 pm by tomimaki »

 

Offline m!m

  • 211
Re: Config files on all platforms
Yes, they require SDL. You can use the DLL from the SDL homepage: https://www.libsdl.org/release/SDL2-2.0.4-win32-x86.zip

 
Re: Config files on all platforms
Ok.
In old wxlauncher I selected new build and tried to play but launcher crashed.
Exception error: c0000005

 

Offline m!m

  • 211
Re: Config files on all platforms
Please post you launcher log located at %APPDATA&\wxlauncher\wxLauncher.log

 
Re: Config files on all platforms
Code: [Select]
16075223900:INFO :wxLauncher Version 0.10.1
16075223900:INFO :Build "7dffa3aced" committed on (Tue Sep 22 21:03:26 2015 -0600)
16075223900:INFO :03/15/16 23:39:00
16075223901:INFO :Initializing profiles...
16075223901:INFO : My profiles file is: C:\Users\Tomi\AppData\Roaming\wxlauncher\global.ini
16075223901:INFO : Found 8 profile(s).
16075223901:INFO :Initializing SkinSystem...
16075223901:INFO :Initializing HelpManager...
16075223901:INFO :Initializing FlagListManager...
16075223901:INFO :Initializing ProfileProxy...
16075223901:INFO :wxLauncher starting up.
16075223901:STSBR:Profile 'Freespace2' saved
16075223901:STSBR:Now autosaving profiles.
16075223901:ERROR:file '': unexpected character
16075223902:STSBR:MainWindow is complete
16075223903:STSBR:Ready.
16075223903:ERROR:file '': unexpected character
16075223904:INFO :The current game root folder is D:\FreeSpace2
16075223904:INFO : Found 8 FS2 Open executables in 'D:\FreeSpace2'
16075223904:INFO : Found 6 FRED2 Open executables in 'D:\FreeSpace2'
16075223904:INFO :Detected OpenAL version: 1.1 ALSOFT 1.17.2

 

Offline m!m

  • 211
Re: Config files on all platforms
Sadly there isn't much information in that log :blah:
Does it work with the launcher I uploaded? If it does then we'll just have to wait until it can be reproduced by someone who can build and debug wxLauncher.

 
Re: Config files on all platforms
Some further testing. :drevil:
I tried directly start new build but it crashed:
Code: [Select]
Problem Event Name: BEX
  Application Name: fs2_open_3_7_5_SSE2_config.exe
  Fault Module Name: StackHash_0a9e
  Exception Code: c0000005
but then I copied SDL2.dll from archive with new wxlauncher. Old wxlauncher still crashes, but directly start worked.

Yes, new builds work with new wxlauncher. All saves were copied to new location.
So only problem is with combination: old (default) wxlauncher - new builds.