• Welcome to SCdev.org. Please log in.

Welcome to the new SCdev forums!

DSTT menu on SCDS1 SDHC....

Started by jmr, March 17, 2008, 08:37:38 AM

Previous topic - Next topic

jmr

Quoteit looks different to me, at least compared to what I saw yesterday
thats cause im using my own skin

QuoteIt would perhaps be better you can list down colours in your reply so I test
i just used trial & error & guessed the colors 90% of the time they just came out grey

examples
0xC808 = light blue
0xFC01 = dark blue
0xFFFF = white
0xFCF5 = purple
0xC3F3 = light green
0xFC5E = pinkish

Dudu.exe

#61
you can use this.. works for me

Quote
Bits... DS uses 15 bits to represent an onscreen color, and one bit for alpha.

example:
COLOR_SELTEXT=0x801F
(in binary or bits, conversion can be done by windows calc)
0x801F = 1000000000011111
or, (0,0,31) with alpha bit set.

The first bit (purple) must be set to 1, or the color will not display at all. Then next 5 bits denote blue, then 5 for green and 5 for red. Another way of looking at it is each 5 bit section is a decimal number between 0 and 31. There are some PC side color pickers out there for people to use, IIRC they are more related to programming but would be useful if Yasu never enters an actual conversion for it.

khan

Quote from: Dudu.exe on April 23, 2008, 12:03:06 AM
you can use this.. works for me

Quote
Bits... DS uses 15 bits to represent an onscreen color, and one bit for alpha.
...
I used 15-bit app linked in the gbatemp 'YSMenu colors' thread to convert my colours but it refuses to work for me properly. it turns my colours into black making them invisible against my black YSMenu skin.

Dudu.exe

#63
I´ve made de conversion in windows calculator, worked fine for me

my settings

[FILELIST]
; COLOR = BIT15 | BGR(5bit x3)
COLOR_PATH=0xFFFF
COLOR_FILE=0x8000
COLOR_FOLDER=0x80DF
COLOR_SELECT=0x8000
COLOR_SELTEXT=0xFFFF

[FILEINFO]
COLOR_TEXT=0x8000

----

Screenshot




i´ve attached the skin if you guys want! ( i´ve made it from a GBAldr skin )


khan

@ dude.exe

I tried the following colours, could please have a look plz ;)

Quote[FILELIST]
; COLOR = BIT15 | BGR(5bit x3)
COLOR_PATH=0x6300
COLOR_FILE=0x7ff8
COLOR_FOLDER=0x7ff0
COLOR_SELECT=0x6300
COLOR_SELTEXT=0x7fff

[FILEINFO]
COLOR_TEXT=0x6300

Help will be appreciated

jmr

@khan
your colors didnt work for me just made them all black



what colors are you trying to get?

khan

@jmr

Could you please convert the following RGB values to valid YSMenu colours plz. :-[

Quote
[FILELIST]
COLOR_PATH= R: 36, G: 216, B: 255
COLOR_FILE= R: 36, G: 216, B: 255
COLOR_FOLDER= R: 155, G: 238, B: 255
COLOR_SELECT= R: 0, G: 162, B: 196
COLOR_SELTEXT= R: 255, G: 255, B: 255

[FILEINFO]
COLOR_TEXT= R: 36, G: 216, B: 255

jmr

sorry thats something Dudu.exe will have to do i didnt really understand his earlier post :-[


Quote from: Dudu.exe on April 23, 2008, 12:03:06 AM
you can use this.. works for me

Quote
Bits... DS uses 15 bits to represent an onscreen color, and one bit for alpha.

example:
COLOR_SELTEXT=0x801F
(in binary or bits, conversion can be done by windows calc)
0x801F = 1000000000011111
or, (0,0,31) with alpha bit set.

The first bit (purple) must be set to 1, or the color will not display at all. Then next 5 bits denote blue, then 5 for green and 5 for red. Another way of looking at it is each 5 bit section is a decimal number between 0 and 31. There are some PC side color pickers out there for people to use, IIRC they are more related to programming but would be useful if Yasu never enters an actual conversion for it.


khan

same here ;D it's too complicated for my brain :buck2:

jmr

ive started a new skin for my YSmenu
i just need to finish the bottom screen.............


Dudu.exe

#70
Well let see how it works..

Use this site to make the conversion Decimal <> Binarie <> Hex ( http://www.paulschou.com/tools/xlate/ )

the color in YSmenu is Hexadecimal

so you got 0XFFFF for white

you must get the last for letters (FFFF) and convert for Binaries ... you will get a 16 bit number:

1 11111 11111 11111

the fist number is opacity, it must be 0.. 1 will make the color do not appear!

then you get 3 rows of 5 bits.. wich row for a primary color...

by knwoing this.. you can mess with colors in Binary..

Black .. 1 00000 00000 00000  -> converting back to hex you get 8000 so in YSMENU it should be 0X8000

RED .. 1 00000 00000 11111  -> converting back to hex you get 801F so in YSMENU it should be 0X801F

BLUE .. 1 11111 00000 00000  -> converting back to hex you get FC00 so in YSMENU it should be 0XFC00

GREEN .. 1 00000 11111 00000  -> converting back to hex you get 83E0 so in YSMENU it should be 0X83E0

the get other colors you just have to mix the colors..


If you do not know how binarie numbers works..  just think in DECIMAL..

00000 is 0
11111 is 31

so each colors can have a value from 0 to 31..

white (31,31,31)
Black (0,0,0)
Blue (31,0,0)
Red (0,0,31)
Green (0,31,0)

so mixing the colors and the value of the colors you can get the colors you want.

I hope this help you guys!


EDIT:

there is this color pick that convert the colors to the YSMENU format.. but i didnt test it, i´ve atached it!!!





Dudu.exe

Quote from: jmr on April 24, 2008, 02:08:39 PM
ive started a new skin for my YSmenu
i just need to finish the bottom screen.............



Cool top.. but if you have rumble the bottom srceen may become messy

jmr

Quotebut if you have rumble the bottom srceen may become messy

im using a ez-flash4 so i dont know what it looks like with rumble can you post a picture

Dudu.exe


khan

@ dude.exe

I tried that RDG15 app and that's how I got my colours but it still does not work 2funny