Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 26 May 2015, 12:02
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Games
Gens/GS r7 (Sega emulator)
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [9 Posts]  
Author Message
piratesmack


Joined: 16 Sep 2009
Posts: 100

PostPosted: Fri 21 May 2010, 06:01    Post subject:  Gens/GS r7 (Sega emulator)  

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:

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
SDL-1.2.14-i486.pet
Description  SDL with --enable-video-opengl
pet

 Download 
Filename  SDL-1.2.14-i486.pet 
Filesize  344.31 KB 
Downloaded  657 Time(s) 

Last edited by piratesmack on Fri 21 May 2010, 17:24; edited 5 times in total
Back to top
View user's profile Send private message 
dejan555


Joined: 30 Nov 2008
Posts: 2755
Location: Montenegro

PostPosted: Fri 21 May 2010, 06:20    Post subject:  

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

_________________
Dpup 487 | Puppy Gallery | My photo gallery | mtPaint works
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
piratesmack


Joined: 16 Sep 2009
Posts: 100

PostPosted: Fri 21 May 2010, 06:42    Post subject:  

Thanks for the mirror

Oops, one more dependency: mesa
Back to top
View user's profile Send private message 
dejan555


Joined: 30 Nov 2008
Posts: 2755
Location: Montenegro

PostPosted: Fri 21 May 2010, 11:00    Post subject:  

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.


_________________
Dpup 487 | Puppy Gallery | My photo gallery | mtPaint works
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
dejan555


Joined: 30 Nov 2008
Posts: 2755
Location: Montenegro

PostPosted: Fri 21 May 2010, 12:14    Post subject:  

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

_________________
Dpup 487 | Puppy Gallery | My photo gallery | mtPaint works
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
piratesmack


Joined: 16 Sep 2009
Posts: 100

PostPosted: Fri 21 May 2010, 14:53    Post subject:  

Thanks

Did you do anything special to fix the graphics?
Back to top
View user's profile Send private message 
dejan555


Joined: 30 Nov 2008
Posts: 2755
Location: Montenegro

PostPosted: Fri 21 May 2010, 15:03    Post subject:  

Not really I just changed some of config settings, made it use both SDL and opengl backend and applied some of rendering engines.
_________________
Dpup 487 | Puppy Gallery | My photo gallery | mtPaint works
Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
piratesmack


Joined: 16 Sep 2009
Posts: 100

PostPosted: Fri 21 May 2010, 17:22    Post subject:  

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

Package is attached to first post
Back to top
View user's profile Send private message 
yamnaka


Joined: 01 Mar 2012
Posts: 11
Location: carcassonne france

PostPosted: Fri 03 Apr 2015, 15:27    Post subject:  

thanks
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [9 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Games
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0535s ][ Queries: 12 (0.0038s) ][ GZIP on ]