XYSkinner [DEPRECATED]

Discuss and share scripts and script files...
SammaySarkar
Posts: 4205
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

XYSkinner [DEPRECATED]

Post by SammaySarkar » 18 Jun 2014 18:30

Unfortunately this script in this form cannot keep up with the rapid pace of XY's development. This has been abandoned. Thanks for your interest.


XYSkinner can apply custom skins to the default toolbar buttons.
XYSkins.png
preview
XYSkins.png (136.95 KiB) Viewed 4273 times
This is a very early release, use with extreme caution. READ NOTES BELOW CAREFULLY.
Download XYSkinner.xys *

v1.1>>downloaded file was not named correctly (thanks SkyFrontier for noting). Much :oops: Sorry! Also, default icon is generated dynamically (from <xy>). you can delete default.ico now.
v1-reupload>>uses an alternative, faster link by default. Remember the download size should be 542 KB!


DESCRIPTION:
The graphics for XYplorer's own buttons reside inside the main exe. This script is basically just a very limited frontend to ResHacker, which modifies the graphics.
Upon first run, the script will ask to download ResHacker (v3.4). You are also given the option to manually place ResHacker files to <xyscripts>\XYskins\res.


IMPORTANT NOTES:
this script modifies the main <xyexe> which means invalidated digital signature for major releases, XY will run normally though.
• if you're using this script, then please don't apply custom skins manually, it will disorient this script.
• If you face errors, read RESETTING instructions at the bottom of this post. Then try downloading ResHacker from the links below, and run the script
• Read the popup messages carefully!
• this script will close all running instances of XYplorer. If any instance of XY is running with elevated rights, skin application might fail.
• if Xyplorer restarts without have skin applied, open the script and try increasing the value in WScript.Sleep(). There are four of them in the same section.
if you repeatedly keep facing "Setup did not complete.Quitting..." error. look into the subscript "_extractskin". There's a commented wait command. Try increasing it's value
• you should try it out with a test copy of XYplorer installation before using regularly

LESS IMPORTANT NOTES
• The biggest nuisance is the absurdly high update rate of XY (sorry Don, no offense, don't stop!) . You have to rerun this skin everytime you update, until you get tired. *
If ResHacker.zip download fails you should download it manually and rerun the script. Currently ResHack is downloaded from this Dropbox link. Alternative links are in the script, commented out.
• The default skin changes radically/slightly with almost each major release (example: compare v14 and v12). I've added a rudimentary check to compare the skin and default dimensions before applying it. (Also the menu items show dimensions, only apply the skins which match default) But if the applied skin seems out of place, you can reapply default, then open the invalid skin in a graphic editor and move the icons around to match default.png. Perhaps even post the updated skin!

• I'm lazily compiling more skins, but I'll be very VERY grateful if people with artistic talents submits more skins! [skins DIY] :D

• RESETTING: if something goes wrong, delete <xyscripts>\XYskins\XYSKins.ini and default.png
DISCLAIMER: whatever happens to your XYplorer, Vogons did it! :whistle:

=====
* but if you really can't think of anything else to break your XYplorer with, throw me a pm

SammaySarkar
Posts: 4205
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: XYSkinner

Post by SammaySarkar » 18 Jun 2014 18:32

Paste all skins to<xyscripts>\XYSkins\.
nuvola_skin.png
nuvola_skin.png (19.88 KiB) Viewed 4269 times
Nuvola (based on Nuvola)
nuvola.zip
(256.55 KiB) Downloaded 145 times
stencil_skin.png
stencil_skin.png (12.89 KiB) Viewed 4269 times
Stencil (based on Gentleface Wireframe Toolbar Icons)
stencil.zip
(156.05 KiB) Downloaded 168 times
Flat icons, by sfwood


ed. updated version of skins with newer buttons are available http://www.xyplorer.com/xyfc/viewtopic. ... 59#p124961

SammaySarkar
Posts: 4205
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: XYSkinner

Post by SammaySarkar » 18 Jun 2014 18:32

DIY - XYSkins

The attached archive contains source file/template that I used to create these skins. Sorry it's in RLI format (native to RWPaint (portable software), which is what I generally use), as I do not have Photoshop(tm,r,c) or other big name apps now. I'll gladly add a psd version if anyone converts this and verifes the PSD works right.
The template applies to version around 14.20. Other verisons can differ slightly or radically. in that case, adjust the template to match that version's default skin.
template.7z
XYskins template
(252.8 KiB) Downloaded 115 times
PSD by sfwood

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: XYSkinner

Post by SkyFrontier » 18 Jun 2014 18:57

a virgin copy of xy gets stuck at reshaker download stage.
what should I do?
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

SammaySarkar
Posts: 4205
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: XYSkinner

Post by SammaySarkar » 18 Jun 2014 19:07

Edited first post with link to reshacker. Download it. Extract the files to XYSkins\res\

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: XYSkinner

Post by SkyFrontier » 18 Jun 2014 19:21

"error(s) encountered/found (yes, 2 dialogs, one at each run!). quitting."
at 3rd execution, a small list popped with a "default 580x448" saying, after initial dialogs prompting on intro and exe backup.
from now on, only the list shows.

Weird... is that a Vogon ship hovering my neighbor's backyard???
:mrgreen:
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

SammaySarkar
Posts: 4205
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: XYSkinner

Post by SammaySarkar » 18 Jun 2014 19:33

Sorry!
Delete <xyscripts>\XYSkins AND the script, and redownload. Updated download link (dropbox). Alternative links are also in the script commented-out.
Try downloading ResHacker first and extract as directed.

Stef123

Re: XYSkinner

Post by Stef123 » 18 Jun 2014 19:37

In my daring mood today. A bit jittery, I fasten my belt and get ready to grab for the oxygen mask. Holding my breath ...
:eh: :roll: :) :D :biggrin: :beer:
Setup was a total no-brainer (so even I could do it :wink: ) - smooth and flawless, kept me informed what it was doing, no need to panic. Airborne - no emergency lights flashing - fetched whatever it had to fetch - and brought us back home again. No touch-and-go. Safe landing on first approach. :appl: :appl:

Stencil - 8) - so cool - now I am glad I used the built-in icons. Just to think of the potential this has .... Awesome.

SammaySarkar
Posts: 4205
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: XYSkinner

Post by SammaySarkar » 18 Jun 2014 19:52

@Stef, glad you like it so much!! :biggrin:
ed: Super analogy! :ugeek:

Marco
Posts: 2266
Joined: 27 Jun 2011 15:20

Re: XYSkinner

Post by Marco » 18 Jun 2014 20:01

I had the suspect that Sammay was doing something behind the curtain, because he posted a screenshot a while ago with non-standard icons in XY...
My compliments :appl: :appl: :D :D

And my humble suggestions:
- you could check the write permissions in <xypath> with cacls and its derivatives ( http://ss64.com/nt/cacls.html , http://ss64.com/nt/icacls.html , http://ss64.com/nt/xcacls.html ) and retrun (would look to me like a more elegant one-line)
- you could embed the default.ico directly within the script with base64encode/base64decode (but yeah, I know, undocumented could mean unsupported in the future)
- maybe XY main executable could be backed up regardless of the user choice, and silently (you know, Murphy's law...)
- why you use vbs files too? I mean, what they allow you to do that plain bat files don't? My guess is the wait/delay and the runas, curious if I guessed right :)
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

SammaySarkar
Posts: 4205
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: XYSkinner

Post by SammaySarkar » 18 Jun 2014 20:10

Recieved: a pack of precious compliments! From: Marco
Marco wrote:My guess is the wait/delay and the runas, curious if I guessed right
Spot on!

CACLS: thanks. The reason is I've never tried this before. Didn't want to trek over unfamiliar grounds for something this critical.
This happened first time I tried b64, so I dare not again.. I'm thinking about writing the actual hex data, is it sensible?
Thanks again!

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: XYSkinner

Post by SkyFrontier » 18 Jun 2014 20:18

no happy on my camp.
=\
Did as pointed.
I caught this under \res:
ResHack.zipdl=1.htm
manually renamed as
ResHack.zip

but still having issues.
Even tried to place .xys under proper place so
load XYSkinner;
would make it. No go.
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

SammaySarkar
Posts: 4205
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: XYSkinner

Post by SammaySarkar » 18 Jun 2014 20:30

The download didn't complete correctly.
Try this again. Delete XYskins\xyskins.ini &default.png.

Download reshack.zip with an external downloader.
Extract it to xyskins\res\ Don't make a subfolder inside res\

Now run the script.

Read the popup texts carefully.
It shouldn't even ask for downloading reshacker.
If still errors come up, let me sleep now :biggrin: we'll definitely solve it tomorrow.

Marco
Posts: 2266
Joined: 27 Jun 2011 15:20

Re: XYSkinner

Post by Marco » 19 Jun 2014 00:08

SammaySarkar wrote:I'm thinking about writing the actual hex data, is it sensible?
Thanks again!
It's a viable option, although it requires more space.
Here's the code you can directly paste into the code with hex data

Code: Select all

 $path = "<xyscripts>\xyskins";
 $icon = "0000010002002020000001000800A808000026000000101000000100080068050000CE080000280000002000000040000000010008000000000000000000000000000000000000000000000000000000000005050500060A0C00090909000B0D0E000D0D0D00000A1100000D1700000F1A000A10150000121E001111110015151500191919001D1D1D00001422000817210000182800082233002020200025252500292929002D2D2D003131310036363600383838003D3D3D000026400000294400002D4B00102C400019384C000031520000325400173F5A00004B7D00004C7F00084D7C00195278004141410044444400484848004D4D4D0052525200555555005A5A5A005D5D5D006262620065656500696969006D6D6D007272720074747400797979007E7E7E00004D800018588300185B880000599500005B98000061A2000069AF000C70B2000674BE000E74B8000978C200077DCB00127CC300167FC600007DD1000185DD000E87D800178AD8000087E1000189E500008FEF000A91EB000091F2000092F4000094F6000095FA000097FC000098FE00069BFF00079CFF000D9CFB00089CFE0070C5FD008181810085858500898989008D8D8D009090900095959500999999009D9D9D00A1A1A100A6A6A600A9A9A900ADADAD00B1B1B100B5B5B500B9B9B900BDBDBD0096D5FF00C1C1C100C4C4C400C8C8C800CDCECE00D1D1D100D6D6D600D9D9D900C1E6FE00E2E2E200E5E5E500E8E8E800EEEEEE00F1F1F100F5F5F500F9F9F900FEFEFE00D8FF3100DEFF5100E3FF7100E9FF9100EFFFB100F6FFD100FFFFFF00000000002F26000050410000705B000090740000B08E0000CFA90000F0C30000FFD21100FFD83100FFDD5100FFE47100FFEA9100FFF0B100FFF6D100FFFFFF00000000002F1400005022000070300000903E0000B04D0000CF5B0000F0690000FF791100FF8A3100FF9D5100FFAF7100FFC19100FFD2B100FFE5D100FFFFFF00000000002F030000500400007006000090090000B00A0000CF0C0000F00E0000FF201200FF3E3100FF5C5100FF7A7100FF979100FFB6B100FFD4D100FFFFFF00000000002F000E00500017007000210090002B00B0003600CF004000F0004900FF115A00FF317000FF518600FF719C00FF91B200FFB1C800FFD1DF00FFFFFF00000000002F0020005000360070004C0090006200B0007800CF008E00F000A400FF11B300FF31BE00FF51C700FF71D100FF91DC00FFB1E500FFD1F000FFFFFF00000000002C002F004B0050006900700087009000A500B000C400CF00E100F000F011FF00F231FF00F451FF00F671FF00F791FF00F9B1FF00FBD1FF00FFFFFF00000000001B002F002D0050003F007000520090006300B0007600CF008800F0009911FF00A631FF00B451FF00C271FF00CF91FF00DCB1FF00EBD1FF00FFFFFF000000000008002F000E005000150070001B0090002100B0002600CF002C00F0003E11FF005831FF007151FF008C71FF00A691FF00BFB1FF00DAD1FF00FFFFFF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000352C1A161515161A2C360000000000000000000000000000000000003517010000000000000000000000000117350000000000000000000000002701000000000000000000000000000000000000012700000000000000001800000000000000000000000E15000000000000000000000018000000000001000000000000000000000001696B0B000000000000000000000001000000050000000000000000000000005A77775F0000000000000000000000000B0034000000055E150000000000002A77787876300000000000000A3B08000000331A0100005C77722C000000000E72787F7F783600000000001C49503C000000191901001A767F7F743000000167787F7F7F640100000000214D52524F210000171901016F787F7F7F75300058787F7F7F6E0B00000000214E525252524A070017190101186C7F7F7F78755A76787F7F7516000000001B4D52525252471E000017190100000B627F7F7F7878787F7F782C00000000114A525252534009000000171A03000000035F7F7F7F7F7F7F7F5B010000000645525252523E020000000017280B0301010003637F7F7F7F7F6703000000003D525252523F020000000000172A130C0B05010158787F7F7F785E000000003751525252523A000000000000172D1714130D0C3377787F7F7F7F762E00001D4F52525252524F2400000000001731271917155976787F7F7F7F7F7873170F4A525252535252524E370000000017342C2A2B6377787F7F7F6B7F7F7F786D445252525243565253524F3C070000175831307178787F7F7F6317657F7F7F78705352524104385652525251460600175B5834627F7F7F7F66281828717F7F7F7F68544C1000013956525252250100175F5D5A596F7F78672E2B2A2832777F7F7F7F572205010003265552420100001867625F5D6074633532302E2C2B607F7F7F7F5F130D0B0503031F48120000003200646562615F5D5B583633312F2F6C7F7F6F1A1614130D0C0B050B010000030000006767656361605D5C5A583533357476312927191815140E0D0B0505030000000000676A69666463605F5D5B59365E5F302E2C2A281A1816151414280000000000000000696A6A67656462605E5C5A583533312F2D2B2A29272F0000000000000000000000006D69676967656361605D5C5A5835333134620000000000000000000000000000000000006D696664626260606267000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000FFFFFFFFFFFFFFFFFFE007FFFE00007FF800001FE0000007C0000003800000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000001C0000003E0000007F800001FFE00007FFFE007FFFFFFFFFFFFFFFFFF280000001000000020000000010008000000000000000000000000000000000000000000000000000000000000030500060606000A0A0A000D0D0D00000B1200040C10001010100014141400181818001E1E1E00001D310007273C0021212100252525002A2A2A002C2C2C00393939003E3E3E000031520002375B00003D6600124C72004141410044444400484848005151510055555500585858005D5D5D00626262006B6B6B006F6F6F007A7A7A007E7E7E00004E820000508600105684000058930007629F000A69A900056DB3000970B500517185000084DC000091F2000592F0000096FA000497FA000097FC000098FE00898989008C8C8C009191910094949400999999009C9C9C00A1A1A100A4A4A400A9A9A900B1B1B100B6B6B600BABABA00BEBEBE0097D5FE00C9C9C900CCCCCC00D1D1D100D9D9D900DEDEDE00E2E2E200EEEEEE00F1F1F100F7F7F700FAFAFA00FEFEFE0091FFB200B1FFC900D1FFDF00FFFFFF0000000000022F00000450000006700000089000000AB000000BCF00000EF0000020FF12003DFF31005BFF510079FF710098FF9100B5FFB100D4FFD100FFFFFF0000000000142F000022500000307000003D9000004CB0000059CF000067F0000078FF11008AFF31009CFF5100AEFF7100C0FF9100D2FFB100E4FFD100FFFFFF0000000000262F0000405000005A700000749000008EB00000A9CF0000C2F00000D1FF1100D8FF3100DEFF5100E3FF7100E9FF9100EFFFB100F6FFD100FFFFFF00000000002F26000050410000705B000090740000B08E0000CFA90000F0C30000FFD21100FFD83100FFDD5100FFE47100FFEA9100FFF0B100FFF6D100FFFFFF00000000002F1400005022000070300000903E0000B04D0000CF5B0000F0690000FF791100FF8A3100FF9D5100FFAF7100FFC19100FFD2B100FFE5D100FFFFFF00000000002F030000500400007006000090090000B00A0000CF0C0000F00E0000FF201200FF3E3100FF5C5100FF7A7100FF979100FFB6B100FFD4D100FFFFFF00000000002F000E00500017007000210090002B00B0003600CF004000F0004900FF115A00FF317000FF518600FF719C00FF91B200FFB1C800FFD1DF00FFFFFF00000000002F0020005000360070004C0090006200B0007800CF008E00F000A400FF11B300FF31BE00FF51C700FF71D100FF91DC00FFB1E500FFD1F000FFFFFF00000000002C002F004B0050006900700087009000A500B000C400CF00E100F000F011FF00F231FF00F451FF00F671FF00F791FF00F9B1FF00FBD1FF00FFFFFF00000000001B002F002D0050003F007000520090006300B0007600CF008800F0009911FF00A631FF00B451FF00C271FF00CF91FF00DCB1FF00EBD1FF00FFFFFF000000000008002F000E005000150070001B0090002100B0002600CF002C00F0003E11FF005831FF007151FF008C71FF00A691FF00BFB1FF00DAD1FF00FFFFFF00000000000000000000000000000000000000000000190E08080E19000000000000001100000000020300000000120000000000000000003538000000000001001000341C00001B4B4B1100001326000F0A194B4A200D474F3A000015313213090A04394F4A454B4304001330322806090E0201364F4F480E000B2D3227010009120A07214F4F4609052C3232230000091D17364B4F484F3E29322E323224010922374B4F3B1C494B40300C25323214093A35443D1E1A364F4F2B0702162A000F003D3B3733211F424212100A080402000000413F3C393634221E1B18111D00000000000045423D3B38363A3F0000000000000000000000000000000000000000FFFF0000F81F0000C003000080010000000000000000000000000000000000000000000000000000000000000000000080010000C0030000F00F0000FFFF0000";
 $icon = hexdump($icon, , "ri");
 writefile($path."\default.ico", $icon, , "b");
[/size]
And here's the same for base64

Code: Select all

 $path = "<xyscripts>\xyskins";
 $icon = "AAABAAIAICAAAAEACACoCAAAJgAAABAQAAABAAgAaAUAAM4IAAAoAAAAIAAAAEAAAAABAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUFBQAGCgwACQkJAAsNDgANDQ0AAAoRAAANFwAADxoAChAVAAASHgAREREAFRUVABkZGQAdHR0AABQiAAgXIQAAGCgACCIzACAgIAAlJSUAKSkpAC0tLQAxMTEANjY2ADg4OAA9PT0AACZAAAApRAAALUsAECxAABk4TAAAMVIAADJUABc/WgAAS30AAEx/AAhNfAAZUngAQUFBAERERABISEgATU1NAFJSUgBVVVUAWlpaAF1dXQBiYmIAZWVlAGlpaQBtbW0AcnJyAHR0dAB5eXkAfn5+AABNgAAYWIMAGFuIAABZlQAAW5gAAGGiAABprwAMcLIABnS+AA50uAAJeMIAB33LABJ8wwAWf8YAAH3RAAGF3QAOh9gAF4rYAACH4QABieUAAI/vAAqR6wAAkfIAAJL0AACU9gAAlfoAAJf8AACY/gAGm/8AB5z/AA2c+wAInP4AcMX9AIGBgQCFhYUAiYmJAI2NjQCQkJAAlZWVAJmZmQCdnZ0AoaGhAKampgCpqakAra2tALGxsQC1tbUAubm5AL29vQCW1f8AwcHBAMTExADIyMgAzc7OANHR0QDW1tYA2dnZAMHm/gDi4uIA5eXlAOjo6ADu7u4A8fHxAPX19QD5+fkA/v7+ANj/MQDe/1EA4/9xAOn/kQDv/7EA9v/RAP///wAAAAAALyYAAFBBAABwWwAAkHQAALCOAADPqQAA8MMAAP/SEQD/2DEA/91RAP/kcQD/6pEA//CxAP/20QD///8AAAAAAC8UAABQIgAAcDAAAJA+AACwTQAAz1sAAPBpAAD/eREA/4oxAP+d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AOEA8ADwEf8A8jH/APRR/wD2cf8A95H/APmx/wD70f8A////AAAAAAAbAC8ALQBQAD8AcABSAJAAYwCwAHYAzwCIAPAAmRH/AKYx/wC0Uf8AwnH/AM+R/wDcsf8A69H/AP///wAAAAAACAAvAA4AUAAVAHAAGwCQACEAsAAmAM8ALADwAD4R/wBYMf8AcVH/AIxx/wCmkf8Av7H/ANrR/wD///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAGQ4ICA4ZAAAAAAAAABEAAAAAAgMAAAAAEgAAAAAAAAAAADU4AAAAAAABABAANBwAABtLSxEAABMmAA8KGUtKIA1HTzoAABUxMhMJCgQ5T0pFS0MEABMwMigGCQ4CATZPT0gOAAstMicBAAkSCgchT09GCQUsMjIjAAAJHRc2S09ITz4pMi4yMiQBCSI3S087HElLQDAMJTIyFAk6NUQ9Hho2T08rBwIWKgAPAD07NzMhH0JCEhAKCAQCAAAAQT88OTY0Ih4bGBEdAAAAAAAARUI9Ozg2Oj8AAAAAAAAAAAAAAAAAAAAAAAAAAP//AAD4HwAAwAMAAIABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIABAADAAwAA8A8AAP//AAA=";
 $icon = base64decode($icon);
 writefile($path."\default.ico", $icon, , "b");
[/size]
They both work, I wonder why they shouldn't on your system. Maybe some locale/codepage issue, since both encodings are converted to localized strings (cfr. http://www.xyplorer.com/xyfc/viewtopic.php?f=2&t=11923 ) before being written to disk?
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: XYSkinner

Post by SkyFrontier » 19 Jun 2014 15:07

Virgin copy of XY:
I entered the C: drive;
placed those 2 themes along with default one;
manually unpacked the .zip (already did this step in previous attempts anyway).

THEN the script worked as expected.
Awesome job as usual, Sammay. Eagerly waiting more themes to show up!
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

Post Reply