Last night i wrote a small script, that rise the number of music-files to ... how big is your harddisk?.
!! this version works only for a lokal linux installation of Oolite
why?
random-docking-music helps when blue-danube is boring.
my script helps, if you want more ( music ).
how it works.
the script ( runner.sh / i've had no better idea for the name ) should be inserted
in the Oolite program-folder ( f.x. "/home/mattes/GNUstep/Applications/Oolite/ " ) # mattes... its me
Code: Select all
mattes@Scotty:~/GNUstep/Applications/Oolite$ ll
insgesamt 48
drwxrwxrwx 6 mattes mattes 4096 Okt 11 23:30 ./
drwxrwxrwx 3 mattes mattes 4096 Aug 9 03:02 ../
drwxrwxrwx 3 mattes mattes 4096 Okt 11 21:57 AddOns/
drwxrwxrwx 2 mattes mattes 4096 Aug 9 03:08 doc/
-rwxrwxr-x 1 mattes mattes 141 Okt 11 23:26 oolite*
drwxrwxrwx 3 mattes mattes 4096 Aug 9 03:08 oolite.app/
drwxrwxrwx 4 mattes mattes 4096 Aug 9 03:02 oolite-deps/
-rwxrwxr-x 1 mattes mattes 87 Aug 9 03:08 oolite-update*
-rw-r--r-- 1 mattes mattes 27 Aug 29 2020 release.txt
-rwxrwxr-x 1 mattes mattes 1226 Okt 11 23:10 runner.sh*
-rwxrwxr-x 1 mattes mattes 7486 Aug 9 03:08 uninstall*
mattes@Scotty:~/GNUstep/Applications/Oolite$
Code: Select all
#!/bin/sh
/home/mattes/GNUstep/Applications/Oolite/runner.sh
/home/mattes/GNUstep/Applications/Oolite/oolite.app/oolite-wrapper $@
exit $?
of random-docking-music.oxp ### *) the "eight" ... is adjustable
!!! in this early version 8 music files are necessary / with less -- it may crash ## again.... 8 is adjustable
if you have more than 8 music files in your external directory ( i just have 28 files )
8 of them will be randomly selected and copied to the random-docking-music folder
...then Oolite starts normal and random-docking-music plays one of these 8 songs randomly.
on the next Oolite start the formerly 8 copied music files become deleted and replaced with 8 new ones.
O.K end till now
installation .. in the next post ( one cigarette - then i'll begin writing )
the script ( with explanation ) in following post