Author Topic: deb package for arnold? ;)  (Read 2187 times)

0 Members and 1 Guest are viewing this topic.

Offline blackdalek

  • Supporter
  • CPC6128
  • *
  • Posts: 227
  • Country: au
  • Fraser
  • Liked: 96
  • Likes Given: 289
deb package for arnold? ;)
« on: 17:33, 13 August 17 »
@arnoldemu 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 )
CPC6128 modded with ABBA switch. External 5.25" floppy drive with side switch and Multiface 2. Now also sporting a joystick splitter and M4 WiFi board.

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.336
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2274
  • Likes Given: 3478
Re: deb package for arnold? ;)
« Reply #1 on: 19:47, 13 August 17 »
@arnoldemu 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


My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline ivarf

  • 6128 Plus
  • ******
  • Posts: 565
  • Country: no
  • Liked: 176
  • Likes Given: 328
Re: deb package for arnold? ;)
« Reply #2 on: 22: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

Offline robcfg

  • Supporter
  • 6128 Plus
  • *
  • Posts: 2.337
  • Country: se
  • 8-Bit Technomancer
    • index.php?action=treasury
  • Liked: 1043
  • Likes Given: 2512
Re: deb package for arnold? ;)
« Reply #3 on: 22: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

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.336
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2274
  • Likes Given: 3478
Re: deb package for arnold? ;)
« Reply #4 on: 23: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.

My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline robcfg

  • Supporter
  • 6128 Plus
  • *
  • Posts: 2.337
  • Country: se
  • 8-Bit Technomancer
    • index.php?action=treasury
  • Liked: 1043
  • Likes Given: 2512
Re: deb package for arnold? ;)
« Reply #5 on: 15: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

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.336
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2274
  • Likes Given: 3478
Re: deb package for arnold? ;)
« Reply #6 on: 14: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

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.
« Last Edit: 14:42, 20 August 17 by arnoldemu »
My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline blackdalek

  • Supporter
  • CPC6128
  • *
  • Posts: 227
  • Country: au
  • Fraser
  • Liked: 96
  • Likes Given: 289
Re: deb package for arnold? ;)
« Reply #7 on: 17:42, 20 August 17 »
The deb package appears to work in Ubuntu.

 [ Invalid Attachment ]

....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....
« Last Edit: 17:46, 20 August 17 by blackdalek »
CPC6128 modded with ABBA switch. External 5.25" floppy drive with side switch and Multiface 2. Now also sporting a joystick splitter and M4 WiFi board.

Offline Ygdrazil

  • Global Moderator
  • 464 Plus
  • *****
  • Posts: 488
  • Country: dk
  • Liked: 47
  • Likes Given: 254
Re: deb package for arnold? ;)
« Reply #8 on: 12:21, 21 August 17 »
Hi

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

/Ygdrazil

The deb package appears to work in Ubuntu.

 [ Invalid Attachment ]

....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....

Offline blackdalek

  • Supporter
  • CPC6128
  • *
  • Posts: 227
  • Country: au
  • Fraser
  • Liked: 96
  • Likes Given: 289
Re: deb package for arnold? ;)
« Reply #9 on: 05: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

CPC6128 modded with ABBA switch. External 5.25" floppy drive with side switch and Multiface 2. Now also sporting a joystick splitter and M4 WiFi board.

Offline arnoldemu

  • Supporter
  • 6128 Plus
  • *
  • Posts: 5.336
  • Country: gb
    • Unofficial Amstrad WWW Resource
  • Liked: 2274
  • Likes Given: 3478
Re: deb package for arnold? ;)
« Reply #10 on: 11:07, 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.


My games. My Games
My website with coding examples: Unofficial Amstrad WWW Resource

Offline blackdalek

  • Supporter
  • CPC6128
  • *
  • Posts: 227
  • Country: au
  • Fraser
  • Liked: 96
  • Likes Given: 289
Re: deb package for arnold? ;)
« Reply #11 on: 15: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.
CPC6128 modded with ABBA switch. External 5.25" floppy drive with side switch and Multiface 2. Now also sporting a joystick splitter and M4 WiFi board.