maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   bridge M1,the ARCADE games music player, anyone would port to maemo? (https://talk.maemo.org/showthread.php?t=89470)

fft750731 2013-03-14 14:49

bridge M1,the ARCADE games music player, anyone would port to maemo?
 
Bridge M1 is the only ARCADE games music player and has been ported on android already.

here's the source:
https://github.com/neko68k/M1-Android

I wonder if anyone in our org may do the same on maemo?

polarbear 2013-03-14 17:29

Re: bridge M1,the ARCADE games music player, anyone would port to maemo?
 
This is a little over my head, but for anyone trying to build it, the most recent source is here:
http://vgm.mdscene.net/forum/viewtopic.php?t=110

and it looks like it's supposed to be built with the MAME tool set outlined here:
http://advancemame.sourceforge.net/doc-build.html

So if you've got a working scratchbox (I currently don't) go for it.

szopin 2013-03-14 22:10

Re: bridge M1,the ARCADE games music player, anyone would port to maemo?
 
Here you go:

http://dfiles.eu/files/kg99dr626

Probably won't work, will crash and explode (had nothing to test it with). If you're brave enough to run it - post results.

edit: forgot to mention, compiled ondevice from the source polarbear provided link to. Skipped the second link as it was for mingw compilation for win, not needed it seems. Had to comment out vgr write/open parts as it was having some asm code, so something is definitely broken.

szopin 2013-03-14 22:43

Re: bridge M1,the ARCADE games music player, anyone would port to maemo?
 
Wow, actually works. You'll need the xml file from here:
http://www.bannister.org/software/m1.htm
(included in the source file)
Put roms inside ./roms dir from where you put m1 binary (ext2/3 only, though should work with symlinking to MyDocs for the roms dir)

Edit: Seems to use pulseaudio by default which tears anything above 100kb, you can get not that bad playback using sdl and lower rate ('-s0 -r22050' seems to work quite ok)

fft750731 2013-03-15 06:03

Re: bridge M1,the ARCADE games music player, anyone would port to maemo?
 
I've tested, use '-s0' will be bad sound quality, '-s1/2' doesn't work, '-s3' or none sound good but interrupt. how can I do?

fft750731 2013-03-15 06:28

Re: bridge M1,the ARCADE games music player, anyone would port to maemo?
 
I‘m sure this time I won't make a mistake like oldplay last time. -v0 have no effect, -r doesn't affect sound speed, only -s0 or none does. There must be some problem

fft750731 2013-03-15 07:39

Re: bridge M1,the ARCADE games music player, anyone would port to maemo?
 
Quote:

Originally Posted by szopin (Post 1329060)
Wow, actually works. You'll need the xml file from here:
http://www.bannister.org/software/m1.htm
(included in the source file)
Put roms inside ./roms dir from where you put m1 binary (ext2/3 only, though should work with symlinking to MyDocs for the roms dir)

Edit: Seems to use pulseaudio by default which tears anything above 100kb, you can get not that bad playback using sdl and lower rate ('-s0 -r22050' seems to work quite ok)

libgcc_s_sjlj-1.dll, or we need some else libgcc?

fft750731 2013-03-15 08:19

Re: bridge M1,the ARCADE games music player, anyone would port to maemo?
 
Sorry I've made a mistake, haven't root...

But even root, it's sound quality seems still not as good as M1 android. I'll test more

szopin 2013-03-15 20:27

Re: bridge M1,the ARCADE games music player, anyone would port to maemo?
 
From my limited testing:

By default m1 uses -s3 (pulseaudio) which tears all roms over 150kb (1942 works fine, street fighter/bubble bobble all in tears). Lowering bitrate (-r22050) helps a bit but is still unreliable. SDL playback (-s0) works much better, but at the default 44khz also works for only some roms. Combining the two (./m1 -s0 -r22050 <game>) works for most options (closing all background apps helps a lot, with browser working in the background there was tearing in sf2, with only m1 running, played fine). Of course lower bitrate means lower sound quality, but not sure if without digging into the code and optimizing there is anything one can do about it. Sorry :(

edit: one way around this if you have a favourite song (tested on bubblebobble, damned nostalgia) is using -w option. Generates a proper .wav file even when tearing on playback. Reencode this to mp3/ogg/... and you can play it without stuttering whenever you like

fft750731 2013-03-16 02:21

Re: bridge M1,the ARCADE games music player, anyone would port to maemo?
 
M1 Android on my SE xperia play works fine, sound smoother than N900.
I think this app should be a really 'heavy cpu' like M1 android said, especially we almost port it directly without digging.

btw, I'm using auto overclock 805Mhz, but when I overclock to 950Mhz, the xml file will be crash, so m1 can't play anymore, only when I replace the xml file.How does this happen?

-w? I've used -g and crashed,I'll try it.

No matter what, I'm very very thank and admire you.

If you were interesting, may have a see Droidsound on android and snesmusic on IOS,these two player are just as oldplay you ported to n900 last year,but support .gsf .psf even .2sf(snesmusic only) format


All times are GMT. The time now is 08:59.

vBulletin® Version 3.8.8