It is currently March 29th, 2024, 4:35 am

[SOLVED] I broke daelnz shield OS, it wont show strings and button wont work

Get help with creating, editing & fixing problems with skins
Shurtugl
Posts: 2
Joined: January 28th, 2017, 1:57 pm

[SOLVED] I broke daelnz shield OS, it wont show strings and button wont work

Post by Shurtugl »

Hello everyone

First of all thanks for reading me and trying to help.

I've been using the shield OS from Daelnz and media maggot (1.2.0) for quite a while. Sometimes i changed a thing or two to better fit my needs. I had no big issues until today (well, yesterday..)

Here is what my rainmeter looks like :
http://puu.sh/tDUaL/45ac10e3ce.jpg

As you can see, the buttons all show #SLT1# or so. And they do not work anymore (even those on large button, wont do what they are supposed to when i click them). I was modifying the small launchers on the top right corner. I just edit the icon, and i right clicked the button, select rainmeter/refresh all and it worked. It was still with the previous texts (premiere pro, etc..)
I then modified the links in config.inc, refresh again.. and now it is like this.

Just so you know, I already modified those buttons maybe a year ago, to make the 6th one open the documents/rainmeter folder, and it was working well.

I did not modify anything about the clock or the large buttons (at least not today) but those now also show text like #LLT1# or so..

Here is my config.inc
[Variables]

;Large Launcher Buttons====================

LLT=Chrome
;Program Name
LLP=E:\Users\Shurtugl\Documents\Rainmeter\Skins\Avengers\Chrome.lnk
;Program Path
LLI=#SKINSPATH#\avengers\Large Launchers\chrome.png
;Program Icon

LLT2=Steam
LLP2=E:\Program Files (x86)\Steam\Steam.exe
LLI2=#SKINSPATH#\avengers\Large Launchers\steam.png

LLT3=Musique
LLP3=E:\Program Files (x86)\Windows Media Player\wmplayer.exe
LLI3=#SKINSPATH#\avengers\Large Launchers\itunes.png

LLT4=World Of Tanks
LLP4=#SKINSPATH#\avengers\WoT.bat
LLI4=#SKINSPATH#\avengers\Large Launchers\WoT.png

LLT5=Arduino
LLP5=E:\Users\Dael\Downloads\Arduino\Arduino\Arduino.exe
LLI5=#SKINSPATH#\avengers\Large Launchers\arduino.png

LLT6=Skype
LLP6=E:\Program Files (x86)\Skype\phone\skype.exe
LLI6=#SKINSPATH#\avengers\Large Launchers\skype.png

;Small Launcher Buttons===========================

SLT1=WoT Replays
SLP1=F:\World_of_Tanks
SLI1=#SKINSPATH#\Avengers\Small Launchers\SL1.png

SLT2=Fraps
SLP2=H:\Installe\Fraps\Fraps.exe
SLI2=#SKINSPATH#\Avengers\Small Launchers\SL2.png

SLT3=Audacity
SLP3=H:\Installe\Audacity\Audacity.exe
SLI3=#SKINSPATH#\Avengers\Small Launchers\SL3.png

SLT4=Filmora
SLP4=H:\Installe\Wondershare\Wondershare Filmora (FR)\Filmora.exe
SLI4=#SKINSPATH#\Avengers\Small Launchers\SL4.png

SLT5=Videos
SLP5=F:\Videos
SLI5=#SKINSPATH#\Avengers\Small Launchers\SL5.png

SLT6=Rainmeter
SLP6=E:\Users\Shurtugl\Documents\Rainmeter\Skins\Avengers
SLI6=#SKINSPATH#\Avengers\Small Launchers\SL6.png

;Folder Launcher Buttons=========================

FLP1=H:\Downloads
;Folder Path
FLN1=Downloads
;Folder Name

FLP2=I:\
FLN2=Films

FLP3=H:\Perso
FLN3=perso

;FLP4=#SKINSPATH#
;FLN4=Rainmeter

FLP4=E:\_raccourcis
FLN4=JEUX

FLP5=H:\Jeux
FLN5=Rar Jeux

FLP6=%UserProfile%\Pictures
FLN6=Images

FLP7=%UserProfile%\Documents
FLN7=Documents

;Clock Webpages==============================

WN=Facebook
;Webpage Name
WA=https:\\Facebook.com
;Webpage Address

WN2=Laposte.net
WA2=http://www.laposte.net/accueil

WN3=Hotmail
WA3=https://dub130.mail.live.com/ol/Mail.mvc

WN4=Carte TAN
WA4=http:\\tan.cartographie.pro

WN5=Koreus
WA5=http://www.koreus.com/modules/news/

WN6=9GAG
WA6=http://9gag.com/

;Misc======================

player=wmplayer
Drive=E:
EDIT **
I found a backup of an old config.inc, i opened it, compare mine to the old one, and except for the folder paths or string themself, i did not spot any difference. All the lines seems good
** EDIT

What i modified is turn
SLT1=premiere pro
SLP1=(original path from daelnz skin, to his C:/.../premiere)
SLI1=#SKINSPATH#\Avengers\Small Launchers\premiere_pro.png

into this
SLT1=WoT Replays
SLP1=F:\World_of_Tanks
SLI1=#SKINSPATH#\Avengers\Small Launchers\SL1.png

Also the folder Small Launcher is now like this
http://puu.sh/tDUMl/79c31d08a1.jpg


I did not modify small launcher ini, and since it broke all the buttons i think it's a config inc issue, but in case you need it,
[Rainmeter]
Author=Media Maggot | Daelnz
MiddleMouseDownAction=!Execute [!WriteKeyValue Variables Colour1 #Colour2#][!WriteKeyValue Variables Colour2 #Colour3#][!WriteKeyValue Variables Colour3 #Colour1#][!Refresh]

[Metadata]
Name=Small Launchers
Information=6 buttons for launching programs | Change the icons, paths and labels in the Config.inc file | Middle Mouse Button changes the colour
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Version=1.2.0

[Variables]
@include=#SKINSPATH#\Avengers\Config.inc
Colour1=Orange
Colour2=Blue
Colour3=Red

;Styles===============

[TextStyle]
Meter=string
Fontface= gliscor gothic
Fontcolor=255,255,255,255
Fontsize =9
Antialias=1
Stringalign = left


;Launchers=============

[MeterLauncher]
Meter=BUTTON
ButtonImage=Launcher Small Button #Colour1#.png
ButtonCommand=!Execute ["#SLP1#"]
Antialias=1

[MeterLauncher1]
Meter=BUTTON
ButtonImage=Launcher Small Button #Colour1#.png
x=90r
ButtonCommand=!Execute ["#SLP2#"]
Antialias=1

[MeterLauncher2]
Meter=BUTTON
ButtonImage=Launcher Small Button #Colour1#.png
x=90r
ButtonCommand=!Execute ["#SLP3#"]
Antialias=1

[MeterLauncher3]
Meter=BUTTON
ButtonImage=Launcher Small Button #Colour1#.png
x=90r
ButtonCommand=!Execute ["#SLP4#"]
Antialias=1

[MeterLauncher4]
Meter=BUTTON
ButtonImage=Launcher Small Button #Colour1#.png
x=90r
ButtonCommand=!Execute ["#SLP5#"]
Antialias=1

[MeterLauncher5]
Meter=BUTTON
ButtonImage=Launcher Small Button #Colour1#.png
x=90r
ButtonCommand=!Execute ["#SLP6#"]
Antialias=1

;Launcher Text=============

[MeterLauncherText]
meter=string
meterstyle=textstyle
text="#SLT1#"
x = 39
y = 13

[MeterLauncherText2]
meter=string
meterstyle=textstyle
text="#SLT2#"
x = 90r
y = r

[MeterLauncherText3]
meter=string
meterstyle=textstyle
text="#SLT3#"
x = 90r
y = r

[MeterLauncherText4]
meter=string
meterstyle=textstyle
text="#SLT4#"
x = 90r
y = r

[MeterLauncherText5]
meter=string
meterstyle=textstyle
text="#SLT5#"
x = 90r
y = r

[MeterLauncherText6]
meter=string
meterstyle=textstyle
text="#SLT6#"
x = 90r
y = r

;Launchers Icons===========

[MeterLauncherIcon]
meter=image
imagename=#SLI1#
w=20
h=20
x=15
y=4
antialias = 1

[MeterLauncherIcon2]
meter=image
imagename=#SLI2#
w=20
h=20
x=90r
y=r
antialias = 1

[MeterLauncherIcon3]
meter=image
imagename=#SLI3#
w=20
h=20
x=90r
y=r
antialias = 1

[MeterLauncherIcon4]
meter=image
imagename=#SLI4#
w=20
h=20
x=90r
y=r
antialias = 1

[MeterLauncherIcon5]
meter=image
imagename=#SLI5#
w=20
h=20
x=90r
y=r
antialias = 1

[MeterLauncherIcon6]
meter=image
imagename=#SLI6#
w=20
h=20
x=90r
y=r
antialias = 1
Also i might have cut + paste a big part of the config.inc, because i was editing it under notepad++, and you can select and then drag some text using the mouse only... but that is not likely to happen (you nver know, i was tired tho..)

If you ever need more info / screenshots just let me know.


Thank you
Last edited by Shurtugl on January 28th, 2017, 4:07 pm, edited 1 time in total.
User avatar
fonpaolo
Moderator
Posts: 1387
Joined: April 11th, 2013, 8:08 pm
Location: Italy

Re: I broke daelnz shield OS, it wont show strings and button wont work

Post by fonpaolo »

If you edited only the config file, try to change back to previous one or more links and icons as they were before.

Remember to refresh all after you've done the changes.

I don't know if in previous versions there wasn't a configuration skin, in newer there is for sure, so, if there wasn't one, maybe you've changed inadvertently something other, by editing the .inc file.
User avatar
fonpaolo
Moderator
Posts: 1387
Joined: April 11th, 2013, 8:08 pm
Location: Italy

Re: I broke daelnz shield OS, it wont show strings and button wont work

Post by fonpaolo »

Here's the original config.inc file from version 1.2.5.
[Variables]

;Large Launcher Buttons====================

LLT1=Chrome
;Program Name
LLP1=C:\Users\Dael\AppData\Local\Google\Chrome\Application\chrome.exe
;Program Path
LLI1=C:\Users\Dael\Documents\Rainmeter\Skins\Avengers\@Resources\Images\Icons\Chrome.png
;Program Icon

LLT2=Steam
LLP2=D:\Program Files (x86)\Steam\Steam.exe
LLI2=C:\Users\Dael\Documents\Rainmeter\Skins\Avengers\@Resources\Images\Icons\Steam.png

LLT3=iTunes
LLP3=D:\Program Files (x86)\iTunes\iTunes.exe
LLI3=C:\Users\Dael\Documents\Rainmeter\Skins\Avengers\@Resources\Images\Icons\iTunes.png

LLT4=Game Fire
LLP4=C:\Program Files (x86)\Smart PC Utilities\Game Fire\GameFire.exe
LLI4=C:\Users\Dael\Documents\Rainmeter\Skins\Avengers\@Resources\Images\Icons\Gamefire.png

LLT5=Arduino
LLP5=C:\Users\Dael\Downloads\arduino-1.0.2-windows\arduino-1.0.2\arduino.exe
LLI5=C:\Users\Dael\Documents\Rainmeter\Skins\Avengers\@Resources\Images\Icons\arduino.png

LLT6=Firefox
LLP6=C:\Program Files (x86)\Mozilla Firefox\firefox.exe
LLI6=C:\Users\Dael\Documents\Rainmeter\Skins\Avengers\@Resources\Images\Icons\Firefox.png

;Small Launcher Buttons===========================

SLT1=Photshop
SLP1=C:\Program Files\Adobe\Adobe Photoshop CS5.1 (64 Bit)\Photoshop.exe
SLI1=C:\Users\Dael\Documents\Rainmeter\Skins\Avengers\@Resources\Images\Icons\Photoshop2.png

SLT2=Illustrator
SLP2=C:\Program Files (x86)\Adobe\Adobe Illustrator CS5.1\Support Files\Contents\Windows\Illustrator.exe
SLI2=C:\Users\Dael\Documents\Rainmeter\Skins\Avengers\@Resources\Images\Icons\Illustrator.png

SLT3=Premiere Pro
SLP3=C:\Program Files\Adobe\Adobe Premiere Pro CS5.5\Adobe Premiere Pro.exe
SLI3=C:\Users\Dael\Documents\Rainmeter\Skins\Avengers\@Resources\Images\Icons\Premiere.png

SLT4=After Effects
SLP4=C:\Program Files\Adobe\Adobe After Effects CS5.5\Support Files\AfterFX.exe
SLI4=C:\Users\Dael\Documents\Rainmeter\Skins\Avengers\@Resources\Images\Icons\AfterEffects.png

SLT5=Audition
SLP5=C:\Program Files (x86)\Adobe\Adobe Audition CS5.5\Adobe Audition.exe
SLI5=C:\Users\Dael\Documents\Rainmeter\Skins\Avengers\@Resources\Images\Icons\Audition.png

SLT6=MediaEncoder
SLP6=C:\Program Files\Adobe\Adobe Media Encoder CS5.5\Adobe Media Encoder.exe
SLI6=C:\Users\Dael\Documents\Rainmeter\Skins\Avengers\@Resources\Images\Icons\MediaEncoder.png

;Folder Launcher BUttons=========================

FLP1=C:\Users\Dael\Downloads
;Folder Path
FLN1=Downloads
;Folder Name

FLP2=C:\Users\Dael\Dropbox
FLN2=Dropbox

FLP3=C:\Users\Dael\Music
FLN3=Music

FLP4=C:\Users\Dael\Documents\Rainmeter\Skins
FLN4=Rainmeter

FLP5=C:\Users\Dael\Videos
FLN5=Videos

FLP6=C:\Users\Dael\Pictures
FLN6=Pictures

FLP7=C:\Users\Dael\Documents
FLN7=Documents

;Clock Webpages==============================

WN1=Facebook
;Webpage Name
WA1=https:\\facebook.com
;Webpage Address

WN2=Tumblr
WA2=http:\\tumblr.com

WN3=YouTube
WA3=http:\\youtube.com

WN4=deviantART
WA4=http:\\daelnz.deviantart.com

WN5=Google Reader
WA5=http:\\google.com\reader

WN6=Mail
WA6=http:\\mail.yahoo.com

;Misc======================

player=iTunes
Drive=C:
There's only another reason I can think, which may cause the problem you've encountered, maybe editing the file you saved it with the wrong encoding: Encoding
Shurtugl
Posts: 2
Joined: January 28th, 2017, 1:57 pm

Post by Shurtugl »

Hi fonpaolo

You have a great response time :)

Thank you for your advices.
I've tried to modify the config back by copying parts of it from the 1.2.5 version you provided. Didnt work
I've tried copying all of it, wiping my config.inc entirely. Didnt work

Then i've tried to correct encoding issues like that :
Create a new ".txt" file. Copy text from my "config.inc" (actually a Backup_config.inc i made to try copy solutions). Paste text in the ".txt".
Name it config.txt, save.
Change it to config.in ..

And Kaboom ! It do work !

:D

Many thanks, your help is really appreciated. I would have lost so much time building it all again from 1.2.5 and its helpful configuration skin
User avatar
fonpaolo
Moderator
Posts: 1387
Joined: April 11th, 2013, 8:08 pm
Location: Italy

Re: [SOLVED] I broke daelnz shield OS, it wont show strings and button wont work

Post by fonpaolo »

You're welcome. :D