Thread: How to add a custom background to your client

Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1 How to add a custom background to your client 
    ( ͡° ͜ʖ ͡°)

    Magic's Avatar
    Join Date
    Mar 2009
    Age
    25
    Posts
    1,462
    Thanks given
    111
    Thanks received
    184
    Rep Power
    79
    Purpose: To add custom backgrounds to your client.
    Difficulty: As hard as you make it.
    Classes modified: Class30_Sub2_Sub1_Sub1

    1. Open up Class30_Sub2_Sub1_Sub1.

    2. Search for:
    Code:
    Image image = Toolkit.getDefaultToolkit().createImage(abyte0);
    3. Comment it out or delete it. (I highly recommend commenting it out with // incase you don't want a custom background anymore >.<)

    After commenting it out it should look like this:
    Code:
    //Image image = Toolkit.getDefaultToolkit().createImage(abyte0);
    4. Now above your commented-out line add:
    Code:
    Image image = Toolkit.getDefaultToolkit().getImage(("./Sprites/background.png"));
    Now go to the root of your client (Where all of your classes are) and make a folder called "Sprites" (With a capital "S".) And put your custom background in it.

    Most client backgrounds are 765x503 but yours may differ. Now open your client background in paint, and at the very top in the middle, cut half of it and rotate it so it looks like this: Or just follow this tutorial - all credits to im0wned:
    [Only registered and activated users can see links. ]

    Hope I helped!
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Apr 2008
    Posts
    1,075
    Thanks given
    106
    Thanks received
    39
    Rep Power
    0
    A better idea is to replace the image being used right now for the background with another.
    Reply With Quote  
     

  3. #3  
    ( ͡° ͜ʖ ͡°)

    Magic's Avatar
    Join Date
    Mar 2009
    Age
    25
    Posts
    1,462
    Thanks given
    111
    Thanks received
    184
    Rep Power
    79
    But this is for people who don't have custom backgrounds enabled. This is how to enable it. Because what if it is the default RuneScape background and they don't have a custom background in any folders?
    Reply With Quote  
     

  4. #4  
    C.J.B
    Guest
    Quote Originally Posted by Khan6195 View Post
    But this is for people who don't have custom backgrounds enabled. This is how to enable it. Because what if it is the default RuneScape background and they don't have a custom background in any folders?
    I think he's talking about replacing it in the cache.
    Reply With Quote  
     

  5. #5  
    ( ͡° ͜ʖ ͡°)

    Magic's Avatar
    Join Date
    Mar 2009
    Age
    25
    Posts
    1,462
    Thanks given
    111
    Thanks received
    184
    Rep Power
    79
    Quote Originally Posted by C.J.B View Post
    I think he's talking about replacing it in the cache.
    Ah, but he didn't mention it so I didn't understand what he meant. My bad. I also made this because I can't open my cache with the Cache Suite.
    Reply With Quote  
     

  6. #6  
    Community Veteran

    Purehit's Avatar
    Join Date
    Oct 2006
    Posts
    960
    Thanks given
    445
    Thanks received
    645
    Rep Power
    5000
    Very easy to do. Good for people who don't know though. Good job.
    Reply With Quote  
     

  7. #7  
    Registered Member
    Warlock 999's Avatar
    Join Date
    Jul 2008
    Age
    28
    Posts
    1,407
    Thanks given
    7
    Thanks received
    29
    Discord
    View profile
    Rep Power
    927
    This is stupid... Everyone knows this plus it's in the wrong section it should be in snippets.
    If anyone needs help with java questions or errors I will try and help with what I can/know
    my discord is Perkaholic feel free to add me with questions or to chat!

    "There is always one more thing you can do to increase your odds of success." -Hal Moore
    Reply With Quote  
     

  8. #8  
    ( ͡° ͜ʖ ͡°)

    Magic's Avatar
    Join Date
    Mar 2009
    Age
    25
    Posts
    1,462
    Thanks given
    111
    Thanks received
    184
    Rep Power
    79
    Wow, calm down. It was my very first tutorial.
    Reply With Quote  
     

  9. #9  
    Registered Member Shadowisle508's Avatar
    Join Date
    Sep 2009
    Age
    29
    Posts
    43
    Thanks given
    0
    Thanks received
    0
    Rep Power
    2
    cool it helped check out my server xD
    [Only registered and activated users can see links. ] [Only registered and activated users can see links. ]

    Come out and Join Shadowisle 525-PvP 24/7.
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  10. #10  
    Banned

    Join Date
    Sep 2009
    Posts
    3,247
    Thanks given
    195
    Thanks received
    255
    Rep Power
    0
    Why've we got to flip it it's piss annoying and format always messes up for me :@ is that the way its coded or is there a way around it?
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Tags for this Thread

View Tag Cloud

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