Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sdlmame 0.148 - How old is this?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
dman777
Veteran
Veteran


Joined: 10 Jan 2007
Posts: 1004

PostPosted: Tue Mar 24, 2015 1:07 pm    Post subject: sdlmame 0.148 - How old is this? Reply with quote

I noticed portage has sdlmame version 0.148_p1_r1. Does anyone know how old this would be? I see there is a windows mame at 1.59. How long do you think untill sdlmame is updated in portage? Would it make a big difference from the new one?
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Tue Mar 24, 2015 9:49 pm    Post subject: Reply with quote

http://gpo.zugaina.org/games-emulation/sdlmame

Code:
eix sdlmame
* games-emulation/sdlmame
     Available versions:  0.148_p1-r1 [M](~)0.149 {X alsa debug opengl}
     Homepage:            http://mamedev.org/
     Description:         Multiple Arcade Machine Emulator (SDL)

* games-emulation/sdlmametools
     Available versions:  0.148_p1 (~)0.149 {X debug}
     Homepage:            http://mamedev.org/
     Description:         Set of development tools shared between sdlmame and sdlmess


http://mamedev.org/release.html

=> http://mamedev.org/downloader.php?file=releases/mame0159s.zip

MAME and MESS 0.159 sources in ZIP format (all platforms)

you may follow just this => https://bugs.gentoo.org/show_bug.cgi?id=496654

and see whats written there ...

or you download the zip and build it from the zip


seems issues wtih

Quote:
I updated the prototype ebuild for 0.159, with a couple changes:

* Updated QA patch and debugger-linking patch to apply cleanly
* 0.159 wants libsdl2, not libsdl
* The no-opengl patch is in upstream now
* It looks for sdl_ttf in include/SDL2, not SDL, so added sdl_ttf.patch

It compiles cleanly and seems to work ok. The ebuild definitely isn't tree ready, but hopefully a dev can tune it up and get it in at some point, and users can try it out in an overlay.


and libaries ... you may get it to run when you use the ebuild from there and use it and tweak it
Back to top
View user's profile Send private message
dman777
Veteran
Veteran


Joined: 10 Jan 2007
Posts: 1004

PostPosted: Fri Mar 27, 2015 2:38 am    Post subject: Reply with quote

I am having trouble getting romsets for 1.48.....

If I build .159 from Zip, would it be the usual ./config, make, and make install? If something goes wrong, how would I remove all the files make install places? I am used to the convenience of emerge cleaning up.
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2034
Location: United Kingdom

PostPosted: Fri Mar 27, 2015 10:34 am    Post subject: Reply with quote

You can install sdlmame-0.159 in a local overlay.

Code:
# mkdir -p /usr/local/portage/games-emulation/sdlmame/files
# cd /usr/local/portage/games-emulation/sdlmame
# wget -O sdlmame-0.159.ebuild https://496654.bugs.gentoo.org/attachment.cgi?id=398756
# cd files
# wget -O sdlmame-0.159-sdl_ttf.patch https://496654.bugs.gentoo.org/attachment.cgi?id=398758
# wget -O sdlmame-0.159-QA.patch https://496654.bugs.gentoo.org/attachment.cgi?id=398760
# wget -O sdlmame-0.159-debugger-linking.patch https://496654.bugs.gentoo.org/attachment.cgi?id=398762
# cp /usr/portage/games-emulation/sdlmame/files/vector.ini .
# cp /usr/portage/games-emulation/sdlmame/files/mame-0.139.ini.in ./mame-0.159.ini.in
# cd ..
# ebuild sdlmame-0.159.ebuild manifest
# emerge sdlmame::local_overlay


------------------------------------------------------------

If you do not already have a local overlay, do the following to set one up before you do the above:

1. Add the following to the file /etc/make.conf (or to /etc/portage/make.conf, if you have that file instead):

Code:
PORTDIR_OVERLAY="${PORTDIR_OVERLAY} /usr/local/portage/"
ACCEPT_LICENSE="*"

2. Set-up the local overlay's repository name:
Code:
# mkdir -p /usr/local/portage/profiles
# echo "user_defined" > /usr/local/portage/repo_name
# echo "local_overlay" > /usr/local/portage/profiles/repo_name

_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2034
Location: United Kingdom

PostPosted: Fri Mar 27, 2015 1:00 pm    Post subject: Reply with quote

I couldn't get games-emulation/gmameui-0.2.12 in my local overlay to work or re-merge any more, so I have now installed games-emulation/qmc2 instead:

http://qmc2.arcadehits.net/wordpress/

Code:
# mkdir -p /usr/local/portage/games-emulation/qmc2/files
# cd /usr/local/portage/games-emulation/qmc2
# wget -O qmc2-0.38.ebuild https://148644.bugs.gentoo.org/attachment.cgi?id=350588
# cd files/
# wget -O qmc2-0.2_beta20-makefile.patch https://148644.bugs.gentoo.org/attachment.cgi?id=350590
# cd ..
# ebuild qmc2-0.38.ebuild manifest

To launch:

Code:
$ qmc2-sdlmame

sdlmame binary is at /usr/games/bin/sdlmame

Put ROMs in ~/.sdlmame/roms

Samples in ~/.sdlmame/samples

Or you can merge qmc2-0.49 directly from the roslin overlay, which is easier than messing around with a local overlay:

https://gitorious.org/roslin/roslin/source/ffc88d3c897417c182865ac76aae75104abfc32c:games-emulation/qmc2

Code:
# layman -a roslin
# emerge qmc2

Both 0.38 and 0.49 versions of QMC2 work for me with SDLMAME 0.159.

Code:
$ eix -I sdlmame
[I] games-emulation/sdlmame
     Available versions:  0.148_p1-r1 [M](~)0.149 {M}0.159^m[1] {X alsa debug opengl}
     Installed versions:  0.159^m[1](11:37:01 27/03/15)(X alsa opengl -debug)
     Homepage:            http://mamedev.org/
     Description:         Multiple Arcade Machine Emulator (SDL)

[1] "local_overlay" /usr/local/portage
$ eix -I qmc2
[I] games-emulation/qmc2
     Available versions:  [m](~)0.2_beta15[2] (~)0.38[1] (~)0.49[1] {debug joystick opengl phonon +sdlmame sdlmess sqlite}
     Installed versions:  0.49[1](12:46:16 27/03/15)(joystick opengl sdlmame -debug -phonon -sdlmess)
     Homepage:            http://qmc2.arcadehits.net/wordpress/
     Description:         An MAME frontend for SDLMAME/SDLMESS

[1] "local_overlay" /usr/local/portage
[2] "sabayon" /var/lib/layman/sabayon

_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
dman777
Veteran
Veteran


Joined: 10 Jan 2007
Posts: 1004

PostPosted: Sun Mar 29, 2015 9:49 pm    Post subject: Reply with quote

Hmm...would it be worth going through this trouble to upgrade .159? I'm emailing some rom dvd sites to see if they can do .148 set(haven't got any replies yet)
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2034
Location: United Kingdom

PostPosted: Mon Mar 30, 2015 4:15 pm    Post subject: Reply with quote

I have only tried a handful of ROMs with either version of SDLMAME (0.148_p1 and 0.159), so I cannot say whether or not one version is better or worse than the other. Both run the few ROMs I've downloaded.
_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
papu
l33t
l33t


Joined: 25 Jan 2008
Posts: 709
Location: Sota algun pi o alzina...

PostPosted: Wed Apr 01, 2015 2:35 pm    Post subject: Reply with quote

thanks finally i can compile sdlmame because 148 don't.

For Portage >= 2.2.17:
https://wiki.gentoo.org/wiki/Overlay/Local_overlay


:)
_________________
"~amd64" --cpu 7700 non-x --DDR5 2x16GB 6000MHz --gpu RX 470
Back to top
View user's profile Send private message
dman777
Veteran
Veteran


Joined: 10 Jan 2007
Posts: 1004

PostPosted: Mon Apr 06, 2015 5:28 am    Post subject: Reply with quote

@Fitzcarraldo, just wanted to come back and say thanks for all your help!
Back to top
View user's profile Send private message
dman777
Veteran
Veteran


Joined: 10 Jan 2007
Posts: 1004

PostPosted: Sun Apr 26, 2015 5:43 pm    Post subject: Reply with quote

Fitzcarraldo wrote:
You can install sdlmame-0.159 in a local overlay.

Code:
# mkdir -p /usr/local/portage/games-emulation/sdlmame/files
# cd /usr/local/portage/games-emulation/sdlmame
# wget -O sdlmame-0.159.ebuild https://496654.bugs.gentoo.org/attachment.cgi?id=398756
# cd files
# wget -O sdlmame-0.159-sdl_ttf.patch https://496654.bugs.gentoo.org/attachment.cgi?id=398758
# wget -O sdlmame-0.159-QA.patch https://496654.bugs.gentoo.org/attachment.cgi?id=398760
# wget -O sdlmame-0.159-debugger-linking.patch https://496654.bugs.gentoo.org/attachment.cgi?id=398762
# cp /usr/portage/games-emulation/sdlmame/files/vector.ini .
# cp /usr/portage/games-emulation/sdlmame/files/mame-0.139.ini.in ./mame-0.159.ini.in
# cd ..
# ebuild sdlmame-0.159.ebuild manifest
# emerge sdlmame::local_overlay


------------------------------------------------------------

If you do not already have a local overlay, do the following to set one up before you do the above:

1. Add the following to the file /etc/make.conf (or to /etc/portage/make.conf, if you have that file instead):

Code:
PORTDIR_OVERLAY="${PORTDIR_OVERLAY} /usr/local/portage/"
ACCEPT_LICENSE="*"

2. Set-up the local overlay's repository name:
Code:
# mkdir -p /usr/local/portage/profiles
# echo "user_defined" > /usr/local/portage/repo_name
# echo "local_overlay" > /usr/local/portage/profiles/repo_name


Hmm...I upgraded from .148 to .159 using this system. It works...however, my xbox 360 conntroller no longer works with sdlmame .159. It was working with .148. I checked the mame.ini and made sure it had 'joystick 1'. Any suggestions please? This is a real buzz killer.
_________________
<h5>Checkout <em>#grandmasboy</em> on <em>freenode</em>...chat with jayP bot from the movie!</h5>
Back to top
View user's profile Send private message
Fitzcarraldo
Advocate
Advocate


Joined: 30 Aug 2008
Posts: 2034
Location: United Kingdom

PostPosted: Sun Apr 26, 2015 6:47 pm    Post subject: Reply with quote

What GUI front-end are you using? QMC2? Did you merge the GUI front-end with the joystick USE flag set?

Code:
# eix qmc2
[I] games-emulation/qmc2 [1]
     Available versions:  (~)0.49 {debug joystick opengl phonon +sdlmame sdlmess}
     Installed versions:  0.49(09:12:34 20/04/15)(joystick opengl phonon sdlmame -debug -sdlmess)
     Homepage:            http://qmc2.arcadehits.net/wordpress/
     Description:         An MAME frontend for SDLMAME/SDLMESS

[1] "local_overlay" /usr/local/portage

_________________
Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
dman777
Veteran
Veteran


Joined: 10 Jan 2007
Posts: 1004

PostPosted: Sun Apr 26, 2015 11:32 pm    Post subject: Reply with quote

Yes, the controller/joystick works with no issues in QMC2 for menu navigation. It is inside of sdlmame itself..rather I run as stand alone or from QMC2. Any suggestions?


Also, could something of broken during the compliation process or the patching process where joystick support wasn't compiled into sdlmame .159?
Or is there a broken dependency on a library between sdlmame and xboxdrv?


Code:


four@localhost ~/.sdlmame $ sdlmame -v -joystick
Available videodrivers: x11 dummy
Current Videodriver: x11
   Display #0
      Renderdrivers:
             opengl (0x0)
           software (0x0)
Available audio drivers:
   alsa               
   disk               
   dummy               
Build version:      0.159 (Apr  7 2015)
Build architecure:  SDLMAME_ARCH=
Build defines 1:    SDLMAME_UNIX=1 SDLMAME_X11=1 SDLMAME_LINUX=1
Build defines 1:    LSB_FIRST=1 PTR64=1 DISTRO=generic SYNC_IMPLEMENTATION=tc
SDL/OpenGL defines: SDL_COMPILEDVERSION=2003 USE_OPENGL=1 USE_DISPATCH_GL=1
Compiler defines A: __GNUC__=4 __GNUC_MINOR__=7 __GNUC_PATCHLEVEL__=3 __VERSION__="4.7.3"
Compiler defines B: __amd64__=1 __x86_64__=1 __unix__=1
Compiler defines C: __USE_FORTIFY_LEVEL=0
Enter init_monitors
Adding monitor screen0 (1920 x 1080)
Leave init_monitors
Enter sdlwindow_init
Using SDL multi-window soft driver (SDL 2.0+)

Hints:
   SDL_FRAMEBUFFER_ACCELERATION             (null)
   SDL_RENDER_DRIVER                        (null)
   SDL_RENDER_OPENGL_SHADERS                (null)
   SDL_RENDER_SCALE_QUALITY                 (null)
   SDL_RENDER_VSYNC                         (null)
   SDL_VIDEO_X11_XVIDMODE                   (null)
   SDL_VIDEO_X11_XINERAMA                   (null)
   SDL_VIDEO_X11_XRANDR                     (null)
   SDL_GRAB_KEYBOARD                        (null)
   SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS         (null)
   SDL_IOS_IDLE_TIMER_DISABLED              (null)
   SDL_IOS_ORIENTATIONS                     (null)
   SDL_XINPUT_ENABLED                       (null)
   SDL_GAMECONTROLLERCONFIG                 (null)
   SDL_JOYSTICK_ALLOW_BACKGROUND_EVENTS     (null)
   SDL_ALLOW_TOPMOST                        (null)
   SDL_TIMER_RESOLUTION                     (null)
   SDL_RENDER_DIRECT3D_THREADSAFE           (null)
   SDL_VIDEO_ALLOW_SCREENSAVER              (null)
   SDL_ACCELEROMETER_AS_JOYSTICK            (null)
   SDL_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK   (null)
   SDL_VIDEO_WIN_D3DCOMPILER                (null)
   SDL_VIDEO_WINDOW_SHARE_PIXEL_FORMAT      (null)
   SDL_VIDEO_MAC_FULLSCREEN_SPACES          (null)
   SDL_MOUSE_RELATIVE_MODE_WARP             (null)
   SDL_HINT_RENDER_DIRECT3D11_DEBUG         (null)
   SDL_VIDEO_HIGHDPI_DISABLED               (null)
   SDL_HINT_WINRT_PRIVACY_POLICY_URL        (null)
   SDL_HINT_WINRT_PRIVACY_POLICY_LABEL      (null)
   SDL_HINT_WINRT_HANDLE_BACK_BUTTON        (null)
Leave sdlwindow_init
Enter sdl_info::create
window: using renderer opengl
renderer: flag SDL_RENDERER_ACCELERATED
Leave sdl_info::create
Keyboard: Start initialization
Input: Adding Kbd #0: System keyboard
Keyboard: Registered System keyboard
Keyboard: End initialization
Mouse: Start initialization
Input: Adding Mouse #0: System mouse
Mouse: Registered System mouse
Mouse: End initialization
Joystick: Start initialization
Joystick: End initialization
output: opened output notifier file /tmp/sdlmame_out
Value 1 not supported for option sound - falling back to auto
Audio: Start initialization
Audio: Driver is alsa
Audio: frequency: 48000, channels: 2, samples: 1024
sdl_create_buffers: creating stream buffer of 31744 bytes
Audio: End initialization
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.0.27.2/work/alsa-lib-1.0.27.2/src/seq/seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
Region ':user1' created
Searching font Liberation Sans in -fontpath
Matching font: /usr/share/fonts/liberation-fonts/LiberationSans-Regular.ttf
Matching font: /usr/share/fonts/fonts/liberation-fonts/LiberationSans-Regular.ttf
Matching unstyled font: /usr/share/fonts/liberation-fonts/LiberationSans-Regular.ttf
Matching unstyled font: /usr/share/fonts/fonts/liberation-fonts/LiberationSans-Regular.ttf
font Liberation Sans is not TrueType or BDF, using MAME default
Starting No Driver Loaded ':'
  (missing dependencies; rescheduling)
Starting Video Screen ':screen'
Optional device 'finder_dummy_tag' not found
Starting No Driver Loaded ':'
sdl_kill: closing audio
Enter sdlwindow_exit
Leave sdlwindow_exit
Joystick: Start deinitialization
Joystick: End deinitialization
output: closed output notifier file
four@localhost ~/.sdlmame $


_________________
<h5>Checkout <em>#grandmasboy</em> on <em>freenode</em>...chat with jayP bot from the movie!</h5>
Back to top
View user's profile Send private message
shiznix
Guru
Guru


Joined: 29 Jun 2003
Posts: 367
Location: Adelaide, Australia

PostPosted: Fri Aug 21, 2015 12:03 am    Post subject: sdlmame-0.164 and qmc2-0.54 Reply with quote

Refer https://bugs.gentoo.org/show_bug.cgi?id=556642 and https://bugs.gentoo.org/show_bug.cgi?id=148644

New sdlmame and sdlmess have now merged upstream.
New qmc2 has changed to accomodate this.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
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