Aranym Network under OSX 10.12

WinSTon, Nostalgia, MSA Converter, FloImg, Makedisk and all the others.

Moderators: Mug UK, Moderator Team

User avatar
lp
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2324
Joined: Wed Nov 12, 2003 11:09 pm
Location: GFA Headquarters
Contact:

Re: Aranym Network under OSX 10.12

Postby lp » Mon Sep 11, 2017 11:11 am

Thorsten, I have spent considerable time using the latest snapshot and not one hiccup with the mouse grab or the bpf_helper login prompt. I thought I was going to be stuck with v0.9.16 forever. Thanks again for caring on these issues. :cheers:

ThorstenOtto
Captain Atari
Captain Atari
Posts: 314
Joined: Sun Aug 03, 2014 5:54 pm

Re: Aranym Network under OSX 10.12

Postby ThorstenOtto » Fri Sep 15, 2017 12:44 am

lp wrote:Thorsten, I have spent considerable time using the latest snapshot and not one hiccup with the mouse grab or the bpf_helper login prompt. I thought I was going to be stuck with v0.9.16 forever. Thanks again for caring on these issues. :cheers:


Sounds good ;) Looks like we are approaching a new release...

User avatar
lp
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2324
Joined: Wed Nov 12, 2003 11:09 pm
Location: GFA Headquarters
Contact:

Re: Aranym Network under OSX 10.12

Postby lp » Wed Dec 27, 2017 1:35 pm

Just a heads up for Mac users. I updated to macOS High Sierra (10.13.2) and like usual something in aranym breaks. When I ungrab the mouse a weird XOR like box appears around the white host mouse, but only while it's in the window. Regrab the window and it disappears. It's not hurting anything though, just looks strange. Perhaps SDL related.

ThorstenOtto
Captain Atari
Captain Atari
Posts: 314
Joined: Sun Aug 03, 2014 5:54 pm

Re: Aranym Network under OSX 10.12

Postby ThorstenOtto » Wed Dec 27, 2017 2:31 pm

lp wrote:I updated to macOS High Sierra (10.13.2) and like usual something in aranym breaks.


I don't have a working High Sierra version yet, so i cannot test it. Should i find an image that works in VirtualBox i can take a look at it, but it really sounds like an SDL problem.

User avatar
frank.lukas
Hardware Guru
Hardware Guru
Posts: 1587
Joined: Tue Jan 29, 2008 5:33 pm
Location: Germany

Re: Aranym Network under OSX 10.12

Postby frank.lukas » Wed Dec 27, 2017 3:08 pm

I use HighSierra macOS 10.13.2 and all works fine ...

macaranym.jpg


Code: Select all

[GLOBAL]
FastRAM = 256
Floppy =
TOS = ROM
EmuTOS = emutos-aranym.img
Bootstrap = mintara.prg
BootstrapArgs =
BootDrive = c
GMTime = No

[STARTUP]
GrabMouse = Yes
Debugger = No

[IKBD]
WheelEiffel = Yes
AltGr = No

[HOTKEYS]
Setup = 44:0x400
Quit = 113:0x400
Reboot = 114:0x400
Ungrab = 109:0x400
Debug = 100:0x400
Screenshot = 115:0x400
Fullscreen = 102:0x400

[JIT]
JIT = Yes
JITFPU = Yes
JITCacheSize = 8192
JITLazyFlush = 1
JITBlackList =
JITInline = No

[VIDEO]
FullScreen = No
BootColorDepth = -1
VidelRefresh = 2
VidelMonitor = -1
SingleBlitComposing = No
SingleBlitRefresh = No

[TOS]
Cookie_MCH = 50000
RedirConsole = No

[IDE0]
Present = No
IsCDROM = No
ByteSwap = No
ReadOnly = No
Path =
Cylinders = 0
Heads = 0
SectorsPerTrack = 0
ModelName = Master

[IDE1]
Present = No
IsCDROM = No
ByteSwap = No
ReadOnly = No
Path =
Cylinders = 0
Heads = 0
SectorsPerTrack = 0
ModelName = Slave

[PARTITION0]
Path = easymint_c.img
Present = Yes
PartID = BGM
ByteSwap = Yes
ReadOnly = No

[PARTITION1]
Path = easymint_d.img
Present = Yes
PartID = LNX
ByteSwap = No
ReadOnly = No

[HOSTFS]
A =
B =
C =
D =
E =
F =
G =
H = ~/Downloads
I =
J =
K =
L =
M =
N =
O =
P =
Q =
R =
S =
T =
U =
V =
W =
X =
Y =
Z =

[OPENGL]
Enabled = No
Filtered = No
Library =

[ETH0]
Type = bridge debug ip
Tunnel = en0
HostIP = 192.168.2.1
AtariIP = 192.168.2.10
Netmask = 255.255.255.0
MAC = 00:3e:e1:c1:fd:d2

[LILO]
Kernel = linux.bin
Args = root=/dev/ram video=atafb:vga16
Ramdisk = root.bin

[MIDI]
Type = none
File =
Sequencer = /dev/sequencer

[CDROMS]
A = -1
B = -1
C = -1
D = -1
E = -1
F = -1
G = -1
H = -1
I = -1
J = -1
K = -1
L = -1
M = -1
N = -1
O = -1
P = -1
Q = -1
R = -1
S = -1
T = -1
U = -1
V = -1
W = -1
X = -1
Y = -1
Z = -1

[AUTOZOOM]
Enabled = No
IntegerCoefs = No
FixedSize = No
Width = 1024
Height = 768

[NFOSMESA]
ChannelSize = 0
LibGL = libGL.so
LibOSMesa = libOSMesa.so

[PARALLEL]
Type = file
File = stderr
Parport = /dev/parport0

[SERIAL]
Serport = /dev/ttyS0

[NATFEATS]
CDROM = sdl
Vdi = soft

[NFVDI]
UseHostMouseCursor = No

[AUDIO]
Frequency = 22050
Channels = 2
Bits = 16
Samples = 1024

[JOYSTICKS]
Ikbd0 = -1
Ikbd1 = 0
JoypadA = -1
JoypadAButtons = 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
JoypadB = -1
JoypadBButtons = 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
You do not have the required permissions to view the files attached to this post.
fancy Atari Musik anDA Dance "Agare Hinu Harukana" 1998 ATARI http://www.youtube.com/watch?v=JX10fxb5eYE

User avatar
lp
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2324
Joined: Wed Nov 12, 2003 11:09 pm
Location: GFA Headquarters
Contact:

Re: Aranym Network under OSX 10.12

Postby lp » Wed Dec 27, 2017 5:04 pm

frank.lukas wrote:I use HighSierra macOS 10.13.2 and all works fine ...

When I snap the screen the white host cursor doesn't appear in the snapshot, so I had to use a camera. MacAranym really could use an SDL overhaul.

Screen Shot 2017-12-27 at 11.59.03 AM.png
You do not have the required permissions to view the files attached to this post.
Last edited by lp on Wed Dec 27, 2017 5:50 pm, edited 2 times in total.

User avatar
frank.lukas
Hardware Guru
Hardware Guru
Posts: 1587
Joined: Tue Jan 29, 2008 5:33 pm
Location: Germany

Re: Aranym Network under OSX 10.12

Postby frank.lukas » Wed Dec 27, 2017 5:32 pm

I don´t know. I use MacAranym ...
fancy Atari Musik anDA Dance "Agare Hinu Harukana" 1998 ATARI http://www.youtube.com/watch?v=JX10fxb5eYE

User avatar
lp
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2324
Joined: Wed Nov 12, 2003 11:09 pm
Location: GFA Headquarters
Contact:

Re: Aranym Network under OSX 10.12

Postby lp » Wed Dec 27, 2017 5:51 pm

So am I. It's ThorstenOtto most recent snapshot. Like I say it's not a show stopper, it just looks weird. Soon as I re-grab the window it's goes back to normal.
Made a video: https://drive.google.com/open?id=1jh3AK ... vqcsoIAqcF

ThorstenOtto
Captain Atari
Captain Atari
Posts: 314
Joined: Sun Aug 03, 2014 5:54 pm

Re: Aranym Network under OSX 10.12

Postby ThorstenOtto » Thu Dec 28, 2017 12:28 am

lp wrote:it just looks weird. Soon as I re-grab the window it's goes back to normal.
Made a video: https://drive.google.com/open?id=1jh3AK ... vqcsoIAqcF


That looks really weird. But i don't think that this can be an Aranym bug, the area that is XORed seems to be larger than the 16x16 that makes up a mouse cursor.

goran
Atari User
Atari User
Posts: 37
Joined: Sat Feb 27, 2016 4:17 pm

Re: Aranym Network under OSX 10.12

Postby goran » Sun Jan 28, 2018 8:12 pm

I have exactly the same cursor problem on High Sierra with Pax Galaxia, an old game that uses SDL.

ThorstenOtto
Captain Atari
Captain Atari
Posts: 314
Joined: Sun Aug 03, 2014 5:54 pm

Re: Aranym Network under OSX 10.12

Postby ThorstenOtto » Wed Feb 21, 2018 1:47 am

Just found this issue opened in macports which has also been reported the SDL developer team. Seems to be a SDL problem. But since SDL 1.x isn't actively developed, may have to find a workaround for this.

ThorstenOtto
Captain Atari
Captain Atari
Posts: 314
Joined: Sun Aug 03, 2014 5:54 pm

Re: Aranym Cursor problems under macOS 10.13 (was: Aranym Network under OSX 10.12)

Postby ThorstenOtto » Fri Feb 23, 2018 1:22 am

So i've got some news on this, some bad, some good.

The bad news: i wasn't able to find a workaround. i've tried to replace the SDL_CreateCursor(), but that did not work for several reasons:
  • The function is also called once in SDL itself to create the default cursor. That one can't be replaced.
  • It's not only the way the cursor is created that causes problems, but also the drawing routine inside SDL, which cannot be replaced either.

Then i tried to compile SDL 1.2 myself. That fails because Apple removed some declarations in 10.9 that are needed by SDL. That means you have to use an rather old version of Xcode to compile it (5.1 or something like that) which still has support for older SDKs. Problem with that: such old versions refuse to be installed on newer version of the OS. So you will also need a system with macOS 10.8. Problem with that: i don't have thousands of PCs just to install thousands of different macOS version. Also, such old versions will not detect all hardware of modern PCs, and just don't work anymore.

Now to the good news:
  • You can install XQuartz, and use the x11 driver of SDL, by setting the SDL_VIDEODRIVER environment variable. That driver does not have the problem, but display output might be a bit slower, and you don't have the Menubar.
  • You can use a newer snapshot version, which now also has binaries compiled with SDL2. SDL2 does not seem to have that problem (but there might be others, i haven't tested it much)

User avatar
lp
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2324
Joined: Wed Nov 12, 2003 11:09 pm
Location: GFA Headquarters
Contact:

Re: Aranym Network under OSX 10.12

Postby lp » Fri Feb 23, 2018 6:36 am

I gave build 8576175 a quick test (MacAranym SDL2.app). The mouse grab is working but it flickers outside the window border a little bit. Depending on the inertia it will even sometimes cause the Dock bubbles to appear. Window is about inch 1/2 away from the Dock.

Also when aranym first starts up the mouse reacts much like hatari in that its somehow out of sync and you have to bump the borders to gain control, else you can't get the mouse to the area you need to click in the boot manager. Never noticed this with previous builds. At this stage the mouse is restricted to a smaller part of the window (blowup03 has't ran yet), you see 2 mice when it touches the edges. One in the smaller area and one at the window border. Best I can describe it. If you need a video let me know.

The odd XOR block around the mouse is gone though.

Cheers for the SDL2 makeover.

goran
Atari User
Atari User
Posts: 37
Joined: Sat Feb 27, 2016 4:17 pm

Re: Aranym Network under OSX 10.12

Postby goran » Tue Feb 27, 2018 7:43 pm

I attached the patched SDL (1) framework. You only need to replace one in the /Contents/Frameworks/ with this patched one and cursor problem goes away. :)

Best regards,
Goran
You do not have the required permissions to view the files attached to this post.

arf
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 146
Joined: Thu May 17, 2012 9:56 pm
Location: Germany

Re: Aranym Cursor problems under macOS 10.13 (was: Aranym Network under OSX 10.12)

Postby arf » Tue Feb 27, 2018 10:53 pm

ThorstenOtto wrote:So i've got some news on this, some bad, some good. Problem with that: such old versions refuse to be installed on newer version of the OS. So you will also need a system with macOS 10.8. Problem with that: i don't have thousands of PCs just to install thousands of different macOS version. Also, such old versions will not detect all hardware of modern PCs, and just don't work anymore.


It’s still tedious, but … you could install Mac OS X 10.8 inside a virtual machine within your existing macOS 10.12 or 10.13. That eliminates incompatible hardware and reduces hardware clutter. There are several options to do so.

ThorstenOtto
Captain Atari
Captain Atari
Posts: 314
Joined: Sun Aug 03, 2014 5:54 pm

Re: Aranym Network under OSX 10.12

Postby ThorstenOtto » Wed Feb 28, 2018 1:31 am

goran wrote:I attached the patched SDL (1) framework. You only need to replace one in the /Contents/Frameworks/ with this patched one and cursor problem goes away. :)

Best regards,
Goran


And what exactly is changed there? You know, SDL is under GPL, and if we distribute a modified binary, we also have to distribute the source.

ThorstenOtto
Captain Atari
Captain Atari
Posts: 314
Joined: Sun Aug 03, 2014 5:54 pm

Re: Aranym Cursor problems under macOS 10.13 (was: Aranym Network under OSX 10.12)

Postby ThorstenOtto » Wed Feb 28, 2018 1:35 am

arf wrote:It’s still tedious, but … you could install Mac OS X 10.8 inside a virtual machine within your existing macOS 10.12 or 10.13. That eliminates incompatible hardware and reduces hardware clutter. There are several options to do so.


Yes, i know. I'm already doing that with OSX 10.12, 10.13, Windows 7, Windows XP, Windows 2000, NetBSD, OpenBSD, FreeBSD, several versions of Ubuntu, several versions of debian, CentOS, Solaris... and maybe some other that i forgot ;)

goran
Atari User
Atari User
Posts: 37
Joined: Sat Feb 27, 2016 4:17 pm

Re: Aranym Network under OSX 10.12

Postby goran » Wed Feb 28, 2018 2:42 pm

ThorstenOtto wrote:
goran wrote:I attached the patched SDL (1) framework. You only need to replace one in the /Contents/Frameworks/ with this patched one and cursor problem goes away. :)


And what exactly is changed there? You know, SDL is under GPL, and if we distribute a modified binary, we also have to distribute the source.


I don't know. It was patched by user kanjitalk755 for Sheepshaver emulator. I just decided to try on MacAranym and that game that I mentioned and it worked.

A github page with his project: https://github.com/kanjitalk755/macemu/ ... heepShaver

Best regards,
Goran

User avatar
lp
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2324
Joined: Wed Nov 12, 2003 11:09 pm
Location: GFA Headquarters
Contact:

Re: Aranym Network under OSX 10.12

Postby lp » Wed Feb 28, 2018 5:33 pm

goran wrote:I attached the patched SDL (1) framework. You only need to replace one in the /Contents/Frameworks/ with this patched one and cursor problem goes away. :)


Indeed it does. :cheers:

ThorstenOtto
Captain Atari
Captain Atari
Posts: 314
Joined: Sun Aug 03, 2014 5:54 pm

Re: Aranym Network under OSX 10.12

Postby ThorstenOtto » Wed Feb 28, 2018 7:39 pm

goran wrote:I don't know. It was patched by user kanjitalk755 for Sheepshaver emulator. I just decided to try on MacAranym and that game that I mentioned and it worked.


Strange, does not look like he changed anything there. Maybe he just used an older snapshot, i couldn't figure out yet how the *.dmg was built. So the best we can do is to add a hint in Aranym about that version, but this is of course not very pleasing.

Btw, distributing binaries of SDL, and not offering the sources, is in violation of GPL.

goran
Atari User
Atari User
Posts: 37
Joined: Sat Feb 27, 2016 4:17 pm

Re: Aranym Network under OSX 10.12

Postby goran » Wed Feb 28, 2018 9:39 pm

In Sheepshaver case, the app is build with SDL and library is within the application, not as a separate binary. If I did something wrong pulling it out and posting here to solve a problem, I will gladly remove the link.

Best regards,
Goran

ThorstenOtto
Captain Atari
Captain Atari
Posts: 314
Joined: Sun Aug 03, 2014 5:54 pm

Re: Aranym Network under OSX 10.12

Postby ThorstenOtto » Wed Feb 28, 2018 10:34 pm

goran wrote:In Sheepshaver case, the app is build with SDL and library is within the application, not as a separate binary.


But in the case of MacOS, it *is* a separate binary ;) (right click on it, "Show Package Contents", and navigate to Contents/Frameworks/SDL.framework, you will find the SDL binary there)

If I did something wrong pulling it out and posting here to solve a problem, I will gladly remove the link.


You only posted a link, and did not attach it, i see no problem with that.

BTW if just compared the two versions again. In the Info.plist file, there is a different build id, and some other minor differences, so they are definitely different versions (although both are 1.2.15). However, on libsdl.org, there is only a single *.dmg archive. Difficult to tell which sources were used to build those, there have been some fixes in the 1.2.15 branch, but since it is not officially supported anymore, there have no new releases been made. Looking at the file dates in the bundles does not help either, they are the same for all files in the directory, so apparently it is the date the dmg archive was built.


Social Media

     

Return to “Other emulators & tools”

Who is online

Users browsing this forum: No registered users and 1 guest