maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   Does anyone can port this music player to N900? (https://talk.maemo.org/showthread.php?t=83721)

fft750731 2012-04-18 04:18

Does anyone can port this music player to N900?
 
http://wiki.gp2x.org/wiki/OldPlay

Does anyone can port this music player to N900?

I'm using it on dingooA320's dingux system, it can support 7z format so that I can collect almost all game musics(over 50000 files) with small size, and the sound quality is so nice.

for example, playing .spc flies, it sound quality and volumn are both better than N900' rockbox, even use 7z format.

Hope our N900 can use this player. it seems to be easy to port one, or not?

konttori 2012-04-18 08:23

Re: Does anyone can port this music player to N900?
 
gstreamer-plugins-gme should contain most of the sega/nintendo et al. formats.
7z is just a container, you should be able to create an app that opens the container and then pushes those to gstreamer. There should be already mod support and gme support for gstreamer. Work needs to be done, but not huge amount.

szopin 2012-04-18 18:34

Re: Does anyone can port this music player to N900?
 
1 Attachment(s)
Wow this rabbit hole was deeper than expected... Got lha working in the process so was worth it (only libpokecubed source I found was in .lha). As the first source of oldplayer I found was 0.99 used that. Got it working, though not ready yet (some libs in the repos do not work, some are missing, keys needs adjusting). Working so far:

1 out of 2 .sid files
.it (1of1)
.med (as above)
.mod (2of2)
.s3m (1of1)
.xm (1of1)

Not working:
.ahx (crashes)
.fst (not listed in directory view)
.ogg (as above)
.vgm (unplayable format msg displayed)

.mp3 plays at about 4x speed

No touchscreen support (gp2x doesn't have one I guess)
Does open .zip files (.7z do not show up in filelist view, so unlikely .99 supports that)

Will try to find 1.10 (or whichever is latest) but will need static lib (libmodplug from repos doesn't work, had to statically include in start dir and LD_LIBRARY_PATH trick to get it working)...

fft750731 2012-04-19 00:32

Re: Does anyone can port this music player to N900?
 
On dingux system, versio 1.12 can support 7z while 1.10 cannot.

I am hoping, wishing, waiting, thanks very very much

fft750731 2012-04-19 02:18

Re: Does anyone can port this music player to N900?
 
Quote:

Originally Posted by konttori (Post 1193703)
gstreamer-plugins-gme should contain most of the sega/nintendo et al. formats.
7z is just a container, you should be able to create an app that opens the container and then pushes those to gstreamer. There should be already mod support and gme support for gstreamer. Work needs to be done, but not huge amount.

I‘ve searched all about gstreamer or gst in repository.maemo.org, and don't find plugins-gme. Where can I find it?

fft750731 2012-04-19 02:30

Re: Does anyone can port this music player to N900?
 
Quote:

Originally Posted by szopin (Post 1193977)
Wow this rabbit hole was deeper than expected... Got lha working in the process so was worth it (only libpokecubed source I found was in .lha). As the first source of oldplayer I found was 0.99 used that. Got it working, though not ready yet (some libs in the repos do not work, some are missing, keys needs adjusting). Working so far:

1 out of 2 .sid files
.it (1of1)
.med (as above)
.mod (2of2)
.s3m (1of1)
.xm (1of1)

Not working:
.ahx (crashes)
.fst (not listed in directory view)
.ogg (as above)
.vgm (unplayable format msg displayed)

.mp3 plays at about 4x speed

No touchscreen support (gp2x doesn't have one I guess)
Does open .zip files (.7z do not show up in filelist view, so unlikely .99 supports that)

Will try to find 1.10 (or whichever is latest) but will need static lib (libmodplug from repos doesn't work, had to statically include in start dir and LD_LIBRARY_PATH trick to get it working)...





http://boards.dingoonity.org/dingux-...clln59rioulgl7

Hers's the dingux version 1.12, maybe useful.

szopin 2012-04-21 10:07

Re: Does anyone can port this music player to N900?
 
The source link is dead. Tried wayback machine, no luck, wiki has old dead links, they didn't use any kind of svn... If you come up with newer source than 0.99 let me know. I'll try to prepare that version for you (don't expect .deb or repo, best I can do is a .sh script that will force static libs, skipping my lack of skill, dep problems would make this troublesome even for more knowledgable guys I believe)

fft750731 2012-04-21 14:45

Re: Does anyone can port this music player to N900?
 
I can only find a dingux version 1.12 source code, which is I'm using now. I wonder if it is helpful?

And how can I send it to you?

szopin 2012-04-21 15:04

Re: Does anyone can port this music player to N900?
 
You got the source??? Awesome. Just upload it to depositfiles for example. Thanks!

misiak 2012-04-21 15:09

Re: Does anyone can port this music player to N900?
 
Quote:

Originally Posted by szopin (Post 1195275)
The source link is dead. Tried wayback machine, no luck, wiki has old dead links, they didn't use any kind of svn... If you come up with newer source than 0.99 let me know. I'll try to prepare that version for you (don't expect .deb or repo, best I can do is a .sh script that will force static libs, skipping my lack of skill, dep problems would make this troublesome even for more knowledgable guys I believe)

your wayback machine skills are weak, young padawan ;) http://web.archive.org/web/200903210...om/oldplay.zip has "1.20" in changelog :) how did i get there? http://wiki.gp2x.org/wiki/OldPlay states micket.com continued unofficial development after 0.95. Unfortunately micket.com now redirects to some ticket buying system micket.me ... hovewer, there are micket.com entries in wayback machine. Unfortunately, there is one from 2011 which is wrong, one from 2010 which is dead (mysql error on page - ****) and one from 2009 - if one has enought patience to navigate through on-page file browser on http://web.archive.org/web/200903210...ww.micket.com/ (i'm really impressed wayback machine cached all that), he can find oldplay.zip. I believe it is version 1.20, as the wiki.gp2x.org notes last release was 1.35 and that was added in march 2010, so version 1.20 is probable enought to exist one year earlier. I feel like a detective :D

edit: if you plan to compile/maintain/upload to extras-devel/whatever, maybe a git account (or at least maemo garage account) are a good starting point (preferably more something like git as more people will be able to find it and download first revision - default, clean 1.20 version - in case someone wants to port it to yet another device)

fft750731 2012-04-21 15:14

Re: Does anyone can port this music player to N900?
 
Sorry I don't know how to do it....Or if I can send an email to you?

szopin 2012-04-21 15:21

Re: Does anyone can port this music player to N900?
 
Quote:

Originally Posted by misiak (Post 1195386)
your wayback machine skills are weak, young padawan ;) http://web.archive.org/web/200903210...om/oldplay.zip has "1.20" in changelog :) how did i get there? http://wiki.gp2x.org/wiki/OldPlay states micket.com continued unofficial development after 0.95. Unfortunately micket.com now redirects to some ticket buying system micket.me ... hovewer, there are micket.com entries in wayback machine. Unfortunately, there is one from 2011 which is wrong, one from 2010 which is dead (mysql error on page - ****) and one from 2009 - if one has enought patience to navigate through on-page file browser on http://web.archive.org/web/200903210...ww.micket.com/ (i'm really impressed wayback machine cached all that), he can find oldplay.zip. I believe it is version 1.20, as the wiki.gp2x.org notes last release was 1.35 and that was added in march 2010, so version 1.20 is probable enought to exist one year earlier. I feel like a detective :D

edit: if you plan to compile/maintain/upload to extras-devel/whatever, maybe a git account (or at least maemo garage account) are a good starting point (preferably more something like git as more people will be able to find it and download first revision - default, clean 1.20 version - in case someone wants to port it to yet another device)

How the hell??? Pretty sure I tried all the links from wiki in Wayback and micket's page had 3 versions (or maybe that was the old Oldplay?) thanks!!!

misiak 2012-04-21 15:26

Re: Does anyone can port this music player to N900?
 
Quote:

Originally Posted by szopin (Post 1195394)
How the hell??? Pretty sure I tried all the links from wiki in Wayback and micket's page had 3 versions (or maybe that was the old Oldplay?) thanks!!!

I guess you tried micket.me, not micket.com. The original link points to micket.com, which has 302 redirection to micket.me since ~2010/2011, so you need to explicitly write "www.micket.com" in wayback machine, not copy the link from page it goes to ;)

szopin 2012-04-21 15:28

Re: Does anyone can port this music player to N900?
 
:( no luck, this is compiled binary only. No sight of source.

fft750731: please open depositfiles.com in your borwser and upload the 1.12 source, then copy the link of resulting web page and paste here, thanks
EDIT: oh wait there is something in 2008... guess was impatient, boy I need to wake up
Edit2: or go to sleep:
Wayback Machine doesn't have that page archived. It doesn't seem to be available on the live web, either.

Want to search for all archived pages under http://www.micket.me/code/ ?
:( looks like none of the .cpp files got archived (makefile and binary ones somehow did, oh well)

fft750731 2012-04-21 15:37

Re: Does anyone can port this music player to N900?
 
Wow, it's a wonderful tool!! OK I've done it, and I'm waiting for you, one day, one week, one month.....

http://depositfiles.com/files/rtypnawsu

misiak 2012-04-21 15:37

Re: Does anyone can port this music player to N900?
 
Quote:

Originally Posted by szopin (Post 1195401)
:( no luck, this is compiled binary only. No sight of source.

fft750731: please open depositfiles.com in your borwser and upload the 1.12 source, then copy the link of resulting web page and paste here, thanks
EDIT: oh wait there is something in 2008... guess was impatient, boy I need to wake up
Edit2: or go to sleep:
Wayback Machine doesn't have that page archived. It doesn't seem to be available on the live web, either.

Want to search for all archived pages under http://www.micket.me/code/ ?
:(

http://web.archive.org/web/200812031...icket.com/code - unfortunately wayback machine doesn't archive cpp files :(
sorry for posting wrong url earlier, i haven't check if it has sources, just saw changelog and became too excited

misiak 2012-04-21 15:39

Re: Does anyone can port this music player to N900?
 
we couldn't be more stupid... it looks like the page exist, just changed address :P http://mikael.areta.org/ - even if there is no current code ( /code/ has files from 2006?), the person which made this is still alive and reachable online, so you can contact him ;)

szopin 2012-04-21 15:42

Re: Does anyone can port this music player to N900?
 
Awesome, the files are in exactly the same state as in 2008, so development must've just ceased. That should do nicely

fft750731 2012-04-24 03:53

Re: Does anyone can port this music player to N900?
 
Any WIP? I'm anxiously awaiting

szopin 2012-04-26 18:43

Re: Does anyone can port this music player to N900?
 
Not looking too good. One of the libs required for 1.12+ is uade4all which seems to be a hack from the author, from readme:
Code:

uade4all V0.1

This is a work in progress version of uade4all.
uade4all is based on uade1, with the following changes:

- Merged eagleplayer attributes handling from uade2.
- Removed (almost) all ipc client/server stuff.
- Merged audio/sound core from uae4all.

Compiling provided source fails (after a million warnings), libuade.a from OldPlay 0.99 gives error upon linking. Couple more libs are problematic. Will have another look, but most likely 0.99 is the best I can do. Maybe someone else will have more skill... sorry

fft750731 2012-04-27 05:41

Re: Does anyone can port this music player to N900?
 
OMG!!Don't let me see that!

Why dingux can do whlie mameo not?

And, I just need a player can support the GME format, or better in .7z files.
Do you have the version?

szopin 2012-04-27 08:59

Re: Does anyone can port this music player to N900?
 
Can you upload a sample file, will check if it works in .99, as to 7z, this is introduced in 1.12, so best you can do is extract those and zip them as .zip is supported.

fft750731 2012-04-29 04:53

Re: Does anyone can port this music player to N900?
 
http://depositfiles.com/files/ijr58q3ud

OK these are the certain kind format files that what I want,please test and I'm still waitng

szopin 2012-04-30 18:41

Re: Does anyone can port this music player to N900?
 
.nsf - works
.psf - unplayable
.hes - works
.gbs - works
.kss - works
.vgz - unplayable

Did not show up in the filelist:
.minipsf2
.mid
.minigsf
.psf2lib
.rsn

:(

fft750731 2012-05-02 04:00

Re: Does anyone can port this music player to N900?
 
Just as I think.

.vgz should be a .vgm zip file, .rsn should be a .spc rar file, you can unzip them to have a test.

And , Will you show me a playable version?

szopin 2012-05-06 18:53

Re: Does anyone can port this music player to N900?
 
1 Attachment(s)
Good news, got the latest version running. Might be dangerous as it had some overclocking code in it, doubt it would work on N900, crash much more likely, but just in case tried to comment it out.

You'll need those libs (possibly more, it will cry lack of <libname>.so.x files, all should be in the repos):

sudo apt-get install libid3tag0 libogg0

Next step, newer libstdc++. You'll need 3 packages from Aapo's work on gcc 4.6 (all debs for this here: http://cc.oulu.fi/~rantalai/fremantle)

http://cc.oulu.fi/~rantalai/fremantl...emo4_armel.deb
http://cc.oulu.fi/~rantalai/fremantl...emo4_armel.deb
http://cc.oulu.fi/~rantalai/fremantl...emo4_armel.deb

Install them with dpkg. You should now be able to run oldplayer with:
./oldplay
from the unpacked directory (needs ext2/3 partition like /home/user for example).

Issues known:
.mid don't work (no idea why, libtimidity plugin compiles fine)
No info about current song displayed
FF somewhat buggy
...many more most likely

Tested on different formats and almost all work. zip/rar/7z compression supported.

Keys:

key_actions[SDLK_LEFT] = REW;
key_actions[SDLK_RIGHT] = FF;
key_actions[SDLK_UP] = UP;
key_actions[SDLK_DOWN] = DOWN;
key_actions[','] = VOLUP;
key_actions['.'] = VOLDOWN;
key_actions['a'] = PGUP;
key_actions['z'] = PGDOWN;
key_actions[SDLK_KP_ENTER] = ENTER;
key_actions[SDLK_BACKSPACE] = BACK;
key_actions['q'] = QUIT;
key_actions['d'] = DELETE;
key_actions['r'] = REPEAT;
key_actions['s'] = SHUFFLE;
key_actions[' '] = PAUSE;
key_actions['p'] = PREV;
key_actions['n'] = NEXT;
key_actions['l'] = PLISTADD;
key_actions['i'] = PLAYLIST;

Oldplayer:
http://depositfiles.com/files/8e3wlpxxu

fft750731 2012-05-07 04:38

Re: Does anyone can port this music player to N900?
 
I have installed all the .deb successfully, and unpacked the oldplay.tar.gz to be a 'player' folder, set it into /home/user, then I get in /home/user/player,
./oldplay
and then
/bin/sh: ./oldplay: Permission denied

what wrong?

fft750731 2012-05-07 05:17

Re: Does anyone can port this music player to N900?
 
OK I got it run.

And why does it play slowly and sound bad quality even overclocking 805Mhz?

On A320 dingux, only 336Mhz plays more smoothly

fft750731 2012-05-07 05:23

Re: Does anyone can port this music player to N900?
 
As I see in xt
MusicPlayer::playsong - rc =0,-1 msec, 2 chn, 44100 Hz @150Mhz??

fft750731 2012-05-07 05:24

Re: Does anyone can port this music player to N900?
 
As I see in xt
MusicPlayer::playsong - rc =0,-1 msec, 2 chn, 44100 Hz @150Mhz??

szopin 2012-05-07 06:14

Re: Does anyone can port this music player to N900?
 
The OC stuff was removed (hw_set_cpu calls), though messages can still show up. I had few wavs that played slowed down, though the sample of files you uploaded all played fine (except the midi) and mp3s, oggs and sids also (with occasional sid unplayable). Do you get the slowdown on all files? (I also use 805)

D@vIcHoJD 2012-05-07 06:27

Re: Does anyone can port this music player to N900?
 
When will be ready a version .deb of the application to prove it seems to me an excellent application.

fft750731 2012-05-07 09:02

Re: Does anyone can port this music player to N900?
 
I've got slowndown and bad sound quality all the sample files, just like some mame games on N900. There must be some diferent between us

szopin 2012-05-07 17:24

Re: Does anyone can port this music player to N900?
 
Thinking of possible reasons... do you have libsdl-mixer-ogg-mp3-1.2 installed, or just stock?

fft750731 2012-05-08 01:18

Re: Does anyone can port this music player to N900?
 
I've installed libsdl-mixer-ogg-mp3-1.2 and two debs that depended with, the sound quality seems better than before, but not as good as dingux, there's a little noise. AND, still SLOWLY. May I ask help once more?

fft750731 2012-05-08 03:01

Re: Does anyone can port this music player to N900?
 
And, there's one more asking, in dingux, we can use R+←/→ to select the bgm in each .nsf/.gbs/.hes files, then play/repeat it directly, hope to add this key function.

If you can read chinese, here's my thread, maybe some helpful.
http://bbs.duowan.com/thread-20192679-1-1.html

fft750731 2012-05-08 03:16

Re: Does anyone can port this music player to N900?
 
http://cc.oulu.fi/~rantalai/fremantle

Should I install all the debs in this site?Or just the three debs are enough?

szopin 2012-05-08 18:17

Re: Does anyone can port this music player to N900?
 
Only 3. No idea why you're having problems, tested on two N900's (kp49 and kp50, both CSSU-less) and it worked fine. Maybe try setting CPUSCALE=0 in .settings file in main dir? That shouldn't do much, but maybe I missed something in the code.

fft750731 2012-05-09 00:36

Re: Does anyone can port this music player to N900?
 
Still slowly. I'm kp50, without CSSU.

And, in your xt that shows 150Mhz too? sometimes maybe 225 or 250, I don't know why. but it seems my player plays under the speed

fft750731 2012-05-14 08:57

Re: Does anyone can port this music player to N900?
 
I‘ve compared your N900 version and dingux vesion 1.12(based on GP2X version 1.33), it seems the files you've edited are .settings default.cfg and oldplay such three, the other files are both the same except the two files about gpu.

Then I tried to set .settings and default.cfg just as dingux vesion, and higher cpuscale, nothing changed.

I found the dingux version's oldplay.dge is bigger than N900's verion,it's 4416 while N900 is 3337KB. and then, finally, I have no way out...


All times are GMT. The time now is 16:54.

vBulletin® Version 3.8.8