Bridge Commander Central

BC Forums => BC Technical Support => Topic started by: Bat66wat6 on July 27, 2012, 09:33:28 PM

Title: Foundation and QBautostart in SP 1.1
Post by: Bat66wat6 on July 27, 2012, 09:33:28 PM
This thread isn't an attack on anyone or the creators of the offending mods. We all want the best BC possible and I'm just looking for answers.

After discovering my master Custom 1.1 installs SP was broken (as in would freeze when trying to load any mission) I tracked the main cause as BCUT Foundation full version.

I made a seperate fresh install and put *just* foundation full version on. Load SP and same thing.
So I refreshed that install back to 1.1 patched and put BCUT Foundation basic then console tracker on. No problems with SP. So now i'm thinking :wtf

I use BCUT to put full Foundation in one directory and basic foundation in the other. Then I use a directory comparison program and making a list of all files in each directory. Here's the results:
Quote
BCUT foundation basic (fully SP compatible)
   \scripts\Foundation.py
   \scripts\FoundationMenu.py
   \scripts\LoadBridge.py
   \scripts\loadspacehelper.py
   \scripts\LoadTacticalSounds.py
   \scripts\Registry.py
   \scripts\StaticDefs.py
   \scripts\AI\FoundationAI.py
   \scripts\Custom\FoundationConfig.py
   \scripts\Custom\__init__.py
   \scripts\Custom\Autoload\__init__.py
   \scripts\Custom\Ships\__init__.py
   \scripts\Icons\ShipIcons.py
   \scripts\MainMenu\mainmenu.py
   \scripts\QuickBattle\QuickBattle.py
   \scripts\Systems\FoundationUtils.py
   \scripts\Tactical\Interface\ShieldsDisplay.py
   \scripts\Tactical\Interface\WeaponsDisplay.py
BCUT foundation full (INSTANTLY CRASHES SP!)
   all foundation basic files +
      \scripts\bcdebug.py
      \scripts\Fixes20030217.py
      \scripts\FoundationTech.py
      \scripts\FoundationTriggers.py
      \scripts\Custom\Autoload\000-Fixes20030221.py
      \scripts\Custom\Autoload\000-Fixes20030305-FoundationTriggers.py
      \scripts\Custom\Autoload\000-Fixes20030402-FoundationRedirect.py
      \scripts\Custom\Autoload\000-Fixes20040628-ShipSubListV3_7Foundation
      \scripts\Custom\Autoload\000-Utilities-FoundationMusic-20030410.py
      \scripts\Custom\Autoload\000-Utilities-GetFileNames-20030402.py
      \scripts\Custom\Autoload\LoadFoundationTech.py
      \scripts\Custom\Techs\
      \scripts\ftb\Tech\
What is going on here?
What in the "full" version murders SP? And whatever it is, why does it have to murder SP?  :argh:

QBautostart 0.9.1 + Foundation basic
With the Qbautostart mutator on:
Quote
#----------------------------------------------------------------------->>> Sat Jul 28 01:38:24 2012
####
Outdated Foundation, updating functions
Tracking Console
####

####
['lActiveMutators = [', '\011"""Extra Ships and Mods""",', '\011"""Console Tracker""",', '\011"""Stock Systems""",', '\011"""Stock Ships""",', ']']
####

####
AttributeError: PreLoadAssets
####

####
cPickle.PicklingError: Cannot pickle <type 'type'> objects.
####
^ With a major case of  :wtf a google brought up only:
python "pickling": http://docs.python.org/library/pickle.html (http://docs.python.org/library/pickle.html)
bcs-tng thread that got nowhere fixing it: http://bcs-tng.com/forums/index.php?topic=4852.15 (http://bcs-tng.com/forums/index.php?topic=4852.15)

SP crashed before I added console tracker so it can't be the source. Basic foundaton + nothing = no prob. Add QBautostart and problem strikes. Add Console tracker and problem caught in log.

With the Qbautostart mutator off:
SP will run without any visible problems but using ESC>Quit game>Abort mission crashes the game to desktop.
No evidence in the log report of this problem  :(

These are some seriously fundamental things really. I ran 1.1 patched with just: basic foundation, console tracker and latest QBautostart and still got game crashing bugs. As far as Qbautostart is concerned it's especially interesting that it should insta-crash given the 0.9.1 readme:

Quote
Install:
Changes:
<---------->
Version 0.9.1:   - Added missing file UserDict.py, sorry!
Version 0.9:   - Major changes for the Multiplayer support.
Version 0.8:   - Added support for Multiplayer and Key Bindings using MLeoDaalders Key Foundation
      - the scripts/LoadQBautostart.py has been removed - it can be savely deleted on your installation
      - scripts/Lib/LibEngineering.py has been moved to scripts/Custom/Qbautostart/Libs/LibEngineering.py
         but "include Lib.LibEngineering" do still work.
Version 0.7:   - Bugfix: restart() Now does work properly!
Version 0.6:   - Bugfix: Multiple Button problems.
Version 0.5.1:   - The Transporter was broken in 0.5, sorry - fixed
Version 0.5:   - Now using Foundation Triggers (included) to load - no more overwriting of QuickBattle.py required.
      - We now come with our own Library - QBR is no longer required (see Requirements)
      - Added Single Player compatibility
      - Removed Engineering.py (plz delete the files scripts/Custom/QBautostart/Engineering.py(c) from your HD.
Version 0.4: Added ATP3 compatibility, current Transporter Version added.
Version 0.3: Now using Mutators - overwriting files is out!
Version 0.2: Added Compatibility for the QBR (its now working in QBR), AND Custom Bridges should now work in QBR.
Version 0.1: First Release (Engineering Extension)
Title: Re: Foundation and QBautostart in SP 1.1
Post by: Defiant on July 28, 2012, 03:18:18 AM
For that to work QBA requires a SP fixed Foundation which so far only exists inside KM.
Title: Re: Foundation and QBautostart in SP 1.1
Post by: Bat66wat6 on July 28, 2012, 12:57:41 PM
For that to work QBA requires a SP fixed Foundation which so far only exists inside KM.

Are you referring to QBA with Full foundation or Basic foundation?

How are you so sure that Foundation is the cause of the problem when the game runs perfectly fine with it installed as long as it's the basic version? Trouble is only encountered when QBA is added to the game.

Also, why is it that QBA makes "Quit to main menu" and "Abort Mission" crash to desktop even when the mutator is off? Doesn't unchecking the mutator mean that the game will not load that mod?

IF it is deffinitely Foundation that makes QBA incompatible with SP then i'm curious... would it be possible to simply take my list of basic foundation files and go into the KM .rar, extract them and throw them straight into the 1.1 overiding the current broken foundation?
Title: Re: Foundation and QBautostart in SP 1.1
Post by: Defiant on July 28, 2012, 02:42:46 PM
Are you referring to QBA with Full foundation or Basic foundation?
I never heard of Full or Basic Foundation. What do you mean with that?

IF it is deffinitely Foundation that makes QBA incompatible with SP then i'm curious... would it be possible to simply take my list of basic foundation files and go into the KM .rar, extract them and throw them straight into the 1.1 overiding the current broken foundation?
Not that simple. There are also other KM specific changes I did to Foundation which will probably make it crash any Stock BC.
Hard to tell after multiple years.
Title: Re: Foundation and QBautostart in SP 1.1
Post by: Mario on July 28, 2012, 03:09:24 PM
Quote
I never heard of Full or Basic Foundation. What do you mean with that?
This is BCUT specific...

Basic = The one which came with BCMP/BCMI for backwards compatibility
Full = The one with the Foundation fixes to that date (2007 or 2008, I'm not sure). Me and Mleo both came up with a list of files which should go into the "Full" version.

@Defiant
Is is time that I update the installer of BCUT's foundation to accommodate KM fixes?
Title: Re: Foundation and QBautostart in SP 1.1
Post by: JimmyB76 on July 28, 2012, 04:00:47 PM
@Defiant
Is is time that I update the installer of BCUT's foundation to accommodate KM fixes?
i think that would be a good idea...
altho, KM isnt fully finished...  but perhaps to update it to where KM is now might be ok?
Title: Re: Foundation and QBautostart in SP 1.1
Post by: Defiant on July 28, 2012, 05:03:31 PM
@Defiant
Is is time that I update the installer of BCUT's foundation to accommodate KM fixes?
Bad idea, there might be other changes in it.
I need to go through it script by script, but not doing it during summer :)

But we will need do to that anyway for Luroks mod..
Title: Re: Foundation and QBautostart in SP 1.1
Post by: JimmyB76 on July 28, 2012, 05:07:44 PM
Bad idea, there might be other changes in it.
I need to go through it script by script, but not doing it during summer :)

But we will need do to that anyway for Luroks mod..
aaah good point :)
Title: Re: Foundation and QBautostart in SP 1.1
Post by: Mario on July 28, 2012, 05:08:36 PM
Let me know when you start compiling the new foundation then.
Title: Re: Foundation and QBautostart in SP 1.1
Post by: Bat66wat6 on July 28, 2012, 07:54:49 PM
Is is time that I update the installer of BCUT's foundation to accommodate KM fixes?
It seems KM is a spoiled child compared to the attention 1.1 gets  :funny

If you were to bless BCUT with the latest Foundation from KM would it accomodate 1.1 and (more specifically) its Single Player?

As it is currently KM running full foundation, QBA and much more is many more times stable than a 1.1 that's just running only basic foundation and QBA  :cry:
Title: Re: Foundation and QBautostart in SP 1.1
Post by: Lurok91 on August 13, 2012, 01:05:21 PM
Should have responded to this sooner  :)  SP does run ok with full Foundation and QBA 1.0.  I did hit a few snags when started on this mod last year but relatively easy to sort out  :P   The major bug to fix at moment is getting full NanoFX to work.
Title: Re: Foundation and QBautostart in SP 1.1
Post by: Mario on August 13, 2012, 01:43:14 PM
Should have responded to this sooner  :)  SP does run ok with full Foundation and QBA 1.0.  I did hit a few snags when started on this mod last year but relatively easy to sort out  :P   The major bug to fix at moment is getting full NanoFX to work.

Which NanoFX module are you trying to get to work?
Title: Re: Foundation and QBautostart in SP 1.1
Post by: JimmyB76 on August 13, 2012, 03:13:14 PM
there is a thread about it in BCSP forum...
http://bc-central.net/forums/index.php/topic,9374.0.html
Title: Re: Foundation and QBautostart in SP 1.1
Post by: Lurok91 on August 14, 2012, 04:51:39 AM
Looks like all the Nano modules work, but there's a bug where when you Nano-out of warp and into new system,  graphics don't seem to load player ship and system items (planets, ships etc).  Just get black. But the HUD identifiers are still there.   Disabling off SpecialFX seems to resolve problem, but at the loss of blinkers and plasma trails (for some reason atmosphere fx still seem to work  :idk:)
Title: Re: Foundation and QBautostart in SP 1.1
Post by: Defiant on August 14, 2012, 12:38:22 PM
I would recommend not to use NanoFX Warp for SP.
You'll get lots of trouble when there is more then one ship warping or in the mission where the game redirects you to starbase 12.
Title: Re: Foundation and QBautostart in SP 1.1
Post by: Lurok91 on August 15, 2012, 05:12:46 AM
Surprisingly NanoFX Warp hasn't been an issue so far and works beautifully in SP.  No crashes, no bugs and I've played entire game through.  It is a major memory hog though.  As I said above, the blackout-warp bug goes away once SpecialFX is disabled from loading.
Title: Re: Foundation and QBautostart in SP 1.1
Post by: Mario on August 15, 2012, 11:31:38 AM
Do any of these ships you're using have Blinkers setup on them?
Title: Re: Foundation and QBautostart in SP 1.1
Post by: Lurok91 on August 15, 2012, 12:35:12 PM
Only a couple as far as I can tell:  Wiley's Galaxy, and the Galors Jimmy brought in (from DS9FX?).  Before I deactivated SpecialFX they were all working ok in game.  Are you thinking blinkers/BlinkerFX are cause of the warp-blackout effect?
Title: Re: Foundation and QBautostart in SP 1.1
Post by: JimmyB76 on August 15, 2012, 12:44:05 PM
Are you thinking blinkers/BlinkerFX are cause of the warp-blackout effect?
you know what - now that you mention it, i do think i recall a few times in the past (at BCU) where people had mentioned that they had experienced this - and it was related to ships blinkers...
there might have even been a fix for it somewhere...
Title: Re: Foundation and QBautostart in SP 1.1
Post by: Mario on August 15, 2012, 12:51:50 PM
I know of a random scenario where Blinkers on ships cause everything to go dark. It most often happens when you are warping in between systems, using MVAM and some other scenarios. But warping and MVAM are the most prominent.

A fix which fully resolves the problem was never released. You could try Mleos NanoFX Fixes and see if it fully resolves the problem however.

My advice is to ditch the BlinkerFX or remove Blinkers from HPs on your ships. I did the same thing for DS9FX ships, I wrote a program which went through the HPs and removed the Blinkers.
Title: Re: Foundation and QBautostart in SP 1.1
Post by: Lurok91 on August 15, 2012, 12:57:43 PM
Thanks for the tip  :thumbsup:  I'll try that.  I'd rather sacrifice blinkers for other elements of NanoFX.
Title: Re: Foundation and QBautostart in SP 1.1
Post by: Mario on August 15, 2012, 03:33:25 PM
To make the process quicker here's my program: http://www.sendspace.com/file/jopshc

Put it in hp directory and run it.
Title: Re: Foundation and QBautostart in SP 1.1
Post by: Lurok91 on August 16, 2012, 04:45:52 AM
That solution fixed it.  :thumbsup:  Thanks.  Removed blinkers from ships HPs (there were only a couple) and reactivated SpecialFX.  Now got back nice NanoWarp seq with no blackout at end; and coloured trailing plasmastreams .   Can happily live without blinkers :)   So that's kinda the last remaining scripting bug.  I'm sure between us and JB2005's idea we could sort of crack the substitute-era crew/bridge issue - but that's for another day and time, lol.   :)  Thanks again.

(http://i1206.photobucket.com/albums/bb455/lurok91/plasmastream.jpg)
Title: Re: Foundation and QBautostart in SP 1.1
Post by: FarShot on August 16, 2012, 01:11:09 PM
That picture... are we using that EF2 crew?  I can retexture them so they better match their original BC appearance.
Title: Re: Foundation and QBautostart in SP 1.1
Post by: vonfrank on August 21, 2012, 06:07:43 PM
So has this problem been solved yet? (And I'm referring to the issue in the original post, not the issue with NanoFX)

I too am trying to get a 1.1 install with Basic Foundation and QB Autostart 0.9 to work with single player. What exactly in QBA and Foundation screws up SP? Is it something small that can be removed? Or is there something in the SP scripts that can be changed to remove conflicts?