gruso
thunderbox
I'm working on a full port of Timidity++ (not to be confused with sebt3's installer which enables music in certain games). The main motivation for this port is to use Timidity as an ALSA device, to handle MIDI output from something like Seq24.
I have a PND already, which is behaving strangely, but was never expected to 'just run' anyway. Its behaviour is a bit of a tangent at this point so I'll throw it into a spoiler.
To give it a test I threw the binary itself onto SD and attempted to play a midi file:
It asked for /mnt/utmp/timidity/share/timidity/timidity.cfg. Naturally without a PND mounted this wasn't there, but after mounting the PND (which I presumed would make the cfg accessible via that path) and running the standalone binary again it gave the same error.
Obviously the PND needs to be an installer but I'm not sure where to go from here.
I have a PND already, which is behaving strangely, but was never expected to 'just run' anyway. Its behaviour is a bit of a tangent at this point so I'll throw it into a spoiler.
http://bunnitude.com/gruso/timidity.pnd
It is showing up twice on the desktop. Running each one produces different output:
It is showing up twice on the desktop. Running each one produces different output:
Code:
sudo /usr/pandora/scripts/pnd_run.sh -m -p /media/GP2X8GB/pandora/desktop//timidity.pnd -e scripts/icon.png.sh -b timidity
not mounted on loop yet, doing so
LoopMountedon:
/dev/loop2
Filetype is Squashfs
Mounting PND (mount -t squashfs) :
/dev/loop2 on /mnt/pnd/timidity type squashfs (ro)
Filesystem is vfat
Mounting the Union FS using /media/GP2X8GB/pandora/appdata/timidity as Write directory:
mount -t aufs -o exec,noplink,dirs=/media/GP2X8GB/pandora/appdata/timidity=rw+nolwh:/mnt/pnd/timidity=rr none /mnt/utmp/timidity
none on /mnt/utmp/timidity type aufs (rw,si=62711277,noplink)
none on /mnt/utmp/timidity type aufs (rw,si=62711277,noplink)
[------------------------------]{ App start }[---------------------------------]
./icon.png: line 1: ‰PNG
: not found
./icon.png: line 2: : not found
./icon.png: line 3:
IHDR00Wù‡ÙIDATxÚÕ™kL–eÇ9ÊQ9: not found
./icon.png: line 4: syntax error: "(" unexpected
[-------------------------------]{ App end }[----------------------------------]
cleanup done
Code:
sudo /usr/pandora/scripts/pnd_run.sh -m -p /media/GP2X8GB/pandora/desktop//timidity.pnd -e scripts/timidity.sh -b timidity
not mounted on loop yet, doing so
LoopMountedon:
/dev/loop3
Filetype is Squashfs
Mounting PND (mount -t squashfs) :
/dev/loop3 on /mnt/pnd/timidity type squashfs (ro)
Filesystem is vfat
Mounting the Union FS using /media/GP2X8GB/pandora/appdata/timidity as Write directory:
mount -t aufs -o exec,noplink,dirs=/media/GP2X8GB/pandora/appdata/timidity=rw+nolwh:/mnt/pnd/timidity=rr none /mnt/utmp/timidity
none on /mnt/utmp/timidity type aufs (rw,si=62711577,noplink)
none on /mnt/utmp/timidity type aufs (rw,si=62711577,noplink)
[------------------------------]{ App start }[---------------------------------]
TiMidity++ version 2.13.0 -- MIDI to WAVE converter and player
Copyright (C) 1999-2004 Masanao Izumo <iz@onicos.co.jp>
Copyright (C) 1995 Tuukka Toivonen <tt@cgs.fi>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
[-------------------------------]{ App end }[----------------------------------]
cleanup done
To give it a test I threw the binary itself onto SD and attempted to play a midi file:
Code:
# ./timidity song.mid
It asked for /mnt/utmp/timidity/share/timidity/timidity.cfg. Naturally without a PND mounted this wasn't there, but after mounting the PND (which I presumed would make the cfg accessible via that path) and running the standalone binary again it gave the same error.
Obviously the PND needs to be an installer but I'm not sure where to go from here.
Last edited by a moderator: