Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for JSON flag parsing #167

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

asarium
Copy link
Member

@asarium asarium commented Apr 6, 2018

This introduces support for the new JSON flag output mode of FSO. This convert the flag parsing, joystick enumeration, resolution enumeration, config path retrieval and OpenAL device enumeration to this new output format (obviously with a fallback if the build does not support it).

This should also fix the joystick configuration issue which happens since the SDL version of FSO has been updated. Since wxLauncher will now always use the GUIDs as they are seen by FSO there will be no more configuration mismatches.

This introduces support for parsing the flags supported by FSO.
This will use the JSON output of FSO for enumerating the available
joysticks if possible. This should fix the joystick issue which was
caused by a mismatch between the SDL version FSO and wxLauncher uses.
This does not respect the screen index which may have been specified in
the FSO config but since the old code didn't respect that either it
shouldn't be an issue.
@asarium asarium force-pushed the feature/jsonFlags branch 4 times, most recently from fe9c819 to 1fe4178 Compare April 20, 2018 08:53
The old version used an outdated version of the template which caused
issues with newer NSIS versions.
@asarium
Copy link
Member Author

asarium commented Apr 20, 2018

I have built a test build with these changes: http://www.mediafire.com/file/lmfqqd7cwekqekj/wxlauncher-0.12.0-rc.3.exe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant