Rockbox Technical Forums

Support and General Use => Plugins/Viewers => Topic started by: noel0390 on August 10, 2006, 11:18:53 PM

Title: Whats the Newest Rockboy Patch/build?
Post by: noel0390 on August 10, 2006, 11:18:53 PM
Please answer. Sorry if this has already been asked if it is please give link. ???
Title: Re: Whats the Newest Rockboy Patch/build?
Post by: accel on August 10, 2006, 11:35:46 PM
Yes, you better be sorry.  Very, very sorry.  

and by the way, your second sentence doesn't make any sense.
Title: Re: Whats the Newest Rockboy Patch/build?
Post by: lenny on August 11, 2006, 02:55:26 AM
pretty much everything of consequence is included with rockbox. So to get the latest rockboy, just update your rockbox build. the only things that aren't included are fonts, roms, midi patchset etc. Basically stuff that is large, is hardly ever updated, is used by few, or copyrighted. Capiche?
Title: Re: Whats the Newest Rockboy Patch/build?
Post by: ZeRøB on August 13, 2006, 11:54:32 AM
Not really... Does that mean that ROCKboy in the newest ROCKbox build is just like the patched ROCKboy from let's say a custom build from 4 months ago?
Title: Re: Whats the Newest Rockboy Patch/build?
Post by: Febs on August 13, 2006, 02:06:15 PM
No, of course not.
Title: Re: Whats the Newest Rockboy Patch/build?
Post by: ZeRøB on August 13, 2006, 06:31:36 PM
So how would I make the ROCKboy from the newer build act like it would with this patch on the old builds?
ROCKboy patch: http://www.rockbox.org/tracker/task/4857

I have a old custom build with some patches (including that one) that I really like. I'd also like to check out the new functions of ROCKbox though (I heard there was video playback? Still have to check it out), without losing my great GameBoy Color emulator.


By the way, why "of course not" ?

Quote
So to get the latest rockboy, just update your rockbox build. the only things that aren't included are fonts, roms, midi patchset etc.
The latest ROCKboy, that could be one with good controls
Everything included except a b and c, but no ROCKboy patch.

In my eyes a bit confusing...
Title: Re: Whats the Newest Rockboy Patch/build?
Post by: lenny on August 14, 2006, 04:06:52 PM
first of all what you mean by "good controls" is based on a patch that is not part of the official rockbox.

your custom build is a custom build because it has patches that are not part of the official rockbox. those patches may or may not be incorporated into the official rockbox in the future. So, if you want both the features from your patches and the newer features in the official rockbox, you have a few options.

1) Download the source to the current official rockbox and apply your favorite patches to it and compile.
2) Ask the person who created your custom build in the first place to update it with the latest rockbox (basically have them do #1 for you)
3) Convice a developer that the patches are well written according to rockbox standards blah blah blah, and they should be incorporated into CVS (official rockbox).

Number one is honestly your best bet, but you have to learn how to compile in order to do it.

If you are running windows try this:
http://www.rockbox.org/twiki/bin/view/Main/SimpleGuideToCompiling

If you are running mac try downloading the source to rockbox, run the script called rockboxdev.sh in the tools dir from the terminal, and then compile. see this page for the compiling part:
http://www.rockbox.org/twiki/bin/view/Main/HowToCompile

and to top it off, there is always the possiblity that a patch written some time ago will not be compatible with the current rockbox with some degree of "fixing." if you don't know how to program that's a dead end for you unless someone fixes it for you. just keep that in mind.

This method has a bit of a learning curve if you've never done anything of the sort. If you give it a go and have trouble your best resource is google.
Title: Re: Whats the Newest Rockboy Patch/build?
Post by: ZeRøB on August 14, 2006, 05:23:49 PM
I am the one who compiled my custom build with that patch, and I am here because the patch doesn't work anymore. When I try and patch (I'm not a total noob, I know what I'm doing) it says that it fails. Like you said, may be incorporated in the future. Since my build was old, I was wondering wether this patch may have been incorporated by now, hence the patch not working. I hope it's a little clearer now.
Thanks for taking the time to explain it so clearly to me, but don't worry, I know what I'm doing and what I am talking about.

Quote
and to top it off, there is always the possiblity that a patch written some time ago will not be compatible with the current rockbox with some degree of "fixing." if you don't know how to program that's a dead end for you unless someone fixes it for you. just keep that in mind.
That's exactly my problem. I don't know programming (my uberbasic C++ won't do), hell I don't know what language these patches are written in. I have some spare time though, so I would like to fix it myself or help fixing it.

*hopes for quicker reply than usual here*
Title: Re: Whats the Newest Rockboy Patch/build?
Post by: Llorean on August 14, 2006, 05:33:51 PM
Patches are in C in nearly all cases. A few MAY be in assembly, but that's usually very unlikely.

To find out if a patch has been included in Rockbox, simply look at its entry on Flyspray, and see if it's status has been changed to "Accepted" and the entry close, or not. As well, since sometimes they forget to do that, you can search the changelog both for the flyspray entry number, or for the files that it modifies, and see if it's been included.

These are all things anyone can do, as the information is available to the public.
Title: Re: Whats the Newest Rockboy Patch/build?
Post by: ZeRøB on August 14, 2006, 06:08:02 PM
Alright, I learned something new (seems I am quite more noob then I thought)
I'll do what you said and get back here.

Lenny: What do you mean with "some degree" in "some degree of fixing" ?

/Edit
I couldn't find "its entry" in Flyspray, so I guess that that means it hasn't been added to Rockbox yet. Its status is Unconfirmed, I guess this is what you meant
I can't find the changelog for the flyspray entry number, where is it?
I can't find the changelog for the file it modifies either, I'm clearly looking at the wrong place :S
Title: Re: Whats the Newest Rockboy Patch/build?
Post by: Febs on August 14, 2006, 06:46:06 PM
*hopes for quicker reply than usual here*
I certainly hope that this was intended as a joke.
Title: Re: Whats the Newest Rockboy Patch/build?
Post by: Yotto on August 14, 2006, 08:50:21 PM
*hopes for quicker reply than usual here*
I certainly hope that this was intended as a joke.
And I don't think he got what he hoped for.  The reply was 10 minutes after his post, which is almost double the average.
Title: Re: Whats the Newest Rockboy Patch/build?
Post by: ZeRøB on August 15, 2006, 03:30:33 AM
It was not really a joke.. I meant serious answer, and I haven't gotten one yet (on my last post). Somehow, my rants always seem to be skipped and kept for last on this forum lol

Luckily, Llorean is around to answer all the noobs quickly and effectively ;D

Maybe I should reform my question: How are the ROCKboy controls in the daily build of let's say.. today? I restored my iPod totally, so I have the uberpwn apple loader....
Title: Re: Whats the Newest Rockboy Patch/build?
Post by: Yotto on August 15, 2006, 03:45:58 AM
Many of us try to reply to everything we know about as soon as we see it. I personally do this.  It's rare to see a question sit more than a few hours without a reply from anybody at all. I saw your question but did not answer it becasue not only have I given up trying to compile things, I've never even looked into Rockboy (I don't play games on my iPod).

((Well, except Jewels, but that's just when I'm waiting somewhere :D))
Title: Re: Whats the Newest Rockboy Patch/build?
Post by: Bagder on August 15, 2006, 04:05:54 AM
Quote
How are the ROCKboy controls in the daily build of let's say.. today?

You know there's a pretty quick way to find out that doesn't involve asking anyone at all?
Title: Re: Whats the Newest Rockboy Patch/build?
Post by: ZeRøB on August 15, 2006, 04:50:33 AM
I know, and I'd usually take that way, but right now, I'd have to install a boot loader and since I want to keep my iPod stock for a while (untill my family is gone) and maybe there is a helpful person around here that could just tell me quickly.
Damn, I thought the iPL forums were unfriendly.
Title: Re: Whats the Newest Rockboy Patch/build?
Post by: Llorean on August 15, 2006, 01:08:55 PM
Well, if you can't try them yet, then it does't matter how they are, right? And if you *can* try them, none of us needs to tell you how they are. ;)

The reason some questions get answered slowly is that in all honesty, it doesn't feel like it's worth the time to type an answer, because the user asking the question could answer the question for themselves if they'd just be bothered.
Title: Re: Whats the Newest Rockboy Patch/build?
Post by: ZeRøB on August 16, 2006, 08:28:01 AM
I didn't say I couldn't build ROCKbox yet (I guess "them" in your post is ROCKbox?) and before downloading a big daily build or wasting a long time on compiling a daily build from source I would like to know what's going on? What's so hard about just saying "yes, it works now" or "no, you'll have to write a patch" ???

I have limited bandwith since a short time, and my computer isn't so quick that it compiles ROCKbox in a few minutes. Could someone please help me by spending 30 seconds on telling me wether ROCKboy has good controls in the newer builds or not, instead of me having to spend 30 minutes? I would be thankful.
Title: Re: Whats the Newest Rockboy Patch/build?
Post by: ZeRøB on August 16, 2006, 07:11:08 PM
I started building with a few patches on and a modified rockboy patch, but I keep on getting this error, that has clearly nothing to do with my housemade coding skills:
Code: [Select]
CC bookmark.c
In file included from bookmark.c:38:
recorder/icons.h:28:25: error: rockboxlogo.h: No such file or directory
make[1]: *** [/home/guest/rockbox-daily-20060816/build/apps/bookmark.o] Error 1
make: *** [all] Error 2
Is that just a mistake in the download of the source archive? I'm using the daily-20060816 ... I'll try again with the daily-20060817 tomorrow... Family's gone ^^
I start to get the hang of patches, might go and make some myself after studying C...
Title: Re: Whats the Newest Rockboy Patch/build?
Post by: Febs on August 16, 2006, 10:51:54 PM
Try running 'make clean' before you run 'make.'
Title: Re: Whats the Newest Rockboy Patch/build?
Post by: ZeRøB on August 17, 2006, 03:25:03 AM
I've never heard of that command, what will it do? I'll give it a try before downloading the new daily source.

Edit: My build directory was actually clean already, and it still cmae up wih the same mistake...

Edit2: I'm having so much trouble compiling now that I couls just aswell make my own thread about it...

I have these patches:
-- album_art_v5.10.patch
-- bmp_resize_v0.99.3.patch
-- menu_buttons.patch
-- rockbox-wheel_absolute_patch_v4.1.patch
-- rockboy_wheel.patch

I had to modify a few in order to be able to patch, I kept on getting errors but I fixed thim with my minimum knowledge of patches. I didn't do any major changes. Finally, all patches work and my binary is patched. I configured my make file, so I start making. After a while...:

Code: [Select]
CC recorder/bmp.c
recorder/bmp.c: In function 'read_bmp_file':
recorder/bmp.c:142: warning: 'rgb_work.red' may be used uninitialized in this fu
nction
recorder/bmp.c:142: warning: 'rgb_work.green' may be used uninitialized in this
function
recorder/bmp.c:142: warning: 'rgb_work.blue' may be used uninitialized in this f
unction
CC recorder/icons.c
CC recorder/keyboard.c
CC recorder/peakmeter.c
CC recorder/widgets.c
CC recorder/backdrop.c
CC gui/color_picker.c
CC pcmbuf.c
CC playback.c
playback.c: In function 'audio_load_track':
playback.c:1790: error: too few arguments to function 'get_metadata'
make[1]: *** [/home/guest/rockbox-daily-20060817/build/apps/playback.o] Error 1
make: *** [all] Error 2
Always, when I want to make my custom build, I seem to have this much trouble... Is it just me, or is something else wrong? I know playback.c is modified by the album_art patch, but that patch is so new, it should actually work...