Fallout 2 mod FO2 Engine Tweaks (Sfall)

Discussion in 'Fallout General Modding' started by Dude101, Jul 30, 2007.

  1. NovaRain

    NovaRain Casual Modder Modder

    Mar 10, 2007
    I tried to trigger the 'NPC turns into a container' bug in the game with official sfall 3.6. I use a custom CriticalOverrides.ini to make all critical hit effects for 'men' critters be knockouts.
    My test character is an all-10 cheater with both Slayer and Sniper perks. I knocked out Sulik, Vic, and Cassidy, and accessed their inventory while they're unconscious, plus moving to another map quickly before they woke up.
    But I can still interact with them normally. Does anyone know if there's any other requirement to trigger the bug, [strike]maybe the knockout has to be done by other critters[/strike]?

    EDIT: Nope, I made some super Brahmin and provoked them to attack/knock my NPCs out, but still can't trigger the bug. Now I wonder if the bug still exists in the current 1.02d exe.
     
    Last edited: Jul 26, 2015
  2. Magnus

    Magnus Water Chip? Been There, Done That
    Modder

    953
    Dec 6, 2007
    It massively does, I've had it with both vic and goris.
    I was playing with the Jinxed trait for the first time when it happened, and I hadn't encountered the bug before that.
    Could it be related to critical failures?
     
    Last edited: Jul 26, 2015
  3. Crafty

    Crafty First time out of the vault

    18
    Apr 30, 2015
    The bugs description inexact is frequent. The reason of a "NPC turns into a container" consists not in "knocked out/down", but in "lost next turn".
    NPC receives DAM_LOSE_TURN + player leaving map = 'NPC turns into a container' :-p
     
    • [Like] [Like] x 1
  4. NovaRain

    NovaRain Casual Modder Modder

    Mar 10, 2007
    Ah, yes, now I can trigger the bug if I leave the map when they just got their 'losing next turn' in combat. Thanks! :)

    EDIT: OK, I've tested the code. Here's the sfall binaries of the latest source code (commit 5b2eea0bd711245c3c914694d91b0caa478d1c47): https://www.mediafire.com/?gwjypxrm00k2z6s
    (build version: 3.6.999.7, 3.7 alpha7)

    Simplified change log:
    New features - HighlightContainers, StackEmptyWeapons, DialogOptions9Lines
    Togglable engine bug fixes - TooManyItemsBugFix, InventoryDragIssuesFix, NPCDrugAddictionFix, ArmorCorruptsNPCStatsFix, NPCTurnsIntoContainerFix
    Also some other minor engine bug fixes.

    The archive file includes four DLLs:
    • the one in the root directory of the archive - normal sfall for WinXP SP2 or later.
    • trace - the debugging version.
    • win2k - for Win2000 and WinXP RTM/SP1.
    • win2k_trace - the debugging version for modders on older OSes.
    The included ddraw_adv.ini has almost all settings recognized by sfall. The only settings not included are main menu offsets (currently only useful for FO1 to FO2 conversion).
     
    Last edited: Aug 17, 2015
  5. .Pixote.

    .Pixote. Carbon Dated and Proud
    Modder

    Sep 14, 2009
    I've encountered this before - my solution was to engage in combat again, and Sulik woke up and after the fight he behaved normally again.
     
  6. deathnoise

    deathnoise First time out of the vault

    4
    Sep 22, 2015
    For some reason - Sfall (the newest version) doesn't work on Windows 10 (64 bit).
    The game doesn't want to use it, for whatever reason.
    Whenever I run the game (Fallout 1.02 US) SFall isn't showing any messages, it doesn't change the 'versionstring' when I set it up, etc.
    In short - it's not being used by the game at all and it does nothing.

    How can I force the game to use it? Please, help me.. For this reason only - I can't play the game, anymore..
     
    Last edited: Sep 27, 2015
  7. NovaRain

    NovaRain Casual Modder Modder

    Mar 10, 2007
    Any older one works? If none of them works, you might want to check if it has something to do with KnownDLLs registry entry.
    At least I heard one case that happened in Win8.
     
  8. deathnoise

    deathnoise First time out of the vault

    4
    Sep 22, 2015
    Nope.. I've tried the current, official version from sf.net. Also - the svn build which has been compiled and linked on the previous pages of this thread.
    I've also tried SFall v2.12a that has been included in MIB88 2.44. Neither of these have worked.

    It looks like Windows 10 is forcing the game to use system ddraw.dll, while disallowing ddraw.dll from SFall.
    That's strange because similar concept with ddraw.dll file in the game folder, acting as proxy-library is being used in case of Jagged Alliance 2 (unofficial patch 1.13).
    Basically, since the release of Windows 8 - they are shipping ddraw.dll library which has been taken from WINE, with their package. It's being used to translate ddraw.dll calls into opengl calls. And it works both under Windows 8 and Windows 10.
     
    Last edited: Sep 27, 2015
  9. deathnoise

    deathnoise First time out of the vault

    4
    Sep 22, 2015
    So, today I've added ddraw.dll on the list of ExcludeFromKnownDlls which is located in HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager

    Then, after the reboot,SFall seems to work! Thank you very much for your tip!

    p.s.
    I've included the windows register fix for Windows 8/10 Sfall users in the attachment
     

    Attached Files:

    Last edited: Sep 27, 2015
  10. nim40

    nim40 First time out of the vault

    1
    Oct 2, 2015
    i was hardly tryin to play jims overhhaul mod but arraysBehavior=0 ruins most of all my saves. setting it to 1 or removing this entry solves the problem. is it realy necessary to keep it till i gonna update sfall during my playthrough? (win xp sp3 sfall 3.5)
     
    Last edited: Oct 4, 2015
  11. Hatbuster

    Hatbuster First time out of the vault

    1
    Oct 5, 2015
    I just checked my system for these things to find out that apparently, by default, ddraw is not a "known dll" on a fresh win10 install.
    Thus, SFall should work just fine for most people (as it does for me).

    Just putting this here to make sure no one alters their registry needlessly.
     
    • [Like] [Like] x 1
  12. NovaRain

    NovaRain Casual Modder Modder

    Mar 10, 2007
    Here's the sfall binaries of the latest source code (commit 65492941cc8a08f02652512aee4a04bde5f356f7): https://www.mediafire.com/?44u8vg4p9m2ptb4
    (build version: 3.6.999.8, 3.7 alpha8)

    Simplified change log:
    Added a new setting - DisplayBonusDamage, which displays additional points of damage from Bonus HtH/Ranged Damage perks in the inventory.
    Fixed bugs in PerksFile setting related to Heavy Handed trait. (since 2.8)

    The archive file includes four DLLs:
    • the one in the root directory of the archive - normal sfall for WinXP SP2 or later.
    • trace - the debugging version.
    • win2k - for Win2000 and WinXP RTM/SP1.
    • win2k_trace - the debugging version for modders on older OSes.
    The included ddraw_adv.ini has almost all settings recognized by sfall. The only settings not included are main menu offsets (currently only useful for FO1 to FO2 conversion).
     
    Last edited: Oct 6, 2015
  13. HawK-EyE

    HawK-EyE It Wandered In From the Wastes

    138
    Oct 28, 2006
    Hey guys, first i'dl like to thank you all for your hard work and efforts.
    I have a small problem to report here with regarding a sfall string and it's potential french translation.

    It seems to be translated in the french.ini but doesn't show up in game :

    [sfall]
    SaveInCombat=Tu ne peux pas sauvegarder en ce moment.
    KarmaGain=Tu gagnes %d points de Karma.
    KarmaLoss=Tu perds %d points de Karma.
    etc...

    attached screen : bottom-left "Cannot save at this time".

    Quick questions:
    1) Does the "cannot save at this time" is or is not the "SaveInCombat" string ?
    2) What should i put in the french.ini to translate this "cannot save at this time" string ?
    3) Does it requires an update of the sfall dll ?

    ps : this is sfall 3.3 from restoration project 2.3.3

    Thanks you very much for your help !!
     

    Attached Files:

  14. NovaRain

    NovaRain Casual Modder Modder

    Mar 10, 2007
    1. Yes, it is.
    2. Make sure you setup TranslationsINI setting in ddraw.ini correctly. If you put the french.ini in the same folder with ddraw.dll, it should be:
    3. No.
     
  15. HawK-EyE

    HawK-EyE It Wandered In From the Wastes

    138
    Oct 28, 2006
    Many thanks, bro !
     
  16. NovaRain

    NovaRain Casual Modder Modder

    Mar 10, 2007
    sfall 3.7 is released on SourceForge, along with modders pack and win2k version.

     
    Last edited: Oct 11, 2016
    • [Like] [Like] x 4
  17. Magnus

    Magnus Water Chip? Been There, Done That
    Modder

    953
    Dec 6, 2007
  18. Mr.Stalin

    Mr.Stalin Agent of Enclave Modder

    313
    Oct 29, 2015

    Attached Files:

    Last edited: Oct 29, 2015
    • [Like] [Like] x 3
  19. Felipefpl

    Felipefpl Look, Ma! Two Heads!

    374
    Jun 17, 2010
    Novarain - Nice to see lots of fixes for fallout 2, btw, where is crafty? he disappeared or decided to stay in the russian site dedicated to fallouts?

    Mr. stalin - congrats for the GUI for sfall, just a suggestion: make the GUI bigger so the phrases remain in a single line, gives a better appearance this way. ;)
     
    Last edited: Oct 31, 2015
  20. IYouI

    IYouI First time out of the vault

    42
    Dec 15, 2013
    I just got "new" Fallout 2 from GoG, it does have sfall already but it seem like it is outdated, so how I can update it manually?