pouët.net

grafx2 is back to life!

category: gfx [glöplog]
New modes are kewl, but I personally hope the old bugs will also corrected.
And some features improved...
added on the 2017-06-24 01:55:43 by sim sim
Hi there,

Today I finally had a little time to spend on GrafX2 and finalized the 2.5 release. For now it is packaged only for Haiku (my main OS). Packages for other OS will follow soon as the porters get a chance to build it.

Thanks to the work of miniupnp, we now have continuous integration up and running and nightly builds available both for Windows and Linux, so you can check what's happening with the sources and hopefully report bugs before we make releases.

Thanks to everyone for your support and making such beautiful things with GrafX2 :)
Are you using an unusual .exe packer ? my work firewall thinks the current windows stable has a trojan:

Gateway Anti-Virus Alert

This request is blocked by the Firewall Gateway Anti-Virus Service. Name: Grinidou.B_11 (Trojan) blocked.

which I'm sure it doesn't.
added on the 2018-05-09 18:18:20 by spiny spiny
Hi PulkoMandy,

I wonder if there are plans to use SDL2 in future versions of Grafx2?

SDL1 have such bad performance on macOS with retina-screen that people are running the Windows version of Grafx2 through Wine as a workaround.

Thanks a lot of supporting the program, it's a great piece of software, very much appreciated!
added on the 2018-05-09 23:55:35 by evil evil
No packer involved, so I don't know what happens with the Windows build. I don't think we are doing anything special.

Work was started towards SDL2, but at the moment it is less portable (including to Haiku, which is the main OS I use and where SDL2 is slower than SDL1, but also to a lot of other platforms: Atari, Amiga, ...), so I'm not working actively on it. And yrizoud who was working on it seems to have moved on to other things.

It should be possible to change the way the screen is updated in GrafX2 (we use different strategies on different platforms to optimize performance). If someone has an OSX machine and can compile the code, maybe that would be enough to fix the performance problems. See sdlscreen.c and the UPDATE_METHOD define. Let me know if one of the two alternative methods work better than FULL_PAGE on OSX.

The port to SDL2 is not trivial because it means changing a lot of things, in particular I think 256 color modes with palette are not really available anymore (especially as we do colorcycling tricks, etc)? Also lots of changes in the input system, keyboard management, etc, which makes it hard to have the source build with both SDL and SDL2 (that would allow maximum portability). And GrafX2 is using SDL way beyond reasonable limits. I would consider switching to something completely different than SDL, if only I had time for such a project :)
I gave this a try but I can't even manage to compile SDL 1.2 on macOS.

Getting an error:
Code: In file included from ./src/video/x11/SDL_x11dyn.c:96: ./src/video/x11/SDL_x11sym.h:168:17: error: conflicting types for '_XData32' SDL_X11_SYM(int,_XData32,(Display *dpy,register long *data,unsigned len),(dpy,data,len),return) ^ /usr/X11R6/include/X11/Xlibint.h:673:12: note: previous declaration is here
added on the 2018-05-10 21:54:53 by dodke dodke
Thanks to miniupnp we now have an official installer and portable version of GrafX2 for Windows. Both available on the downloads page.

Let me know if you have GrafX2 2.5 ported and packaged for other platforms, I'll happily add them to the download page.
Wow, that was unexpected but I'm really happy to see Grafx2 is getting an update! Good job Pulkomandy!
added on the 2018-05-14 15:05:56 by exocet exocet
Hi there,

Thanks to miniupnp's amazing work, we now have support for sdl2, as well as native win32 and x11 backends. It should now be easier to add new backends, if someone wants to attempt a more native osx port or whatever.

This is still work in progress, for exemple ttf fonts are not supported yet. I would like to get feedback and bugreports on these new versions.

Have fun!
Please, add C64 modes + limitations.
Cheers :)
added on the 2018-06-29 22:37:29 by ISL ISL
Great stuff Pulkomandy :) I will ask a friend for help to build it for macOS with SDL2. Hopefully he will succeed.
added on the 2018-06-30 23:20:10 by evil evil
Quote:
Great stuff Pulkomandy :) I will ask a friend for help to build it for macOS with SDL2. Hopefully he will succeed.


He did :P

https://blog.troed.se/2018/07/02/grafx2-sdl2-version-for-macos-64-bit/
added on the 2018-07-03 00:19:04 by troed troed

login