Open Cubic Player

Introduction

Open Cubic Player original home page is located at http://cubic.org/player and was written by the Cubic Team. It first appeared around december 1994 as a binary-only freeware. It was one of the best module-players if you ask me personally. It had support for many soundcards and module-formats. But as windows grew more and more popular, and users demanding for GUI software, the popularity started to fall off and the project became more or less dead. At some point the sourcecode was opened up for the public under the GNU Public License in a hope that other users might find the code usefull, and perhaps use it for something.

Christmas 2003 I started to look at the the source-code and a little hope to get the software to compile and run under Linux. After 2 months of sparetime playing, I got my first characters on the screen. No sound still, but I had something on my screen. Later more and more code was converted to POSIX and some to gcc inline assembler. Today the project is still not ported finish, but it can be used to beta-testing. There are still a lot of missing features and some strange bugs.

During the porting I also discovered a serious kernel-bug regarding how to handle late FPU-exeptions when returning from a signal-handler. The offending code was located inside stuff/irq.c, and when trimmed down it looked like this (look here)

Source code repository

Source code is now hosted on github in a GIT repository. For snapshots, just poll that tree (and submodules).

Source code releases

Other unix variants must build from source.

ocp-0.2.109.tar.bz2 ocp-0.2.109.tar.gz ocp-0.2.109.tar.xz
ocp-0.2.108.tar.bz2 ocp-0.2.108.tar.gz ocp-0.2.108.tar.xz
ocp-0.2.107.tar.bz2 ocp-0.2.107.tar.gz ocp-0.2.107.tar.xz
ocp-0.2.106.tar.bz2 ocp-0.2.106.tar.gz ocp-0.2.106.tar.xz
ocp-0.2.105.tar.bz2 ocp-0.2.105.tar.gz ocp-0.2.105.tar.xz
ocp-0.2.104.tar.bz2 ocp-0.2.104.tar.gz ocp-0.2.104.tar.xz
ocp-0.2.103.tar.bz2 ocp-0.2.103.tar.gz ocp-0.2.103.tar.xz
ocp-0.2.102.tar.bz2 ocp-0.2.102.tar.gz ocp-0.2.102.tar.xz
ocp-0.2.101.tar.bz2 ocp-0.2.101.tar.gz ocp-0.2.101.tar.xz
ocp-0.2.100.tar.bz2 ocp-0.2.100.tar.gz ocp-0.2.100.tar.xz
ocp-0.2.99.tar.bz2 ocp-0.2.99.tar.gz ocp-0.2.99.tar.xz
ocp-0.2.98.tar.bz2 ocp-0.2.98.tar.gz ocp-0.2.98.tar.xz
ocp-0.2.97.tar.bz2 ocp-0.2.97.tar.gz ocp-0.2.97.tar.xz
ocp-0.2.96.tar.bz2 ocp-0.2.96.tar.gz ocp-0.2.96.tar.xz
ocp-0.2.95.tar.bz2 ocp-0.2.95.tar.gz ocp-0.2.95.tar.xz
ocp-0.2.94.tar.bz2 ocp-0.2.94.tar.gz ocp-0.2.94.tar.xz
ocp-0.2.93.tar.bz2 ocp-0.2.93.tar.gz ocp-0.2.93.tar.xz
ocp-0.2.92.tar.bz2 ocp-0.2.92.tar.gz ocp-0.2.92.tar.xz
ocp-0.2.91.tar.bz2 ocp-0.2.91.tar.gz ocp-0.2.91.tar.xz
ocp-0.2.90.tar.bz2 ocp-0.2.90.tar.gz ocp-0.2.90.tar.xz
ocp-0.2.2.tar.bz2 ocp-0.2.2.tar.gz ocp-0.2.2.tar.xz
ocp-0.2.1.tar.bz2 ocp-0.2.1.tar.gz ocp-0.2.1.tar.xz
ocp-0.2.0.tar.bz2 ocp-0.2.0.tar.gz ocp-0.2.0.tar.xz
ocp-0.1.21.tar.bz2 ocp-0.1.21.tar.gz ocp-0.1.21.tar.xz
ocp-0.1.20.tar.bz2 ocp-0.1.20.tar.gz ocp-0.1.20.tar.lzmaGentoo build files
ocp-0.1.19.tar.bz2 ocp-0.1.19.tar.gz ocp-0.1.19.tar.lzmaGentoo build files
ocp-0.1.18.tar.bz2 ocp-0.1.18.tar.gz ocp-0.1.18.tar.lzmaGentoo build files
ocp-0.1.17.tar.bz2 ocp-0.1.17.tar.gz ocp-0.1.17.tar.lzmaGentoo build files
ocp-0.1.16.tar.bz2 ocp-0.1.16.tar.gz ocp-0.1.16.tar.lzmaGentoo build files
ocp-0.1.15.tar.bz2 ocp-0.1.15.tar.gz ocp-0.1.15.tar.lzmaGentoo build files
ocp-0.1.14.tar.bz2 ocp-0.1.14.tar.gz ocp-0.1.14.tar.lzmaGentoo build files
ocp-0.1.13.tar.bz2 ocp-0.1.13.tar.gz ocp-0.1.13.tar.lzmaGentoo build files
ocp-0.1.12.tar.bz2 ocp-0.1.12.tar.gz ocp-0.1.12.tar.lzmaGentoo build files
ocp-0.1.11.tar.bz2 ocp-0.1.11.tar.gz ocp-0.1.11.tar.lzmaGentoo build files
ocp-0.1.10.tar.bz2 ocp-0.1.10.tar.gz ocp-0.1.10.tar.lzmaGentoo build files
ocp-0.1.9.tar.bz2 ocp-0.1.9.tar.gz Gentoo build files
ocp-0.1.8.tar.bz2 ocp-0.1.8.tar.gz Gentoo build files
ocp-0.1.7.tar.bz2 ocp-0.1.7.tar.gz Gentoo build files
ocp-0.1.6.tar.bz2 ocp-0.1.6.tar.gz Gentoo build files
ocp-0.1.5.tar.bz2 ocp-0.1.5.tar.gz Gentoo build files
ocp-0.1.4.tar.bz2 ocp-0.1.4.tar.gz Gentoo build files
ocp-0.1.3.tar.bz2 Gentoo build files
ocp-0.1.2.tar.bz2 Gentoo build files
ocp-0.1.1.tar.bz2 Gentoo build files
ocp-0.1.0.tar.bz2 Gentoo build files

IRC

Me (Stian), and some others can be found on #ocp on Libera.Chat .

FreeBSD

ocp is available in FreeBSD ports.
Build via ports:

$ cd /usr/ports/audio/ocp
$ make install clean
or install package:
$ pkg install ocp

DragonFly BSD

See https://github.com/DragonFlyBSD/DPorts/tree/master/audio/ocp.

Arch Linux

Package is available in AUR, see https://aur.archlinux.org/packages/ocp.

Red Hat / Fedora Project

There is a .spec file in the source repository, but it probably needs some love. Please send in patches!

$ cd /usr/src/redhat/SOURCES
$ wget https://stian.cubic.org/ocp/ocp-VERSION.tar.bz2
$ cd ../SPECS
$ tar xfj -O ../SOURCES/ocp-VERSION.tar.bz2 ocp-VERSION/ocp.spec > ocp.spec
$ rpmbuild -bb ocp.spec
$ rpm -i ../RPMS/i686/ocp-VERSION.i686.rpm

The Fedora Project have packages available - See https://packages.fedoraproject.org/pkgs/ocp/ocp/.

Debian / Ubuntu

Debian and Ubuntu have packages available. See http://packages.debian.org/opencubicplayer, http://buildd.debian.org/build.php?arch&pkg=ocp and https://packages.ubuntu.com/opencubicplayer.

Gentoo

ebuilds have been posted at bugs.gentoo.org, but not accepted as of today - a maintainer is needed:

$ mkdir -p /usr/local/portage
$ cd /usr/local/portage
$ tar xfj gentoo-VERSION.tar.bz2
$ echo PORTDIR_OVERLAY="/usr/local/portage" >> /etc/make.conf
$ mkdir -p /etc/portage
$ echo "media-sound/ocp ~x86" >> /etc/portage/package.keywords
$ echo "media-sound/ocp X adplug sidplay alsa flac sdl" >> /etc/portage/package.use
$ emerge ocp

OpenSUSE

A maintainer is needed.

macOS Homebrew

See https://formulae.brew.sh/formula/ocp (blog).

$ brew update
$ brew install ocp

macOS Fink

See https://pdb.finkproject.org/pdb/package.php/ocp.

Screenshots

And some screenshots are always nice to have:
ocp1.png (v0.0.5 ncurses) text view
ocp2.png (v0.0.5 ncurses) file-browser
ocp3.png (v0.0.5 ncurses) text view
ocp4.png (v0.0.5 ncurses) text view, fullscreen
ocp5.png (v0.2.100 X11) text view

Links to other various sites

Schism Tracker
Chiptunes
ftp://ftp.modland.com/
The High Voltage SID Collection
Music from keygens, cracks, trainers, intros