17

I want to play games on the vice emulator on Ubuntu 14.04. I have never managed to get vice working in Ubuntu. What are the steps needed to achieve this?

Zanna
  • 72,312
uzi3k
  • 987

4 Answers4

16

update --- there is a new release now, 3.3, and as 3.2, works great.

I managed to compile it with trial-and-errors adding the following libraries:

sudo apt install xa65 libreadline-dev libxaw7-dev libgtkmm-3.0-dev libpulse-dev

and compiled with

./configure
make
sudo make install 

...and it seems to work (the lib hack is not needed anymore). Seems a quite live project!

Original content:

You can compile the native version pretty easily (well...). Tested with version 2.4. (compact instructions --- tell me if you need more details).

1) download the last version from http://vice-emu.sourceforge.net/

2) unpack it where you want

tar xvzf vice-3.1.tar.gz
cd vice-3.1

3) install required dev libraries:

sudo apt install build-essential  libvte-dev libasound2-dev libgtk2.0-dev libgnome2-dev byacc flex

4) configure, compile and install (it will go in /usr/local/). On my netbook, I have a coffee after the "make"...

./configure --enable-gnomeui
make
sudo make install

5) if you machine is 64 bit, do the following (as root)

cd /usr/local/lib
sudo ln -s ../lib64/vice .

(this is probably a bug; the emulator will search the ROMS in /usr/local/lib even if the installation is a 64 bit one and the install program will put the libraries under /usr/local/lib64/)

6) type x64 and Enjoy! (this thing evokes a tear... my first computer ever was a C64. If only I did not lose my discs...)

vice x64 running

Rmano
  • 32,167
7

To install VICE with the default ROMs, you can

  1. Install VICE from the system repos

     sudo apt-get install vice
    
  2. Install the roms,

  3. Download the source tarball http://vice-emu.sourceforge.net/index.html#download and extract it to /tmp

  4. Run the following commands to copy over the data files,

       find /tmp/vice-*/data \
         -mindepth 1 \
         -type d \
         -exec cp -rnv {} ~/.local/share/vice/ \;
    

now you can use x64 and x64sc to run the bin files.

wxl
  • 1,026
Evan Carroll
  • 7,703
1

There is now a Flatpak available for Vice. Once you have set up Flatpak on Ubuntu, it can be installed with:

flatpak install flathub net.sf.VICE

and running C64 emulator:

/usr/bin/flatpak run --command=x64sc net.sf.VICE

Everything needed (ROMs, etc.) seems to be installed with the flatpak install - I was able to run an image without any further setup.

prunge
  • 113
0

Compile and install went well 1st time on my fresh install of Ubuntu 18.04 LTS, however i found that the C64 had no keyboard response.

This was fixed by copying the x11_sym.vkm and sdl_sym.vkm files from the source codes data/C64 folder into the installed C64 folder.

wizball
  • 119