Author Topic: FSO: "Slaying Ravana" Cyclops Torp Missing  (Read 3787 times)

0 Members and 1 Guest are viewing this topic.

Offline Simoen

  • 23
FSO: "Slaying Ravana" Cyclops Torp Missing
Just ran into this bug that seems to date from 2011 (?) with latest FSO and GoG.com install:

Level Slaying Ravana; where you are supposed to use Cyclops torpedoes to destroy the Ravana. You need to use the Cyclops torpedo to destroy the Ravana. Getting to the ship load out screen, the only missiles I can equip are Tempest and Hornet missiles. If I just hit play without getting to the loadout screen, the only missiles I have are the Hornet missiles, and not the Cyclops.

>>>>> Only available secondary weapons are GTM-4 Hornet and GTM MX-6 Tempest - irrespective of whether GTB Ursa or GTB Medusa is selected as ship.

Thinking it might be related to MediaVPs MV_Assets, I ran game without them and still could not select Cyclops.

grepping for Cyclops shows
release/bin/ReadMe.txt:- Cyclops bomb names fixed
--- perhaps it isn't loading due to misnaming?

It's a gamestopper bug, of course. Maybe it can be fixed in mission editor?

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: FSO: "Slaying Ravana" Cyclops Torp Missing
Huh. That’s not good.

Please post your fs2_open.log file.  Instructions on how to do this can be found in this post.

 

Offline Simoen

  • 23
Re: FSO: "Slaying Ravana" Cyclops Torp Missing
Building a debug build... will update this post.

log is attached. 

screenshot

scanning the log i see it loading model hornet.pof and Tempest.pof but no cyclops.pof or Cyclops.pof


[attachment eaten by a Shivan]
« Last Edit: September 28, 2019, 12:05:15 pm by Simoen »

 
Re: FSO: "Slaying Ravana" Cyclops Torp Missing
The "bomb name fix" isn't the cause as it just makes the bomb use Cyclops.pof, the retail one used Belial.pof. Errors with that would make you fire Shivan sentry guns as there's a Belial ship.

 

Offline Simoen

  • 23
Re: FSO: "Slaying Ravana" Cyclops Torp Missing
$ grep -ri hornet.pof *
Binary file release/MediaVPs_2014/mv_assets.vp matches
Binary file release/bin/Root_fs2.vp matches
Binary file release/bin/sparky_fs2.vp matches

$ grep -ri cyclops.pof *
Binary file release/MediaVPs_2014/mv_assets.vp matches

scanning for Belial.pof returns:

$ grep -ri Belial.pof *
Binary file release/bin/Root_fs2.vp matches
Binary file release/bin/sparky_fs2.vp matches

Is FSO looking for cyclops.pof or Cyclops.pof but not finding it in the original mediaVPs?

 
Re: FSO: "Slaying Ravana" Cyclops Torp Missing
Are you using any Media VPs? Log says no. I am not sure how FSO handles the retail files, it has been a while since I tested that.

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: FSO: "Slaying Ravana" Cyclops Torp Missing
Obviously a bug when using just retail data is serious and needs to be fixed, but try turning on the MediaVPs. Might be an effective workaround.

 

Offline Simoen

  • 23
Re: FSO: "Slaying Ravana" Cyclops Torp Missing
enabling the mediaVPs i note the log has some entries:

2029 Loading model 'cyclops.pof' into slot '20'

2972 Class: cyclops
2973 FR: 100
2974 FE: 6
2975 BEI: 0.6
2976 BEDu: 2000
2977 BEDi: 1000
2978
2979 Class: cyclops#short
2980 FR: 100
2981 FE: 6
2982 BEI: 0.6
2983 BEDu: 2000
2984 BEDi: 1000

... but it can not be selected in loadout and is not loaded by default.

The gog url for the problem is here:
https://www.gog.com/forum/freespace_series/wrong_secondary_weapons_on_freespace_2/page1

I can see the Cyclops in the weapons previewer in-game with stock or new mediaVPs



[ added data/players files to attachment ]



[attachment eaten by a Shivan]
« Last Edit: September 28, 2019, 01:12:53 pm by Simoen »

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: FSO: "Slaying Ravana" Cyclops Torp Missing
Try forcing one of your banks to Cyclops using cheats? If cheats work on Linux.

 

Offline Simoen

  • 23
Re: FSO: "Slaying Ravana" Cyclops Torp Missing
To rule out corrupt download, I attach md5sums of the GoG.com Freespace 2 installed files.

Generated with: find -type f -exec md5sum "{}" + > md5sums.log

  I do note the installer crashed at the end of the install, so it is possible there is bad/missing data.

Fixing things is the best game of all :)

[EDIT]
enabling cheats by typing www.freespace2.com in-engine returns a Cheats Enabled message on screen, but none of the cheats I tried from https://wiki.hard-light.net/index.php/Cheats have any effect.

[EDIT2] some of my large allied ships died in prior missions, perhaps because i play badly.  This might lead to a different gamestate from when more skilled testers try to reproduce?

[attachment eaten by a Shivan]
« Last Edit: September 28, 2019, 01:50:48 pm by Simoen »

 

Offline Novachen

  • 29
  • The one and only capella supernova
    • Twitter
Re: FSO: "Slaying Ravana" Cyclops Torp Missing
That is a very strange error, i was never able to reproduce.

Such similar error was reported to happen in my FreeSpace Port Translation Upgrade with the Hornet Swarm Missile without any reason.
Female FreeSpace 2 pilot since 1999.
Former Global moderator in the German FreeSpace Galaxy Forum.
Developer of NTP - A Multi-Language Translation Library Interface, which allows to play FreeSpace in YOUR Language.

Is one of my releases broken or not working? Please send a PM here, on Discord at @novachen or on Twitter @NovachenFS2, a public tweet or write a reply in my own release threads here on HLP, because these are the only threads i am still participating in.

 

Offline Simoen

  • 23
Re: FSO: "Slaying Ravana" Cyclops Torp Missing
I might be able to look at what is happening with a debugger, but first I'd need help

1) confirming that my original game data is correct (post your md5sums.log).
2) confirmation whether someone ekse can recreate the problem with my pilotfile posted above (is it sufficient to set game-state to mine?)

After that, i can dig down into the code.   Since the default loadout is wrong (just Hornets) the bug probably isn't in missionweapoinchoice.cpp.

Of course best would be if a programmer who knew the codebase could look at it.

[EDIT]
Also, can i use some editor (fred?) to see what the mission specifies for ship type and weapons loaded?

 
Re: FSO: "Slaying Ravana" Cyclops Torp Missing
You could/should try the Knossos launcher, which handles checking file integrity automatically.

You check mission loadout in FRED too.

 

Offline Simoen

  • 23
Re: FSO: "Slaying Ravana" Cyclops Torp Missing
1) Bisecting the problem - it doesn't seem to be related to an unusual gamestate from my first playthrough.  I replayed up to Ravana mission and got the same Hornet-only loadout for secondary weapons


2) If nobody shares any here, I will try to find checksums for the download elsewhere.

3) I will check the Ravana mission loadout in fred after that.

[EDIT] I also see that both ships for this mission list the 'Tempest' in the secondary weapons selection, but trying to select them returns a message that neither ship is able to carry the Tempest.  Why are these listed then?  Is the Cyclops supposed to appear in the Weapon Loadout screen instead of the Tempest?
« Last Edit: September 28, 2019, 08:55:08 pm by Simoen »

 

Offline niffiwan

  • 211
  • Eluder Class
Re: FSO: "Slaying Ravana" Cyclops Torp Missing
Your MD5 sums for the VP (i.e. retail game data files) look OK to me:

Code: [Select]
$ md5sum *vp
7a22c0d1f98357d00e70a7eeeba82e3d  multi-mission-pack.vp
21f208418acd99fc03c0379bfa777dad  multi-voice-pack.vp
0d9fd69acfe8b29d616377b057d2fc04  root_fs2.vp
0d662decc0b443ccb8e8aa2e3a0887ce  smarty_fs2.vp
2a47bdf14860071cf0196d92e9ee7c2f  sparky_fs2.vp
97661124cdc47c0a2f0678982b8cbd91  sparky_hi_fs2.vp
e88f0e0011b3e525a5ad625933684c03  stu_fs2.vp
8ca7330cfe63329b41868efc2e40e048  tango1_fs2.vp
6fb6e9a36248980540155a9777c51c47  tango2_fs2.vp
d42c20b6ffb4782e431899c211ae55c4  tango3_fs2.vp
d1f3c39d4fe1bbd56b7b06fe66eef4a6  warble_fs2.vp

I've also just tried playing Slaying Ravana from the tech room (on Linux as well) and the Cyclops is correctly appearing in my loadout. Could you please try playing from the tech room & report the results?

i.e. Tech Room -> Mission Simulator -> Select Campaign Missions -> Press CTRL-SHIFT-S (to see all missions in the campaign)

I had a look at your pilots, unfortunately I can't test with them because you seem to have included files from two different pilots? I was expecting to see NAME.json & NAME.Freespace2.csg. However you seem to have Simeon.json & Clort.Freespace2.csg :)
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 

Offline Simoen

  • 23
Re: FSO: "Slaying Ravana" Cyclops Torp Missing
Your MD5 sums for the VP (i.e. retail game data files) look OK to me:

Code: [Select]
0d9fd69acfe8b29d616377b057d2fc04  root_fs2.vp
Thanks! 

Tthe root_fs2.vp seems to have the problematic mission SM1-07.fs2. 

I've also just tried playing Slaying Ravana from the tech room (on Linux as well) and the Cyclops is correctly appearing in my loadout. Could you please try playing from the tech room & report the results?
i.e. Tech Room -> Mission Simulator -> Select Campaign Missions -> Press CTRL-SHIFT-S (to see all missions in the campaign)

In the tech room simulator, I can load Cyclops in the weapons loadout screen (but it is not equipped by default).  Using cyclops during simulated mission works as well.

I noticed that SM1-06.fs2 was not available as a simulation until I hit ctrl-shift-s.  Should have it been, at this stage of the game?

I had a look at your pilots, unfortunately I can't test with them because you seem to have included files from two different pilots?
My mistake, sorry.  I'll attach both files for both pilots in a couple of minutes. 

I have extracted SM1-07.fs2 and loaded into Fred.  It seems to indicate the Cyclops#short is available, but not Cyclops.  Attached is screenshot:



[attachment eaten by a Shivan]
« Last Edit: September 28, 2019, 09:46:35 pm by Simoen »

 
Re: FSO: "Slaying Ravana" Cyclops Torp Missing
The mission simulator should show all missions that have been completed in the campaign at this point. The only exception are missions that have been skipped by failing 5 times in a row.

 

Offline Cyborg17

  • 29
  • Life? Don't talk to me about life....
Re: FSO: "Slaying Ravana" Cyclops Torp Missing
Also if SM1-06 is not loading, then it could be that somehow your progress in that mission wasn't saved, but the campaign still sent you to the next mission. Weapons are marked as allowable by sexp in campaigns.  I'm willing to guess that SM1-06 has a sexp allowing the Cyclops to be used by the player which also wasn't properly triggered.

EDIT: It looks like the same event is responsible for progress in the campaign file as is the ability to arm Cyclop#short, "Return to Base".  This event is triggered as part of a chain after the Iblis is either destroyed or dropped below 30% hull.  The Ravana arrives and the Lysander is actually made to self-destruct as the Ravana shoots at it so that it will never actually survive. 

But leaving before the Lysander is destroyed literally fails you the mission.

So the most logical conclusion is that the ability to skip a mission after 5 attempts was used before the Lysander was destroyed, and the cyclops#short was never allowed.

 It's just an edge case for the campaign.

Did you end up skipping SM1-06?
« Last Edit: September 29, 2019, 11:55:14 am by Cyborg17 »

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: FSO: "Slaying Ravana" Cyclops Torp Missing
That’s a very sharp diagnosis. It may not turn out to be right but it’s very sharp.

 

Offline Simoen

  • 23
Re: FSO: "Slaying Ravana" Cyclops Torp Missing
Also if SM1-06 is not loading, then it could be that somehow your progress in that mission wasn't saved, but the campaign still sent you to the next mission. Weapons are marked as allowable by sexp in campaigns.  I'm willing to guess that SM1-06 has a sexp allowing the Cyclops to be used by the player which also wasn't properly triggered.

EDIT: It looks like the same event is responsible for progress in the campaign file as is the ability to arm Cyclop#short, "Return to Base".  This event is triggered as part of a chain after the Iblis is either destroyed or dropped below 30% hull.  The Ravana arrives and the Lysander is actually made to self-destruct as the Ravana shoots at it so that it will never actually survive. 

But leaving before the Lysander is destroyed literally fails you the mission.

So the most logical conclusion is that the ability to skip a mission after 5 attempts was used before the Lysander was destroyed, and the cyclops#short was never allowed.

 It's just an edge case for the campaign.

Did you end up skipping SM1-06?

Nope
- In both playthroughs the Lysander was destroyed and I jumped-out after instructed, and was presented the completed mission debriefing.  This might be a bug to investigate!

- Can I enable the missing sexp for Cyclops#short be in the pilot file?   My pilot files are attached above.