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:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  is it possible to change the splash screen?
« previous next »
  • Print
Pages: [1] 2

Author Topic: is it possible to change the splash screen?  (Read 12213 times)

Offline Kitty

  • Member
  • *
  • Posts: 21
is it possible to change the splash screen?
« on: August 29, 2006, 06:51:59 PM »
and make it abit cooler?

even if it means editing the cvs on my own risk.. :]
Logged

Offline Mikerman

  • Artist
  • Member
  • *
  • Posts: 721
Re: is it possible to change the splash screen?
« Reply #1 on: August 29, 2006, 07:38:47 PM »
Yep.  You need to change the splashscreen image and then compile (and so, you have to compile the code yourself--this does not work with precompiled code).

Check out the thread at  http://misticriver.net/showthread.php?t=45103&highlight=%2Asplash%2A; it's very easy to do.  Mine now includes my "return to" info.

The general instructions:  

To change the boot logo before you've compiled the source, you just need to go into the \apps\bitmaps\native directory within the source code, and change the correct bmp file.
Logged

Offline Kitty

  • Member
  • *
  • Posts: 21
Re: is it possible to change the splash screen?
« Reply #2 on: August 30, 2006, 09:54:28 AM »
great thanks for the info mate..

another question, can i make it full screen?
Logged

Offline Mikerman

  • Artist
  • Member
  • *
  • Posts: 721
Re: is it possible to change the splash screen?
« Reply #3 on: August 30, 2006, 11:09:50 AM »
I believe that's what the current splashscreens are close to--you can replace the image entirely if you wanted to, I would suppose.  (You also can eliminate the few lines of space at top before the splashscreen image starts, but that requires changing some of the code--there is a post here, I believe, that discusses the lines to change, but I can't find it--and it only was a couple or so of lines of space.)
Logged

Offline Davide-NYC

  • Member
  • *
  • Posts: 429
Re: is it possible to change the splash screen?
« Reply #4 on: August 30, 2006, 08:55:41 PM »
I've changed the startup info screen bitmap to read:

    Please Return To:
    Gene Simmons
    (555) 555-5555

But it up for so little that you don't even have time to read it.
Can I insert a delay of x seconds?
Is this easy to implement?
Logged
Currently: iRiver H132-RTC-CFMod

Offline Kitty

  • Member
  • *
  • Posts: 21
Re: is it possible to change the splash screen?
« Reply #5 on: August 31, 2006, 02:04:24 PM »
ok, and another question...

do you guys think it would be possible to change the Statusbar? not the player statusbar, the browser one... mabye add some imgs?
Logged

Offline psycho_maniac

  • Member
  • *
  • Posts: 814
    • MyWebPage
Re: is it possible to change the splash screen?
« Reply #6 on: August 31, 2006, 03:31:11 PM »
i found this one
http://www.rockbox.org/tracker/task/2981
and this one
http://www.rockbox.org/tracker/task/2931
take a look and see which one you like
for more info this is a good site to search for stuff like this  http://www.rockbox.org/tracker/index.php?type=4
Logged
Please SEARCH the wiki | Please read the Forum Guidelines | Please Read the Manual
I Own A Gigabeat F80

Offline Mikerman

  • Artist
  • Member
  • *
  • Posts: 721
Re: is it possible to change the splash screen?
« Reply #7 on: August 31, 2006, 06:14:17 PM »
Unfortunately, both very old . . . .
Logged

Offline Mmmm

  • Developer
  • Member
  • *
  • Posts: 922
Re: is it possible to change the splash screen?
« Reply #8 on: September 01, 2006, 11:11:36 AM »
Quote from: Davide-NYC on August 30, 2006, 08:55:41 PM
Can I insert a delay of x seconds?
Is this easy to implement?
Yep, easy... Just add a sleep line in main.c in the function called app_main
so, change
Code: [Select]
void app_main(void)
{
    init();
    browse_root();
}
to
Code: [Select]
void app_main(void)
{
    init();
    sleep(HZ * x);
    browse_root();
}
where x is the no. of seconds delay you want.

Quote from: Kitty on August 31, 2006, 02:04:24 PM
ok, and another question...

do you guys think it would be possible to change the Statusbar? not the player statusbar, the browser one... mabye add some imgs?
No, this isn't possible as there is only one statusbar so if you change one you change them all. It is possible to change the icons that are already there if you want though.
In apps/recorder/icons.c you can see lots of code that looks like this:
Code: [Select]
const unsigned char bitmap_icons_7x8[][7] =
{
    {0x08,0x1c,0x3e,0x3e,0x3e,0x14,0x14}, /* Power plug */
    {0x1c,0x14,0x3e,0x2a,0x22,0x1c,0x08}, /* USB plug */
    {0x01,0x1e,0x1c,0x3e,0x7f,0x20,0x40}, /* Speaker mute */
    {0x00,0x7f,0x7f,0x3e,0x1c,0x08,0x00}, /* Play */
etc...
Each row of numbers is an icon.
To make your own icons you need to change the numbers.
Your icon must be the same dimensions as it says at the top (in this case 7 wide 8 high).
so make your monochrome icon and then in the root of your source code type
Code: [Select]
tools/bmp2rb -f 0 myicon.bmp
and as if by magic the numbers you need will appear...Just copy and paste them into the code and you have your own icon!

not too bad eh?
Logged
My H120 build with Recording Enhancements Pack
Some examples of recordings done on H140 with Rockbox

Offline Kitty

  • Member
  • *
  • Posts: 21
Re: is it possible to change the splash screen?
« Reply #9 on: September 01, 2006, 03:31:11 PM »
yea pretty cool :]

hmm.. no way getting a real img into there? not those monochrome icons ?:<
Logged

Offline Mmmm

  • Developer
  • Member
  • *
  • Posts: 922
Re: is it possible to change the splash screen?
« Reply #10 on: September 02, 2006, 05:10:16 AM »
Quote from: Kitty on September 01, 2006, 03:31:11 PM
yea pretty cool :]

hmm.. no way getting a real img into there? not those monochrome icons ?:<
To tell you the truth I don't know... type in tools/bmp2rb and you get all the different f values ( 0 is for monochrome) maybe another would work without having to modify the code any more... Try it and you'll know all! :D
Logged
My H120 build with Recording Enhancements Pack
Some examples of recordings done on H140 with Rockbox

Offline Kitty

  • Member
  • *
  • Posts: 21
Re: is it possible to change the splash screen?
« Reply #11 on: September 02, 2006, 07:43:33 AM »
Quote
Usage: bmp2rb [-i <id>] [-a] <bitmap file>
        -i <id>  Bitmap name (default is filename without extension)
        -h <dir> Create header file in <dir>/<id>.h
        -a       Show ascii picture of bitmap
        -f <n>   Generate destination format n, default = 0
                 0  Archos recorder, Ondio, Gmini 120/SP, Iriver H1x0 mono
                 1  Archos player graphics library
                 2  Iriver H1x0 4-grey
                 3  Canonical 8-bit greyscale
                 4  16-bit packed 5-6-5 RGB (iriver H300)
                 5  16-bit packed and byte-swapped 5-6-5 RGB (iPod)
                 6  Greyscale iPod 4-grey
                 7  Greyscale X5 remote 4-grey

there is the usage.. i assume i need 4 or 5 for 16-bit right?

edit: ok, i checked on a 7x8 bitmap, ang got this:
Quote
const unsigned short bitmap[] = {
0x8430, 0x8430, 0x8430, 0x8430, 0x0000, 0x8430, 0x8430,
0x8430, 0xd91a, 0xe0da, 0x83d0, 0x0000, 0x8430, 0x8430,
0x8430, 0xf81d, 0xf81d, 0x8b91, 0x0000, 0x8430, 0x8430,
0x8430, 0xf05c, 0xe0db, 0x8430, 0x0000, 0x8430, 0x8430,
0x8430, 0x8430, 0x8430, 0x8430, 0x0000, 0x8430, 0x8430,
0x0000, 0x0000, 0x0000, 0x0000, 0x8430, 0x8430, 0x8430,
0x8430, 0x8430, 0x8430, 0x8430, 0x8430, 0x8430, 0x8430,
0x8430, 0x8430, 0x8430, 0x8430, 0x8430, 0x8430, 0x8430,

};

thats for -f 4.. 5 gives something like that.. wich is not good :<

btw, is there a way to search the CVS? :\
« Last Edit: September 02, 2006, 09:22:40 AM by Kitty »
Logged

Offline Mmmm

  • Developer
  • Member
  • *
  • Posts: 922
Re: is it possible to change the splash screen?
« Reply #12 on: September 02, 2006, 01:53:52 PM »
I don't think that is going to work.....

You would need to tweak the statusbar code to get that working I think!

grep searches within files so grep apps/recorder hello would give you all the lines in the recorder directory with hello in them... Although I haven't used it in a while as I now use Kate which comes with KDE and it does this without using the command prompt, so I may be a bit rusty.
Logged
My H120 build with Recording Enhancements Pack
Some examples of recordings done on H140 with Rockbox

Offline Kitty

  • Member
  • *
  • Posts: 21
Re: is it possible to change the splash screen?
« Reply #13 on: September 02, 2006, 01:58:52 PM »
hmm, question is, where can i find the statusbar code ?:D
Logged

Offline Mmmm

  • Developer
  • Member
  • *
  • Posts: 922
Re: is it possible to change the splash screen?
« Reply #14 on: September 02, 2006, 03:30:22 PM »
apps/gui/statusbar.c
Logged
My H120 build with Recording Enhancements Pack
Some examples of recordings done on H140 with Rockbox

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  is it possible to change the splash screen?
 

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

Page created in 0.099 seconds with 15 queries.