Fallout 2 mod FO2 Engine Tweaks (Sfall)

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

  1. egornovivan

    egornovivan First time out of the vault

    5
    May 28, 2020
    1. Можете пофиксить в движке чтение и использование сэмплрейта из хедера acm?
    2. Если первое невозможно, то можете в AllowDShowSound снизить задержку между треками? В оригинале 40мс при входе на локацию и 1сэмпл между одним и тем же треком локации, у AllowDShowSound я насчитал 170-200мс задержки.
     
  2. Mr.Stalin

    Mr.Stalin Agent of Enclave Modder

    475
    Oct 29, 2015
    Первое не понял.
    Второе зависит от OS (наверное) и установленных кодеков на твоем компе, возможно слабый ПК и что-то он там долго возится с открытием mp3 файла.
    В общем никаких специальных установленных задержек в sfall нет.
     
    Last edited: May 29, 2020
  3. egornovivan

    egornovivan First time out of the vault

    5
    May 28, 2020
    У всех acm есть значение сэмплрейта в хедере, 22050, но движок игнорирует значение и поэтому бесполезно туда вписывать 44100 для HQ музыки. Вот тут на других движках разбирали проблемы с acm

    Может буфер там добавить какой?
     
  4. TorontoReign

    TorontoReign Level 27 Wizard Staff Member Moderator

    Apr 1, 2005
    I'm just assuming you guys aren't dealing in illegal sex slaves from eastern Europe.
     
    • [Rad] [Rad] x 1
  5. gustarballs1983

    gustarballs1983 Water Chip? Been There, Done That

    856
    Oct 28, 2009
    No Boss.. the conversation is within thread boundaries. They are talking about Sfall function AllowDShowSound=1. The one responsible for using other sound formats in classic Fallout games. The issue is that new guy noticed significantly bigger delay when playing other sound formats than .acm within the game. Although it beats me as well, why they didn't even consider pasting english google translate, of what they're sayng, *on an english speaking forum* ...
     
  6. egornovivan

    egornovivan First time out of the vault

    5
    May 28, 2020
    I'm sorry, but even in my native language it's difficult to describe the engine and acm problem.
     
    • [Rad] [Rad] x 1
  7. Mr.Stalin

    Mr.Stalin Agent of Enclave Modder

    475
    Oct 29, 2015
    А wav2acm разве умеет кодировать звук в 44кгц? - если нет, то и смысла нет что-то там ковырять.

    Открытие и воспроизведение mp3 осуществляется силами Windows, в sfall только идет подготовка и настройка для открытия mp3 файла, ну я посмотрю может что-то изменю в алгоритме подготовки.
    Я точно знаю что есть задержка около 1 сек. когда в первый раз подготавливается открытие файла, но при повторных воспроизведениях файлов никакой задержки уже нет.
    200ms это меньше чем одна секунда, зачем там такая точность при воспроизведении музыки, ну начала она играть на пол секунды позже, что от этого измениться?...
     
  8. egornovivan

    egornovivan First time out of the vault

    5
    May 28, 2020
    А ей и не важно сколько там сэмпллов в секунду 22050 или 44100, она их просто конвертирует, а потом приклеивает хедер с сэмлрейтом 22050, но мы его можем через hex редактор поправить на 44100. Только вот движок игнорирует наши правки и использует захардкоженное значение 22050.
    Пока что оно не критично, но в дальнейшем если это все будет использоваться для проигрывания звуков, то мы заметим рассинхрон с анимациями.
     
  9. datumizer

    datumizer First time out of the vault

    14
    Dec 9, 2015
    Is there a list of features of this mod? The link in OP to Bethsoft forum is dead. SourceForge page has no documentation.
     
  10. NovaRain

    NovaRain Casual Modder Modder

    Mar 10, 2007
    You can check the GitHub page for some generalized ones: https://github.com/phobos2077/sfall
    Or just download the release package and check the readme for the changelog and included ddraw.ini/sfall-mods.ini for a complete list of options.
    For extended scripting capabilities, you can read them on: https://sfall.bgforge.net/
     
  11. NovaRain

    NovaRain Casual Modder Modder

    Mar 10, 2007
    sfall 4.2.6 and 3.8.26 are released on SourceForge, along with their respective modders packs.
     
    • [Rad] [Rad] x 1
  12. gustarballs1983

    gustarballs1983 Water Chip? Been There, Done That

    856
    Oct 28, 2009
    Can someone say what am I doing wrong with most recent Sfall eXtended?
    i want the option UsePartySkills= to work, however it doesn't no matter wether set to 0 or 1 in sfall-mods.ini it just doesn't.
    I've applied sfall extended on top of fallout et tu. sitting in morbid's basement trying to use traps on a trapped locker however my character walks towards the locker not Ian despite him having higher skill than me??

    Also the fix to graphic mode=4 regarding white color turning black has vanished it seemes. I often get the "Please Standby" loading screen and the letters themselves are black not white wtf? also trying to use AmmoGlovz.ini in sfall-mods.ini and both said files in config and game root and it doesn't work shotgun shells damage modifier is still 1/1 instead of 3/1...
    can anybbody say what i'm doing wrong? using 4.2.6. athough shotgun shells and loading screens color bug existed prior to sfall upgrade...
     
  13. NovaRain

    NovaRain Casual Modder Modder

    Mar 10, 2007
    Not sure about others, but didn't get black letters in the splash screens with DX9 mode 4 (have to increase the time length in HRP for them showing up on my spec).
     
  14. gustarballs1983

    gustarballs1983 Water Chip? Been There, Done That

    856
    Oct 28, 2009
    are you sure we talk about same sfall branch? I'm talking about Mr.Stalin's sfall eXtended. Last time i checked standard sfall was fine, although that was some releases ago. after that i switched to eXtended for those extra cool functions, such as party npc skill usage, double click to de-equip weapon and armor in party member panel, etc.

    And yes I'm using a potato with jury-rigged more or less modern graphic card. namely core 2 quad and Radeon R9 390X from MSI, hence i can run decent quality graphic in low framerate

    ***EDIT***
    I also have a question is th new mechanic to keep the .dat files in mods folder also related to sfall.dat and f2res.dat?
     
    Last edited: Jul 4, 2020
  15. NovaRain

    NovaRain Casual Modder Modder

    Mar 10, 2007
    Both builds share the same DX9 code.
    The reason I need to increase the time for splash screens isn't because the game starts too fast but the screen stays black at launch in a longer period for DX9 fullscreen, which makes me only see the opening movies. In windowed modes (5/6) it's fine, guess that is due to my system or driver.
     
    Last edited: Jul 5, 2020
  16. laclongquan

    laclongquan Boned Hunter of Sister

    570
    Jan 11, 2008
    I, too, also delay splash screen a bit so that I can see the arts.

    IMPORTANT NOTE: Reload action can be used for the USE action. It's hugely convenient when we want to use lockpick/booze/etc on target.

    So I suggest activating reload shortcut key in Sfall as a default action.
     
  17. laclongquan

    laclongquan Boned Hunter of Sister

    570
    Jan 11, 2008
    Have you try standing next to party members and use skill? That was precondition for it to work I think.
     
  18. Mr.Stalin

    Mr.Stalin Agent of Enclave Modder

    475
    Oct 29, 2015
    for me this works.

    :shrug:
     
  19. gustarballs1983

    gustarballs1983 Water Chip? Been There, Done That

    856
    Oct 28, 2009
    well I've implemented sfall eXtended to Fallout: et tu, in order to check few things. Now I'm sitting in Junktown in doc Morbid's Lab. I've wasted the midget and now i'm trying to disable traps on the locked locker. I haven't invested in traps skill yet, so Ian has this skill a bit higher than me, however Ian doesn't walk towards the locker to try to disable the trap, and instead my dude does that. This happens regardless of the difficulty setting and no matter if I'm standing next to Ian or somwhere else, it just doesn't work. tested v4.2.4 ; v4.2.5.2 and v4.2.6. with the 4.2.6 the only difference is that intiate combat bug from v4.2.5.2 is indeed gone, as i couldn't get to junktown before, because I always got random encouters which locked up the game. with v4.2.6 this bug is gone, however i can't force Ian to mess with the locker.

    Actually UsePartySkills= is the main feature I've switched to eXtended for Fallout: et tu, as I've planned to make an extensive use of this feature with Katja ( she has decent lockpick skill). current playthrough is however on hold until I manage to solve the party skill usage issue.
     
  20. Mr.Stalin

    Mr.Stalin Agent of Enclave Modder

    475
    Oct 29, 2015
    give me your savegame