Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: Common background folder - HOW?

  1. #1
    Raw Wave treetop777's Avatar
    Join Date
    Sep 2006
    Location
    War-Town, GA.
    Posts
    2,233

    Common background folder - HOW?

    Anticipating a lot of skin will now have changeable backgrounds, i tried to create a common folder where all skins will have access to the same backgrounds-all in one folder. Worked half-***!

    I used DFX and Shock as ginny pigs; DFX uses picviewer to preview the backgrounds and i added/changed some elements in Shock to also use picviewer to preview; i then changed the picspath= to C:......\my pictures\backgrounds; changeBG.exe and au3 are in the folder - this is what happen:

    1. Leaving the original background folders within the skins (essentially having 3 BG folders) both skin preview the BG (jpg's) fine and can set/apply BG's at will.

    2. since the intent is to have only one BG folder, i deleted the BG folders within the skins. Now, they they both still preview all BG's BUT neither is able to set/apply any background. Both are also transparent with no backgroung.

    3. I then recreated BG folders within the skins but only placed changeBG.exe and au3 within them - can preview but still can't set/apply any BG's

    4. Copied all jpg's into DFX and Shock's BG folders then deleted folder located at My pictures\backgrounds - Now, neither skin see any backgrounds at all (although they do retain the last BG applied).

    Both skins have this code for the set/apply button: "SETVARBYCODE;LISTTEXT;LISTTEXT||SETVAR;background ;$skinpath$background\$LISTTEXT$||SAVETOSKIN;backg round;$skinpath$background\$LISTTEXT$||RELOADSKIN| |Load;PicViewer.skin",

    I'm thinking it has something to do with "SAVETOSKIN" but i don't know for sure or what to do..

    In the end i have to have 3 identical BG folders for everything to work right when the goal is to have only one.

    Was that long-winded or what!

    Appreciate any help.

  2. #2
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,613
    savetoskin saves the background to the skins local skin.ini.

    if you change that to savetoini add a backgrounds path in rr.ini and remove the individual skin.ini's you might get lucky.

    I have requested in the telease thread that a new .skin backgrounds.skin be set up, similar to picskin but for backgrounds. because at present if you want to be able to change backgrounds you lose the picviewer.

  3. #3
    Raw Wave treetop777's Avatar
    Join Date
    Sep 2006
    Location
    War-Town, GA.
    Posts
    2,233
    Quote Originally Posted by Enforcer View Post
    savetoskin saves the background to the skins local skin.ini.

    if you change that to savetoini add a backgrounds path in rr.ini and remove the individual skin.ini's you might get lucky.

    I have requested in the telease thread that a new .skin backgrounds.skin be set up, similar to picskin but for backgrounds. because at present if you want to be able to change backgrounds you lose the picviewer.
    Worked - somewhat! the setting is now being written to rr.ini and the skin can read it (because i renamed it's skin.ini) BUT the skin still needs the entire BG folder to be able to change backgrounds. This is the whole command set associated with previewing and applying the background, in case somebody want to give it a shot. I'm tired of messing with it.

    B,558,294,219,92,"SETVARBYCODE;LISTTEXT;LISTTEXT|| SETVAR;background;$skinpath$background\$LISTTEXT$| |SAVETOINI;background;$skinpath$background\$LISTTE XT$||RELOADSKIN||Load;PicViewer.skin",
    J,559,84,216,203
    SD,00,00,50,50,"$skinpath$background","*.jpg",0,,, ,,,,
    S01,96,83,268,304,255,255,255,0,0,0,255,255,255,25 5,255,255,0,0,0,106,186,86,,18,"ISOCPEUR"
    B,8,324,70,66,"PGDOWN",
    B,9,154,70,66,"DOWN",
    B,6,251,70,66,"PGUP",
    B,8,82,70,66,"UP",
    L,607,327,128,33,255,255,255,18,"ISOCPEUR","=APPLY NOW",

    I'll just wait to see the results of your request. Thanks.

  4. #4
    SMKFree liquid_smoke's Avatar
    Join Date
    Aug 2003
    Location
    Chicago
    Posts
    4,842
    IMO the picspath should be where backgrounds are stored.

    1. Its a path thats already setup in RR to work with the pic viewer

    2. already available as a variable $picspath$

    3. Where the user has photos stored at already and may want to use there own pics as backgrounds and not have to manage multiple folders with pics.

    If you want i can post the code i have that will take whatever pic is being viewed in the picviewer and set it as the background.

    In my skin, the setting of the background is done from inside the RR picviewer, where the user is likely to be viewing pics.
    01101100 01101001 01110001 01110101 01101001 01100100 01011111 01110011
    01101101 01101111 01101011 01100101

    beer replenishment fund
    http://www.mp3car.com/vbulletin/rr-faq/
    mp3car live search

    i have joost invites, just hit me up for one.

  5. #5
    MGD
    MGD is offline
    FLAC
    Auto Apps:loading...
    MGD's Avatar
    Join Date
    Feb 2005
    Location
    Los Angeles
    Posts
    1,756
    You doNt Need the pic_viewer at all to preview the backgrouNd.
    RR 04-11-07 .. GDI+, Silabs & More...

  6. #6
    High Voltage blk02si's Avatar
    Join Date
    Jul 2005
    Location
    Motorcity
    Posts
    2,267
    Blog Entries
    1
    My skin actually does have a background.skin and my code is tweaked a bit since I do not use pic viewer at all. I think the best solution is as liquid states to use the $picspath$ variable.

    My code looks like this

    B,558,294,219,92,"SETVARBYCODE;LISTTEXT;LISTTEXT|| SETVAR;background;$skinpath$background\$LISTTEXT$| |SAVETOSKIN;background;$skinpath$background\$LISTT EXT$||RELOADSKIN||Load;background.skin",


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

    Which you can see is a bit different than what you posted (i assume you modified it)

    I would try to edit all instances of "$skinpath$background" to "$picspath$" and work from there. This will get the skin looking into the pics path defined in rr.ini for background directory listing and when setting them. The SETVARCODE line is processing the actual background change. The SD line is the background directory listing and its looking for all files named jpg ("*.jpeg") in the current skinpath ($skinpath$) in a folder named background (background)

    Changing this should get you the result you are looking for but im not sure if the skins will need to share a common skin.ini file or not.

    Anyway if we decide to use a standard variable defined in rr.ini for the background path I will impliment this into version 4 of my skin.
    Build Things, it keeps your brain busy.

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

  7. #7
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,613
    Quote Originally Posted by blk02si View Post
    I think the best solution is as liquid states to use the $picspath$ variable.

    Still disagree with this, we are using one feature for another purpose at the expense of the original feature.

  8. #8
    High Voltage blk02si's Avatar
    Join Date
    Jul 2005
    Location
    Motorcity
    Posts
    2,267
    Blog Entries
    1
    Maybe we need to talk guino into adding another variable such as $background$ that can be set in RR.ini and will point to a directory. Personally I don't think having a seperate background directory per skin is a bad idea. Its probably because I only use one skin though
    Build Things, it keeps your brain busy.

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

  9. #9
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,119
    Blog Entries
    51
    i'll fool around with the source today and see if i can add a variable. Where would you want it defined? In RR.ini so that every skin can share the same background folder or in skin.ini where each skin could have its own background folder?
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  10. #10

Page 1 of 2 12 LastLast

Similar Threads

  1. Folder date created to folder name
    By dasoviet in forum Road Runner
    Replies: 0
    Last Post: 11-28-2006, 01:53 AM
  2. Next Folder Command
    By skeeter007 in forum Road Runner
    Replies: 1
    Last Post: 01-05-2006, 01:07 PM
  3. Pointing app to offline file folder
    By Nick1_S in forum Software & Software Development
    Replies: 3
    Last Post: 01-13-2005, 05:42 PM
  4. Folder Options
    By PaCMaYNE in forum Media Engine
    Replies: 6
    Last Post: 09-02-2004, 05:23 PM
  5. EAC users: Can it create a folder for each CD?
    By -al- in forum Software & Software Development
    Replies: 5
    Last Post: 11-03-2003, 09:36 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
  •