Hacking Help Needed Interpreting Hexes/UTF-8 for Acekard Theme

WhatManual

New Member
OP
Newbie
Joined
May 14, 2021
Messages
3
Trophies
0
Age
20
XP
47
Country
United States
Though it feels like a very noob question to ask, how do I interpret the following hexes? This is found in the uisettings file in the theme and I assume these are color hexes, but it's too short to be a straight color hex. This is just a small part of the uisettings file.

(I'd just snip the damn uisettings file but I'm a newcomer and cant post images)

I've stuffed it into an online UTF-8 Tool, interpreting the numbers as a hex code print, which was the only option I've tried both within and outside of the UTF-8 that made the numbers intelligible into a hex. Even then, I'm not certain whether the outputted colors correlate correctly (it may just be the black background, but all of the outputted hexes are too light. 0x0C0F, the highlight color for the [calendar day] is interpreted as E0B08F, which seems far too light to be the right color, though my eyesight may just be bad and the black background may just be darkening an apparently transparent highlight)

How are the hexes/UTF-8/numbers 0x39CE,0x2D6B and so on to be interpreted so that I know what color I'm changing something into?
Are the hexes even then 1:1 with what appears on my DS, or will they be desaturated (I play on low brightness so that may be why colors look off)?
Is this what you guys did when you made custom themes? The tutorial I found here that recommends some software leads to some dead links, like every other theme website I've tried to go through (though I have found a github with a few working themes from a reddit post).
 

Pk11

A catgirl with a DSi
Member
Joined
Jun 26, 2019
Messages
1,285
Trophies
1
Age
22
Location
米国
Website
xn--rck9c.xn--tckwe
XP
3,912
Country
United States
They're not UTF-8, that's for encoding Unicode text not colors, what they actually are is colors in BGR15 (blue, green, red, with 5 bits. Normal hex colors are RGB24, red, green, blue, with 8 bits each).

The reason the numbers don't make much sense is that 5 bits doesn't cleanly line up with the 4 bits each digit represents so some digits are affected by both blue and green or green and red. This color format is pretty common on the DS as it matches exactly with what the DS actually uses so no conversion is necessary, if you used 24-bit colors on DS then they would need to be converted down to these 15-bit colors to actually be used which could look a bit different depending on how accurately you do the conversion.

This web page lets you convert normal 24-bit RGB colors into BGR15 and gives a nice explanation of what it's doing: http://www.conradshome.com/html2bgr15/

One minor thing to note is that the highest bit, bit 15, is used for transparency, the colors you have currently don't have it set as the Acekard menu must either force it or use rendering modes that ignore it, but that site will set it so colors might have different numbers but are actually the same, for example you have black as 0x0000 but that site will do 0x8000, these will look identical though so nothing to worry about.

For making themes, I've only made one and it was a while ago but iirc I used GIMP to edit the images and that site to get the converted colors.
 
  • Like
Reactions: WhatManual

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • ZeroT21 @ ZeroT21:
    @BakerMan Make me a space cake plz
  • BigOnYa @ BigOnYa:
    I make rum cake for 4th July every year, I make it a week prior and then soak it in rum in the fridge all week. I flip the cake each day, and add little more rum, it soaks it up everyday, so good.
    +2
  • BakerMan @ BakerMan:
    sorry, idk what you mean by a space cake, and even if i did, i'm not really taking requests right now, because otherwise people will get mad at me for taking a request but not making a birthday cake for @Xdqwerty (i'm sorry for that btw bro)
  • ZeroT21 @ ZeroT21:
    @BakerMan lies, you just want to smoke it

    :rofl2:
    +1
  • ZeroT21 @ ZeroT21:
    Guess all the food in my fridge can knock out a cow or two
  • ZeroT21 @ ZeroT21:
    I should visit Florida again, miss the alligator barbecues
  • BigOnYa @ BigOnYa:
    Me and wifey was deciding on our next vacation, so I hung up a map on the wall, and give her a dart and said, wherever you hit, we will go. She threw the dart and it missed the map completely and fell into a trash can below on floor. So I said "ok Florida it is."
    +2
  • BakerMan @ BakerMan:
    @ZeroT21 ohhh a pot cake?
    +2
  • SylverReZ @ SylverReZ:
    Gimme some of dat
    +4
  • BakerMan @ BakerMan:
    oh yeah i don't use weed,in my baking or in general
  • BakerMan @ BakerMan:
    besides isn't it usually gummies or brownies?
  • AncientBoi @ AncientBoi:
    So, make a "New Trend"
  • BakerMan @ BakerMan:
    i just said i don't use weed
  • BigOnYa @ BigOnYa:
    You can add it in anything really, you can even make a butter/oil with it, then use that oil in anything
  • BakerMan @ BakerMan:
    besides i'm literally a minor and neurodivergent, so telling me to make a cake with cannabis is traumatizing me, ur cancelled buddy /s/srs
  • BakerMan @ BakerMan:
    (nah jk i'm just parodying those "i'm literally a minor and neurodivergent" mfs on twitter)
    +1
  • BigOnYa @ BigOnYa:
    Michigan has legal rec, so you only have few more years, is it 18 or 21 up there? 21 here in Ohio.
  • BakerMan @ BakerMan:
    prob 21, idk tho
    +1
  • ZeroT21 @ ZeroT21:
    Guess I'll go with plan B and make a Rum Vanilla flavored ice cream
    +1
  • BigOnYa @ BigOnYa:
    That sounds damn good.
  • AncientBoi @ AncientBoi:
    Nah. Tequila maybe
  • AncientBoi @ AncientBoi:
    That, or Old No. 7
  • BigOnYa @ BigOnYa:
    I'm ashamed to ask, but what is old no 7?
  • AncientBoi @ AncientBoi:
    Jack Daniels
    +2
  • BigOnYa @ BigOnYa:
    Oh yea, duh
    +1
    BigOnYa @ BigOnYa: Oh yea, duh +1