Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  Rockboy Color
« previous next »
  • Print
Pages: [1]

Author Topic: Rockboy Color  (Read 3992 times)

Offline Quinjamincy

  • Member
  • *
  • Posts: 5
Rockboy Color
« on: February 29, 2008, 06:01:07 PM »
I was wondering if there's a way to change the color palettes on Rockboy.  I know how to change to another one, but I want to know if you can add a custom one.  I play Pokemon Red on it alot and would like it in the same color as it really would be.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Rockboy Color
« Reply #1 on: February 29, 2008, 06:03:02 PM »
Sure, just edit the source code. Rockbox is open source, you just need some programming skills.
Logged

Offline Quinjamincy

  • Member
  • *
  • Posts: 5
Re: Rockboy Color
« Reply #2 on: February 29, 2008, 08:20:31 PM »
Sorry to sound like a noob, but how might I go about doing that?
Logged

Offline Strife89

  • Member
  • *
  • Posts: 354
  • Michael Carr
    • Strife89's blog
Re: Rockboy Color
« Reply #3 on: February 29, 2008, 08:34:03 PM »
Quote from: Quinjamincy on February 29, 2008, 06:01:07 PM
I play Pokemon Red on it alot and would like it in the same color as it really would be.

The same color? Then you want a greyscale pallete, which Rockboy already has. ;)

Options => Set Pallete => Gray (or Light Gray)
« Last Edit: February 29, 2008, 08:36:22 PM by Strife89 »
Logged
Rockbox: Sansa Clip Zip, iPod Color, iRiver H320

Android: Moto X4, Galaxy Tab S2 T710

Offline cool_walking_

  • Rockbox Expert
  • Member
  • *
  • Posts: 695
Re: Rockboy Color
« Reply #4 on: February 29, 2008, 09:30:10 PM »
I think he means when using a Super Game Boy.

http://content.answers.com/main/content/wp/en/f/f1/Bulbasaur_pokemon_red.png
http://www.mobygames.com/images/shots/original/1155425811-00.png

I don't think that'd be possible without the emulator supporting Super Game Boy, which Gnuboy does not (Rockboy is based on Gnuboy).

Quote from: http://en.wikipedia.org/wiki/Gnuboy
It is not compatible with Super Game Boy or Game Boy Advance.
« Last Edit: February 29, 2008, 11:34:40 PM by cool_walking_ »
Logged

Offline Quinjamincy

  • Member
  • *
  • Posts: 5
Re: Rockboy Color
« Reply #5 on: March 01, 2008, 12:04:00 PM »
Actually I meant the Gameboy Color, which has it in color too.  
Logged

Offline Strife89

  • Member
  • *
  • Posts: 354
  • Michael Carr
    • Strife89's blog
Re: Rockboy Color
« Reply #6 on: March 02, 2008, 02:21:51 PM »
So basically you want older games to show up with the Game Boy Color's "default pallete"?

Have you looked at one of the two Multi-color palletes? The first one seems pretty similar to the "old colors" to me. :)
Logged
Rockbox: Sansa Clip Zip, iPod Color, iRiver H320

Android: Moto X4, Galaxy Tab S2 T710

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Rockboy Color
« Reply #7 on: March 02, 2008, 02:23:59 PM »
The gameboy color had special built-in palettes for a few key games, among them Pokemon Blue and Red, and I *believe* Metroid II. I think he's asking about the implementation of these special ones.
Logged

Offline ZincAlloy

  • Member
  • *
  • Posts: 488
Re: Rockboy Color
« Reply #8 on: March 02, 2008, 05:01:49 PM »
these were more colorful on a super game boy: http://content.answers.com/main/content/wp/en/f/f1/Bulbasaur_pokemon_red.png
Logged

Offline Strife89

  • Member
  • *
  • Posts: 354
  • Michael Carr
    • Strife89's blog
Re: Rockboy Color
« Reply #9 on: March 02, 2008, 10:25:46 PM »
I know, I had a Super Game Boy. ;D Pokemon Yellow, Gold, and Silver were "tri mode" cartridges; they had greyscale, Super Game Boy, AND Game Boy Color programming.

Nostalgia aside, I'm not quite sure about the GBC "special palettes". The GBC box (or a GBC game box, maybe) did say that it would render older games with "4 to 10 colors" (whereas the old Game Boy used "4 shades of grey.")

Maybe you guys should look at Visual Boy Advance. (Just a thought; don't know if it's in C or even GLPed. :-[ )
Logged
Rockbox: Sansa Clip Zip, iPod Color, iRiver H320

Android: Moto X4, Galaxy Tab S2 T710

Offline LambdaCalculus

  • Member
  • *
  • Posts: 2257
  • Dreaming of Turing Machines...
    • The Nostalgia Roadtrip
Re: Rockboy Color
« Reply #10 on: March 04, 2008, 03:25:20 PM »
Quote from: Strife89 on March 02, 2008, 10:25:46 PM
Maybe you guys should look at Visual Boy Advance. (Just a thought; don't know if it's in C or even GLPed. :-[ )

VisualBoy Advance is GPL'ed.

http://en.wikipedia.org/wiki/VisualBoy_Advance
Logged
Former Rockbox dev. Rising from the ashes...

Players: iPod Video /w 128GB SSD mod, H320 /w 128GB SSD mod

Offline Quinjamincy

  • Member
  • *
  • Posts: 5
Re: Rockboy Color
« Reply #11 on: March 07, 2008, 11:38:31 AM »
I found all the special pallettes like metroid, but I didn't see on for Pokemon.
Logged

Offline LambdaCalculus

  • Member
  • *
  • Posts: 2257
  • Dreaming of Turing Machines...
    • The Nostalgia Roadtrip
Re: Rockboy Color
« Reply #12 on: March 07, 2008, 11:41:29 AM »
So make one. :)
Logged
Former Rockbox dev. Rising from the ashes...

Players: iPod Video /w 128GB SSD mod, H320 /w 128GB SSD mod

Offline Quinjamincy

  • Member
  • *
  • Posts: 5
Re: Rockboy Color
« Reply #13 on: March 07, 2008, 11:43:03 AM »
How can I do that?
Logged

Offline cool_walking_

  • Rockbox Expert
  • Member
  • *
  • Posts: 695
Re: Rockboy Color
« Reply #14 on: March 08, 2008, 05:08:46 AM »
Set up a development environment: http://www.rockbox.org/twiki/bin/view/Main/DevelopmentGuide

Then look in /rockbox/apps/plugins/rockboy/.
In palette-presets.h, add a new block for your palette (colour codes look to be in the format 0xBBGGRR), and increment this count:
Quote
int palettes [17][4][4] = {

In menu.c, add a line for your new palette in here (in the same order as palette-presets.h):
Code: [Select]
    static const struct opt_items palette[]= {
        { "Brown (Default)", -1 },
        { "Gray", -1 },
        { "Light Gray", -1 },
        { "Multi-Color 1", -1 },
        { "Multi-Color 2", -1 },
        { "Adventure Island", -1 },
        { "Adventure Island 2", -1 },
        { "Balloon Kid", -1 },
        { "Batman", -1 },
        { "Batman: Return of Joker", -1 },
        { "Bionic Commando", -1 },
        { "Castlvania Adventure", -1 },
        { "Donkey Kong Land", -1 },
        { "Dr. Mario", -1 },
        { "Kirby", -1 },
        { "Metroid", -1 },
        { "Zelda", -1 },
    };
and finally, increment this number to match:
Quote
rb->set_option(items[6].desc, &options.pal, INT, palette, 17, NULL );
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  Rockboy Color
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.107 seconds with 14 queries.