Fallout 2 Savegame Editor

Discussion in 'Fallout General Modding' started by vad, Nov 3, 2008.

  1. Agnus_Dei

    Agnus_Dei First time out of the vault

    35
    Jun 30, 2017
    I get the following error, after game crushes when i equip the 10mm i added using it:

    The instruction at 004f3bda referenced memory at 00000098
    The memory could not be overwritten
     
  2. vad

    vad It Wandered In From the Wastes

    153
    Jul 23, 2008
    As was answered in another thread: Follower's current level is defined by *.pro file in savegame directory. Game engine change levels by replacing files. Exact mechanic is unknow for me.

    If you are using pistol before finishing temple of trials, then game crashes because tribals do not have animations for using firearm weapons. If you finished temple, then game crashes because I fill unknown values with zeros, during item creation. That is why I do not recomend to create items in readme.
     
  3. Agnus_Dei

    Agnus_Dei First time out of the vault

    35
    Jun 30, 2017
    Thanks for the reply. I could succesfully change my spear to a 10mm pistol.
     
  4. NovaRain

    NovaRain Casual Modder Modder Moderator

    Mar 10, 2007
    Noticed some minor issues when I was translating F12se to Chinese:
    1. The items in "Worldmap state" drop list don't use their corresponding strings but their item names (worldmapStateX).

    2. The description for item offset 0x28: "... 0x01000000 indicates the item is held in the right hand, 0x02000000 - in the left hand ..." seems incorrect after some testing. Actually the item in the right hand slot (ITEM2) has bitfield of 0x02000000, and in the left hand slot (ITEM1) has 0x01000000.

    Not sure if this can be solved easily: F12se has problem reading Chinese Big5/MS950 encoding .msg files (there's an official Chinese version of Fallout 2 released in 1999). Because it seems reading characters byte by byte and Chinese is a multi-byte character set, certain Chinese characters containing 7B (ASCII '{' ) or 7D (ASCII '}' ) byte will cause ERROR Invalid integer key in the log, and some strings from msg files are cut-off or not displayed in F12se.
     
    Last edited: Aug 4, 2017
  5. vad

    vad It Wandered In From the Wastes

    153
    Jul 23, 2008
    I will take a look. Adding multi-byte character encoding support looks not hard, but time consuming.
     
  6. vad

    vad It Wandered In From the Wastes

    153
    Jul 23, 2008
    Fixed.

    I renamed them to first and second item slots.

    Version for testing is ready. Now content of msg files is converted to unicode before parsing. If language is set to "cht" in fallout2.cfg then big5(Code page 950) is used, if "chs" then gb2312(Code page 936), otherwise system default Windows ANSI code page.

    Текстового описания формата я не видел, код из репозитория для внешнего использования не предназначен, остаётся медленно и печально читать исходники sfall. Если выложишь проблемный sfallgv.sav проверить исправление загрузки будет проще. Или скажи какой мод использует эти возможности.
     
  7. Mr.Stalin

    Mr.Stalin Mildly Dipped

    529
    Oct 29, 2015
    Описалово формата у фобоса в теме файл есть "010 Editor" https://yadi.sk/d/EZkjoIQYdBvYK
    Мод - ну тут попробуй использовать "example_mods" из модерского sfall пака мод из папки Traits.
     
  8. NovaRain

    NovaRain Casual Modder Modder Moderator

    Mar 10, 2007
    Wow, thanks! I tested it with Trad. Chinese msg files, and it works pretty well on my system. :D
    Should I send you my translated .lng file?

    The only thing it lacks is the auto-correction for perks if using with official exe (official Chinese version has a specially modified exe to support displaying characters and some bizarre UI changes), but the auto-correction works with the "re-localized" exe based on US 1.02d (for supporting sfall, else it's useless to translate RP to Chinese), so it's already good enough for me.
     
  9. vad

    vad It Wandered In From the Wastes

    153
    Jul 23, 2008
    Пока эти возможности не будут использоваться в модах, я наверно буду лениться делать поддержку редактирования. Но вылет при загрузке исправлю.
    I am going to only fix crash. There are no mods that use these sfall features, so I do not plan to add editing support.

    Adding support to read perks table from different exe requires minimal effort, so you can send it together with lng file.


    Next weeks I am going to make some improvements but in very lazy mode. I will publish update when my lazyness will reach 100%.
     
    • [Like] [Like] x 1
  10. Mr.Stalin

    Mr.Stalin Mildly Dipped

    529
    Oct 29, 2015
    То есть никогда?) - это даже плюс, чем меньше читерят в сейвах тем лучше)))
    Там по сути то и вылета нет, прога не читает sfallgv.sav, но можно нажать пропустить и продолжить редактирование.
     
  11. vad

    vad It Wandered In From the Wastes

    153
    Jul 23, 2008
    Updated version uploaded. Changes:
    • Support for multi-byte character encodings. Done for Chinese game version.
    • Fixed possible crash when loading sfallgv.sav
    • Settings window will always appear at start if path to game is not set. Editor no longer silently uses first found path. Also combobox is now used for game path. It makes possible to select one of the found path.
    • Some hardly noticeable changes. Like: escape button closes modal dialogs, double click on item in inventory opens same dialog as "Edit" button. Other changes are even less noticeable.
     
    • [Like] [Like] x 1
  12. NovaRain

    NovaRain Casual Modder Modder Moderator

    Mar 10, 2007
    Thanks for the update, but it seems you still didn't change the description for 0x28 in [ItemsOffsets]
     
  13. vad

    vad It Wandered In From the Wastes

    153
    Jul 23, 2008
    I changed hardcoded in exe description, but forgot to change lng file. Now both are updated.
     
  14. Felipefpl

    Felipefpl Look, Ma! Two Heads!

    399
    Jun 17, 2010
    If i choose only to change the translation or not without selecting the path of fallout the program crashes with this error:

    Assinatura do problema:
    Nome do Evento de Problema: APPCRASH
    Nome do Aplicativo: F12se.exe
    Versão do Aplicativo: 0.0.0.0
    Carimbo de Data/Hora do Aplicativo: 00000000
    Nome do Módulo de Falhas: msvcrt.dll
    Versão do Módulo de Falhas: 7.0.7600.16385
    Carimbo de Data/Hora do Módulo de Falhas: 4a5bda6f
    Código de Exceção: c0000005
    Deslocamento de Exceção: 00018bd8
    Versão do sistema operacional: 6.1.7601.2.1.0.768.3
    Identificação da Localidade: 1046
    Informações Adicionais 1: 0a9e
    Informações Adicionais 2: 0a9e372d3b4ad19135b953a78882e789
    Informações Adicionais 3: 0a9e
    Informações Adicionais 4: 0a9e372d3b4ad19135b953a78882e789

    The new version also doesnt recognize the savegames modified with the previous version of F12se.

    I updated my translation. Too bad the forum doesnt accept .7z extensions as attachment.
     

    Attached Files:

    Last edited: Aug 20, 2017
  15. vad

    vad It Wandered In From the Wastes

    153
    Jul 23, 2008
    Fixed two program crashing bugs and updated translation.

    I do not understand what it means. How does this happen?
     
  16. NovaRain

    NovaRain Casual Modder Modder Moderator

    Mar 10, 2007
    Noticed an issue: when I select a save, the "Cities" list is empty. I have to open the setting and click OK to make F12se reload data for Cities list appearing.
     
  17. vad

    vad It Wandered In From the Wastes

    153
    Jul 23, 2008
    It was bad fix for error messages about reading empty buffer when clicking on cities if saved game is not loaded. Now issue is fixed properly.
     
    • [Like] [Like] x 1
  18. kekj

    kekj First time out of the vault

    2
    Aug 24, 2017
    привет, на карте резиденция совета на меня сагрились охранники. в проге присвоил 0 переменным на соответствующей карте и некоторым переменным на вкладке gvar - безрезультатно. Что делать?)
     
  19. Mr.Stalin

    Mr.Stalin Mildly Dipped

    529
    Oct 29, 2015
    Не читерить) Расстреляй их! :mrgreen:
     
    Last edited: Aug 24, 2017