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 22 Oct 2014, 22:32
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Games
Mednafen
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [15 Posts]  
Author Message
IlluminatiPL

Joined: 16 Feb 2014
Posts: 27

PostPosted: Sat 19 Apr 2014, 17:32    Post subject:  Mednafen
Subject description: Multi-Emulator of Games
 

Wiki: http://en.wikipedia.org/wiki/Mednafen
URL: http://murga-linux.com/puppy/viewtopic.php?p=760660#760660
Build: Slacko64 (--build=x86_64-slackware-linux)
Back to top
View user's profile Send private message 
Geoffrey


Joined: 30 May 2010
Posts: 1429
Location: Queensland Australia ɹǝpu∩uʍop

PostPosted: Sat 19 Apr 2014, 21:22    Post subject:  

I compiled this for Carolina, in my case I needed to install Nvidia drivers for smooth play, this needs some configuration that I yet have to figure out, I downloaded a Sega master system rom but can't seem to make Sonic the hedgehog jump Sad

This is for Carolina only, it may work with other pups but will need some dependencies.

Some errors as there is no joystick device, everything else works, I'm no gamer, hope it's found to be of some use.

Remember it's for Carolina, no guarantee it will work with anything else, mednafen-0.9.33.3.pet

http://download.freeroms.com/sega_master_system_roms/s/sonicthehedgehog(us).zip

There is no menu entry, it's a cli app, see http://mednafen.sourceforge.net/

Code:
# mednafen '/root/.mednafen/Sonic the Hedgehog (US).smd'
Starting Mednafen 0.9.33.3
 Build information:
   Compiled with gcc 4.3.4
   Compiled against zlib 1.2.5, running with zlib 1.2.5
   Compiled against SDL 1.2.15, running with SDL 1.2.15
   Running with libsndfile-1.0.20
   Compiled against libcdio 0.82 i486-t2-linux-gnu, running with libcdio (unknown)
 Base directory: /root/.mednafen
 Internal emulation modules: nes snes gb gba pce pce_fast lynx md pcfx ngp psx vb wswan sms gg cdplay
 External emulation modules:
 Loading settings from "/root/.mednafen/mednafen-09x.cfg"...
 Initializing joysticks...
Error opening joystick device "/dev/input/js0": No such device
Error opening joystick device "/dev/input/js1": No such device
 Loading /root/.mednafen/Sonic the Hedgehog (US).smd...
  Applying IPS file "/root/.mednafen/Sonic the Hedgehog (US).smd.ips"...
   Failed: No such file or directory
  Using module: md(Sega Genesis/MegaDrive)

Real: 0x6b86487ac69d9293ULL    Header: 0x4b2474749164b5d7ULL
20202020, 20202020, 20202020
Mapper: ROM
   ROM:       512KiB
   ROM MD5:   0x1bc674be034e43c96b86487ac69d9293
   Header MD5: 0x4b7278a669e66db54b2474749164b5d7
   Product Code: 00001009-00
   Domestic name: SONIC THE               HEDGEHOG               
   Overseas name: SONIC THE               HEDGEHOG               
   Copyright: (C)SEGA 1991.APR
   Checksum:  0x264a
   Supported I/O devices:
    3-Button Gamepad
   Supported regions:
    Japan/Domestic NTSC

   Active Region: Domestic NTSC
   Active Region Reported: Domestic NTSC

   Loading cheats from /root/.mednafen/cheats/md.cht...
    Error opening file "/root/.mednafen/cheats/md.cht": No such file or directory

 Initializing sound...
  Using "ALSA" audio driver with SexyAL's default device selection.
   Bits: 16
   Rate: 48000
   Channels: 2
   Byte order: CPU Native
   Buffer size: 1536 sample frames(32.000000 ms)
   Latency: 1536 sample frames(32.000000 ms)
   Period size: 64 sample frames(1.333333 ms)
 Initializing video...
  Video Driver: OpenGL
  Video Mode: 1440 x 900 x 32 bpp
   Pixel shader: none
  Fullscreen: Yes
  Special Scaler: None
  Scanlines: Off
  Destination Rectangle: X=136, Y=2, W=1168, H=896
  OpenGL Implementation: NVIDIA Corporation GeForce 8600 GT/PCI/SSE2/3DNOW! 3.3.0 NVIDIA 290.10
  Checking extensions:
   GL_ARB_texture_non_power_of_two found.
   GL_ARB_sync found.
  Using non-power-of-2 sized textures.
  Checking maximum texture size...
   Apparently it is at least: 8192 x 8192
  Using GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV for texture source data.
Sonic the Hedgehog (US)-0000.png
 Description   
 Filesize   14.31 KB
 Viewed   930 Time(s)

Sonic the Hedgehog (US)-0000.png


_________________
Carolina: Recent Repository Additions
Create strikethrough text HERE
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8345

PostPosted: Sun 20 Apr 2014, 07:29    Post subject:  

Dont think puppy loads the joydev driver automatically...could try modprobing it.

We have a bundle of sega emulators...one more would make me go crosseyed Very Happy

mike
Back to top
View user's profile Send private message 
Geoffrey


Joined: 30 May 2010
Posts: 1429
Location: Queensland Australia ɹǝpu∩uʍop

PostPosted: Sun 20 Apr 2014, 07:55    Post subject:  

mikeb wrote:
Dont think puppy loads the joydev driver automatically...could try modprobing it.

We have a bundle of sega emulators...one more would make me go crosseyed Very Happy

mike


I didn't have a joystick to try, it's more than just sega, I'll have to find my old PS1 games I loaned out to give them a try.


Atari Lynx
Neo Geo Pocket (Color)
WonderSwan
GameBoy (Color)
GameBoy Advance
Nintendo Entertainment System
Super Nintendo Entertainment System/Super Famicom
Virtual Boy
PC Engine/TurboGrafx 16 (CD)
SuperGrafx
PC-FX
Sega Game Gear
Sega Genesis/Megadrive
Sega Master System
Sony PlayStation

_________________
Carolina: Recent Repository Additions
Create strikethrough text HERE
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8345

PostPosted: Sun 20 Apr 2014, 08:19    Post subject:  

ah ok...well perhaps the error is simply because there was no device plugged in...perhaps I am missing the plot here lol.

Ah so does a bundle...neat I am curious.
We use ePSXe for PS1 but sounds interesting

mike
Back to top
View user's profile Send private message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2385
Location: UK

PostPosted: Sun 20 Apr 2014, 10:47    Post subject: mednafen frontend  

here is a frontend for mednafen...

load it in the terminal with any of the following commands:

pamedgb pamedgg pamedpce pamedsms pamedwswan
pamedgba pamedia pamednes pamedpcfx pamedsnes
pamedgen pamedlynx pamedngp pamedpsx pamedvb


the different commands load up slightly different versions of the frontend,
one for each system supported by mednafen...

to use the frontend, browse to you rom folder, and double click on the rom...

i did not include the rom database that should go with this frontend, as it is
about 32MB of files .. You can get them from Puppy Arcade 11 if u like: just
copy the /usr/share/paloader/ folder into your puppy...

pamednafen.pet
Description  mednafen frontend (without game database(s) included)
pet

 Download 
Filename  pamednafen.pet 
Filesize  97.98 KB 
Downloaded  130 Time(s) 

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8345

PostPosted: Sun 20 Apr 2014, 13:03    Post subject:  

Had a play with it...its very fussy with libraries and roms and a mind boggling set of configs BUT it does show potential as filling a gap with linux emulators.

I got psx running but it seemed ok loading the game but only gave me the bios screen. sega stuff complained about my zlib and no sega cd it seems...need to fiddle and test more.

Lots of manual and website studying for this one but may be worth it

thanks for posting it on here

mike
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8345

PostPosted: Tue 22 Apr 2014, 07:03    Post subject:  

Ok crtl-alt-1 then runs the gamepad/keyboard setup to assign keys... so did get to make sonic jump AFTER getting a particular libz.

Playstation...still only get the bios screen but its probably needing the exact libSDL for that to work...just a guess...you need EXACTLY the right bios too depending on region unlike epsxe.

Was mainly interested in the latter since on linux the other options are lacking in various ways.

This looks like it could be good if gamepad lag is not an issue but really is seems like the only sure way is to compile it so its 100% happy with yer system or you get lucky and one or the many variant builds happens to work for you. I was building a package with exactly the wanted libs regardless of distro but libSDL requirement for this build seemed to want the one from ubuntu raring and all the framebuffer/keberos stuff.
I might try the build approach out of curiosity one day...its definitely a game for devs Very Happy

mike
Back to top
View user's profile Send private message 
sc0ttman


Joined: 16 Sep 2009
Posts: 2385
Location: UK

PostPosted: Wed 23 Apr 2014, 03:16    Post subject:  

mikeb wrote:
Ok crtl-alt-1 then runs the gamepad/keyboard setup to assign keys... so did get to make sonic jump AFTER getting a particular libz.

Playstation...still only get the bios screen but its probably needing the exact libSDL for that to work...just a guess...you need EXACTLY the right bios too depending on region unlike epsxe.

Was mainly interested in the latter since on linux the other options are lacking in various ways.

This looks like it could be good if gamepad lag is not an issue but really is seems like the only sure way is to compile it so its 100% happy with yer system or you get lucky and one or the many variant builds happens to work for you. I was building a package with exactly the wanted libs regardless of distro but libSDL requirement for this build seemed to want the one from ubuntu raring and all the framebuffer/keberos stuff.
I might try the build approach out of curiosity one day...its definitely a game for devs Very Happy

mike

Yes mednafen needs very specific BIOS files... i will PM you about the BIOS files in a bit..

I have a new mednafen-WIP package in http://akita.scottjarvis.com, might work out for you a little better... I also have other PSX emulators there..

BTW, Mednafen is an excellent emulator.. Once you get used to assigning controls with Alt-Shift-0 (p1), Alt-Shift-1 (p2), etc, then it's great.. The PSX emulation is very accurate.. It is a little fussy about Genesis roms, may ask for IPS patch until you get the right ROm or set..

Mednafen also has netplay for nearly all systems it supports..

The easiest way (if your hardware supports it) to test out mednafen in all its glory is to boot up Puppy Arcade 11.. Nearly everything is setup already..

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8345

PostPosted: Wed 23 Apr 2014, 07:39    Post subject:  

Hmm yes the netplay is of interest too.

Does it use true 3d rendering or simply use accelerated 2d graphics like PSXe? ePSXe does do a very nice job on out Nvidia cards... better than the original TV output . By the way that's up to version 1.8 now on windows and supports PSP compressed images which is neat. Sound handling is improved too.

I will give that pet a whirl. It does run the bios screen no problem and as far as I can tell I have the right bios handy.

mike
Back to top
View user's profile Send private message 
slavvo67

Joined: 12 Oct 2012
Posts: 441
Location: The other Mr. 305

PostPosted: Thu 24 Apr 2014, 16:36    Post subject:  

Do the PSX emulators work? I thought you need a bios or something that defeats the purpose...

Man, I'd love to get my Suikoden II and Gallop Racer working again....
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8345

PostPosted: Thu 24 Apr 2014, 17:46    Post subject:  

Hmm getting a bit stuck on the libSDL 14 which wants the full pulseaudio which to me is unrelated... though a debian build says it can use an older libSDL.

Going to try the windows version as I may be missing something obvious.

mike
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 8345

PostPosted: Thu 24 Apr 2014, 19:02    Post subject:  

Ok me droning on...did not mean to hog this thread.... tried windows...the same.
Solution was it did not like the game i was testing and another did when I gave it the rom it demanded. This should mean it does not need the over demanding newer libSDL after all which makes for a program that will run on anything from puppy 4.

One note..the builds do seem to need newer processors (SSE2 perhaps?) my guess pentium 4 and newer.

If anyones stuck the keyboerd can be configured in the same way as a game pad.

mike
Back to top
View user's profile Send private message 
slavvo67

Joined: 12 Oct 2012
Posts: 441
Location: The other Mr. 305

PostPosted: Sun 27 Apr 2014, 18:43    Post subject:  

This does not seem to work in Fluxpup.
Back to top
View user's profile Send private message 
IlluminatiPL

Joined: 16 Feb 2014
Posts: 27

PostPosted: Fri 11 Jul 2014, 18:24    Post subject:  

Updated. Whatever (after 0.9.34.1) I will be release at a 3.13 instead 3.12 because that's compiled from a 14.1 with a old kernel instead of newest.

9,6MB -> 9,4MB

http://www.mydrive.ch/download/288169750-1405110216/mednafen-0.9.36.2-Slacko64 (Depends are be login/pass from a Frist post.)
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [15 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.0974s ][ Queries: 13 (0.0110s) ][ GZIP on ]