Page 1 of 2 12 LastLast
Results 1 to 25 of 42

Thread: Creating your own font set for Simba

  1. #1
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default Creating your own font set for Simba

    In this tutorial i will show you how to create a font set which you can use in Simba, this will be of use for people who want to create a font set for private servers

    There are 2 parts to this tutorial, the first is if you are going to use the official RS client, the second is if you want to do it the long way or if it is for a unofficial client or if it is not for RS at all.

    before i start with the methods i will quickly explain how to name the images

    when you name the files make sure you save them as .bmp and for the file name, save them as the decimal number from the ASCII table


    now onto the methods

    First: GLIntercept method

    OpenGL is, well, open. this means we can do lots of cool stuff with it such as modifying what happens or even reading what happens, for this we will just read the client.

    Download and install GLIntercept from here: http://glintercept.nutty.org/download.html

    next go to C:/Program Files/GLInterceptx_y , x and y being the version number

    then copy gliConfig.ini and OpenGL32.dll into your C:/Program Files/Java/jre6/bin

    now run RS and start it in OpenGL mode, not Safe mode, Software or DirectX

    no go back to your java/bin folder and there will be a new folder called Images
    go into this folder and you will find a image like this one


    there will be several of these so find the one you need for your charset

    now you neet to flip and rotate this image to give you this


    now you need to simply extract the chars from this and invert the colors to give you the charset

    NOTE: i have no idea what the spacing is on this method but im sure if you spend a bit of time, it wont be hard to find

    Second: The long Paint method

    Noe this part of the tutorial will be from within RS
    Here is a screenshot of RS


    I will be making fonts for the friend chars


    i will make them from this name as it has a range of characters
    so first of all you want to create it so that it is as close to the characters without chopping any of them off


    now as we can see from this screenshot, there is one pixel to the right of each letter, so we will make sure we always go one pixel to the right of the letter


    so we select what we want


    and paste that into a new file


    then what we are interested in gets turned white, and what we dont want gets turned black


    now do the same to the rest of them

    then turn it black and white


    to name the images, refer to above

    so M is 77.bmp
    and u is 117.bmp

    ~shut
    Last edited by Shuttleu; 12-04-2010 at 11:04 AM.

  2. #2
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    If you want this to be advanced you can talk about using OpenGL to hook the font bitmaps to save time
    Add my msn if you want to talk about it.. You can find it in my profile

  3. #3
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Quote Originally Posted by Zyt3x View Post
    If you want this to be advanced you can talk about using OpenGL to hook the font bitmaps to save time
    Add my msn if you want to talk about it.. You can find it in my profile
    but OpenGL isnt used in private servers though...
    i suppose i could add it for when RS gets updated

    ~shut

  4. #4
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    Why limit it only to private servers?

    Anyways, good tutorial you got there

  5. #5
    Join Date
    May 2007
    Location
    Some where fun.
    Posts
    2,891
    Mentioned
    1 Post(s)
    Quoted
    5 Post(s)

    Default

    I'm going to use this. Thanks , repped you.

  6. #6
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    OpenGL!
    Awesome. Rep+!

    Also, the spacing differs on charset to charset... I tried making an auto-updater but found out that the spacing differs, and some characters might even overlap..

  7. #7
    Join Date
    Dec 2010
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hello I'm fairly new to Simba and I'm looking to create my own font set. I was wondering whether the text had to be white. Essentially will it recognize the text I'm searching for if it was in a different color and the font set is in black and white?

  8. #8
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,691
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Quote Originally Posted by `Divine View Post
    Hello I'm fairly new to Simba and I'm looking to create my own font set. I was wondering whether the text had to be white. Essentially will it recognize the text I'm searching for if it was in a different color and the font set is in black and white?
    No, the text must be white and the background black. (Background can probably be something else but that's not a good idea)
    Obviously it can recognise text in other colours, but the font set needs to be white/black.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  9. #9
    Join Date
    Nov 2007
    Location
    46696E6C616E64
    Posts
    3,069
    Mentioned
    44 Post(s)
    Quoted
    302 Post(s)

    Default

    Quote Originally Posted by `Divine View Post
    Hello I'm fairly new to Simba and I'm looking to create my own font set. I was wondering whether the text had to be white. Essentially will it recognize the text I'm searching for if it was in a different color and the font set is in black and white?
    Yes it will recognize it, its used as a bitmap mask.
    There used to be something meaningful here.

  10. #10
    Join Date
    Dec 2010
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Alright thanks. One last thing, if the same text is used a different size, then will it be recognized or will I need to create a separate set?

  11. #11
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,691
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Quote Originally Posted by `Divine View Post
    Alright thanks. One last thing, if the same text is used a different size, then will it be recognized or will I need to create a separate set?
    Separate set.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  12. #12
    Join Date
    Dec 2010
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks.

  13. #13
    Join Date
    Dec 2006
    Location
    Houston, TX USA
    Posts
    4,791
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I'd consider adding the outline red to making the fonts explanation in your tutorial.

  14. #14
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,691
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Quote Originally Posted by IceFire908 View Post
    I'd consider adding the outline red to making the fonts explanation in your tutorial.
    What do you mean? The shadow of the fonts? If so, that's not a requirement for fonts. Simba doesn't even use it, either. So it's pretty pointless to add it.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  15. #15
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Quote Originally Posted by Wizzup? View Post
    What do you mean? The shadow of the fonts? If so, that's not a requirement for fonts. Simba doesn't even use it, either. So it's pretty pointless to add it.
    thats reminded me to ask you

    why does the fonts have red outlines for the shadow if they're not used?

    ~shut

  16. #16
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,691
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Quote Originally Posted by Shuttleu View Post
    thats reminded me to ask you

    why does the fonts have red outlines for the shadow if they're not used?

    ~shut
    It's because SCAR cannot read it otherwise. Don't ask me why it doesn't just generate the shadow itself, because I don't know.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  17. #17
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  18. #18
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    bump here just cuz
    Also: Anyone working on getting new fonts?

  19. #19
    Join Date
    Dec 2007
    Posts
    2,112
    Mentioned
    71 Post(s)
    Quoted
    580 Post(s)

    Default

    Quote Originally Posted by YoHoJo View Post
    bump here just cuz
    Also: Anyone working on getting new fonts?
    i think they've already been made just not implemented, one sec ill get the link

    http://villavu.com/forum/showthread....997#post847997
    Last edited by Kasi; 11-22-2011 at 08:24 PM.

  20. #20
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Quote Originally Posted by pur3b100d View Post
    i think they've already been made just not implemented, one sec ill get the link
    Video in your link was taken down.

  21. #21
    Join Date
    Dec 2007
    Posts
    2,112
    Mentioned
    71 Post(s)
    Quoted
    580 Post(s)

    Default

    Quote Originally Posted by YoHoJo View Post
    Video in your link was taken down.
    thats my sig =] yer iv been meaning to change that for a while now...

  22. #22
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    link in the video of your avatar sig was postcount dude!

  23. #23
    Join Date
    Dec 2006
    Location
    Program TEXAS home of AUTOERS
    Posts
    7,934
    Mentioned
    26 Post(s)
    Quoted
    237 Post(s)

    Default

    Quote Originally Posted by YoHoJo View Post
    Video in your link was taken down.
    SKillrex! <3

  24. #24
    Join Date
    May 2007
    Location
    England/Liverpool
    Posts
    1,004
    Mentioned
    9 Post(s)
    Quoted
    106 Post(s)

    Default

    is it possible to to add multiple Chars for each letter

  25. #25
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

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)

Posting Permissions

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