Page 6 of 9 FirstFirst 123456789 LastLast
Results 51 to 60 of 85

Thread: Shock Skin v 5.0 Released

  1. #51
    Constant Bitrate C4DAO's Avatar
    Join Date
    Apr 2007
    Location
    Cardiff
    Posts
    125
    Oh yeah and iList works in the background directory browser now
    Can you post your code for this? I've been wanting to do this on the Shock V3.6 skin!

  2. #52
    Raw Wave treetop777's Avatar
    Join Date
    Sep 2006
    Location
    War-Town, GA.
    Posts
    2,093
    @BLK

    I spent many of sleepless nights trying to figure that one out; i came to the conclusion that background.skin does not have the same functions (code) as picviewer.skin and therefore will not work as far as giving a preview.
    Good news is there is a work around courtesy of monkeyracer (you have to go back to picviewer.skin tho); In picviewer.skin, make these lines look like this (button coordinates might be different):

    SD,00,00,50,50,"$skinpath$backgrounds","*.jpg",0,, ,,,,,

    B005,365,334,127,44,"SETVARBYCODE;LISTTEXT;LISTTEX T||SETVAR;background;$picspath$\$LISTTEXT$||SAVETO SKIN;background;$picspath$\$LISTTEXT$||RELOADSKIN| |Load;PicViewer.skin",

    Set picspath to a central BG folder and now you can delete the BG folder within Shock. Any skin with a pickviewer.skin BG changer can feed from the same BG folder. Again, thanks to Monkeyracer.

    Waiting for ver6. Indeed, i will welcome back the way the buttons used to work (don't worry to much about it 'cause i can easily change it). Lot less smudges on the screen

    P.S. Watch for artifacts and unwanted spaces in the code above.

  3. #53
    Maximum Bitrate crooper's Avatar
    Join Date
    Nov 2006
    Location
    Everett, WA
    Posts
    467
    I too struggled with the picviewer.skin vs. other names. It seemed absurd to me that the functionality of the page would have anything to do with its filename, but apparently it does. To get the preview to work it HAS to be named picviewer.

  4. #54
    High Voltage blk02si's Avatar
    Join Date
    Jul 2005
    Location
    Motorcity
    Posts
    2,183
    Blog Entries
    1
    Well I am going to be a pioneer here and keep it as background.skin

    Hopefully Guino can shed some light on the subject, as picviewer and background skin should be separate entities. I finally got the background code working correctly, and I want to build from there. Next step is to get the preview to work.

    Here is my working code snip, this code works with the background=c:/xxx/yyy in rr.ini

    This also has working iList code C4DAO, but you will need the art to make it functional.

    I've worked long time to make the list completely transparent as you're used to seeing in shock series and still have the global variable to change color.

    Code:
    /Background Change Code
    
    B,558,294,219,92,"SETVARBYCODE;LISTTEXT;LISTTEXT||SETVAR;background;$backgroundpath$\$LISTTEXT$||SAVETOSKIN;background;$backgroundpath$\$LISTTEXT$||RELOADSKIN||Load;background.skin",
    
    J,555,85,223,157
    
    SD,00,03,,,"$backgroundpath$","*.jpg",0,,,,,,,
    
    S01,100,83,426,304,255,255,255,0,0,0,255,255,255,255,255,255,255,255,200,#TOPBAR_RED#,#TOPBAR_GREEN#,#TOPBAR_BLUE#,false,#LIST_SIZE#,#FONT#
    
    IL,DL,transparent.bmp,selBK.bmp,,0,50,60
    The "J" line seems to be useless now.

    In any event I've got some good things cooking up for version 6. Not sure when the release will be yet as I'm considering adding HD radio and phone support to pair up with my blackjack + some more tweaks for speed.

    I also removed all the vertical sliders as they are really useless with iList going on.

    Here is a little teaser to confirm a new release is in production
    Attached Images Attached Images  
    Build Things, it keeps your brain busy.

    AutoPC v1 (Retired) - AutoPC v2 (in progress) - www.shocknet.us

  5. #55
    Constant Bitrate C4DAO's Avatar
    Join Date
    Apr 2007
    Location
    Cardiff
    Posts
    125
    Cheers for the code mate - I will try that in ShockV3.6 tonight!

    Any chance you could email me the graphics used? It would save me guessing!

    If I get a chance tonight i'll also email you the V3.6 archive it you want it to host.

  6. #56
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448
    You can create a background preview skin using the following skin code:

    Code:
    SD,0,0,0,0,"$backpath$","*.jpg;*.png;*.gif;*.bmp",TRUE
    
    /, B, x, y, w, h, Command;COMMANDCODES, Tooltip
    B21,0,550,89,50,"EXIT",""
    B09,600,121,113,50,"PGUP||SETVARBYCODE;imgfilename;LISTTEXT",
    B10,600,171,113,50,"UP||SETVARBYCODE;imgfilename;LISTTEXT",
    B13,600,372,114,50,"DOWN||SETVARBYCODE;imgfilename;LISTTEXT",
    B14,600,422,114,50,"PGDOWN||SETVARBYCODE;imgfilename;LISTTEXT",
    
    /, S, x, y, w, h, fore R;RGB, G, B,  back R;RGB, G, B,  folder R;RGB, G, B,  file R;RGB, G, B, selected R;RGB, G, B, select R;RGB, G, B, trs, font pt;FONT, font name
    S01,310,135,286,326,#FORER#,#FOREG#,#FOREB#,#DUMMYR#,#DUMMYG#,#DUMMYB#,#FOLDERR#,#FOLDERG#,#FOLDERB#,#FILER#,#FILEG#,#FILEB#,#SELECTEDFORER#,#SELECTEDFOREG#,#SELECTEDFOREB#,#SELECTEDFONTR#,#SELECTEDFONTG#,#SELECTEDFONTB#,true,#LISTSIZE01#,#LISTFONT01#
    
    /, J, x, y, w, h
    I01,155,211,138,148,"FILE;$backgroundpath$$imgfilename$:A"
    Add this line in ExecTBL.ini
    Code:
    "ONFILECLICK","SETVARBYCODE;imgfilename;LISTTEXT",<skinfilename>
    
    
    .
    I the "I" code will display the highlighted item in the directory list.
    Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

  7. #57
    High Voltage blk02si's Avatar
    Join Date
    Jul 2005
    Location
    Motorcity
    Posts
    2,183
    Blog Entries
    1
    Thanks Sal, I will see if I can get it working from your example./ Personally I don't even mind if I don't have a preview but the general public seems to really want the preview feature
    Build Things, it keeps your brain busy.

    AutoPC v1 (Retired) - AutoPC v2 (in progress) - www.shocknet.us

  8. #58
    High Voltage blk02si's Avatar
    Join Date
    Jul 2005
    Location
    Motorcity
    Posts
    2,183
    Blog Entries
    1
    Awesome, IT WORKS!!!

    I had to hack on your code for awhile but I got it to work, thanks again Sal!!

    Not sure if you forgot this but the 'I' code would not work until I finally put a slash in there to separate the variables into a directory like structure.

    Here is the snip that makes the background.skin display the preview:
    Code:
    I01,555,85,223,157,"FILE;$backgroundpath$/$imgfilename$:a"
    You can see where the slash is added.

    Also here is what the up/down buttons look like in background.skin:
    Code:
    B,6,305,70,81,"PGDOWN||SETVARBYCODE;imgfilename;LISTTEXT",
    B,7,237,70,66,"DOWN||SETVARBYCODE;imgfilename;LISTTEXT",
    B,8,84,70,84,"PGUP||SETVARBYCODE;imgfilename;LISTTEXT",
    B,6,171,70,66,"UP||SETVARBYCODE;imgfilename;LISTTEXT",
    and last but not least, the Exectbl.ini entry:
    Code:
    "ONFILECLICK","SETVARBYCODE;imgfilename;LISTTEXT",background.skin
    Finally, after quite a few months I have this step completed. It will take that small entry into Exectbl.ini but I will have everything documented in the upcoming release.

    Also, this code seems to work great with the iList feature that is completed on background.skin and all other skin files.
    Attached Images Attached Images  
    Build Things, it keeps your brain busy.

    AutoPC v1 (Retired) - AutoPC v2 (in progress) - www.shocknet.us

  9. #59
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448
    Quote Originally Posted by blk02si View Post
    Awesome, IT WORKS!!!

    I had to hack on your code for awhile but I got it to work, thanks again Sal!!

    Not sure if you forgot this but the 'I' code would not work until I finally put a slash in there to separate the variables into a directory like structure.

    Here is the snip that makes the background.skin display the preview:
    Code:
    I01,555,85,223,157,"FILE;$backgroundpath$/$imgfilename$:a"
    You can see where the slash is added.

    Hmmm...wierd. Normally, there's a trailing backslash on the folder path. That's why I left out the "/"

    Oh well. Looks great!
    Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

  10. #60
    High Voltage blk02si's Avatar
    Join Date
    Jul 2005
    Location
    Motorcity
    Posts
    2,183
    Blog Entries
    1
    Operation blackjack has begun. (i607 samsung)

    I bought a bluetooth adapter and am going to figure out the phone menu.
    Build Things, it keeps your brain busy.

    AutoPC v1 (Retired) - AutoPC v2 (in progress) - www.shocknet.us

Similar Threads

  1. Virtual Earth cache builder? Or even gps simulator to make it cache?
    By thepunkerguy in forum DigitalMods (Scripts / API)
    Replies: 183
    Last Post: 08-28-2008, 09:58 PM
  2. Digital FX 2.0 Transparent Released
    By JohnWPB in forum RR Skins No Longer Supported
    Replies: 3759
    Last Post: 03-07-2008, 01:23 PM
  3. Replies: 145
    Last Post: 09-09-2007, 11:38 PM
  4. Shock Skin - v1.0 & v2.0
    By blk02si in forum RR Skins
    Replies: 74
    Last Post: 07-28-2007, 09:59 AM
  5. Hard drive shock / vibration thoughts
    By S11D336B in forum General Hardware Discussion
    Replies: 60
    Last Post: 09-27-2006, 12:40 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •