News:

Rings of Reznor!

Main Menu

F/FX Problem

Started by darkphoenixII, May 02, 2010, 10:15:12 PM

Previous topic - Next topic

darkphoenixII

Why is that almost everytime I modify the fx.dat, it seems to screw around with the FFX mechanics for  :ffvstr:? And how can I put a stop to that?

Hmmm. Looks like only a few characters get their attributes activated, and the rest don't. Script.log says:

>>> system/init.py executed
>>> system/localinit.py executed
>>> system\tredir.py executed
loading datfiles version 0.256000
loading cshelper ...
Starting ffx.py v. 3.3.1 build 0; branch = main release update
Loading m25ai.py v. 3.3.0 build 3; branch = Gold v.3.3 with Patch
importing missionobjvar.py v1.20
importing MLOG Reader 1.0.23
Starting General Utilities 1.0.1
missionobjvar(FixLongs): Fixing overflow issue with <SCSTATE_BUOYANT>
missionobjvar defining functions for Campaign play.
Loading m25cutscene.py v.3.2.0 final; May 27, 2007
CustomHeadCurrentTime 1272873275.268000
Starting Height Check module 1.4
Starting System Utilities 1.5
OBJECTS_HEIGHT: 604 entries
NIF_OBJECTS: 482 entries
BUILDINGS_IN_OBJECTS_DAT: 30 entries
BUILDING_DIMENSIONS: 30 entries
Starting skXMapInfo.py  v 0.79 beta
skXMapInfo: m25ai available
Loading m25aiopt.py v.3.2.0 final; branch = swingman 4
FFX Mission Plugin 'firehydrant' imported
FFX Mission Plugin 'irradiateradius' imported
FFX Mission Plugin 'zombie' imported
Loading freeroam_keepbuildingdamage.py v.1.0.0 build 0; branch = main
FFX Mission Plugin 'freeroam_keepbuildingdamage' imported
FFX Mission Plugin 'm25ai_lowjumper' imported
FFX Mission Plugin 'm25ai_realitymanipulation' imported
FFX Mission Plugin 'cutscene_power' imported
Loading     m25enc_OPENDOOR.py v.1.0.0 build 0; branch = main
Loading m25enc.py v.3.2.0 July 27, 2008
FFX Mission Plugin 'm25enc_opendoor' imported
Loading     m25enc_simplechoice.py v.1.0.0 build 0; branch = main
FFX Mission Plugin 'm25enc_simplechoice' imported
Starting Built-In Function Wrapper 1.5
('Object_CalcPrestige', 'js')
sk: missionobjvar already loaded; resetting mission type to skirmish for mission and object vars
missionobjvar.SetFunctionsByMissionType: isCampaignMission=0, long variable cache has already been written to.
__MISSIONVARS = {'_event_freeroam_initmission': [['FreeroamKBD_StartMission', 0]], '_event_pstory_cutsceneline': [['CutscenePower_CheckPower', 1]], 'heightcheck_sampling_default': (1, 8), '_event_freeroam_exitmission': [['FreeroamKBD_EndMission', 0]]}
__OBJECTVARS = {}
missionobjvar defining functions for Rumble Room play.
ffx3\Missions\Scripts\sk.py importing FFX
ffx3\Missions\Scripts\sk.py loaded
>>> C:\Users\thephoenixforce\AppData\Local\Irrational Games\Freedom Force vs the 3rd Reich\temp\im_rand (combined).py executed
>>> C:\Users\thephoenixforce\AppData\Local\Irrational Games\Freedom Force vs the 3rd Reich\temp\danger.py executed
>>> C:\Users\thephoenixforce\AppData\Local\Irrational Games\Freedom Force vs the 3rd Reich\temp\im_rand (combined).py executed
MLOG_Init(keepRunningModules=0): starting up
mlogreader.MLOG_Init: current mission = 'ELDRITCHTOWNINDUSTRIAL'
initialising FFX: skirmish=1
numberStr=60
storing hero_0: id_1,-60
numberStr=61
storing hero_1: id_2,-61
ffx3\sk.py ffx.FFX_InitSkirmish() done
---combos found
[]
-----------------
hero_0
['volatilestorage', 'weak minded', 'charged', 'magnetic2', 'boost3']
-----------------
hero_0
[]
---combos found
[]
-----------------
hero_1
['fourd', 'speedphaser', 'groupteleport', 'bulktp', 'speedforce']
-----------------
hero_1
[]
sk.SpawnEnemy: energy for _skice_trooper01 (ice_trooper) changed from 3 to 3
sk.SpawnEnemy: energy for _skthug_with_bat02 (thug_with_bat) changed from 0 to 0
sk.SpawnEnemy: energy for _skthug_with_gun03 (thug_with_gun) changed from 0 to 0
sk.SpawnEnemy: energy for _skice_trooper04 (ice_trooper) changed from 3 to 3
sk.SpawnEnemy: energy for _skcop_crooked05 (cop_crooked) changed from 0 to 0
setupffx skirmish
! GetMapInfo
MLOG_Init(keepRunningModules=0): starting up
mlogreader.MLOG_Init: current mission = 'ELDRITCHTOWNINDUSTRIAL'
Campaign_RewritePowers: Unable to create backup of file <c:\program files\irrational games\freedom force vs the 3rd reich\ffx3\powers.dat>, possible Read-Only problem.  Quitting
Traceback (innermost last):
  File "C:\Users\thephoenixforce\AppData\Local\Irrational Games\Freedom Force vs the 3rd Reich\temp\im_rand (combined).py", line 107, in OnPostInit
    SetupFFXSkirmish()
  File "C:\Program Files\Irrational Games\Freedom Force vs The 3rd Reich\.\ffx3\missions\scripts\m25skirmish.py", line 106, in SetupFFXSkirmish
    SetupPreexisting()
  File "C:\Program Files\Irrational Games\Freedom Force vs The 3rd Reich\.\ffx3\missions\scripts\m25skirmish.py", line 228, in SetupPreexisting
    m25ai.SetupCharacter(c)
  File "C:\Program Files\Irrational Games\Freedom Force vs The 3rd Reich\.\ffx3\missions\scripts\m25ai.py", line 221, in SetupCharacter
    SetupAI(c)         
  File "C:\Program Files\Irrational Games\Freedom Force vs The 3rd Reich\.\ffx3\missions\scripts\m25ai.py", line 354, in SetupAI
    m25custompowers.AddCustomPowers(char)
  File "C:\Program Files\Irrational Games\Freedom Force vs The 3rd Reich\.\ffx3\missions\scripts\m25custompowers.py", line 85, in AddCustomPowers
    datfiles.Campaign_RewritePowers(ChangePowers=changelist)
  File "C:\Program Files\Irrational Games\Freedom Force vs The 3rd Reich\.\ffx3\missions\scripts\datfiles.py", line 1019, in Campaign_RewritePowers
    os.rename(FileName,BackupFileName)
OSError: [Errno 13] Permission denied
initialising FFQ_initialiseExtras()
FFX_UpdateSun: getting default sun
FFX_UpdateSun: setting = (-120.0, 60.0, 1.20000004768, 1.0, (0.20000000298, 0.10000000149, 0.800000011921))
Campaign_RewritePowers: Unable to create backup of file <c:\program files\irrational games\freedom force vs the 3rd reich\ffx3\powers.dat>, possible Read-Only problem.  Quitting
Traceback (innermost last):
  File "C:\Program Files\Irrational Games\Freedom Force vs The 3rd Reich\.\ffx3\missions\scripts\ffx.py", line 662, in initAttribs
    object=initialiseChar(object)
  File "C:\Program Files\Irrational Games\Freedom Force vs The 3rd Reich\.\ffx3\missions\scripts\ffx.py", line 851, in initialiseChar
    m25ai.SetupCharacter(char)
  File "C:\Program Files\Irrational Games\Freedom Force vs The 3rd Reich\.\ffx3\missions\scripts\m25ai.py", line 221, in SetupCharacter
    SetupAI(c)         
  File "C:\Program Files\Irrational Games\Freedom Force vs The 3rd Reich\.\ffx3\missions\scripts\m25ai.py", line 354, in SetupAI
    m25custompowers.AddCustomPowers(char)
  File "C:\Program Files\Irrational Games\Freedom Force vs The 3rd Reich\.\ffx3\missions\scripts\m25custompowers.py", line 85, in AddCustomPowers
    datfiles.Campaign_RewritePowers(ChangePowers=changelist)
  File "C:\Program Files\Irrational Games\Freedom Force vs The 3rd Reich\.\ffx3\missions\scripts\datfiles.py", line 1019, in Campaign_RewritePowers
    os.rename(FileName,BackupFileName)
OSError: [Errno 13] Permission denied
initAttribsForChar: working on hero_0 (the element)
initAttribsForChar (the element): looking at attribute volatilestorage
execInitAttrib: init volatilestorage attribute
    on hero_0 of template custom_template_60 (the element)
initAttribsForChar (the element): looking at attribute weak minded
initAttribsForChar (the element): looking at attribute charged
initAttribsForChar (the element): looking at attribute magnetic2
execInitAttrib: init magnetic2 attribute
    on hero_0 of template custom_template_60 (the element)
initAttribsForChar (the element): looking at attribute boost3
execInitAttrib: init boost3 attribute
    on hero_0 of template custom_template_60 (the element)
Plugin 'firehydrant' OnPostInit() called
Plugin 'irradiateradius' has no OnPostInit()
Plugin 'zombie' has no OnPostInit()
Plugin 'freeroam_keepbuildingdamage' OnPostInit() called
Plugin 'm25ai_lowjumper' has no OnPostInit()
Plugin 'm25ai_realitymanipulation' has no OnPostInit()
Plugin 'cutscene_power' has no OnPostInit()
Plugin 'm25enc_opendoor' has no OnPostInit()
Plugin 'm25enc_simplechoice' has no OnPostInit()
addArrow _skcop_crooked05_arrow _skcop_crooked05 0 0
addArrow _skcop_crooked05_arrow _skcop_crooked05 0 0
addArrow _skcop_crooked05_arrow _skcop_crooked05 0 0
addArrow _skcop_crooked05_arrow _skcop_crooked05 0 0

Dark Phoenix: You once told Jean Grey that the greatest joy a teacher has is to be surpassed by his own pupil. Enjoy!
Professor Xavier: In the battlefield of the mind, my will shall prevail!
DP: Do you really think your puny mind is a match for mine? The conceit of you humans! The arrogance!

stumpy

If it's unconnected to the problem below, I'm not sure what the FX issue is. You might have to describe what you are changing in between when it works and when it doesn't in some detail in order for someone to help out.

Quote from: darkphoenixII on May 02, 2010, 10:15:12 PMHmmm. Looks like only a few characters get their attributes activated, and the rest don't. [...]

Thanks for posting the script.log. According to the error, there is a problem creating a backup of c:\program files\irrational games\freedom force vs the 3rd reich\ffx3\powers.dat, which probably means that the file is read-only. You can see if that's the case by right-clicking on the file and choosing Properties and looking at the General tab. If it's read-only, then uncheck that box, click OK, and try again. If it was read-only and changing that doesn't help, repost the new script.log to see if a different error shows up.

It's also possible that the file doesn't exist, maybe because of an installation location that datfiles couldn't figure out. If you can't find the file, then post some more info on your installation (Windows version, FFvT3R edition, where your base game folder is, etc.) and maybe we can figure out the problem.
Courage is knowing it might hurt, and doing it anyway. Stupidity is the same. And that's why life is hard. - Jeremy Goldberg

daglob

Sometimes after changing stuff on the Properties tab you have to hit the Apply button before clicking Okay. Sometimes you don't; I have no idea why this is. I've been attributing it to gremlins.

darkphoenixII

     Hey, yeah, I just noticed something about that powers.dat in the script file. Something about an error with zz5? I think I might have accidentally deleted that at some point. Well, at any rate, I went and replaced that dat altogether; it works fine now. Thanks!
Dark Phoenix: You once told Jean Grey that the greatest joy a teacher has is to be surpassed by his own pupil. Enjoy!
Professor Xavier: In the battlefield of the mind, my will shall prevail!
DP: Do you really think your puny mind is a match for mine? The conceit of you humans! The arrogance!