Jump to content
Sign in to follow this  
Dyaxler

SpartanUI for Vanilla WoW

Recommended Posts

I originally shared this on the Nost forums. Providing link for those that are interested in a fully working back port of SpartanUI.

 

https://github.com/Dyaxler/SpartanUI_Vanilla/releases/latest

 

Original post from Nost forums...

 

---------------------------------------------------------------------------------------------

 

*Current Version: v0.9.6.1*

Hey all,

When I first started playing on Nostalrius I quickly realized how much I missed my SpartanUI. After some searching here and other sites I quickly realized that nobody had a working version for Vanilla. I thought, how hard could it be to back port it? Ha! After a month of coding in my spare time, fixing, re-writing, debugging... heck with it. No sense in bombarding you all with a stupid wall of text. I've uploaded it onto GitHub where I'll plan to keep track of bugs and future revisions. Feel free to peer review it, critique it... what ever. It's a gift to you all.

https://github.com/Dyaxler/SpartanUI/releases/latest

I've been running it for the past week or so without any issues so far after I stamped out all the bugs I could find. I'm sure there are some others that I haven't encountered yet as I'm presently only playing a low level Priest and just started a Paladin. My son tested it on his Rogue and Hunter so I know that Stances and Pets work. :) I'm kind of a MOD junkie and right now I have over 80 sub-directories worth of mods in my AddOns directory so I'm fairly certain that this version of SpartanUI will play nice with most of the mods out there. Unless of course you decide to try and run Bongos or some other bar Addon. It comes with a custom embedded version of Bartender2. Check out the README for more info.

If you find a bug, I have one request... try and capture it with some kind of a LUA capture mod like !ImprovedErrorFrame. Please? The default error interface in the WoW client tends to only capture the first error it encounters and ignores the rest. A clue to a bugs issue can sometimes be found in the errors after the initial trigger. If you can provide consistent repro steps - that would help tremendously in tracking down a bugs origin. Thank you!

Full UI:

FullUI.jpg

Left Panel:

LeftPanel.jpg

Right Panel:

Right%20Panel.jpg

Party Frames: (can be turned off using /sui menu)

PartyFrames.jpg

Pet Frame:

Pet.jpg

Rogue Combo-Points:

Rogue.jpg

Edited by Dyaxler

Share this post


Link to post
Share on other sites

I saw this and went YAY! and promptly installed it. At which point I realized you have the eyes of a hawk. I however do not, and there's nowhere in the menu to adjust font sizes. XD my poor Questie addon is now in micro-mini form and I can't read it anymore. Any way to adjust the base sizes of the fonts? (I tried doing it through the font lua but no joy :( it didn't work.) oh please :D I need things in like.. 14-16 font normally to see and questie's list is now in like.. 9? I think? Maybe? XD

Share this post


Link to post
Share on other sites
16 hours ago, Dewara said:

I saw this and went YAY! and promptly installed it. At which point I realized you have the eyes of a hawk. I however do not, and there's nowhere in the menu to adjust font sizes. XD my poor Questie addon is now in micro-mini form and I can't read it anymore. Any way to adjust the base sizes of the fonts? (I tried doing it through the font lua but no joy :( it didn't work.) oh please :D I need things in like.. 14-16 font normally to see and questie's list is now in like.. 9? I think? Maybe? XD

SpartanUI doesn't fiddle with the in game Fonts. It does however use the 'SetScale' function to keep the art work centered properly. There are different scale settings if you're using or are not using the "Use UI Scale" setting. All these settings are different depending how you have your Video Options setup initially (code posted below). You can turn off the autores feature by using the slash commands:
 

/sui autores on

or

/sui autores off

There are other options you can fiddle with...

 

11 hours ago, Deathteaser said:

Which resolutions does this support? 1920x1080 only or any other?

I'm on an Ultrawide monitor and am running: 2560 x 1080. I've built in several resolutions that SpartanUI auto detects and adjusts settings to match. To give you an idea... here is the function that controls that.
 

function Sui_ResDetect()
	local resolution = ({GetScreenResolutions()})[GetCurrentResolution()]
	local _, _, x, y = string.find(resolution, "(%d+)x(%d+)")
	local ratio = tonumber(x) / tonumber(y)
	-- For Standard 16:9 Widescreen (1920 x 1080 etc.)
	if ratio < 1.8 and GetCVar("useUiScale") == "1" then
		SetCVar("uiScale", "0.75")
		suiData.scale = .80

	elseif ratio < 1.8 and GetCVar("useUiScale") == "0" then
		SetCVar("uiScale", "0.75")
		suiData.scale = .64

	-- for Ultra 21:9 Widescreen (2560 x 1080 etc.)
	elseif ratio > 2.3 and GetCVar("useUiScale") == "1" then
		SetCVar("uiScale", "0.75")
		suiData.scale = .95

	elseif ratio > 2.3 and GetCVar("useUiScale") == "0" then
		SetCVar("uiScale", "0.75")
		suiData.scale = .80
	end
	SpartanUI:SetScale(suiData.scale)
end

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×