Welcome guest, is this your first visit? Click the "Create Account" button now to join.
Results 1 to 3 of 3

Hybrid View

  1. #1
    Important User Alert/Speedcam icons, what is it and how to change it
    Alert/Speedcam icons, what is it and how to change itAlert/Speedcam icons, what is it and how to change itAlert/Speedcam icons, what is it and how to change itAlert/Speedcam icons, what is it and how to change it
    osiris4isis's Avatar
    Join Date
    Apr 2012
    Location
    Darkside of the Moon
    Posts
    2,848
    Rep Power
    1400

    Default

    The "User" method
    Spoiler: .


    You can use any graphic editor (as long as it can read/write Window BMP format)
    You then need to change the appropriate <res> version you are using. If you don't know, change all <res> versions: ldpi, mdpi, hdpi, xhdpi, xxhdpi, xxxhdpi
    There are at least two .bmp files that need changing but speedwarn1.bmp is more important.
    You will need to determine the height of each icon (icon_height). It's specified in the associate .spr file under "Stripes" For example, with <res>=hdpi the speedwarn1.spr has
    Code:
    Please Login or Register to see the links
    Or you can computed it yourself as bitmap_height/32 (since it's a vertical sprite with 32 icons)
    You then determined where each icon type is located in the sprite .bmp
    For example, for type=0 it will start at y_start=0. The type=1 will starts at y_start=icon_height and type=n will starts at y_start=icon_height*n
    The y_end is just y_start+icon_height
    Use your favorite editor and modified the graphic at y_start to y_end. You can "delete" it by making all pixels in that area transparent. Or you can replaced it with your own. This is not a graphic editor tutorial, so I won't go into detail. I might give one on what graphic editor I'm using later.
    For example, speedwarn1.bmp under the hdpi directory has a resolution of 48x1760, so bitmap_width=48 and bitmap_height=1760
    This makes each icon having a resolution of 48x55, so icon_width=48 and icon_height=55
    the 55 is from .spr or computed as 1760/32=55
    If you want to enlarge each icon to 60x80, you have to create speedwarn1.bmp with the size of 60x2560 because there are 32 icons stacked vertically with each icon_height being 80 for a bitmap_height=80*32=2560

    Last edited by osiris4isis; 2nd April 2019 at 03:34 AM.
    Do not PM me with questions. That's what a forum is for.

  2.    Advertissements


 

 

Tags for this Thread

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
  •