Results 1 to 14 of 14

Thread: How to fix custom UI problems

Hybrid View

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

    Icon4 How to fix custom UI problems

    See that title? Questioning it? Well you better believe it, because I myself have played with every single UI with no problem, and I will now tell you how to get your custom UIs to work. This could be temporary if Neph either manages to figure out how to make the custom UIs work himself or if he can reach Azog

    You are going to need:

    All requirements for the mod and the mod itself
    Administrative Privileges on a Windows Computer (I don't have a mac, so I don't know how to do this for mac)
    An image editing software that allows transparencies, personally, I recommend paint.net

    **IMPORTANT** You're probably going to want to CLOSE HYRULE: TOTAL WAR BEFORE BEGINNING THIS PROCESS
    **IMPORTANT** You're going to want to copy again after you download the 3.01 version patch, or otherwise everything will back to the way it was before I found this fix.
    Step 1. Go to C:/Program Files (x86)/SEGA/Medieval II Total War/mods/Hyrule/data/ui/
    Step 2. From there, branch off to /northern_european/interface, which is where the UIs for Civilized factions are housed, /barbari_european/interface for barbaric, /southern_european/interface for Naturalistic, and /vreek/interface for Unnatural. you will see several files: iconexpage_01, radar_map_background, then several files that say "sharedpage_0[number here], and stratpage_0[number here] You're going to want to ignore iconexpage_01
    Step 3. Right-Click on any file but iconexpage_01 and go down to "Properties" then go to "Security", you should see a button that says "edit" with a yellow and blue checkered shield, click that and then go to Users and check the box for modify, then hit ok.
    Step 4. Repeated step 3 until all radar_map_background, sharedpage_, and stratmap_ files in all the folders I told you to open are able to be modified
    Step 5. In a seperate folder, go to C:/Program Files (x86)/SEGA/Medieval II Total War/mods/Hyrule/AUI to see several folders with all playable factions. Open one folder for each Culture. It can be any folder EXCEPT Hylian, Gerudo, Kokiri, or Ikana, because these are the defaults for their culture.
    Step 6. Copy-paste the files inside the file of a Civilized faction (except hyrule) into C:\Program Files (x86)\SEGA\Medieval II Total War\mods\Hyrule\data\ui\northern_european\interface
    Step 7. Do the above with the files inside of a Barbaric faction, but instead of northern_european, go to barbari_european
    Step 8. Do step 6/7 with the files inside of Naturalistic faction, putting it into southern_european\interface
    Step 9/ Do step 6/7/8 with the files inside of a Unnatural faction, into \vreek\interface
    Step 10. Boot up and actually use the intended interface and, VIOLA, you have the custom UI for that faction. Pretty nifty, huh?
    Last edited by Aquos4; July 23, 2013 at 10:09 AM.

  2. #2
    Jakeford's Avatar Ducenarius
    Join Date
    Mar 2013
    Location
    EARTH
    Posts
    954

    Default Re: How to fix custom UI problems

    thanks for the guide

  3. #3

    Default Re: How to fix custom UI problems

    If you worked this out by experimentation, it may amuse you to know that this is exactly what the automated UI switcher does.

    Code:
    copy /Y .\AUI\hylian\s*.*  .\data\ui\northern_european\interface
    copy /Y .\AUI\battle_ui  .\data\ui\northern_european\interface
    copy /Y .\AUI\hylian\radar_map_background.tga  .\data\world\maps\campaign\imperial_campaign
    These lines copy the contents a selected AUI template folder into one of the default interface folders (in this case, it copies the hylian data into the northern_european folder).

    _______

    Would you mind answering some questions? I'm trying to fix the automatic UI switcher.

    1) I take it the AUI (the desktop shortcut) didn't work for you? If so, what did it do?

    2) It may have been a permissions issue rather than a folder issue. Once you've done your steps 3 and 4, does the automated switcher start working?

    3) On my system, Total War is installed in the following location: C:\Program Files (x86)\Sega\Medieval II Total War\
    Based on your post, yours is installed in 'Medieval 2 Total War'. Could you check where the AUI's shortcut points to?
    To do so:
    1. Right click on the desktop icon that is supposed to launch Hyrule Total War, and select Properties.
    2. This should open a dialog box, open to the Shortcut tab. Could you paste the contents of the "Target:" and "Start in" fields into a reply for me please?

    Thanks, and sorry for the barrage of questions!

  4. #4

    Default Re: How to fix custom UI problems

    Quote Originally Posted by D_E View Post
    If you worked this out by experimentation, it may amuse you to know that this is exactly what the automated UI switcher does.

    Code:
    copy /Y .\AUI\hylian\s*.*  .\data\ui\northern_european\interface
    copy /Y .\AUI\battle_ui  .\data\ui\northern_european\interface
    copy /Y .\AUI\hylian\radar_map_background.tga  .\data\world\maps\campaign\imperial_campaign
    These lines copy the contents a selected AUI template folder into one of the default interface folders (in this case, it copies the hylian data into the northern_european folder).

    _______

    Would you mind answering some questions? I'm trying to fix the automatic UI switcher.

    1) I take it the AUI (the desktop shortcut) didn't work for you? If so, what did it do?

    2) It may have been a permissions issue rather than a folder issue. Once you've done your steps 3 and 4, does the automated switcher start working?

    3) On my system, Total War is installed in the following location: C:\Program Files (x86)\Sega\Medieval II Total War\
    Based on your post, yours is installed in 'Medieval 2 Total War'. Could you check where the AUI's shortcut points to?
    To do so:
    1. Right click on the desktop icon that is supposed to launch Hyrule Total War, and select Properties.
    2. This should open a dialog box, open to the Shortcut tab. Could you paste the contents of the "Target:" and "Start in" fields into a reply for me please?

    Thanks, and sorry for the barrage of questions!
    I'd be more than happy to answer your questions:

    1) The desktop shortcut worked for me to an extent, but no matter which button I pressed, every civilized faction but Darknut had the hylian interface, and so on.

    2) No, I tried getting to work just with editing access granted, nada.

    3) For me it is in Medieval II Total War, I was just abbreviating because I'm lazy as all hell

    For me the location is just like you said, C:\Program Files (x86)\Sega\Medieval II Total War\mods\Hyrule\, I was just too lazy to type II instead of 2, since they technically mean the same thing. I'll change that now to prevent further confusion.
    Last edited by Aquos4; July 23, 2013 at 10:10 AM.

  5. #5

    Default Re: How to fix custom UI problems

    That is very strange. I'm guessing the problem is a permission's issue of some sort, since the folder locations are the same....

    There are a couple of things you could try:
    1) Its possible there is a permissions issue on the folders themselves. Try doing steps 3 and 4 on the folders that contain these files, rather than the files themselves.

    2) Alternatively, you could test for permissions issues by running AUI.bat in administrator mode. If you right click on the desktop icon and select "Run as administrator", does the interface switcher work?

    3) If (2) doesn't work, we may be able to learn more about the problem by entering some of the commands from the switcher into the command line.
    1. Start the windows command prompt ("Command Prompt" or "cmd.exe" on the start menu).
    2. Go to the folder with Hyrule total war (copy the following command into the prompt and hit Enter):
    Code:
    cd "C:\Program Files (x86)\Sega\Medieval II Total War\mods\Hyrule\"
    (quotes and everything. You can paste into the prompt using the right-click menu (Cntrl-v doesn't work))
    3. Now run (copy and paste into the prompt) one of the following blocks of code to switch the active UI:
    To switch to Zora Domain:
    Code:
    copy /Y .\AUI\zora\s*.*  .\data\ui\northern_european\interface
    copy /Y .\AUI\battle_ui  .\data\ui\northern_european\interface
    copy /Y .\AUI\zora\radar_map_background.tga  .\data\world\maps\campaign\imperial_campaign
    To switch to Ordona Province:
    Code:
    copy /Y .\AUI\ordona\s*.*  .\data\ui\northern_european\interface
    copy /Y .\AUI\battle_ui  .\data\ui\northern_european\interface
    copy /Y .\AUI\ordona\radar_map_background.tga  .\data\world\maps\campaign\imperial_campaign
    (These are both civilized races, so they are mutually exclusive. Since it keeps the last interface you used, I included two examples just in case the first example happens to be the race you last played as )

    I always get an error message after the battle_ui line ("The system cannot find the file specified"), but the other lines should report what files are being copied (I get 6 files from the first command and one file from the third).

    After this enter:
    Code:
    cd ..\..
    start kingdoms.exe @mods\Hyrule\Configuration.cfg
    To start the game and check whether the selected UI is installed.

  6. #6

    Default Re: How to fix custom UI problems

    Quote Originally Posted by D_E View Post
    That is very strange. I'm guessing the problem is a permission's issue of some sort, since the folder locations are the same....

    There are a couple of things you could try:
    1) Its possible there is a permissions issue on the folders themselves. Try doing steps 3 and 4 on the folders that contain these files, rather than the files themselves.

    2) Alternatively, you could test for permissions issues by running AUI.bat in administrator mode. If you right click on the desktop icon and select "Run as administrator", does the interface switcher work?

    3) If (2) doesn't work, we may be able to learn more about the problem by entering some of the commands from the switcher into the command line.
    1. Start the windows command prompt ("Command Prompt" or "cmd.exe" on the start menu).
    2. Go to the folder with Hyrule total war (copy the following command into the prompt and hit Enter):
    Code:
    cd "C:\Program Files (x86)\Sega\Medieval II Total War\mods\Hyrule\"
    (quotes and everything. You can paste into the prompt using the right-click menu (Cntrl-v doesn't work))
    3. Now run (copy and paste into the prompt) one of the following blocks of code to switch the active UI:
    To switch to Zora Domain:
    Code:
    copy /Y .\AUI\zora\s*.*  .\data\ui\northern_european\interface
    copy /Y .\AUI\battle_ui  .\data\ui\northern_european\interface
    copy /Y .\AUI\zora\radar_map_background.tga  .\data\world\maps\campaign\imperial_campaign
    To switch to Ordona Province:
    Code:
    copy /Y .\AUI\ordona\s*.*  .\data\ui\northern_european\interface
    copy /Y .\AUI\battle_ui  .\data\ui\northern_european\interface
    copy /Y .\AUI\ordona\radar_map_background.tga  .\data\world\maps\campaign\imperial_campaign
    (These are both civilized races, so they are mutually exclusive. Since it keeps the last interface you used, I included two examples just in case the first example happens to be the race you last played as )

    I always get an error message after the battle_ui line ("The system cannot find the file specified"), but the other lines should report what files are being copied (I get 6 files from the first command and one file from the third).

    After this enter:
    Code:
    cd ..\..
    start kingdoms.exe @mods\Hyrule\Configuration.cfg
    To start the game and check whether the selected UI is installed.
    I have found the source of the problem. the folder ui found in data is secured against modification. Neph must be informed immediately. I'll go tell him through a PM
    Last edited by Aquos4; July 23, 2013 at 04:11 PM.

  7. #7

    Default Re: How to fix custom UI problems

    I can confirm that UI is a permissions issue, and is very simple to fix all you need to do is right click in the Hyrule folder properties and allow full control for the user
    I shall consume... consume everything

  8. #8
    HerofTime's Avatar Tiro
    Join Date
    Dec 2012
    Location
    Vermont, US
    Posts
    269

    Default Re: How to fix custom UI problems

    I have also done this with every version I've played and has always fixed the UI issues, usually.


    "Metsu Ryū Ōgi...! Gōma Tetsu Jin Ken!!!" -Gajeel Redfox

  9. #9

    Default Re: How to fix custom UI problems

    Does this also work for the Steam version? Or is that a separate issue?

  10. #10

    Default Re: How to fix custom UI problems

    Quote Originally Posted by D_E View Post
    Does this also work for the Steam version? Or is that a separate issue?
    It's the same issue with a different issue along with it. We're not entirely sure how to fix the Steam version one because the file paths are too different.

  11. #11

    Default Re: How to fix custom UI problems

    I understand how AUI.bat works (I was a Comp. Sci. major in college). I may be able to make a version of AUI that works with Steam, if someone with that version of the game is willing to help (I have the disk version).

  12. #12
    Jakeford's Avatar Ducenarius
    Join Date
    Mar 2013
    Location
    EARTH
    Posts
    954

    Default Re: How to fix custom UI problems

    I was about to do this but I realized that I need a paint software

  13. #13

    Default Re: How to fix custom UI problems

    I don't think you actually need a paint software. I think that bit got left in from when he was testing things.

    Just add Edit permissions to the Hyrule folder, as nintendo64isking said above, or possibly the various individual files, as detailed in the first post.

  14. #14
    HerofTime's Avatar Tiro
    Join Date
    Dec 2012
    Location
    Vermont, US
    Posts
    269

    Default Re: How to fix custom UI problems

    If Hyrule folder still doesn't work, try editting permissions to the whole Medieval 2 Total War folder, that's what I usually do.


    "Metsu Ryū Ōgi...! Gōma Tetsu Jin Ken!!!" -Gajeel Redfox

Posting Permissions

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