Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Nightly Builds => Topic started by: SirKnightly on August 31, 2016, 03:31:50 am

Title: Nightly: 31 August 2016 - Revision 71c2963
Post by: SirKnightly on August 31, 2016, 03:31:50 am
Here is the nightly for 31 August 2016 - Revision 71c2963


Group: Linux
nightly_20160831_71c2963-builds-Linux.tar.gz (https://dl.bintray.com/scp-fs2open/FSO/nightly_20160831_71c2963-builds-Linux.tar.gz)
SHA1: 71d464edc54398577c4447beb2fe359c8f196849


Group: MacOSX
nightly_20160831_71c2963-builds-MacOSX.tar.gz (https://dl.bintray.com/scp-fs2open/FSO/nightly_20160831_71c2963-builds-MacOSX.tar.gz)
SHA1: 8b3567e0568366f6a6bb665fd0fcfc9a8abe680e


Group: Win32
nightly_20160831_71c2963-builds-Win32.zip (https://dl.bintray.com/scp-fs2open/FSO/nightly_20160831_71c2963-builds-Win32.zip)
SHA1: 44a6b7e9f1f9e7b36e3f739ce3d39622354d9a5b


Code: [Select]
------------------------------------------------------------------------
commit a8cb9aa
Author: SamuelCho <Tue Aug 30 21:19:57 2016 -0700>
Commit: SamuelCho <Tue Aug 30 21:19:57 2016 -0700>

    Removed accidental comma.
 code/graphics/opengl/gropenglshader.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

------------------------------------------------------------------------
commit 99b427f
Author: SamuelCho <Tue Aug 30 21:19:06 2016 -0700>
Commit: SamuelCho <Tue Aug 30 21:19:06 2016 -0700>

    Fixed shield uniforms.
 code/graphics/opengl/gropengldraw.cpp | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

------------------------------------------------------------------------
commit ce8cf62
Author: asarium <Tue Aug 30 22:49:51 2016 +0200>
Commit: asarium <Tue Aug 30 23:12:55 2016 +0200>

    Remove some unused graphics functions
 code/graphics/2d.h                    |  4 ----
 code/graphics/grstub.cpp              | 10 ----------
 code/graphics/opengl/gropengl.cpp     |  1 -
 code/graphics/opengl/gropengldraw.cpp | 32 --------------------------------
 code/graphics/opengl/gropengldraw.h   |  1 -
 5 files changed, 48 deletions(-)

------------------------------------------------------------------------
commit 46d5c81
Author: asarium <Tue Aug 30 22:49:34 2016 +0200>
Commit: asarium <Tue Aug 30 23:12:55 2016 +0200>

    Fix FRED2 waypoint rendering crash
 code/render/3ddraw.cpp | 2 --
 1 file changed, 2 deletions(-)

------------------------------------------------------------------------
commit 6848eff
Author: asarium <Tue Aug 30 21:39:13 2016 +0200>
Commit: asarium <Tue Aug 30 21:39:13 2016 +0200>

    Fix OpenGL context creation for FRED
 fred2/fredview.cpp | 5 -----
 1 file changed, 5 deletions(-)

------------------------------------------------------------------------
commit 30cbebf
Author: Risto Toijala <Tue Aug 30 13:33:14 2016 +0300>
Commit: Risto Toijala <Tue Aug 30 13:33:14 2016 +0300>

    Fix crash/Error in techmenu with 0 intel entries.
 code/menuui/techmenu.cpp | 4 ++++
 1 file changed, 4 insertions(+)

------------------------------------------------------------------------
commit bb78e74
Author: SamuelCho <Sun Aug 28 15:36:10 2016 -0700>
Commit: SamuelCho <Sun Aug 28 15:36:10 2016 -0700>

    Improved shields. Added shield decal rendering technique. Fixed inaccurate shield normals and shield collision detection timing. Bumped up shield impacts count to 200.
 code/def_files/shield-impact-f.sdr | 18 ++++++++++
 code/def_files/shield-impact-v.sdr | 18 ++++++++++
 code/graphics/2d.h                 |  5 ++-
 code/graphics/gropengl.cpp         |  2 ++
 code/graphics/gropengldraw.cpp     | 32 +++++++++++++++++
 code/graphics/gropengldraw.h       |  2 ++
 code/graphics/gropenglshader.cpp   | 21 ++++++++---
 code/graphics/gropenglshader.h     |  3 +-
 code/graphics/gropengltnl.cpp      |  8 ++---
 code/graphics/grstub.cpp           |  7 ++++
 code/graphics/material.cpp         | 73 +++++++++++++++++++++++++++++++++-----
 code/graphics/material.h           | 22 ++++++++++--
 code/math/vecmat.cpp               | 29 +++++++++++++++
 code/math/vecmat.h                 |  4 +++
 code/model/model.h                 | 13 ++++---
 code/model/modelinterp.cpp         | 50 ++++++++++++++++++++++++++
 code/model/modelread.cpp           |  9 +++++
 code/object/collideshipweapon.cpp  |  2 +-
 code/ship/shield.cpp               | 61 ++++++++++++++++++++++++-------
 code/source_groups.cmake           |  2 ++
 20 files changed, 343 insertions(+), 38 deletions(-)
Title: Re: Nightly: 31 August 2016 - Revision 71c2963
Post by: CT27 on August 31, 2016, 10:15:32 pm
Something happened with this nightly that I haven't seen before.

I was having a technical problem with a mission on 3.7.4 (final) so I decided to try this build and it worked.  I was able to complete the mission and move on in the campaign.  However, then I tried to go back to 3.7.4 with the campaign and it was at the mission I was having problems with again, I hadn't moved on.  When I went back to this build I was at my correct point of progress again.


Did something change in these builds that won't allow campaign progress to be shared across builds?
Title: Re: Nightly: 31 August 2016 - Revision 71c2963
Post by: DahBlount on August 31, 2016, 10:22:31 pm
I believe some pilot file related things were changed in a recent nightly. You won't be able to use old pilot files with nightlies and new files won't work with 3.7.4.
Title: Re: Nightly: 31 August 2016 - Revision 71c2963
Post by: AdmiralRalwood on August 31, 2016, 10:29:00 pm
Something happened with this nightly that I haven't seen before.

I was having a technical problem with a mission on 3.7.4 (final) so I decided to try this build and it worked.  I was able to complete the mission and move on in the campaign.  However, then I tried to go back to 3.7.4 with the campaign and it was at the mission I was having problems with again, I hadn't moved on.  When I went back to this build I was at my correct point of progress again.


Did something change in these builds that won't allow campaign progress to be shared across builds?
With nightly builds, pilot files are now stored in your user folder (in C:\Users\<NAME>\AppData\Roaming\HardLightProductions\FreeSpaceOpen\data\players\ on Windows; I don't recall the Mac and Linux paths off the top of my head). wxLauncher 0.11 automatically copies your configuration and pilot files to the new folder the first time an SDL2 build is run; if you want to keep that progress in 3.7.4, you'll need to copy/move your pilot files back.

Alternatively, you can try portable mode (http://hard-light.net/wiki/index.php/Command-Line_Reference#-portable_mode); on Windows, this should basically be the same as the old way of doing things, but with fs2_open.ini support.

I believe some pilot file related things were changed in a recent nightly. You won't be able to use old pilot files with nightlies and new files won't work with 3.7.4.
This is inaccurate; FSO should always be backwards-compatible with old pilot files, and we haven't yet changed the pilot file version, so pilots should still be compatible with older versions of FSO (going back to 3.7.2). There was, however, a brief period where writing pilot files was broken altogether.
Title: Re: Nightly: 31 August 2016 - Revision 71c2963
Post by: DahBlount on August 31, 2016, 11:03:04 pm
This is inaccurate; FSO should always be backwards-compatible with old pilot files, and we haven't yet changed the pilot file version, so pilots should still be compatible with older versions of FSO (going back to 3.7.2). There was, however, a brief period where writing pilot files was broken altogether.
The way m|m phrased it to me on IRC this morning made it sound like that was the case. Regardless, the recent nightly changes have broken all my old pilot files.
Title: Re: Nightly: 31 August 2016 - Revision 71c2963
Post by: CT27 on August 31, 2016, 11:13:21 pm

With nightly builds, pilot files are now stored in your user folder (in C:\Users\<NAME>\AppData\Roaming\HardLightProductions\FreeSpaceOpen\data\players\ on Windows; I don't recall the Mac and Linux paths off the top of my head). wxLauncher 0.11 automatically copies your configuration and pilot files to the new folder the first time an SDL2 build is run; if you want to keep that progress in 3.7.4, you'll need to copy/move your pilot files back.

Alternatively, you can try portable mode (http://hard-light.net/wiki/index.php/Command-Line_Reference#-portable_mode); on Windows, this should basically be the same as the old way of doing things, but with fs2_open.ini support.

Thanks Admiral.  I tried your suggestion and it worked; I was able to get back on track with 3.7.4
Title: Re: Nightly: 31 August 2016 - Revision 71c2963
Post by: CT27 on September 01, 2016, 07:27:54 pm
May I ask why this change was made though (moving pilot files to "Roaming" for new nightlies rather than keeping them where they were)?
Title: Re: Nightly: 31 August 2016 - Revision 71c2963
Post by: AdmiralRalwood on September 01, 2016, 07:33:39 pm
May I ask why this change was made though (moving pilot files to "Roaming" for new nightlies rather than keeping them where they were)?
Same reason Windows no longer stores settings in the registry: the whole point of SDL2 was to unify how things are handled on the different platforms. The folder is obtained by calling SDL_GetPrefPath(), which gives "C:\Users\<name>\AppData\Roaming\<stuff>\" on Windows, "~/.local/share/<stuff>/" on Linux, and "/Users/<name>/Library/Application Support/<stuff>/" on Mac. Additionally, it should avoid problems with UAC on Windows if FSO is installed to Program Files, because writing to the program's directory is frowned upon. For anyone who still wants to do it (e.g. they have FSO on a thumbdrive), that's what the "-portable_mode" command-line option is for.
Title: Re: Nightly: 31 August 2016 - Revision 71c2963
Post by: m!m on September 02, 2016, 03:37:34 am
The portable mode is not yet supported by the launcher so you need to edit your fs2_open.ini by hand to change the settings.