Results 1 to 3 of 3

Thread: Need help with crashes caused by altered building files

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Artifex
    Join Date
    Oct 2012
    Location
    Germany, Baden
    Posts
    1,284

    Default Need help with crashes caused by altered building files

    Hi guys,

    I am the sole developer of Shogun II Total Realism.
    Right now, I can't continue with my mod due to campaign map crashes resulting from altered building tables.
    My mod alters the buildings in the following way:
    - I've added two new buildings to the game: bos_modern_0_army_camp and bos_propaganda_4_shinchogumi_headquarters.
    - Moreover, I have deactivated the following useless building chains: artillery, traditional, buff and the last two train buildings as there were no railways in Boshin period Japan.
    - I've converted three of the buff buildings into a new building chain: school -> library -> oyatoi gaikokujin.
    Of course, I've fixed the building levels and upgrade possibilities as well as the building effects. I've also added updated text files to the game.

    The problem: whenever I start a campaign and click on my town, the game sooner or later crashes. Other people testing my mod have reported random crashes after battles or while loading the campaign.
    As I have used incremental updates that add one feature at a time, I know that the problem is somehow caused by the new buildings, most likely the army camp. However, I don't know why and I've checked and rebuilt the files several times from scratch. Without crashlogs, it is difficult to find out what's wrong.

    Could someone with more experience than me please take a look at my building tables?
    My Mod:
    Shogun II Total Realism
    A realism mod for Shogun II, Rise of the Samurai and Fall of the Samurai

  2. #2

    Default Re: Need help with crashes caused by altered building files

    I recommend the following:

    1) Deactivate the buildings, then see if the mod crashes. Make sure that these buildings aren't required for other buildings or it can cause a crash.

    2) Convert one building into another building, then see if the mod crashes.

    3) Add your new buildings, then see if the mod crashes. Make sure that your new buildings have been added to the building tree.
    Morning Sun (adds Korea and China to the Shogun 2 map)
    http://www.twcenter.net/forums/forum...28-Morning-Sun

    Expanded Japan mod (97 new regions and 101 new factions)
    http://www.twcenter.net/forums/showt...ew-factions%29

    How to split a region in TWS2
    http://www.twcenter.net/forums/showt...split-a-region

    Eras Total Conquest 2.3 (12 campaigns from 970-1547)

  3. #3
    Artifex
    Join Date
    Oct 2012
    Location
    Germany, Baden
    Posts
    1,284

    Default Re: Need help with crashes caused by altered building files

    Thanks for your suggestions, uanime5. However, this is the same approach I have used after having received too many crashes.
    It might be possible that the error is limited to one or several factions, especially Choshu. A recent Satsuma campaign test for three rounds has worked flawlessly.
    My Mod:
    Shogun II Total Realism
    A realism mod for Shogun II, Rise of the Samurai and Fall of the Samurai

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •