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 Wed 01 Jul 2015, 00:54
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 Posts_count  
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

Edited_times_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_website MSNM 
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_website MSNM 
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_website MSNM 
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_website MSNM 
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_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Games
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0518s ][ Queries: 11 (0.0026s) ][ GZIP on ]