![]() |
UI Switcher
1 Attachment(s)
Well, the first half of this project took a lot less time than I'd thought. The second half, that's going to be a doozie though. Recursion, fun.
Anyway, the first half: UI Switcher. Installing: Unzip into your EverQuest II directory. (Not your UI directory or any subdirectory of it) Using: Run the application. Select the UI you'd like to use from the left-hand list (details on the selected UI will appear in the right-hand box.) Click "Set UI". The switcher will automatically write your EQ2.ini for you and launch the EQ2 patcher. The second half, in case you hadn't guessed, is going to be a UI installation utility that mod authors can include with their mods to allow for easier installation by users. (One that'll prevent users from putting UIs in places where they shouldn't be) Edit: Forgot the ZIP. Oops! |
Split thread and moved to correct forum =/
nice tool though. |
Woot. Thanks. ;)
|
Nice one ;)
Maybe SoE should trash there /loadui and use this insted Lol :D *EDIT* Just ran this... works well :) ....... But (hehe you knew this was coming Ger) Maybe you could parse the old .ini first, reason I say this is I have extra info in mine that gets lost when I use this tool the extra info being= cl_letterbox_position 1 ics_maxcameradistance 10.0 Whilst there is probably only a few of us that have extra info in that .ini, I thought it was worth pointing it out ;) |
As far as I can tell with my experiment with the whole Custom UI fun.
You can't use more than one UI Piece or set while useing the eq2.ini trick we use. The eq2.ini points the game to one specific directory. So the people that just use pieces here and there are still going to have to move those around, because you can't use eq2.ini to point to two different directories, at least I've not been able to. You could put your custom pieces in all of your directories that you switch between. This is pretty nifty utility for newbies thought that are having trouble. Personally I think we might need to include a screenshot of the correct directory structure, with ICON types, LOL. I really don't know how we could make things more clear. |
Quote:
|
Quote:
|
Quote:
Just out of curiosity how do you plan to use pieces from various UIs? Are you going to use the UI installer to allow the user to grab files from the various folders and install them into one folder, then adjust the eq2.ini to always look in that folder? You are alot like me I think, you like to take on a challenge! |
Quote:
Yes boss doing it right now.... :p |
Quote:
Anyway, I've got the directory search working, I've almost got the install conditions working, after that I get to figure out how progress bars work and finalize the format of the install package file structure. Right now I'm thinking I'll just have the installer check a folder named "EQ2Interface" and copy the files over as-is, creating an eq2ui_skininfo.xml if one doesn't exist so that the newly-installed mod shows up in the UI Switcher. |
Re: progress bars is THIS link of any use to you?
|
Ger,
Love the mod, would it be possible to put in a checkbox for Auto-launch, and then an option to either AutoLaunch EQ2 or the EQ2MAP Updater that TacoMan is working on? I know his Updater also Autolaunches the Game. This would be nice for those that want to get the latest maps prior to entering the game. For example, they launch your UI Switcher, they check the Autoplay Box, and then select the EQ2MAP Updater option. They then select the UI they would like to use, and the eq2.ini is written, and the EQ2MAP Updater is launched. Once any new information from EQ2MAP is downloaded EQ2 is autolaunched? What do you all think? |
Quote:
But wouldn't that break the Upload Rules for interface authors where is states No Exe's? I forget exactally how it was worded but I'm pretty sure it says it. I may be wrong and it only says it after uploading to the EQInterface site. |
Ahh, VERY fantastic idea ger!
That is going to be one popular utility for us! It would get us all in the habit of including the skininfo file which will be nice for the future when /loadUI works. One suggestion I had. If we are going to package this 'with' the released mods, the installer shoudl probably check to see if a version is already installed? Now, if Dolby can just figure out a way for this thing to work from the server side, so that when you click the 'download' button it does everything for you!!! |
Quote:
|
Quote:
Ger's GizzleFob! |
1 Attachment(s)
Okay boys and girls. Installer with sample UI (my EQ2MAP icon replacements) for testing purposes. Zip file format is pretty simple, just archive the mod you want to install with its full file structure intact, but do not include the UI/CustomUI folder (i.e. include images, images/maps, images/icons, et cetera, but not the overall parent folder.) Name the zip file EQ2Interface.zip. Enjoy.
Oh, and for the love of god, don't try it out on your actual working mod directory without making a backup first. The overwrite and skininfo checks worked correctly in all of my tests, but I really don't want to find a bug on somebody's working directory and destroy who knows what. :D Note: the DLL and the ZIP must be in the same folder as the EXE. As always, .Net Framework 1.1 or better required. Note2: Now that I've ot a beta of the installer out, time to figure out what works well, what could be done better, et cetera. So please, let me hear what you authors want the installer to do, and what you users want the switcher to do. |
any chance of adding a way to launch the auto updater, for users that have used the new installation version of my updater the path to the updater is stored in the registry in the (default) key for HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\EQ2MAP_Updater.exe
|
Quote:
|
1 Attachment(s)
AutoPlay settings enabled in this download. If you don't have the newest version of the EQ2MAP Updater installed the option will be greyed out, but you can still launch it via "Other." (I do suggest that you download the newest version of the EQ2MAP Updater though)
You'll notice a button for UISettings Management. It doesn't do anything yet, but it will by the time I update the downloads version of this thing. |
You know Ger, I was half joking when I made the comment about Dolby having the site do this when the people click the download button.
But I got to thinking about this. Take WinAmp for example. You can download skins for WinAmp this way. You have the option to download the file, or I think it can alter the skin on the fly right through the website. With the implementation of map updater and how well it's working, I really don't think its too far feteched of an idea. |
Quote:
In this case we'd have to custom name our ZIPs (EQI maybe?) and associate them with the UIInstaller. Since the UIInstaller can already take command-line variables (that's how drag-and-drop works) it could be set to accept files directly from the IE/Mozilla Open feature. |
Quote:
That would remove the issue of having to package the Installer with the mods. |
3 Attachment(s)
New version pending approval, now with more formy goodness. (Seriously, this thing went from 1 form to 4 between yesterday and today.) Teaser screenshots to tide you over until it's approved:
|
Is it able to wash the car yet? :D j/k
Nice work Ger :) |
| All times are GMT -5. The time now is 08:58 PM. |
vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI