View Single Post
  #1  
Unread 11-08-2011, 01:28 AM
Eili's Avatar
Eili Eili is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Apr 2007
Location: Montreal
Posts: 159
Tool for modify a plugin to fit a UI

Hello

As you know i asked some times ago a way to modifiy some plugins to fit the Isil UI.

I asked also before to the plugins's author concerned, their authorisation to do so and they did give it to me.


ATTENTION : to make some test i modified also ScrappyScripting. I never asked the authorization to the author of this plugins and thus you will never see any Scrappy like Isil. The Plugins concerned are Songbook, Lotropad, Travel, and BevyII.


So let's see the tool called Text_Replace built by my husband (he is programer). Copyright Simon Therrien 2011. Visit www.zoopsie.com (The site is beeing reworked as i write this)
Built for Windows 32bit.
All is open source available if you need.



As you see the folder contains 5 elements :
- ReadMe.txt
- icon
- Text_Replace_script.txt
- Text_Replace.exe
- Install.bat

How it works :
First the author of an UI would have to prepare the file Text_Replace_Script.txt as follow :



This means that all the file you want to change to be as your UI (for example here i mainly changed colors) have to be noted on the script in the following order :

<filename>
.\DhorPlugins orig\Travel\OptionsWindow.lua
</filename>
<old_text>
self.OptionTabs:SetBackColor(Turbine.UI.Color(0.87 ,0,0,0));
</old_text>
<new_text>
self.OptionTabs:SetBackColor(Turbine.UI.Color(0.5, 0.2,0.2,0.2));
</new_text>

Once the script is finished, the work is done.
You zip the folder.

Now let's see what a user would have to do :

To install the UI changes:

(1) Extract all files to your \My documents\The Lord of the Rings Online\Plugins folder.
(2) Run: Install.bat.


And finally what will happens once you run Install.bat





- First, a folder backup is created as you can see in the Plugins folder.
- then all the files you noted on the script are automatically modified.



If the result does not please you, replace the plugins modified with the backup and that is all.
-------------------------------------------------------------

Though before i post it, i have a question.

I dont remind any .exe posted on this site. And i know that usually people avoid them in download.

This tool folder contains a .exe (though you dont have to use it manually).
I know it is safe but i know also that some may be afraid or against that.

So what is the rule ? Can i propose this tool to be tested ?
Do you want to get the code to check how it was created ?

If the Administrator or Super Moderator want to test it, let me know please.

Thank you
Eili aka Moranae

Last edited by Eili : 11-09-2011 at 09:57 AM.
Reply With Quote