Re: [Ohrrpgce] [ohrrpgce/ohrrpgce] Linux: Package SDL, SDL_mixer in tarballs (#1202)
Also I appealed for testing on Windows at https://www.slimesalad.com/forum/viewtopic.php?t=8342 -- Reply to this email directly or view it on GitHub: https://github.com/ohrrpgce/ohrrpgce/issues/1202#issuecomment-1208875342 You are receiving this because you are subscribed to this thread. Message ID: ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
Re: [Ohrrpgce] [ohrrpgce/ohrrpgce] Linux: Package SDL, SDL_mixer in tarballs (#1202)
After going to some trouble to get a working SDL_mixer 1.2 for linux x86 I realised that if we're shipping our own libraries there's no real reason not to use SDL2 instead for x86 too (currently we use SDL_mixer 1.2 on the dubious theory that an obsolete 32-bit Linux is less likely to have SDL2 installed and might have trouble with OpenGL). Also, linux x86 was the only place we were stuck with libmikmod and smpeg (since they were the default in SDL_mixer 1.2 builds provided by distros). smpeg is so bad it's the reason we dropped MP3 support long ago. (With MP3 patents expiring mpg321 became an option.) We can allow MP3s now. Should we make ogg recoding optional? In theory we could also continue to disallow mp3 so that an mp3 decoder isn't needed, but dr_mp3 is so small it doesn't matter. Also there's a libxmp-lite which handles just .mod, .xm, .it, .s3m rather than all the [formats](https://github.com/libxmp/libxmp/blob/master/docs/formats.txt) supported by libxmp (I don't know if SDL_mixer allows playing them though). libxmp-lite is about 120kB vs libxmp 560kB in Windows -O3 release builds (can be reduced by compiling with -O2 or -Os instead) or by disabling some formats. -- Reply to this email directly or view it on GitHub: https://github.com/ohrrpgce/ohrrpgce/issues/1202#issuecomment-1208875155 You are receiving this because you are subscribed to this thread. Message ID: ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
Re: [Ohrrpgce] SVN: james/13046 Disable checking for scNumLock when choosing a scancode for button mappi
We ought to have an alternative to the Pause key for pausing. A lot of the map layer shortcut keys in the map editor are problematic too, and alternatives would e good, but we're out of key combos. There are so many different things you might want to do to a map layer that I think we need a whole new control scheme where you select a layer then select an operation... as well as mouse support fo the same. On Mon, 8 Aug 2022 at 14:22, James Paige via Ohrrpgce < ohrrpgce@lists.motherhamster.org> wrote: > I fired up testgame/inpiuttest.rpg and made an exhaustive search. > > The normal place where the numlock key would be has been replaced with a > key that has a calculator icon on it. It does not send any scancode at all > with my current keyboard mapping. NumLock is always on, and after testing > every key on the keyboard (including Fn shift states) I never found any way > to turn it off. I also have neither ScrollLock nor Pause. > > On Sun, Aug 7, 2022 at 8:37 PM Ralph Versteegen via Ohrrpgce < > ohrrpgce@lists.motherhamster.org> wrote: > >> You were searching your keyboard but more likely you should have been >> searching the web for the numlock key; these things are well hidden ; ) >> >> On Mon, 8 Aug 2022 at 12:25, James Paige wrote: >> >>> There might be a NumLock key that I just failed to find. One of my >>> wife's pet names for me is "Terrible Detective Agency" >>> >>> My brain does not index well for search >>> >>> On Sun, Aug 7, 2022, 8:21 PM Ralph Versteegen >>> wrote: >>> I didn't know there were keyboards like that. Lack of numlock is potentially a problem if you want to use it in a game. If numlock is on, then we treat numpad keys as distinct so they don't work like arrow keys. Which is better than being stuck off, I suppose. On Mon, 8 Aug 2022 at 00:14, James Paige wrote: > For my computer it is stuck down at all times. I spent about 90 > seconds searching my keyboard for a NumLock key before I gave up and > changed the code > > Yeah, I think skipping caps lock and scrollock too is probably a good > idea > > On Sat, Aug 6, 2022, 11:13 PM Ralph Versteegen via Ohrrpgce < > ohrrpgce@lists.motherhamster.org> wrote: > >> Stuck down even if you press numlock to turn it off? In what >> situations? >> Is it appropriate to ignore capslock and scrolllock too? All three >> are ignored pretty much everywhere else that we scan for a pressed key. >> >> On Sun, 7 Aug 2022 at 07:45, subversion--- via Ohrrpgce < >> ohrrpgce@lists.motherhamster.org> wrote: >> >>> james >>> 2022-08-06 12:45:28 -0700 (Sat, 06 Aug 2022) >>> 117 >>> Disable checking for scNumLock when choosing a scancode for button >>> mapping, since it is stuck down in some situations >>> --- >>> U wip/generaledit.rbas >>> >>> ___ >>> Ohrrpgce mailing list >>> ohrrpgce@lists.motherhamster.org >>> >>> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org >>> >> ___ >> Ohrrpgce mailing list >> ohrrpgce@lists.motherhamster.org >> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org >> > ___ >> Ohrrpgce mailing list >> ohrrpgce@lists.motherhamster.org >> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org >> > ___ > Ohrrpgce mailing list > ohrrpgce@lists.motherhamster.org > http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org > ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
[Ohrrpgce] SVN: james/13048 Added an option to disable the victory dance for specific heroes
james 2022-08-08 08:12:48 -0700 (Mon, 08 Aug 2022) 64 Added an option to disable the victory dance for specific heroes --- U wip/bmod.rbas U wip/heroedit.rbas U wip/loading.rbas U wip/udts.bi U wip/whatsnew.txt ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
Re: [Ohrrpgce] [ohrrpgce/ohrrpgce] Linux: Package SDL, SDL_mixer in tarballs (#1202)
Although I've just finished building portable libmodplug and libSDL2_mixer for linux, I suppose if we switch to libxmp now it'll still save time later. I forgot that we had some additional test module music in testfiles/. And my shell history tells me I previously listened to these with the `xmp` commandline player :) * loop_test.xm: I can hear that modplug and xmp sound slightly different (the electric guitar 4s in). I don't know which is more correct. * dreaming_hard_loop_pause_test.xm: the slight unwanted pause at the end when playing with modplug is not there with xmp. Listening to the tracks in audiotest.rpg (not as closely) I couldn't notice any differences in most tracks, while there certainly are some when playing with mikmod. * The big exception is song 5 (the only .it track). There is some major difference in first 5 seconds; with modplug there are some clicks and I think something is getting cut out. * Also, song 10 has a slight pause on loop with modplug, not xmp, like the loop test track. * There was one slight click about 25s into song 11 with modplug that xmp didn't have. Very recently libmodplug actually copied some code from xmp to fix a few bugs and inaccuracies. So that's an endorsement. It seems there tends to be some volume difference between module playback libraries (I previously had to hack around that to get it more similar), but `xmp` and playing in Custom with the volume turned to max are very nearly the same volume. -- Reply to this email directly or view it on GitHub: https://github.com/ohrrpgce/ohrrpgce/issues/1202#issuecomment-1208018322 You are receiving this because you are subscribed to this thread. Message ID: ___ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org