Author Topic: Nightly: 31 August 2016 - Revision 71c2963  (Read 1797 times)

0 Members and 1 Guest are viewing this topic.

Offline SirKnightly

  • George or Keira?
  • 211
Nightly: 31 August 2016 - Revision 71c2963
Here is the nightly for 31 August 2016 - Revision 71c2963


Group: Linux
nightly_20160831_71c2963-builds-Linux.tar.gz
SHA1: 71d464edc54398577c4447beb2fe359c8f196849


Group: MacOSX
nightly_20160831_71c2963-builds-MacOSX.tar.gz
SHA1: 8b3567e0568366f6a6bb665fd0fcfc9a8abe680e


Group: Win32
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(-)

 

Offline CT27

  • 211
Re: Nightly: 31 August 2016 - Revision 71c2963
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?

 

Offline DahBlount

  • Moderator
  • 29
  • Alpine ☆ Cancer Tribulation
    • Minecraft
    • Skype
    • Steam
Re: Nightly: 31 August 2016 - Revision 71c2963
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.
<Axem> yet still more insightful than #hard-light

<Axem> jad2.23 will just be cat videos

<DahBlount> So
<DahBlount> JAD2.2 is like that
<Axem> maybe
<Axem> it can be whatever you like!
<DahBlount> A Chocolate Sundae?
<Axem> sure

My models: GTF Gilgamesh - GTD Nuadha [Redesigning] - Ningirama [WIP] - GTG Zephyrus

 

Offline AdmiralRalwood

  • 211
  • The Cthulhu programmer himself!
    • Skype
    • Steam
    • Twitter
Re: Nightly: 31 August 2016 - Revision 71c2963
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; 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.
Ph'nglui mglw'nafh Codethulhu GitHub wgah'nagl fhtagn.

schrödinbug (noun) - a bug that manifests itself in running software after a programmer notices that the code should never have worked in the first place.

When you gaze long into BMPMAN, BMPMAN also gazes into you.

"I am one of the best FREDders on Earth" -General Battuta

<Aesaar> literary criticism is vladimir putin

<MageKing17> "There's probably a reason the code is the way it is" is a very dangerous line of thought. :P
<MageKing17> Because the "reason" often turns out to be "nobody noticed it was wrong".
(the very next day)
<MageKing17> this ****ing code did it to me again
<MageKing17> "That doesn't really make sense to me, but I'll assume it was being done for a reason."
<MageKing17> **** ME
<MageKing17> THE REASON IS PEOPLE ARE STUPID
<MageKing17> ESPECIALLY ME

<MageKing17> God damn, I do not understand how this is breaking.
<MageKing17> Everything points to "this should work fine", and yet it's clearly not working.
<MjnMixael> 2 hours later... "God damn, how did this ever work at all?!"
(...)
<MageKing17> so
<MageKing17> more than two hours
<MageKing17> but once again we have reached the inevitable conclusion
<MageKing17> How did this code ever work in the first place!?

<@The_E> Welcome to OpenGL, where standards compliance is optional, and error reporting inconsistent

<MageKing17> It was all working perfectly until I actually tried it on an actual mission.

<IronWorks> I am useful for FSO stuff again. This is a red-letter day!
* z64555 erases "Thursday" and rewrites it in red ink

<MageKing17> TIL the entire homing code is held up by shoestrings and duct tape, basically.

 

Offline DahBlount

  • Moderator
  • 29
  • Alpine ☆ Cancer Tribulation
    • Minecraft
    • Skype
    • Steam
Re: Nightly: 31 August 2016 - Revision 71c2963
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.
<Axem> yet still more insightful than #hard-light

<Axem> jad2.23 will just be cat videos

<DahBlount> So
<DahBlount> JAD2.2 is like that
<Axem> maybe
<Axem> it can be whatever you like!
<DahBlount> A Chocolate Sundae?
<Axem> sure

My models: GTF Gilgamesh - GTD Nuadha [Redesigning] - Ningirama [WIP] - GTG Zephyrus

 

Offline CT27

  • 211
Re: Nightly: 31 August 2016 - Revision 71c2963

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; 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

 

Offline CT27

  • 211
Re: Nightly: 31 August 2016 - Revision 71c2963
May I ask why this change was made though (moving pilot files to "Roaming" for new nightlies rather than keeping them where they were)?

 

Offline AdmiralRalwood

  • 211
  • The Cthulhu programmer himself!
    • Skype
    • Steam
    • Twitter
Re: Nightly: 31 August 2016 - Revision 71c2963
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.
Ph'nglui mglw'nafh Codethulhu GitHub wgah'nagl fhtagn.

schrödinbug (noun) - a bug that manifests itself in running software after a programmer notices that the code should never have worked in the first place.

When you gaze long into BMPMAN, BMPMAN also gazes into you.

"I am one of the best FREDders on Earth" -General Battuta

<Aesaar> literary criticism is vladimir putin

<MageKing17> "There's probably a reason the code is the way it is" is a very dangerous line of thought. :P
<MageKing17> Because the "reason" often turns out to be "nobody noticed it was wrong".
(the very next day)
<MageKing17> this ****ing code did it to me again
<MageKing17> "That doesn't really make sense to me, but I'll assume it was being done for a reason."
<MageKing17> **** ME
<MageKing17> THE REASON IS PEOPLE ARE STUPID
<MageKing17> ESPECIALLY ME

<MageKing17> God damn, I do not understand how this is breaking.
<MageKing17> Everything points to "this should work fine", and yet it's clearly not working.
<MjnMixael> 2 hours later... "God damn, how did this ever work at all?!"
(...)
<MageKing17> so
<MageKing17> more than two hours
<MageKing17> but once again we have reached the inevitable conclusion
<MageKing17> How did this code ever work in the first place!?

<@The_E> Welcome to OpenGL, where standards compliance is optional, and error reporting inconsistent

<MageKing17> It was all working perfectly until I actually tried it on an actual mission.

<IronWorks> I am useful for FSO stuff again. This is a red-letter day!
* z64555 erases "Thursday" and rewrites it in red ink

<MageKing17> TIL the entire homing code is held up by shoestrings and duct tape, basically.

 

Offline m!m

  • 211
Re: Nightly: 31 August 2016 - Revision 71c2963
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.