View previous topic :: View next topic |
Author |
Message |
dman777 Veteran
Joined: 10 Jan 2007 Posts: 1004
|
Posted: Wed Apr 08, 2015 2:50 am Post subject: Upgraded sdlmame from .148 to .159- mame.ini Path Broken |
|
|
I upgraded from .148 to .159. For some reason, it can not find my rom path even though I placed it correctly in mame.ini. Also, this issue didn't exist in .148:
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
|
Code: |
localhost sdlmame # cat /etc/games/sdlmame/mame.ini
#
# CORE CONFIGURATION OPTIONS
#
readconfig 1
writeconfig 0
#
# CORE SEARCH PATH OPTIONS
#
rompath /mnt/music/roms/mame
|
---------------------------------------------------
Code: |
four@localhost ~ $ lr /mnt/music/roms/mame
total 4.9G
drwxr-xr-x 2 root root 4.0K Mar 28 22:17 .
drwxrwxr-x 6 root users 4.0K Apr 6 20:54 ..
-rw-r----- 1 four users 1.8G Mar 28 02:50 MAME_0.149_ROMs.zip
-rw-r----- 1 four users 417M Mar 28 15:07 MESS-0.149.BIOS.ROMs.zip
-rw-r----- 1 four users 2.8G Mar 28 17:39 MESS_0.149_EXTRAs.zip
-rw-r----- 1 four users 3.9M Mar 27 22:32 cybsled.zip
-rw-r----- 1 four users 5.1M Mar 28 22:12 miexchng.zip
-rw-r----- 1 four users 1.4M Mar 28 22:12 neogeo.zip
-rw-r----- 1 four users 469K Mar 28 22:11 offroad.zip
four@localhost ~ $ |
---------------------------------------------------
Also, I am not sure if these null should exist or not:
Code: |
four@localhost ~/.sdlmame/cfg $ sdlmame -v
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
|
Is the /etc/games/sdlmame/mame.ini not being read?
Last edited by dman777 on Wed Apr 08, 2015 5:08 am; edited 1 time in total |
|
Back to top |
|
|
dman777 Veteran
Joined: 10 Jan 2007 Posts: 1004
|
Posted: Wed Apr 08, 2015 5:08 am Post subject: |
|
|
UPDATE: that is weird.....I have to run sdlmame in the same directory where mame.ini resides for it to use the mame.ini file. If anyone can help please. |
|
Back to top |
|
|
dman777 Veteran
Joined: 10 Jan 2007 Posts: 1004
|
Posted: Thu Apr 09, 2015 8:37 pm Post subject: |
|
|
After checking around, this is the default behavior of mame. For it to automatically check /etc/.... the original code was modified. |
|
Back to top |
|
|
|