The differences between Develop and Maintenance
Moderator: Moderators
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
The differences between Develop and Maintenance
Ok, so evo uses 104.0. This version has a few minor things that make me want to move to a newer engine version. The issue is that SWL does not recognize maintenance version (Yes, I can trick it into thinking that m version is a d version (the same way I tricked spads before spads supported it) but I'd like to avoid that).
Here is my question... Is there any real reason why I couldn't use a legit develop version? Some of the things we need include gameid on game load for purposes of randomseed, and the fact that maxslope is ignored for placing mobile units being built on the battlefield in 104.0.
That said, from what I understood was that 104.0 and develop run a higher version of ogl than maintenance. Since evo is already just fine with 104.0 is there any reason it should have issues with the develop versions (yes I know about the luamex bug)?
Here is my question... Is there any real reason why I couldn't use a legit develop version? Some of the things we need include gameid on game load for purposes of randomseed, and the fact that maxslope is ignored for placing mobile units being built on the battlefield in 104.0.
That said, from what I understood was that 104.0 and develop run a higher version of ogl than maintenance. Since evo is already just fine with 104.0 is there any reason it should have issues with the develop versions (yes I know about the luamex bug)?
Re: The differences between Develop and Maintenance
Develop is probably completely unusable for all projects. Too many GL functions are made obsolete, probably no UI will render.
Use maintenance.
Use maintenance.
Re: The differences between Develop and Maintenance
Though I imagine if you can get your UI working in develop the new code would work in 103 too, futureproofing!
Re: The differences between Develop and Maintenance
I doubt that. This will break backwards compatibility. Honestly right now I'm not sure you can replicate everything - may need to wait for new functionality to get exposed.
Re: The differences between Develop and Maintenance
For most UI code, removal of display lists has been the only major API breakage to occur so far and is easy to adapt to.probably completely unusable
That said, sticking with maintenance is a wiser course of action for the time being.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: The differences between Develop and Maintenance
Ok, will do. Thanks for the info guys <3
Re: The differences between Develop and Maintenance
Did this serve as a reminder to murder gl.MultiTexCoord?Kloot wrote:For most UI code, removal of display lists has been the only major API breakage to occur so far and is easy to adapt to.probably completely unusable
That said, sticking with maintenance is a wiser course of action for the time being.
Code: Select all
➜ chiliui git:(master) grep -rni gl.MultiTexCoord | wc -l
96
PS2: There are also issues with using prebuilt executables as Ubuntu 18.04 is now on libcurl4 and static-linked Spring we host requires libcurl3. Cannot force install libcurl3 as it conflicts with libcurl4 which a lot of packages seem to depend on (including cmake).
Re: The differences between Develop and Maintenance
I expect/hope most of those are uniforms in disguise.
re: PS: upgrade to GLEW 2.1.0 (or hack away the version check)
re: PS2: pr-downloader's fault, it doesn't respect PREFER_STATIC_LIBS
re: PS: upgrade to GLEW 2.1.0 (or hack away the version check)
re: PS2: pr-downloader's fault, it doesn't respect PREFER_STATIC_LIBS
Re: The differences between Develop and Maintenance
Ok following these suggestions (hacking away GLEW) I did manage to get in a game, and using FLOZI's ABC's A game, this is how stuff looks like to me: https://i.imgur.com/9m3ILiB.jpg . How do I fix map rendering? Although nothing useful in it, this is the infolog.Kloot wrote:I expect/hope most of those are uniforms in disguise.
re: PS: upgrade to GLEW 2.1.0 (or hack away the version check)
re: PS2: pr-downloader's fault, it doesn't respect PREFER_STATIC_LIBS
PS2: I think we need to fix this - as there will be many Ubuntu 18.04 users of regular Spring (and not just Steam). I'll take a look if I can.
Re: The differences between Develop and Maintenance
There is this block though:
Why doesn't it work?
Code: Select all
if (PREFER_STATIC_LIBS)
#curl dependency
FIND_PACKAGE_STATIC(OpenSSL REQUIRED)
FIND_PACKAGE_STATIC(CURL REQUIRED)
FIND_PACKAGE_STATIC(ZLIB REQUIRED)
else()
find_package(CURL REQUIRED)
find_package(ZLIB REQUIRED)
endif()
Re: The differences between Develop and Maintenance
I'm going to guess your SpringData dir points to the wrong basecontent sdz's (only way I can replicate your screenshot), although that should lead to all sorts of errors. Add DebugGL=1 and DebugGLStacktraces=1 to springsettings.cfg for more details.this is how stuff looks like to me: https://i.imgur.com/9m3ILiB.jpg
Not sure, https://github.com/spring/spring/blob/d ... ts.txt#L10 has something to do with it.Why doesn't it work?
Re: The differences between Develop and Maintenance
I've attached the infolog, it's pretty large, but I think the first couple of lines are useful, posted below:
Code: Select all
[f=-000001] Warning: [OPENGL_DEBUG] id=131216 source=API type=OTHER severity=LOW msg="Program/shader state info: Assembly program 109 failed to compile at position 2247. The associated error string is: line 64, column 9: error: invalid parameter array size
line 70, column 41: error: out of bounds array access
line 71, column 38: error: out of bounds array access
line 72, column 16: error: out of bounds array access
line 74, column 16: error: out of bounds array access
line 76, column 17: error: out of bounds array access
line 78, column 16: error: out of bounds array access
line 84, column 38: error: out of bounds array access
line 85, column 41: error: out of bounds array access
line 86, column 16: error: out of bounds array access
line 88, column 16: error: out of bounds array access
line 98, column 16: error: out of bounds array access
line 131, column 16: error: out of bounds array access
line 143, column 23: error: out of bounds array access
line 145, column 21: error: out of bounds array access
line 148, column 16: error: out of bounds array access
line 150, column 20:"
- Attachments
-
- infolog.txt
- (661.63 KiB) Downloaded 7 times
Re: The differences between Develop and Maintenance
Any chance of a 'useful guide for GL idiots' about what changes we'll have to make in the long term?
Re: The differences between Develop and Maintenance
This will happen, but not before there's a usable interface.FLOZi wrote:Any chance of a 'useful guide for GL idiots' about what changes we'll have to make in the long term?
In general, Most if not all of GL code will have to be updated, with the vast majority being straightforward and barely requiring knowledge.
lups, Chili CUS will need more TLC, I suspect I'll help there.