Hard Light Productions Forums

Hosted Projects - Standalone => Diaspora => Topic started by: karajorma on November 09, 2012, 06:30:00 am

Title: Diaspora : Shattered Armistice patch 1.0.4 (Linux & Mac OS X)
Post by: karajorma on November 09, 2012, 06:30:00 am
As with previous patches, this patch does not require you to have earlier versions of the patch in order to work.

This patch is larger than the proceeding ones due to the new animation.


Downloads

Windows (http://diaspora.fs2downloads.com/Diaspora_R1_Patch_1.0.4.exe)

Mac (http://diaspora.fs2downloads.com/Diaspora_R1_Patch_1.0.4.dmg)

Linux (http://blueplanet.fsmods.net/E/Diaspora/Diaspora_R1_Patch_1.0.4.tar.lzma)

Changelog

Fix an multiplayer issue with weapon convergence.
Fix an issue where the prometheus wouldn't depart
Add new animations for the volunteer for M3 screen
Fixed M6 breaking if Ion 1 is destroyed.
Added directive counts training missions
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: Luis Dias on November 09, 2012, 06:40:26 am
The installer says the version is 1.0.2. It installs the correct 1.0.4 version, but I hesitated in clicking the button ;).
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: karajorma on November 09, 2012, 07:36:10 am
Damnit. I knew I'd forget to update that somewhere! :D

EDIT : Fixed.
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: karajorma on November 15, 2012, 07:40:04 pm
I'm sure people are downloading, but we need some feedback that it works!
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: Hardcover on November 15, 2012, 08:51:39 pm
Created an account so I could tell you that the patch does indeed work insofar as I can tell. Also that you guys did a frakking awesome job. So much so that I'm thinking I need to find (and/or replace in all probability) my BSG double tanks so I can wear them while I play this.
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: Caladus on November 16, 2012, 02:51:02 pm
Still having issues in the refueling mission. It's a straight crash to desktop. I have to 'kill' the process using the launcher. The error message is a VB runtime error and seems to happen right when the Indark is done fueling the Thesus for one jump.
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: karajorma on November 16, 2012, 09:58:52 pm
Does the debug version give you any messages? Can you post the fs2_open.log you'd find in your data folder after running it?
Title: Re: Diaspora : Shattered Armistice patch 1.0.4
Post by: ThePsuedoMonkey on November 28, 2012, 02:36:47 am
Did a full run-through (in Ubuntu!) just now.  One attempt at M2 had no collisions between my viper and the basestar, rounds from Theseus seemed to be fine.  One crash during the bonus/rescue mission, and three during M6 (exit status of -1).  After making the debug build, M6 did not crash  :nono:  (log here (http://pastebin.com/KcciS59D)).
Are the flak clouds supposed to be so square-ish?  It seemed like the raiders collide with Theseus more frequently.  I must say that the debug build is much better now, but I wonder if that is just a difference between my two systems.
Title: Re: Diaspora : Shattered Armistice patch 1.0.4
Post by: raging_ninja on November 28, 2012, 10:54:41 am
I'm not sure if something strange is going on - I installed the patch to the Diaspora folder, and it now includes R1.04_Patch.vp. However, when I go to the launcher the only options I see in the Profile Management section are: Default, Diaspora, and Diaspora_1_0_3. How do I know for sure that I'm playing using 1.04, where is there a version number I can check?
Title: Re: Diaspora : Shattered Armistice patch 1.0.4
Post by: karajorma on November 28, 2012, 07:32:06 pm
I probably should have named that profile 1_0_3+.

If you have the 1.0.4 VP and don't have 1.0.3 in there any more, you're definitely upgraded.
Title: Re: Diaspora : Shattered Armistice patch 1.0.4
Post by: raging_ninja on November 29, 2012, 12:36:08 pm
I probably should have named that profile 1_0_3+.

If you have the 1.0.4 VP and don't have 1.0.3 in there any more, you're definitely upgraded.

Cool, thanks very much.
Title: Re: Diaspora : Shattered Armistice patch 1.0.4
Post by: Ringmasta on December 22, 2012, 03:15:15 pm
I'm having issues downloading the update for the game. It starts, and just before it finishes it crashes saying network error I've reset all my networking and even dmzed and open all the ports on my computer yet the error still happens. I've been playing the first one where the game ends were you meet the galatica and haved played through it a few times. Any suggestions on getting this update to actually download???  :confused: :confused: :mad:
Title: Re: Diaspora : Shattered Armistice patch 1.0.4
Post by: karajorma on December 22, 2012, 08:22:06 pm
Well the patch doesn't add any more missions, it just fixes any bugs in the ones that exist. I can't do it but maybe someone can put the patch on another server for you.
Title: Re: Diaspora : Shattered Armistice patch 1.0.4
Post by: Nuke on January 01, 2013, 08:44:27 pm
the fs2_open_Diaspora_R1.exe from the 104 patch is being called a trojan by avg, however the build that comes with the installer (or any other freespace build) does not. i have tried re-downloading the patch and i get the same results.
Title: Re: Diaspora : Shattered Armistice patch 1.0.4
Post by: General Battuta on January 01, 2013, 09:29:53 pm
It's a false positive.
Title: Re: Diaspora : Shattered Armistice patch 1.0.4
Post by: karajorma on January 01, 2013, 10:50:42 pm
Seems like a false positive to me too. MSE can't find anything wrong with the files I packaged up.

If anyone has AVG too (we talked on IRC, I'm not psychic), can they give it a try.
Title: Re: Diaspora : Shattered Armistice patch 1.0.4
Post by: Echelon9 on January 02, 2013, 12:54:38 am
Or try uploading it to a suite of AV products to see if it's being picked up by more than one.

https://www.virustotal.com/
Title: Re: Diaspora : Shattered Armistice patch 1.0.4
Post by: Nuke on January 02, 2013, 06:40:15 pm
yea was false positive. dont know why, no other freespace builds have done that, and the build from the main installer didnt do that either (not to mention a 203k difference in file size), and i didnt see any posts about it. so it really set off a red flag for me. kara gave me a hash with which to verify the exe, and that passed. and i ran played through with no ill consequences.

i was very impressed with the mod, really like the polish on the hud and rtt stuff. makes my old scripts look rather crude. i like the fact you went with a moving lead indicator, i was curious if that was scripted or part of the new hud system.
Title: Re: Diaspora : Shattered Armistice patch 1.0.4
Post by: VulcanRidr on January 03, 2013, 06:54:26 pm
This is probably a dumb question, but I followed the instructions in the README. Is it indicated anywhere in any of the screens that I am running 1.0.4? My profile management in the launcher only has options for Diaspora and Default, and at the bottom of most of the screens, it only indicates the fs2_open version (3.6.13).

Edit: More grim news...I went into Mods in the launcher, and when I clicked Info for Shattered Armistice, It says "/data/Diaspora_R1_Linux/Diaspora/(No mod)" and at the bottom, "Also known as Diaspora : R1"

Did I miss a step somewhere? I untarred the Patch_Files.1.0.4.tar to /data/Diaspora_R1_Linux/Diaspora, rebuilt fs2_open and the launcher, doing make clean on both, and my patches directory has

Code: [Select]
[[email protected] Diaspora]$ ls -l patches
total 320
-rw-r--r-- 1 storm storm    930 Nov 10 02:28 ai_bug_fixes.patch
-rw-r--r-- 1 storm storm   4908 Sep 10 21:46 bug_fixes.patch
-rw-r--r-- 1 storm storm   1440 Nov 10 02:28 changes_from_trunk.patch
-rw-r--r-- 1 storm storm 133673 Sep 10 21:46 colonial_hud.patch
-rw-r--r-- 1 storm storm    447 Nov 10 02:28 commit_9263.patch
-rw-r--r-- 1 storm storm 155914 Nov 10 02:28 commits_from_trunk_9124.patch
-rw-r--r-- 1 storm storm   1475 Sep 11 23:20 mantis_2711.patch
-rw-r--r-- 1 storm storm    552 Nov 10 02:28 more_ai_fixes.patch
-rw-r--r-- 1 storm storm    906 Nov 10 02:28 no_multi_autoaim.patch

and R1.0.4_Patch.vp exists in the Diaspora directory.

Thanks,
--vr
Title: Re: Diaspora : Shattered Armistice patch 1.0.4
Post by: karajorma on January 03, 2013, 07:50:11 pm
Sounds like you're running it correctly.

In the future we'll try to see if we can get the game to identify itself better.
Title: Re: Diaspora : Shattered Armistice patch 1.0.4
Post by: libspero on January 04, 2013, 04:13:18 pm
Have the same AVG issue..   anyone know how to role back the patch?

On the plus side,  the refuelling mission no longer seems to crash since A) disabling AVG and B) installing the patch..  so one of those seems to cure it  :)
Title: Re: Diaspora : Shattered Armistice patch 1.0.4
Post by: General Battuta on January 04, 2013, 04:38:22 pm
Can't you just tell AVG to ignore the warning? It's a false positive - a lot of FSO builds after a certain revision have been giving this because antivirus software heuristics don't like something in the codebase.
Title: Re: Diaspora : Shattered Armistice patch 1.0.4
Post by: libspero on January 05, 2013, 06:48:23 am
Hi General,

I did try that..   but it still seemed to block it anyway.

I'm sorted now though..  just downloaded the original version again,  this time for Linux and having no problems at all.

Thanks for the help  :)


Libs
Title: Re: Diaspora : Shattered Armistice patch 1.0.4
Post by: Ragewarp9 on January 17, 2013, 08:57:22 pm
In the instructions it said to delete the R1.0.3_Patch.vp, R1.0.2_Patch.vp, R1.0.1_Patch.vp but I could not find any them in the Diaspora folder. I also tried downloading the program again, but I still didn't find the patches that has the exact name. I'm staring to wonder if the instructions were talking about the different patches that had .vp at the end.
Title: Re: Diaspora : Shattered Armistice patch 1.0.4
Post by: karajorma on January 18, 2013, 03:30:00 am
The 1.0.4 patch contains everything that the earlier patches have so if you have freshly installed the game it's the only thing you need to add.


If you've installed the earlier patches you need to get rid of the files you mentioned because they can actually override the 1.0.4 patch. If you never installed the other patches you can ignore this step.
Title: Re: Diaspora : Shattered Armistice patch 1.0.4
Post by: Ragewarp9 on January 18, 2013, 11:32:04 pm
Ok and what is the new thing I have to add
Title: Re: Diaspora : Shattered Armistice patch 1.0.4
Post by: karajorma on January 19, 2013, 12:28:42 am
Well the patch should add the 1.0.4 VP file and also give you a new executable.
Title: Re: Diaspora : Shattered Armistice patch 1.0.4
Post by: Ragewarp9 on January 20, 2013, 02:34:20 am
and do i delete R1_Core.vp, effects.vp, interface.vp, movies.vp, ships.vp, sound.vp, and textures.vp and replace it with R1.0.4_Patch.vp?
Title: Re: Diaspora : Shattered Armistice patch 1.0.4
Post by: niffiwan on January 20, 2013, 03:56:21 am
No, don't do that :)

Here are the VPs I have in my 1.0.4 install - you want all the original VPs plus R1.0.4_Patch.vp.

R1.0.4_Patch.vp  R1_Core.vp  R1_Effects.vp  R1_Interface.vp  R1_Movies.vp  R1_Ships.vp  R1_Sound.vp  R1_Textures.vp
Title: Re: Diaspora : Shattered Armistice patch 1.0.4
Post by: Ragewarp9 on January 20, 2013, 09:07:21 pm
Ok, thanks for the help
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: Fish on February 09, 2013, 05:51:56 am
Not sure if this was present before the patch or not, but in the mission to refuel Theseus I chose to fly a Mk VIIE. Upon landing at the end of that mission, then relaunching from the flight pod once the jump to Virgon had happened, I suddenly find myself flying a Mk VII (and rearmed at that)!
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: Ace on February 11, 2013, 07:03:49 pm
Hrmm the player should have red-alert carry status in M6...
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: zheoffec on February 19, 2013, 09:49:33 am
Hmm, I am still getting a crash on mission 6. Wxlauncher>Mods>Diaspora>Info says: "/home/marco/Diaspora/(no mod).

The new patch is in both the Diaspora and the Diaspora/patches folders and my game has not had any previous patches. So either there is a bug in wxlauncher or the patch doesnt work. Btw Editing pro00*9.ini shows that mod= and modline= are both empty. Changing them to the location of the patch has no effect on the Diaspora profile even after deleting and re adding the profile. I will rebuild wxlauncher and maybe fs2_open soon to check.

Running Fedora 18  x86_64 with the latest Catalyst.
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: zheoffec on February 19, 2013, 09:54:37 am
Rebuilding wxlauncher has no effect.
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: jg18 on February 19, 2013, 01:14:05 pm
I believe crashes are still known to happen in mission 6, even with the latest patch.

Please post a debug log by building a debug build of fs2_open (see the README that came with Diaspora for instructions) and following these instructions (http://www.hard-light.net/forums/index.php?topic=56279.msg1180359#msg1180359).

Also please re-add your profile ini file according to the README to ensure that the values are correct. The mod and modline fields should be blank, because you aren't using any Diaspora mods. The 1.0.4 patch is not considered to be a mod. (Actual mods can be found here (http://www.hard-light.net/forums/index.php?board=239.0).)

When you view the info for Diaspora on the mods tab, do the "Shattered Armistice" logo and description text ("The Cylons have returned." etc.) also appear? The "(No mod)" isn't a problem.
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: zheoffec on February 20, 2013, 04:23:20 am
Here is my old pro00099.ini (Which is wrong I assume) - http://paste.fedoraproject.org/3424/

Also, changing the resolution either from wxlauncher or pro00099.ini doesn't work. I think it uses 1600x900 or 1280x720 for some reason, and when I quit the game (or it crashes), the resolution sticks and does not revert to my previous resolution, but the output doesn't shrink, it just shows a 1600x900 or 1280x720 crop of 1920x1080 (my default resolution).

And yeah wxlauncher says the cylons have returned and such

PS What does the debug build do?

PPS Why don't the devs just release the game pre-patched?
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: karajorma on February 20, 2013, 05:01:52 am
The patch is meant to fix the problems that turned up after our first release. Re-releasing the game after every patch would probably be a bigger support nightmare as it would make it much harder to know which version people were running.

Patches will get folded into our next release and hopefully we'll one day be able to get the launcher to auto-patch. But for now, that's really the best we can do.


Now I'm not a Linux user so I can't comment much on it, but the use of pro00099.ini sounds horribly wrong to me. On Windows that's the name of the temporary file that is imported by the launcher and used to generate the .ini file the launcher does use. On Windows it's deleted afterwards (or simply forgotten about in %temp%, I forget which) and even if it is still on the system, editing it will do nothing because the Launcher ignores it completely.

Again, I'm not a Linux user and the install may be completely different but if the procedure was the same you should have a pro0000x.ini where x is 0 or 1 which will be the one the launcher is actually using.
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: zheoffec on February 20, 2013, 05:23:01 am
In any case, the debug build does not have the mission 6 problem so far.
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: jg18 on February 20, 2013, 06:19:24 pm
Here is my old pro00099.ini (Which is wrong I assume) - http://paste.fedoraproject.org/3424/

Also, changing the resolution either from wxlauncher or pro00099.ini doesn't work. I think it uses 1600x900 or 1280x720 for some reason, and when I quit the game (or it crashes), the resolution sticks and does not revert to my previous resolution, but the output doesn't shrink, it just shows a 1600x900 or 1280x720 crop of 1920x1080 (my default resolution).
Editing pro00099.ini on its own won't do anything. You'll need to open the launcher, delete the Diaspora profile, also delete pro00099.ini (but not pro00099.template.ini), then follow the instructions in the Diaspora README for creating pro00099.ini and adding it to the launcher's set of profiles.

As for the resolution, check what resolution appears in ~/.fs2_open/fs2_open.ini. Does 1920x1080 appear in the launcher's list of resolutions?

Also,
and when I quit the game (or it crashes), the resolution sticks and does not revert to my previous resolution, but the output doesn't shrink,
I don't understand this. Could you reword it?

PS What does the debug build do?
It produces a debug log (fs2_open.log) as it runs with information that can help track down problems. The Diaspora README has more information.
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: zheoffec on February 21, 2013, 06:22:31 am
I don't know / can't find the fs2_open.ini file... fs2_open_diaspora_debug is in the Diaspora folder, not fs2_open, as the README told me...

@ jg18 When I say the resolution doesn't shrink I mean that the display it is outputting 1920x1080, but I am getting only 1600 x 900 pixels of 1920x1080 - http://i.imgur.com/bApDi9y.png
I did remove the profile and re-add it...

Also, crashes are aback on the debug build, but they seem to be different - instead of the game freezing and executing massive disk I/O then crashing, the game just quits instantly (usually while someone is speaking)... I haven't had any other crashes on other missions...

EDIT: I have also encountered this crash just now on mission 3, so it is not exclusive to mission 6. This time it crashed when another ship impacted on mine. Apparently, the game was still running, so I had to press 'Kill' on wxlauncher.

EDIT II: A reproducible crash is: On a mission (in my case mission 3), change the setting on the 'Deail' tab (F2) and hit apply. The game will crash.
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: zheoffec on February 21, 2013, 06:24:57 am
Here is my pro00099.ini:

Code: [Select]
[main]
name=Diaspora
filename=pro00099.ini
initialized=1
[lighting]
preset=BaselineRecommended
[network]
ip=
port=0
speed=None
type=None
[speech]
inbriefings=0
ingame=0
inmulti=0
intechroom=0
voice=0
volume=100
[tc]
currentbinary=fs2_open_diaspora_debug
currentmod=(No mod)
currentmodline=
flags=-post_process -soft_particles -fxaa -cache_bitmaps -snd_preload -ship_choice_3d -weapon_choice_3d -warp_flash -cap_object_update 0
folder=/home/marco/Diaspora
[video]
depth=16
height=1080
texturefilter=Bilinear
width=1920
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: The E on February 21, 2013, 06:57:29 am
The debug log can be found in ~/.fs2_open/data
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: zheoffec on February 21, 2013, 07:15:55 am
I do not have that log.
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: jg18 on February 21, 2013, 10:51:06 am
I don't know / can't find the fs2_open.ini file... fs2_open_diaspora_debug is in the Diaspora folder, not fs2_open, as the README told me...
The folder is .fs2_open, with a dot/period/full stop in front of the "fs2_open". Since the folder name starts with a dot, it's a hidden folder, so to see it in your file manager (Nautilus, Dolphin, whatever it may be), you'll need to unhide hidden files/folders.

I don't know if you're using GNOME, KDE, or some other desktop environment or window manager, but whatever the case may be, you'll have to search the Web to find out how to show hidden files/folders if you don't know how.

@ jg18 When I say the resolution doesn't shrink I mean that the display it is outputting 1920x1080, but I am getting only 1600 x 900 pixels of 1920x1080 - http://i.imgur.com/bApDi9y.png
I did remove the profile and re-add it...
As for launcher profiles, the one that matters that is the one that the launcher is actually using, which isn't pro00099.ini. Launcher profiles are stored in ~/.wxlauncher/ (again, note the dot at the start of ".wxlauncher", so it's also a hidden folder). You'll have to look at the individual profile .ini files (open them in a text editor) to see which one says "Diaspora" in it.

Also, crashes are aback on the debug build, but they seem to be different - instead of the game freezing and executing massive disk I/O then crashing, the game just quits instantly (usually while someone is speaking)... I haven't had any other crashes on other missions...

EDIT: I have also encountered this crash just now on mission 3, so it is not exclusive to mission 6. This time it crashed when another ship impacted on mine. Apparently, the game was still running, so I had to press 'Kill' on wxlauncher.
This is where a debug log (fs2_open.log) would be useful. As The E said, it's in ~/.fs2_open/data/fs2_open.log if you've run a debug build. If you can't find that log (note again the dot at the start of ".fs2_open"), are you sure you're running a debug build? The text in the lower-left corner of the screen in the Diaspora main menu should include the word "Debug".

One quick way to check whether the log exists is to open a terminal and type the following command:
Code: [Select]
ls ~/.fs2_open/data/fs2_open.log

If the file exists, then the terminal output will say
Code: [Select]
/home/marco/.fs2_open/data/fs2_open.log

EDIT II: A reproducible crash is: On a mission (in my case mission 3), change the setting on the 'Deail' tab (F2) and hit apply. The game will crash.
Last I checked, Diaspora doesn't handle well the detail settings being changed in-mission. The DRADIS in particular can become distorted if this is done. Thus I wouldn't be too concerned about a crash in this particular case.
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: zheoffec on February 21, 2013, 01:21:22 pm
Quote
you'll need to unhide hidden files/folders.
Oh, I didn't realize that it was hidden, I was using ls without the -a argument.
Quote
As for launcher profiles, the one that matters that is the one that the launcher is actually using, which isn't pro00099.ini
When I modify a profile, I delete it with the wxlauncher GUI, then execute:
Code: [Select]
# ./wxlauncher --add-profile --profile=Diaspora --file=pro00099.ini
# ./wxlauncher --select-profile --profile=Diaspora

My fs2_open.log is attatched.

[attachment deleted by a basterd]
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: FreeSpaceFreak on February 21, 2013, 01:39:26 pm
Code: (fs2_open.log) [Select]
Initializing OpenGL graphics device at 1920x1080 with 16-bit color...

You may want to set that to 32-bit colour in the launcher.

Code: (fs2_open.log) [Select]
Warning => Asking for a team for object type None
ASSERTION: "team != -1" at object.cpp:1864

That's exactly the same error as in this thread (http://www.hard-light.net/forums/index.php?topic=83705.0) - unresolved so far.
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: zheoffec on February 21, 2013, 01:59:56 pm
Is 16-bit problematic, or just lower quality? because I don't mind slightly less colour quality if I get some more FPSs..
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: jg18 on February 21, 2013, 02:33:40 pm
The color depth should be the same as your system's, presumably 32-bit. I think the game will use your system's color depth either way, though.

If you'd like a higher frame rate, you might want to try things like unchecking post processing in the launcher's advanced settings. You can check what frame rate you're getting by checking "Show frames per second on HUD" in the Dev Tool category in the launcher's advanced settings, towards the bottom of the list.
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: zheoffec on February 21, 2013, 03:11:43 pm
Darn - again:
Code: [Select]
Warning => Asking for a team for object type None
ASSERTION: "team != -1" at object.cpp:1841
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: jg18 on February 21, 2013, 05:02:13 pm
You might want to try to get a stack trace in gdb. Take a look at these instructions (http://www.hard-light.net/forums/index.php?topic=82688.msg1662031#msg1662031). You can skip step 1, since you already have the source code and debug build.
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: zheoffec on February 23, 2013, 09:56:19 am
Here, got it from mission 6 again:
Code: [Select]
Starting program: /home/marco/Diaspora/fs2_open_diaspora_debug
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Future debug output directed to: /home/marco/.fs2_open/data/fs2_open.log
[New Thread 0x7ffff7dd6700 (LWP 12760)]
[Thread 0x7ffff7dd6700 (LWP 12760) exited]
[New Thread 0x7ffff7dd6700 (LWP 12761)]
[New Thread 0x7ffff35d4700 (LWP 12762)]
[Thread 0x7ffff35d4700 (LWP 12762) exited]
[Thread 0x7ffff7dd6700 (LWP 12761) exited]
[New Thread 0x7ffff7dd6700 (LWP 12763)]
[Thread 0x7ffff7dd6700 (LWP 12763) exited]
[New Thread 0x7ffff7dd6700 (LWP 12764)]
[New Thread 0x7ffff35d4700 (LWP 12765)]
[Thread 0x7ffff35d4700 (LWP 12765) exited]
[Thread 0x7ffff7dd6700 (LWP 12764) exited]
[New Thread 0x7ffff7dd6700 (LWP 12766)]
[Thread 0x7ffff7dd6700 (LWP 12766) exited]
[New Thread 0x7ffff7dd6700 (LWP 12767)]
[Thread 0x7ffff7dd6700 (LWP 12767) exited]
[New Thread 0x7ffff7dd6700 (LWP 12768)]
[Thread 0x7ffff7dd6700 (LWP 12768) exited]
[New Thread 0x7ffff7dd6700 (LWP 12769)]
[New Thread 0x7ffff35d4700 (LWP 12770)]
[New Thread 0x7ffff2dd3700 (LWP 12771)]
WARNING: "Mission: Demise has a 1024x768 loading screen but no 640x480 loading screen!" at mission/missionparse.cpp:701
WARNING: "Mission: Demise has a 1024x768 loading screen but no 640x480 loading screen!" at mission/missionparse.cpp:701
WARNING: "Mission: Demise has a 1024x768 loading screen but no 640x480 loading screen!" at mission/missionparse.cpp:701
WARNING: "Mission: Demise has a 1024x768 loading screen but no 640x480 loading screen!" at mission/missionparse.cpp:701
ASSERTION FAILED: "team != -1" at object/object.cpp:1841
[Thread 0x7ffff2dd3700 (LWP 12771) exited]

Program received signal SIGABRT, Aborted.
0x000000397e835ba5 in __GI_raise ([email protected]=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:63
63   return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);

Backtrace:
Code: [Select]
#0  0x000000397e835ba5 in __GI_raise ([email protected]=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:63
#1  0x000000397e837358 in __GI_abort () at abort.c:90
#2  0x000000000082ff59 in WinAssert (text=0x8fe4aa "team != -1",
    filename=0x8fdcdb "object/object.cpp", line=1841)
    at windows_stub/stubs.cpp:103
#3  0x00000000006dab80 in obj_team (objp=0x122dca0 <Objects+743648>)
    at object/object.cpp:1841
#4  0x000000000043679d in num_ships_attacking (target_objnum=1367)
    at ai/aicode.cpp:9159
#5  0x0000000000437055 in guard_object_was_hit (
    guard_objp=0x1178e60 <Objects+2720>,
    hitter_objp=0x125c020 <Objects+932960>) at ai/aicode.cpp:9372
#6  0x0000000000437218 in maybe_update_guard_object (
    hit_objp=0x1180780 <Objects+33728>, hitter_objp=0x125c020 <Objects+932960>)
    at ai/aicode.cpp:9410
#7  0x0000000000446898 in ai_ship_hit (objp_ship=0x1180780 <Objects+33728>,
    hit_objp=0x13145a0 <Objects+1688032>, hitpos=0x7fffffffd6ec,
    shield_quadrant=-1, hit_normal=0x0) at ai/aicode.cpp:14721
#8  0x00000000007c8da4 in ship_apply_local_damage (
    ship_obj=0x1180780 <Objects+33728>, other_obj=0x13145a0 <Objects+1688032>,
    hitpos=0x7fffffffd6ec, damage=20, quadrant=-1, create_spark=true,
    submodel_num=195, hit_normal=0x0) at ship/shiphit.cpp:2391
---Type <return> to continue, or q <return> to quit---
#9  0x000000000084b303 in ship_weapon_do_hit_stuff (
    ship_obj=0x1180780 <Objects+33728>,
    weapon_obj=0x13145a0 <Objects+1688032>, world_hitpos=0x7fffffffd6ec,
    hitpos=0x7fffffffd6e0, quadrant_num=-1, submodel_num=195, hit_dir=...)
    at object/collideshipweapon.cpp:94
#10 0x000000000084bc65 in ship_weapon_check_collision (
    ship_objp=0x1180780 <Objects+33728>,
    weapon_objp=0x13145a0 <Objects+1688032>, time_limit=0.594009399,
    next_hit=0x7fffffffda1c) at object/collideshipweapon.cpp:292
#11 0x000000000084c41c in check_inside_radius_for_big_ships (
    ship=0x1180780 <Objects+33728>, weapon=0x13145a0 <Objects+1688032>,
    pair=0x7fffffffdac0) at object/collideshipweapon.cpp:442
#12 0x000000000084c086 in collide_ship_weapon (pair=0x7fffffffdac0)
    at object/collideshipweapon.cpp:360
#13 0x00000000006d3860 in obj_collide_pair (A=0x1180780 <Objects+33728>,
    B=0x13145a0 <Objects+1688032>) at object/objcollide.cpp:1626
#14 0x00000000006d25b4 in obj_find_overlap_colliders (
    overlap_list_out=0x7fffffffdc20, list=0x7fffffffdc00, axis=2, collide=true)
    at object/objcollide.cpp:1246
#15 0x00000000006d237f in obj_sort_and_collide () at object/objcollide.cpp:1211
#16 0x00000000006da27e in obj_move_all (frametime=0.0260009766)
    at object/object.cpp:1492
#17 0x00000000004126e7 in game_simulation_frame ()
---Type <return> to continue, or q <return> to quit---
    at freespace2/freespace.cpp:3995
#18 0x000000000041321b in game_frame (paused=0)
    at freespace2/freespace.cpp:4401
#19 0x0000000000413e6e in game_do_frame () at freespace2/freespace.cpp:4816
#20 0x00000000004160c7 in game_do_state (state=2)
    at freespace2/freespace.cpp:6504
#21 0x00000000004b8824 in gameseq_process_events ()
    at gamesequence/gamesequence.cpp:407
#22 0x0000000000416e1b in game_main (cmdline=0x24d8350 "")
    at freespace2/freespace.cpp:7080
#23 0x0000000000416fd6 in main (argc=1, argv=0x7fffffffe038)
    at freespace2/freespace.cpp:7214
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: yedlosh on March 03, 2013, 08:35:14 pm
Still getting crashes in M6 :(

Running:
Diaspora 1.0.4
Windows 7 Pro 64bit
i5-3570K
8GB RAM
Radeon HD7950 3GB

Code: [Select]
Assert: team != -1
File: object.cpp
Line: 1841

ntdll.dll! ZwWaitForSingleObject + 21 bytes
kernel32.dll! WaitForSingleObjectEx + 67 bytes
kernel32.dll! WaitForSingleObject + 18 bytes
fs2_open_Diaspora_R1_Debug.exe! <no symbol>
fs2_open_Diaspora_R1_Debug.exe! <no symbol>
fs2_open_Diaspora_R1_Debug.exe! <no symbol>
fs2_open_Diaspora_R1_Debug.exe! <no symbol>
fs2_open_Diaspora_R1_Debug.exe! <no symbol>
fs2_open_Diaspora_R1_Debug.exe! <no symbol>
fs2_open_Diaspora_R1_Debug.exe! <no symbol>
fs2_open_Diaspora_R1_Debug.exe! <no symbol>
fs2_open_Diaspora_R1_Debug.exe! <no symbol>
fs2_open_Diaspora_R1_Debug.exe! <no symbol>
fs2_open_Diaspora_R1_Debug.exe! <no symbol>
fs2_open_Diaspora_R1_Debug.exe! <no symbol>
fs2_open_Diaspora_R1_Debug.exe! <no symbol>
fs2_open_Diaspora_R1_Debug.exe! <no symbol>
fs2_open_Diaspora_R1_Debug.exe! <no symbol>
fs2_open_Diaspora_R1_Debug.exe! <no symbol>
fs2_open_Diaspora_R1_Debug.exe! <no symbol>
fs2_open_Diaspora_R1_Debug.exe! <no symbol>
fs2_open_Diaspora_R1_Debug.exe! <no symbol>
fs2_open_Diaspora_R1_Debug.exe! <no symbol>
fs2_open_Diaspora_R1_Debug.exe! <no symbol>
fs2_open_Diaspora_R1_Debug.exe! <no symbol>
fs2_open_Diaspora_R1_Debug.exe! <no symbol>
fs2_open_Diaspora_R1_Debug.exe! <no symbol>
fs2_open_Diaspora_R1_Debug.exe! <no symbol>
kernel32.dll! BaseThreadInitThunk + 18 bytes
ntdll.dll! RtlInitializeExceptionChain + 99 bytes
ntdll.dll! RtlInitializeExceptionChain + 54 bytes
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: jg18 on March 03, 2013, 09:02:02 pm
yedlosh, could you get the fs2_open.log in your Diaspora folder's data folder and attach it to a post? Click on "Attachments and other options", which appears below the text box where you type in a post. The log was generated when you ran the debug Diaspora build.

From zheoffec's stack trace (http://www.hard-light.net/forums/index.php?topic=82829.msg1674524#msg1674524), it sounds like the issue is related to the collision detection code, which is way outside of my expertise.

Try this: go to the launcher's advanced settings tab, and in the list of checkboxes, check "Use old collision detection system" in the Troubleshoot category. Then see if that helps.

EDIT: To whoever builds the Windows Diaspora builds (kara?), why don't the debug builds include debug symbols? It'd make the stack traces that people post much more useful. Maybe something to note for R2.
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: karajorma on March 04, 2013, 05:44:42 am
To be honest, I've never quite understood why the debug builds stopped including the stack trace. They used to.
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: jg18 on March 04, 2013, 12:21:54 pm
On Windows, debug symbols are stored in .pdb and .map files. These are included with the official Windows downloads of FSO. Does Visual Studio generate those files when you create debug builds?
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: karajorma on March 04, 2013, 07:02:02 pm
It does. What gets me is that we did used to be able to get a stack trace without using them. Because adding them means that we now have one more file to worry about keeping updated.
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: Xydonus on June 11, 2013, 06:31:51 am
Can't get this patch to work at all.

I'm getting this error: Unable to execute file in temporary directory. Setup Aborted. Access denied error 5.

Now, I've got admin rights, I'm on my administrator account and no matter what I do, I can't get it to run. I've tried it with my anti-virus disabled, still no joy.

I'm on win7/64 bit.

The game itself works fine. Just can't patch it.
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: MatthTheGeek on June 11, 2013, 06:33:01 am
"temporary directory" ?

Where is the exe located when you try to run it ?
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: Xydonus on June 11, 2013, 06:41:39 am
"temporary directory" ?

Where is the exe located when you try to run it ?

My download directory. Forgot to add that I did also put it into its own separate folder to see if that worked, as well as in the installation folder, so regardless of what the message says, no matter where i put it same error comes up.
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: karajorma on June 11, 2013, 10:22:56 am
The problem is caused by the installer trying to replace a file which is locked. My suggestion is to move the fred2_open_Diaspora_ and fs2_open_Diaspora  .exe files to another folder and manually delete any R1.0.x_Patch.vp files you may have (Where x is a number between 1 and 3).

That should leave the setup with nothing to replace and hopefully will fix the issue.
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: Nicodemus_mm on July 21, 2013, 04:46:02 am
I'm having an issue with the 1.0.4 RC 1 Patch.  When running the base R1 game sans patch it starts fine.  If I install the 1.0.4 Patch my AV detects Trojan horse Generic30.CDJY in fs2_open_Diaspora_R1.exe as soon as the Launcher starts. I've removed, re-downloaded and reinstalled just to make sure. Each time it pops a detection after the Patch is applied.

Downloaded 2013/07/21 @ 5:40 EST from "http://diaspora.fs2downloads.com/Diaspora_R1_Patch_1.0.4.exe" which is the link on the main download page.

I dunno if it's a false detection or what. Just thought I'd let you know.

Take Care.
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: Veers on July 21, 2013, 06:02:01 am
Just out of curiosity, what AV are you using? :)
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: Nicodemus_mm on July 21, 2013, 06:59:18 am
AVG, most recent definitions.
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: deathspeed on July 21, 2013, 08:04:58 am
My Avast and Malwarebytes Antimalware show that file as clean.  Probably just a false positive - I think there is another thread about false positives for Diaspora.  You might also check out a virus upload service - I used to use one that would check using several different products, but I lost it after my last Windows install and forgot about it until just now, so I don't remember what it was called. :(
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: Nicodemus_mm on July 21, 2013, 09:56:38 am
I'll disable AVG and load up a few others I have on hand as a comparison. Probably should have done that in the first place, but was too busy playing... which is a good thing. I'll post the results after I run it against ESET, BitDefender and Kaspersky.
Title: Re: Diaspora : Shattered Armistice patch 1.0.4 Release Candidate 1
Post by: Echelon9 on July 21, 2013, 10:18:03 am
I'd just use that web submission site that runs a given file against a whole host of current AV. I think you will find it is likely a false positive.