Re: Release of Enigma 1.30-alpha

2020-12-29 Thread Andreas Lochmann
Hi everyone, just fixed the rubberband crashes. They were due to anchor1 and anchor2 being uninitialized. This was the case in Enigma 1.21 as well, but no bug in this respect was ever reported for 1.21. Regards Andreas Am 29.12.20 um 03:39 schrieb Andreas Lochmann: Hi everyone, Sidney a

Re: Release of Enigma 1.30-alpha

2020-12-28 Thread Andreas Lochmann
Hi everyone, Sidney and I did some more tests, and it turns out that the mouse event problem is caused by a feature of VirtualBox, called "mouse integration". It is used to combine the desktop of the host and of VirtualBox to a single desktop, and obviously confuses SDL2. It can be turned off

Re: Release of Enigma 1.30-alpha

2020-12-26 Thread Sidney Markowitz
Andreas Lochmann wrote on 26/12/20 1:40 pm: I wrote a first draft of a manual relative mouse mode, in branch "alternative-mouse-input-1.3". You find the new button in the options menu, [ ... ] Could you check if the "slow"-mode at least works for you? Thank you in advance. "Slow" mode works

Re: Release of Enigma 1.30-alpha

2020-12-25 Thread Andreas Lochmann
Hi Sidney, I wrote a first draft of a manual relative mouse mode, in branch "alternative-mouse-input-1.3". You find the new button in the options menu, submenu "Config" (together with the other mouse related options). When you set it to "slow" it should work for you. With "slow" and "fast" I refe

Re: Release of Enigma 1.30-alpha

2020-12-25 Thread Mark Pulley
> On 26 Dec 2020, at 7:03 am, Sidney Markowitz wrote: > > I'm not surprised, although I assume that was a typo in your email and the > error message was "requires macOS 10.15 or later". Oops - 10.15 or later is what I meant! I’ve just installed Big Sur in a separate partition, and Enigma seems

Re: Release of Enigma 1.30-alpha

2020-12-25 Thread Andreas Lochmann
Thank you for your patience, Sidney. We now know the location of the bug (SDL, of course), and have to find a way to work around it. This will need some time. I have an idea how to do this, but it will probably further impact Enigma's performance negatively. I might have to add an option for this.

Re: Release of Enigma 1.30-alpha

2020-12-25 Thread Sidney Markowitz
Andreas Lochmann wrote on 26/12/20 1:56 am: Hmm ... please change line 932 in video.cc from     SDL_SetRelativeMouseMode(enabled ? SDL_TRUE : SDL_FALSE); to:     SDL_SetRelativeMouseMode(SDL_FALSE); This worked, though with the problem you mentioned when the invisible mouse cursor leaves Eni

Re: Release of Enigma 1.30-alpha

2020-12-25 Thread Sidney Markowitz
I'm not surprised, although I assume that was a typo in your email and the error message was "requires macOS 10.15 or later". I think I've figured out the proper settings to make a VirtualBox virtual machine on my Mac that can run High Sierra, and how to deal with the mess resulting from Homeb

Re: Release of Enigma 1.30-alpha

2020-12-25 Thread Andreas Lochmann
I just created a new branch "alternative-mouse-input-1.3". Right now, there is nothing new in it, but I will try some replacement for SetRelativeMouseMode, and commit it here, if it works. Am Fr., 25. Dez. 2020 um 12:54 Uhr schrieb Mark Pulley < mrpul...@iinet.net.au>: > I can’t run it on Mojave

Re: Release of Enigma 1.30-alpha

2020-12-25 Thread Andreas Lochmann
Hmm ... please change line 932 in video.cc from SDL_SetRelativeMouseMode(enabled ? SDL_TRUE : SDL_FALSE); to: SDL_SetRelativeMouseMode(SDL_FALSE); In my case (Ubuntu, XFCE) this introduces another bug: As soon as the (invisible) mouse cursor leaves Enigma's window, no more mouse events are

Re: Release of Enigma 1.30-alpha

2020-12-25 Thread Mark Pulley
I can’t run it on Mojave - an error box comes up: “The application requires MacOS 10.5 or later”. It runs fine on Catalina. Mark P. > On 25 Dec 2020, at 1:20 am, Sidney Markowitz wrote: > In other news, I've built and uploaded a macOS dmg that anyone can use to > install Enigma on macOS withou

Re: Release of Enigma 1.30-alpha

2020-12-24 Thread Sidney Markowitz
Andreas Lochmann wrote on 25/12/20 11:19 am: Could you try "enigma --log --nograb"? This is no solution, but it helps to pin down the problem. It sets two SDL-switches to false; one of them grabs the mouse, such that Enigma does not loose focus when the mouse cursor leaves the window; the other

Re: Release of Enigma 1.30-alpha

2020-12-24 Thread Andreas Lochmann
Yes, there is quite a difference: The menu mouse cursor is displayed by absolute mouse coordinates, delivered by SDL. If there was a problem with absolute measurements, nearly every SDL using application would fail. However, in the game we use relative coordinates (delivered by SDL), which is a muc

Re: Release of Enigma 1.30-alpha

2020-12-24 Thread Sidney Markowitz
That could explain it. I have a MacBook Pro laptop with two external monitors attached. The virtual machine display is on one of the external monitors. I can imagine that a bug in the interaction between SDL2 and the virtual graphics stuff could result in coordinates with large numbers as if the

Re: Release of Enigma 1.30-alpha

2020-12-24 Thread Andreas Lochmann
A mouse event with so large numbers is discarded by Enigma on purpose, because the black ball would suddenly be subjected to an enormous impulse, if the mouse event would have been interpreted the normal way. So, the ball not moving is a logical and necessary consequence to an overly large mouse xr

Re: Release of Enigma 1.30-alpha

2020-12-24 Thread Sidney Markowitz
I tried installing on Ubuntu 20.04 based Linux Mint Mate and got the same problem with the mouse while in the level. At this point the only point of difference I see is that I'm running it on a VirtualBox virtual machine. In other news, I've built and uploaded a macOS dmg that anyone can use

Re: Release of Enigma 1.30-alpha

2020-12-24 Thread ZockDom
Well, I‘ve been running Enigma successfully. Since you asked for possible differences: I built Enigma from the tar archive and everything seems to work fine. I‘m running Manjaro Linux with kernel 5.9.11. Enigma is linked against libSDL2-2.0.so.0 (package version 2.0.12-3), ..._image (2.0.5-2), .

Re: Release of Enigma 1.30-alpha

2020-12-24 Thread Fòram na Gàidhlig
I'm on an Ubuntu 20.04-based Linux Mint Mate. I ran: ./autogen.sh ./configure make sudo make install (needed for translations) Running ./enigma or enigma worked fine. I was missing some dependencies initially, so just to be sure I can "make clean" in between attempts. This is my ./configure sum

Re: Release of Enigma 1.30-alpha

2020-12-23 Thread Sidney Markowitz
So far I have tried building it on VirtualBox virtual machines with CentOS 7, Ubuntu 18.04.5LTS, and Ubuntu 20.04LTS, all with VirtualBox Guest Additions installed, and I have both built from the working directory from the repo with autogen.sh, configure, make gmo, make, sudo make install, sudo

Re: Release of Enigma 1.30-alpha

2020-12-23 Thread Sidney Markowitz
What version of Linux did you use and how did you build it? I guess you built from the git master branch? I tried making a release 1.30-alpha tar.gz and building from that on CentOS 7 and on Ubuntu 18.04 and on both of them the mouse was not responsive once I started a level. Sidney Fòram n

Re: Release of Enigma 1.30-alpha

2020-12-23 Thread Fòram na Gàidhlig
Thanks! I have given it a quick spin on Linux and it seems to be working fine. Need to brush up on my dexterity now! Can you update the translation files on Transifex soon? It would also be good if the strings were sorted by file occurrence rather than alphabetically, to give translators some con

Release of Enigma 1.30-alpha

2020-12-23 Thread Andreas Lochmann
Dear developers, contributors, and friends of Enigma, today we release Enigma 1.30-alpha. It is meant as a version for level developers and bug hunters. However, if you currently have problems running Enigma 1.21 on your system, you might consider switching to Enigma 1.30-alpha, instead of wait