CPCWiki forum

General Category => Emulators => Topic started by: blackdalek on 15:33, 13 August 17

Title: deb package for arnold? ;)
Post by: blackdalek on 15:33, 13 August 17
@arnoldemu (http://www.cpcwiki.eu/forum/index.php?action=profile;u=122) is there a deb package for your arnold emulator so that I can install it easily on my Ubuntu system?
I am crap at finding the essential build prerequisites and compiling from the command line (unless someone can provide step-by-step instructions :P )
Title: Re: deb package for arnold? ;)
Post by: arnoldemu on 17:47, 13 August 17
Quote from: blackdalek on 15:33, 13 August 17
@arnoldemu (http://www.cpcwiki.eu/forum/index.php?action=profile;u=122) is there a deb package for your arnold emulator so that I can install it easily on my Ubuntu system?
I am crap at finding the essential build prerequisites and compiling from the command line (unless someone can provide step-by-step instructions :P )
Hi,
Sorry, no, not at this time. I have started to make a .deb package but it is quite complicated to do and I haven't been successful yet. I will try again. I hope I can make one for the next release.

Recently I tried to improve the build notes and I tried various linux distributions:

wxWidgets 3.0 and 3.1 is supported. You can use any of these.
SDL1.2.15 is recommended for Linux. SDL2 is possible, but it's not as stable.

openSUSE (tested on Tumbleweed):
================================

1. Install gcc & g++:
sudo zypper install gcc-c++

2. Install SDL 1.2.15
sudo zypper install SDL-devel

3. Install cmake:
sudo zypper install cmake

4. Install wxWidgets
sudo zypper install  wxWidgets-3_0-devel

Fedora (as root):
=================

1. Install g++
yum install gcc-c++

2. Install cmake:
yum install cmake

3: Install SDL
yum install SDL-devel

4. Install wxWidgets
yum install wxGTK-devel

5. Install redhat-rpm-config
dnf install redhat-rpm-config

6. build and install arnold now



Slackware:
==========

1. Download cmake 3.8.2 from www.cmake.org
2. Extract and build cmake:
gunzip cmake-3.8.2.tar.gz
tar -xvf cmake-3.8.2.tar
cd cmake-3.8.2
./configure
gmake

3. Download SDL1.2.15 source from www.libsdl.org
4. Extract and build SDL:
gunzip SDL-1.2.15.tar.gz
tar -xvf SDL-1.2.15.tar
cd SDL-1.2.15
./configure
make
make install

5. Download wxWidgets 2.8 or above source from www.wxwidgets.org
6. Extract and build:
gunzip wxWidgets-2.8.12.tar.gz
tar -xvf wxWidgets-2.8.12.tar
cd wxWidgets-2.8.12
./configure
make
make install
7. build and install arnold now

Ubuntu (& Mate):
================

1. install g++
sudo apt-get install g++

2. install sdl
sudo apt-get install libsdl1.2-dev

3. install cmake
sudo apt-get install cmake

4. install wxwidgets
sudo apt-get install libwxgtk3.0-dev

5. now build arnold

Building arnold:

Go to the src directory.

./make_arnz80_release.sh

When it's done, go back up a directory to the exe directory. This is where all the files and executable are.
Run it with:

./arnold


Title: Re: deb package for arnold? ;)
Post by: ivarf on 20:40, 13 August 17
after having seen the above post by Arnoldemu, I have a better understanding of why Linux on PCs isn't more used
Title: Re: deb package for arnold? ;)
Post by: robcfg on 20:56, 13 August 17
That would be like "after watching a NASA documentary, I have a better understanding of why Space Shuttles aren't more used"...

That said, my mom uses linux on her laptop and she's quite happy about it :D


Sent from my iPhone using Tapatalk
Title: Re: deb package for arnold? ;)
Post by: arnoldemu on 21:44, 13 August 17
cpack is really nice.

I have got a deb made (need to test) and then next I'll setup a rpm and then I'll retry making an app for mac with it.

Title: Re: deb package for arnold? ;)
Post by: robcfg on 13:57, 15 August 17
Let me know if I can help you with the OSX version.


Creating the app itself is easy, what I had problems with was compiling the code.


Cheers,
Rob
Title: Re: deb package for arnold? ;)
Post by: arnoldemu on 12:40, 20 August 17
I hope this works. It seems to be good for me.

http://www.cpctech.org.uk/arnold_1.0.0-1_amd64.deb (http://www.cpctech.org.uk/arnold_1.0.0-1_amd64.deb)

EDIT:

On debian I have to use su, then apt install ./arnold_1.0.0-1_amd64.deb

Debian version returns 9.1 for me.
Title: Re: deb package for arnold? ;)
Post by: blackdalek on 15:42, 20 August 17
The deb package appears to work in Ubuntu.

[attach=2]

....but as you can see from my screen shot, it's now almost 1.00am here, so I will do some proper testing another day. Sleepy time now ZZZzzzz....
Title: Re: deb package for arnold? ;)
Post by: Ygdrazil on 10:21, 21 August 17
Hi

The DEB package also works like a charm here!
  ;D
Thanks so much!

/Ygdrazil

Quote from: blackdalek on 15:42, 20 August 17
The deb package appears to work in Ubuntu.

[attach=2]

....but as you can see from my screen shot, it's now almost 1.00am here, so I will do some proper testing another day. Sleepy time now ZZZzzzz....
Title: Re: deb package for arnold? ;)
Post by: blackdalek on 03:17, 22 August 17
One thing I've noticed on my system is there is no sound in the emulation. This is probably due to some kind of audio misconfiguration in my installation, but I am unsure where to go to configure it.

Sent from my 4013X using Tapatalk

Title: Re: deb package for arnold? ;)
Post by: arnoldemu on 09:07, 22 August 17
Quote from: blackdalek on 03:17, 22 August 17
One thing I've noticed on my system is there is no sound in the emulation. This is probably due to some kind of audio misconfiguration in my installation, but I am unsure where to go to configure it.

Sent from my 4013X using Tapatalk
Please run it from the command-line because it will log some messages to the terminal window.
Also, if you open the debugger it will mute the sound.

It should tell you if it found audio and if it configured it or not.

If it thinks it did it ok, check the following:


Control->Audio->Output

Here you can set the source you are listening to on the cpc. Maybe it needs to be set again.

Control->Audio->Speaker Volume

Make sure this is not mute.

Also,

Settings->Audio->Sound Settings...

Here you can configure frequency, bits and channels for your sound device. Maybe there is a setting here that works best?

The emulator attempts to auto-configure but it may have got it wrong.


Title: Re: deb package for arnold? ;)
Post by: blackdalek on 13:06, 22 August 17
ok.. nevermind.
On second run the audio works normally without any extra input or configuration from me.
The lack of audio must have been some other system glitch, not related to the Arnold emulator.
Powered by SMFPacks Menu Editor Mod