Gecko OS test build

Started by Link, August 02, 2009, 08:29:41 AM

Previous topic - Next topic

Link

Hi,

well, I did try my luck with the released sources. And for quick testing I modified the background picture stuff..

http://l0nk.org/gos-self.7z

What was modified:
-Gecko OS checks whether you have fullscreen (4:3) (also called "normal") or a widescreen (16:9).
-Gecko OS allows PNG files with Alpha channels (32 bit PNGs)

Then Gecko OS will check if the following files exist (in that exact order):
  1. sd:/data/gecko/background-widea.png OR sd:/data/gecko/background-fulla.png
    wide is used if you're in 16:9 mode, full in case of 4:3 mode. If those are the file names, it assumes they have an alpha channel (thus the a in the file name).
  2. sd:/background-widea.png OR sd:/background-fulla.png
    same as 1, just different filepath - alpha is assumed
  3. sd:/data/gecko/background-wide.png OR sd:/data/gecko/background-full.png
    widescreen or fullscreen, this time it assumes no Alpha is being used
  4. sd:/background-wide.png OR sd:/background-full.png
    same as 3, just different filepath
  5. sd:/data/gecko/backgrounda.png
    Just uses a background picture.. it cannot tell whether it's wide or fullscreen it will always assume the PNG has an Alpha channel
  6. sd:/backgrounda.png
    Same as 5 just different path
  7. sd:/data/gecko/background.png
    Old Gecko Setting.. background.png without Alpha
  8. sd:/background.png
    Same as 7, just different path.


The difference in parsing of Alpha and non-alpha PNGs is simple: if you have bubbles enabled, without Alpha the bubbles are used ABOVE your picture.. this makes them always visible above the picture. If alpha however is in use, your PNG is used in foreground so you can create a nice frame for the bubbles (Gecko OS natively uses that way).

For that wide and fullscreen crap.. I often have to carry around my Wii, sometimes it's at my TV (fullscreen), sometimes at my PC monitor (widescreen) using a YUV2VGA converter box.. this ensures the background always looks correctly.

Code modifications are included in the 7z! I can't promise that version runs without flaws, it compiled seemlessly but that's all I can say!