UFO:Alien Invasion

Technical support => Linux => Topic started by: kurja on December 22, 2012, 05:11:54 pm

Title: problem with updating dev version
Post by: kurja on December 22, 2012, 05:11:54 pm
I hadn't played in a while, so I read here what's new, ran git fetch and make, launched the game and it says that I'm playing 2.5dev 22th december, but I think I'm not seeing everything that should be new, for an example the mission briefing screen should be here now?
Title: Re: problem with updating dev version
Post by: Wh1sper on December 22, 2012, 05:25:11 pm
try make maps-sync
Could be your maps aure out of sync :-)
And beware mission Mansion, this map is heavily buggy, Textures are shown as wireframe, no path is visible and others.
Title: Re: problem with updating dev version
Post by: DarkRain on December 22, 2012, 05:40:55 pm
git fetch is not enough, it will only download the latest changes but without applying them to your working tree, what you want is:
Code: [Select]
git pull --rebase
Title: Re: problem with updating dev version
Post by: kurja on December 22, 2012, 08:42:27 pm
I did also re-download maps, so I think (hope) they're up to date.

fetch, pull --rebase, then make again? will try that.


---> dang,
Code: [Select]
:~/ufoai$ git pull --rebase
U base/ufos/ptl_misc.ufo
Pull is not possible because you have unmerged files.
Please, fix them up in the work tree, and then use 'git add/rm <file>'
as appropriate to mark resolution, or use 'git commit -a'.
Title: Re: problem with updating dev version
Post by: geever on December 22, 2012, 08:51:54 pm
pull --rebase is enough, it does fetching too.

About the "dang" part: You modified the source.

As you will probably only update and compile, not pushing commits into the central repo, I think it's safe to make a local commit about your changes (git add -u; git commit). "pull -rebase" will update and move your patch to the top.
There can ofc. be conflict with the new changes, but rarely, nothing unresolvable.

-geever
Title: Re: problem with updating dev version
Post by: kurja on December 22, 2012, 08:58:29 pm
I recall applying a patch to decrease cpu load when there are smoke grenades, I don't think I've done anything else that could cause this.

will try again.
Title: Re: problem with updating dev version
Post by: kurja on December 22, 2012, 09:47:53 pm
ok, update seemed to go through, now I'm seeing a briefing screen at least. in battlescape however, something's gone astray:
Title: Re: problem with updating dev version
Post by: kurja on December 23, 2012, 02:23:39 pm
I'm now positive that the change I had made is this http://ufoai.org/forum/index.php/topic,6755.msg56210.html#msg56210

Any idea on what's going wrong with the battlescape? And is the wound icon supposed to look like that?

Title: Re: problem with updating dev version
Post by: ShipIt on December 23, 2012, 02:53:49 pm
The black faces on the battlescape look like this bug (https://sourceforge.net/p/ufoai/bugs/3407/).

The wound icon looks like it is. We all could imagine it looking better, you know :).
Title: Re: problem with updating dev version
Post by: DarkRain on December 23, 2012, 04:49:13 pm
The wound icon looks like it is. We all could imagine it looking better, you know :).
Yeah, yeah, it was only ever meant as a placeholder (in fact it was meant for my own reference as I worked on the system), I didn't want to put a lot of work on the UI part of the health system with UI2 coming, but that was when I thought UI2 would be ready well in advance for 2.5, now I don't really know...
Title: Re: problem with updating dev version
Post by: kurja on December 23, 2012, 04:58:26 pm
don't worry, be happy - there's a working wound system, yay! =)
Title: Re: problem with updating dev version
Post by: ShipIt on December 23, 2012, 05:43:30 pm
Yeah, yeah, it was only ever meant as a placeholder (in fact it was meant for my own reference as I worked on the system), I didn't want to put a lot of work on the UI part of the health system with UI2 coming, but that was when I thought UI2 would be ready well in advance for 2.5, now I don't really know...

I did not want to blame you for doing it like you did.
Title: Re: problem with updating dev version
Post by: DarkRain on December 23, 2012, 05:52:12 pm
Hey, don't worry, I didn't take it that way, I just meant I'm aware (and agree) it doesn't look very good, but hey, one can hope UI2 will be ready no? (who knows how long is still until the release of 2.5 anyway)
Title: Re: problem with updating dev version
Post by: kurja on December 23, 2012, 06:21:06 pm
btw I recall there was supposed to be some info to be had by hovering over the wound icon, is there?
Title: Re: problem with updating dev version
Post by: DarkRain on December 23, 2012, 06:27:57 pm
It *is* there, provided you can avoid a bug that makes those particular tooltips disappear: if you are playing campaign you need to open the inventory and stats windows exclusively using the hotkeys ('i' and 'p' respectively), if you open them using the mouse (exact method depends on the hud you are using) those tooltips will disappear and won't come back until you close and start the game again.
Title: Re: problem with updating dev version
Post by: kurja on December 25, 2012, 04:20:45 pm
The black faces on the battlescape look like this bug (https://sourceforge.net/p/ufoai/bugs/3407/).


I wonder if this would be the same bug? Changing the lightmap block size doesn't make it go away though.
Title: Re: problem with updating dev version
Post by: ShipIt on December 25, 2012, 08:29:28 pm
I wonder if this would be the same bug? Changing the lightmap block size doesn't make it go away though.

Which one?

The pic in your last post shows a different bug (http://sourceforge.net/p/ufoai/bugs/3430/) than the first one. This one is not expected to be solved soon.
Title: Re: problem with updating dev version
Post by: kurja on December 25, 2012, 08:54:26 pm
ah. okay.