Results 1 to 11 of 11

Thread: file_first not working correctly in Kingdoms

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default file_first not working correctly in Kingdoms

    I seem to have encountered a quite serious error in Kingdoms, unless I've done something wrong. To reproduce, a few simple steps: unpack one of the campaigns, say Teutonics, then create a special CFG file for it, pointing to the mods/teutonic folder, and include [io] file_first = true in said file. Then launch the campaign via cfg file, as in Medieval, and start a new campaign. You will most likely see strange graphical artifacts, such as oversized building names, and the GUI that is nearly below the screen line.

  2. #2

    Default Re: file_first not working correctly in Kingdoms

    Subsequent investigation has yielded that the /ui/ folder is the culprit. All of unpacked files and folders are completely fine, if this folder is deleted. The game then loads UI files from the packs, and the only problem is that the campaign tabs don't have Army, City, Agents, Navy text on them. The actual files to blame are:

    battle.sd
    shared.sd
    strategy.sd

    if those are deleted, the rest of the UI folder works too.


    EDIT: damn, it seems a lot more is missing with those files gone, than just ui tabs. Most of the scroll texts are gone as well... Will definitely be something that needs a fix.
    Last edited by SigniferOne; 09-05-2007 at 02:23.

  3. #3

    Default Re: file_first not working correctly in Kingdoms

    Well I have the same problems and I give up now...sigh

  4. #4
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: file_first not working correctly in Kingdoms

    Quote Originally Posted by SigniferOne
    Subsequent investigation has yielded that the /ui/ folder is the culprit. All of unpacked files and folders are completely fine, if this folder is deleted. The game then loads UI files from the packs, and the only problem is that the campaign tabs don't have Army, City, Agents, Navy text on them. The actual files to blame are:

    battle.sd
    shared.sd
    strategy.sd

    if those are deleted, the rest of the UI folder works too.


    EDIT: damn, it seems a lot more is missing with those files gone, than just ui tabs. Most of the scroll texts are gone as well... Will definitely be something that needs a fix.
    1. Put the vanilla .sd files into the vanilla data directory, then the mod ones should work.
    2. Having .strings.bin files without their associated .txt files causes problems past 1.2 - this applies to tooltips, shared, strat, battle (i.e. untagged files)

    Besides and totally unrelated I forgot to supply battle.txt - did anybody ever try to change it yet?

  5. #5

    Default Re: file_first not working correctly in Kingdoms

    Quote Originally Posted by alpaca
    1. Put the vanilla .sd files into the vanilla data directory, then the mod ones should work.
    Do you mean place each of the unpacked Kingdoms .sd files into the main M2TW data folder?

    The problem resolved itself for my mod Pro Deo et Rege if you also unpack regular M2TW. But that's not satisfactory for obvious hard-drive space issues for some.

    Read The House of Seleukos: The History of the Arche Seleukeia
    for an in-depth and fascinating history of the heirs of Seleukos Nikator.

  6. #6
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: file_first not working correctly in Kingdoms

    Quote Originally Posted by socal_infidel
    Do you mean place each of the unpacked Kingdoms .sd files into the main M2TW data folder?

    The problem resolved itself for my mod Pro Deo et Rege if you also unpack regular M2TW. But that's not satisfactory for obvious hard-drive space issues for some.
    No, I mean unpack *.sd from the original M2TW packs.
    Don't ask me why the game needs a .sd file in the original directory, probably even an empty one would do. It's just one of these things I guess.
    Apparently it works fine from a pack though? Shame we can't re-pack.

  7. #7

    Default Re: file_first not working correctly in Kingdoms

    Quote Originally Posted by alpaca
    No, I mean unpack *.sd from the original M2TW packs.
    Don't ask me why the game needs a .sd file in the original directory, probably even an empty one would do. It's just one of these things I guess.
    Apparently it works fine from a pack though? Shame we can't re-pack.
    Fantastic news, Alpaca! You're truly an asset to the community!

    that means I can just include the vanilla .sd files in my mod's installer and save people the trouble of unpacking the main game!

    How's your mod coming along? I'm sure the new scripting possibilities Kingdoms opened up will prove useful to you! Can't wait to see what you come up with!

    Read The House of Seleukos: The History of the Arche Seleukeia
    for an in-depth and fascinating history of the heirs of Seleukos Nikator.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO