rssNews Feed
Search
Pages: [1]   Go Down
Author Topic: DarNified UI Install Explained  (Read 46574 times)
0 Members and 2 Guests are viewing this topic.
DarN
Administrator
Spellwright
*****



Offline Offline

Gender: Male
Posts: 396


WWW
« on: 24.11.07, 14:32:15 »

DarNified UI Installation explained



Readme's are meant to convey a lot of information while not being too long and boring so the user will actually try to read and understand all of it. Sometimes their brevity, language barriers, or my occasional inability to explain things in a decent manner can confuse even the most tech savvy users out there. This post aims to remedy that, fill out any blanks left by the readme and also show you how to get the install automated if you're an OBMM user.


Before you begin

The omod version of DarNified UI 1.3.2+ requires OBMM 1.1.12+ with the setting "Allow additional script types" checked.
Get OBMM here. More in depth info and tutorials on obmm can be found here.

The 7z version requires a 7z compatible archive program. You have several choices; 7-zip and ZipGenius are free.


OMOD Install

This is the recommended way of doing it. You will be warned of any conflicts, the files will be copied to their proper locations, and the required ini edits will be made according to the choices made in the installer. As of version 1.2.5, the installer has been remade, and has preview images of every menu available with accompanying descriptions. These descriptions are required reading.

1) Once you've downloaded the zip file, extract the .omod file inside to [Oblivion folder]\obmm\mods.

2) Start Oblivion Mod Manager.

You should see something like this:



The list to the right contains your omods. The small colored squares in front of the name are status icons. Green is preferred, but the tan color you see on the picture is ok too. Tan means you have conflicting files that are identical to those you are about to install. Blue means the mod is installed. If the square is red, you have files that conflict with the mod. If this is the case, right click the mod, and select "View data conflicts" to get a list of the files in conflict and the mod(s) they belong to. You have two options to "solve" this conflict; right click the mod and select "Clean" or install right away and select to overwrite (or not) as the files are copied. Selecting "Clean" will delete the files already installed.

The right click menu have some other useful options:

View readme - please do!
Visit website - the website will have all the latest info regarding the mod and detailed configuration options for the menus should you decide to customize them further.
Email author - this addy allows you to send bug reports to me directly. The preferred way would be the release thread in the forum though.

3) Double-click the mod to start the installation.

The initial dialog:



This is my way of thanking you for using the mod. Your name will be displayed in the Credits menu in-game. It's perfectly safe to enter nothing here.

The second dialog:



Here you have three options.
"Install Everything" will install all menus and skip the initial menu select page in the installer.
"Select Components" will enable the menu select page and allow you to choose which menus you want installed.
"Abort Install" will ... abort the install (gasp!).

The third dialog - Page 1



This is the page you will see if you selected "Select Components" in the previous dialog. It has a list of all the menus available, and shows a preview image and a description of it when you select it's entry in the list. Select items using ctrl or shift click. If you have one or two items you wish omit, select these first, and hit "Invert" in the toolbar below the list.

Some of these have compatability versions for previously installed mods you may have. Selecting the Loading Menu for example, will enable the "Trollf Loading Screens Themed Replacer " option in the upcoming options page should you have any of it's esps already installed. The readme has info on menus with alternate versions. Hit "Ok" when you've made your selections.

The third dialog - Page 2



This is the options page. "KCAS-AF Menus" and "Trollf Loading Screens" are compatability versions for these mods. If you chose the "inventory" option on page 1, you will see an entry for "Classic Inventory". This is the previous (1.2.6 and prior) default inventory. If you experience too much lag when opening the inventory, you should consider using this one. It has none of the advanced options in the default, but opens a whole lot quicker.

The default inventory should not be used together with the "Keychain" mod, as it eliminates the need for it, and is known to cause substantial lag (20+ seconds).

The third dialog - Page 3



This page is shown if you selected the "Custom font 1" option in the previous dialog. Font 1 is used in the Main Menu, default Loading Menu, and in un-DarNified Books and scrolls.

The third dialog - Page 4



This page is shown if you selected the "Fonts" option in page 3. There are two font sizes available. The "Large" option is only marginally larger than the "Normal" one to keep the layout from falling apart. I have plans to restructure the code where required to facilitate larger sizes. Your best option though, is a monitor with a resolution "matching" it's size. Some resolutions and sizes that work well:

  • 1024x768: 17"
  • 1280x960/1024: 19"
  • 1920x1200: 24"

The fourth dialog:



Should you make any choices requiring ini edits during the install procedure, this dialog explains what you need to do.

The final dialogs:



Here OBMM is asking you to confirm the individual ini edits required.

You may hit the "Abort" button at any time during the install - no changes will be made and no files will be copied.

DarNified Books

The final step is to DarNify your books, which is done in Wrye Bash as of v1.3.1 onwards. Learn how to do that here.

That's it. You're done! Read on to figure out how to do all this automatically without having to make any choices at all.


Automating the omod install

If you do a lot of reinstalling or simply hate endless dialogs, you can pre-make all choices the install procedure has to offer including your name.
I strongly urge you to go through the manual install at least once to make sure your choices are installed as expected.

Start by right clicking the mod and selecting "View script". Here's what you should see:



I've added some comments in there to help you along. The install config is delimited by the "Start Install Config Section" and "End Install Config Section" comments respectively.
You have three types of values; int, bool and string.
Int is a number (0, 1, 2, etc), bool is a boolean (true or false), and string is a line of text.

defFonts and defFont1:

For int values, remember that these lists are zero based, which means in a list of 6 items nr. 1 = 0, and nr. 6 = 5. For the "Fonts" options this means that to select the "Normal" option you set "defFonts" to 0 like this
Code
GeSHi (csharp):
int defFonts = 0;
and to select the "Large" option you set "defFonts" to 1 like this
Code
GeSHi (csharp):
int defFonts = 1;
When doing your manual install, make a note on the choices you make, and where they are positioned in the list. This same approach is also used for defFont1.

defMenus & defOptions

This is an array of boolean values, each representing a menu choice:
Code
GeSHi (csharp):
bool[] defMenus = { false, // Breathmeter
false, // Info Menu
false, // Subtitles
false, // Inventory
false, // Dialog Menu
false, // Magic Menu
false, // Map Menu
false, // Spell Purchase Menu
false, // Container Menu
false, // Repair Menu
false, // Alchemy Menu
false, // Persuasion Menu
false, // Lockpick Menu
false, // Recharge Menu
false, // Training Menu
false, // Spellmaking Menu
false, // Enchantment Menu
false, // System Menus
false, // Quest Added Menu
false, // Barter Pack
false, // SleepWait Menu
false, // LevelUp Menu
false, // Chargen Pack
false, // TextEdit Menu
false, // Sigilstone Menu
false, // Skill Perk Menu
false, // Enchantment Setting Menu
false, // Message Menu
false, // Loading Menu
false}; // DarNified Books
This is the default setting, which has no menus selected. Setting the "false" values to "true" will pre-select that choice. Be sure to leave all other characters like commas, etc alone! The same approach is used for the "defOptions" array.

pn

This is your player name. Enter your name between the quotation marks.
Code
GeSHi (csharp):
string pn = "DarN"; // Player name.

showReminder

Setting this to "false" will keep the ini reminder dialog from popping up.

skipdetection

DarNified UI 1.3.0+ has a mod detection function that detects which mods are installed. Ie. for the "Trollf Loaading Screens" option to be available, it will detect if any of it's associated esps are installed in your Data folder, and remove that option if they're not there.

Setting skipdetection to true will allow installation of all compatability options regardless of the mods you have installed.

Code
GeSHi (csharp):
bool skipdetection = false;

unattended

This is what makes the entire process automated. Set this last and only after you've gone through the install verifying that your choices in the install config are working.
Code
GeSHi (csharp):
bool unattended = true;

When you are done making your changes, hit the "Check syntax" button to make sure the script will compile. Any errors will be displayed in the bottom section of the window. Do this before each trial run. Any typos or mistakes should be picked up, and saves you from getting an "Install failed" dialog.


7z install

There's not much I can tell you here that's not in the readme.

1) Extract archive to [Oblivion Install folder]\Data.

Your Data folder will now contain the default config for the menus. If you know what you're doing, you can of course open the archive and extract only the parts you're interested in.

2) Install custom choices.

Also in your Data folder is now a folder called "custom_files". This contains all optional files like alternate fonts and menus. The readme explains these and how to install them. You may delete this folder after you're done. For the "Custom Font 1" option described in the omod install section above, there is a preview pic of the fonts included.

3) Edit the ini.

Oblivion is very picky about it's ini and missing files, so when editing the ini, make sure you've spelled the entries correctly, and that the files have been copied to Data\Fonts. If a font entry is not found in the Fonts folder, the game will crash.

The default [Fonts] section:
Code
GeSHi (ini):
[Fonts]
SFontFile_1=Data\Fonts\Kingthings_Regular.fnt
SFontFile_2=Data\Fonts\Kingthings_Shadowed.fnt
SFontFile_3=Data\Fonts\Tahoma_Bold_Small.fnt
SFontFile_4=Data\Fonts\Daedric_Font.fnt
SFontFile_5=Data\Fonts\Handwritten.fnt
DarNified "Normal" fonts with "LaBrit_28" as custom font 1:
Code
GeSHi (ini):
[Fonts]
sfontfile_1=Data\Fonts\DarN_LaBrit_28.fnt
sfontfile_2=Data\Fonts\DarN_Kingthings_Petrock_14.fnt
sfontfile_3=Data\Fonts\DarN_Kingthings_Petrock_16.fnt
SFontFile_4=Data\Fonts\DarN_Oblivion_28.fnt
SFontFile_5=Data\Fonts\Handwritten.fnt

To get the local map colored, search the ini for "blocalmapshader", and set that to "0":
Code
GeSHi (ini):
blocalmapshader=0

Hopefully that answered any questions you may have had. If not, then that's what these forums are here for. Smiley
« Last Edit: 21.02.09, 00:47:04 by DarN » Logged

DarNified UI - TESN - PES
Z. Daniel Phoenix
Hireling
*



Offline Offline

Posts: 4


« Reply #1 on: 24.11.07, 19:14:26 »

Here's what I wrote in the BGS Forum before I realized you had your own forum up and running DarN.
---
Hey DarN, I just realized there was an update to 1.2.6

I also downloaded KOBU today.

I deactivated 1.2.1, activated KOBU then I activated 1.2.6

Now I'm getting an OBMM error to the Palatino Linotype font not supporting the style "Regular".

And so OBMM doesn't install DarNUI. I tried to reinstall DarN 1.2.1, but not I get the CTD right after that first start up screen.

I deactivate the mod and it causes a CTD on the Loading (With large Daedric O) screen.

I downloaded the OMod from both PES and Nexus in case it was a cut off download or something, but the same result abounds by both OMods.

What on earth did I do wrong, and is there any way to fix whatever I did?

I even tried replacing the menu files, from a BSA - Misc extract folder I have and still nothing's working
---

Hope this is the right place to put my post.

I immensely enjoy DarNified UI, and hope there's something I can do to fix this.
Logged
DarN
Administrator
Spellwright
*****



Offline Offline

Gender: Male
Posts: 396


WWW
« Reply #2 on: 24.11.07, 19:22:20 »

Hm. You could try changing the script. Look for lines like this:
Code
GeSHi (csharp):
ts.Font = new Font("Palatino Linotype", 8.25F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
You can try changing the Palatino Linotype to another font like Georgia/Verdana/Arial or you can change the FontStyle.Regular part to FontStyle.Bold.
Changing the font to Georgia would be pretty close to Palatino anyway.

I'm not sure what's going on here, but I know I've seen that error somewhere...

edit: Check your pm's.
« Last Edit: 24.11.07, 20:04:46 by DarN » Logged

DarNified UI - TESN - PES
Z. Daniel Phoenix
Hireling
*



Offline Offline

Posts: 4


« Reply #3 on: 24.11.07, 20:41:38 »

Hm. You could try changing the script. Look for lines like this:
Code
GeSHi (csharp):
ts.Font = new Font("Palatino Linotype", 8.25F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
You can try changing the Palatino Linotype to another font like Georgia/Verdana/Arial or you can change the FontStyle.Regular part to FontStyle.Bold.
Changing the font to Georgia would be pretty close to Palatino anyway.

I'm not sure what's going on here, but I know I've seen that error somewhere...

edit: Check your pm's.

Well changing the script did allow the full installation. But ONLY when I selected nothing but the normal DarN fonts.

If you select the custom font option, you do not get the option of choosing a font, it just goes into the .ini overwrite section. Which starts the CTD.

So far everything I've selected except for the normal fonts has caused a CTD.
I'll update this more as I tweak it.
Logged
DarN
Administrator
Spellwright
*****



Offline Offline

Gender: Male
Posts: 396


WWW
« Reply #4 on: 24.11.07, 20:54:23 »

Check the ini after install to see if the font edits are done right and that the corresponding font files are copied to the fonts folder. If the game ctd's, that's almost always the culprit.
Logged

DarNified UI - TESN - PES
Z. Daniel Phoenix
Hireling
*



Offline Offline

Posts: 4


« Reply #5 on: 25.11.07, 00:44:53 »

Check the ini after install to see if the font edits are done right and that the corresponding font files are copied to the fonts folder. If the game ctd's, that's almost always the culprit.

Oddly enough, I'm thinking the culprit is KOBU and that I let KOBU overwrite those same menu files that DarNUI changes.

This last time, I chose not to let Kobu overwrite the DarN files in OBMM, and I'm able to play. No problem whatsoever.

I haven't tried with alternate fonts, or anything yet... but I know my standard set up is working smooth.

Maybe I should send a message to the author of KOBU telling them they don't need the DarN menu files, in their install anymore.
Logged
DarN
Administrator
Spellwright
*****



Offline Offline

Gender: Male
Posts: 396


WWW
« Reply #6 on: 25.11.07, 10:12:48 »

Please do. The files included in the KCAS package were done by me for an older version of the ui, and will probably cause ctd's if used together with the new one. I don't think he's working on it anymore though.

If you installed KOBU first, then those files should be overwritten if you selected to install the level up menu and the stats menu.
« Last Edit: 25.11.07, 10:15:25 by DarN » Logged

DarNified UI - TESN - PES
Z. Daniel Phoenix
Hireling
*



Offline Offline

Posts: 4


« Reply #7 on: 25.11.07, 18:35:26 »

Please do. The files included in the KCAS package were done by me for an older version of the ui, and will probably cause ctd's if used together with the new one. I don't think he's working on it anymore though.

If you installed KOBU first, then those files should be overwritten if you selected to install the level up menu and the stats menu.

I was angry after the whole day of CTD's, and not being able to get skill points to affect my level (while NOT on Path of The Void), that I just uninstalled KCAS and said "screw it".

Least we learned what was causing the CTDs.
Logged
Hardwire18
Hireling
*



Offline Offline

Posts: 4


« Reply #8 on: 21.12.07, 21:41:05 »

After sleeping to level up I just get the "level up mumbojumbo text" on a ok box. I dont have the level up menu to select my skill increases. (Also none of my attributes increased automatically or anything) On Planet Elder Scrolls - DarNified UI it said to change [stats_config.xml, change <_s4fnrv> &true; </_s4fnrv> to <_s4fnrv> &false; </_s4fnrv>] I dont know if that was supposed to fix it, but it didnt change my level up menu. True or False I have the same problem.
Thank You   Smiley
Logged
DarN
Administrator
Spellwright
*****



Offline Offline

Gender: Male
Posts: 396


WWW
« Reply #9 on: 21.12.07, 21:43:35 »

This is because the KCAS-AF Menus are installed. KCAS handles this automatically, that why those options are removed.
Logged

DarNified UI - TESN - PES
Hardwire18
Hireling
*



Offline Offline

Posts: 4


« Reply #10 on: 21.12.07, 21:55:32 »

Thanks for the quick reply!
Yeah that fixed the problem. I reconfigured the setup and removed KCAS and that did it. Thank you again for the great UI.
Hopefully this post will help anyone else that makes the same mistake hehe.
Logged
F0xHunter
Hireling
*



Offline Offline

Posts: 1


« Reply #11 on: 12.04.08, 20:25:53 »

When I install DarNified UI, I can't see the option for the wz_ inventory, why?
The main reason I downloaded DarNified UI was because the wz_ inventory, and now that it won't install I'm pretty sad... Sad
I use the 1.30 version.
Logged
DarN
Administrator
Spellwright
*****



Offline Offline

Gender: Male
Posts: 396


WWW
« Reply #12 on: 13.04.08, 04:46:02 »

The default inventory for 1.3.0 is wz_. Try clicking the small diamond in the top left corner to see what I mean. The pages just default to list mode. You need to edit inventory_config.xml:
Code
GeSHi (xml):
<!-- Enable grid view for the specified tab -->
<!-- Show grid in "ShowAll" tab -->
<_bGrid_All> &false; </_bGrid_All>
<!-- Show grid in "Weapons" tab -->
<_bGrid_Weapons> &false; </_bGrid_Weapons>
<!-- Show grid in "Apparel" tab -->
<_bGrid_Apparel> &false; </_bGrid_Apparel>
<!-- Show grid in "Alchemy" tab -->
<_bGrid_Alchemy> &false; </_bGrid_Alchemy>
<!-- Show grid in "Misc" tab -->
<_bGrid_Misc> &false; </_bGrid_Misc>
Change &false; to &true; for the pages you wish to default to grid mode.
Logged

DarNified UI - TESN - PES
Lergoloi
Hireling
*



Offline Offline

Gender: Male
Posts: 1


« Reply #13 on: 30.06.08, 11:16:10 »

Hi everyone,
I have another question. I've downloaded the mod (which is btw one of the best  angel Roll Eyes) but my letters in the inventory, magic, quest and map menus are huge. I'm using a russian game so i think i have to use a font with russian letters in it right? I've tried it. I installed russian fonts in my oblivion font map and than changed the Oblivon.ini file. Like this:

[Fonts]
SFontFile_1=Data\Fonts\Kingthings_Regular.fnt
SFontFile_2=Data\Fonts\Kingthings_Shadowed.fnt
SFontFile_3=Data\Fonts\Accented_Cyrillic_16.fnt (this is a russian font)
SFontFile_4=Data\Fonts\Daedric_Font.fnt
SFontFile_5=Data\Fonts\Handwritten.fnt


When im not using the russian fonts but i install the part of the mod with the ringbarrer etc. fonts i get a normal size but i have strange letters in my menus eccept for the english names of spells and items.
Can some1 plz help me with my problem?
Logged
DarN
Administrator
Spellwright
*****



Offline Offline

Gender: Male
Posts: 396


WWW
« Reply #14 on: 01.07.08, 21:47:09 »

You probably need to use a different size in the font generator. The size will vary depending on the author that made the font. If 16 is too big, try 14, etc.
Logged

DarNified UI - TESN - PES
Pages: [1]   Go Up
  Print  
 
Jump to: