Gens/GS r7 (Sega emulator)

Play with your Puppy.
Post Reply
Message
Author
User avatar
piratesmack
Posts: 100
Joined: Wed 16 Sep 2009, 14:22

Gens/GS r7 (Sega emulator)

#1 Post by piratesmack »

Compiled on Quirky 1.1
gensgs-7-i486.pet

'Lite' package by dejan555:
gensgs-7-i486-lite.pet

Requires SDL and mesa

I had to remove an annoying root check in g_main_unix.cpp (root likes sega, too!)

Code: Select all

if (geteuid() == 0)
	{
		// Don't run Gens/GS as root!
		static const char gensRootErr[] =
				"Error: Gens/GS should not be run as root.\n"
				"Please log in as a regular user.";
		
		fprintf(stderr, "%s\n", gensRootErr);
		
		#ifdef GENS_UI_GTK
			// Check if X is running.
			char *display = getenv("DISPLAY");
			if (display)
			{
				if (gtk_init_check(NULL, NULL))
					GensUI::msgBox(gensRootErr, GENS_APPNAME " - Permissions Error", GensUI::MSGBOX_ICON_ERROR);
			}
		#endif /* GENS_UI_GTK */
		
		return 1;
	}
If SDL+OpenGL backend fails, try the attached SDL package
Last edited by piratesmack on Fri 21 May 2010, 21:24, edited 5 times in total.

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#2 Post by dejan555 »

Haven't tested this yet but here's a mirror:
gensgs-7-i486.pet

Will test later I think I haven't played sega games since I switched to linux mostly been playing Mame/Snes/N64
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
piratesmack
Posts: 100
Joined: Wed 16 Sep 2009, 14:22

#3 Post by piratesmack »

Thanks for the mirror

Oops, one more dependency: mesa

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#4 Post by dejan555 »

Works for me although video is not optimal but this is on (k)dpup, not quirky, will certainly look into video options or try to compile myself for dpup. Thanks.

Image
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#5 Post by dejan555 »

Hmm yeah graphics are good now, also I cut package, removed shared docs and libtool .la files now pet is 801 KB:
gensgs-7-i486-lite.pet
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
piratesmack
Posts: 100
Joined: Wed 16 Sep 2009, 14:22

#6 Post by piratesmack »

Thanks

Did you do anything special to fix the graphics?

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#7 Post by dejan555 »

Not really I just changed some of config settings, made it use both SDL and opengl backend and applied some of rendering engines.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
piratesmack
Posts: 100
Joined: Wed 16 Sep 2009, 14:22

#8 Post by piratesmack »

To get the SDL+OpenGL backend to work, I had to recompile SDL with '--enable-video-opengl'

Package is attached to first post

User avatar
yamnaka
Posts: 12
Joined: Thu 01 Mar 2012, 22:26
Location: carcassonne france
Contact:

#9 Post by yamnaka »

thanks

Post Reply