Hi there today i had download "https://codeload.github.com/joncampbell123/dosbox-x/tar.gz/dosbox-x-windows-v0.82.6" , and i do manual compilation
with :
./autogen.sh
./configure --enable-sdl --enable-sdl2 --prefix=/usr
make
su -c "make install ; ldconfig" root
At this point every fine :D (i want both versions, but i dont know if i set sdl2, this ignore the sdl1, i prefer in the makefile generate both like "dosbox-x-sdl" & "dosbox-x-sdl2" after of that i can do an symbolic link to my prefered version.
i had the follow dunnos:
1 - Where is the default location for the default configuration file?
because i not have something like ~/.dosbox/dosbox-x.conf
2 - i read this have a "menubar" but i don't see any menu, and its enable by default
3 - Why "Shift+F1" and/or "Shift+F9" don't work ? (i try to enable some option like ToggleMenu and/or Exit) but don't work, just the Drop Mouse is working (Shift+F10) and Alt+Enter don't toggle between Window Mode / Fullscreen Mode
4 - The Window Main window can be resizeable and if possible stretch the image ignoring the aspect ratio (like in SMPlayer) ?
5 - Why if i make and custom config file with :
fulldouble=true
fullresolution=1152x864
windowresolution=1144x777
output=opengl
when i run with
dosbox-x -conf custom.conf
The Main window, just have the resolution in window mode "640x480" ever. i think the mayor part of configuration is just ignored. (i had download the window version and extract the file "dosbox.reference.conf" to make my customize configuration file.
=======================
Added :
i try to compile just using SDL. and this is the output:
Making all in gui
make[3]: Entering directory '/media/Compartido/Descargas/CodigoFuente/dosbox-x-dosbox-x-windows-v0.82.6/src/gui'
depbase=`echo sdl_mapper.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../src/aviwriter "-DRESDIR=\"\"" -I../../src/mt32 -Wno-strict-aliasing -std=gnu++11 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -std=gnu++11 -msse -Wno-strict-aliasing -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -mmmx -msse -msse2 -MT sdl_mapper.o -MD -MP -MF $depbase.Tpo -c -o sdl_mapper.o sdl_mapper.cpp &&\
mv -f $depbase.Tpo $depbase.Po
sdl_mapper.cpp:2743:17: error: ‘SDLK_JP_RO’ was not declared in this scope
{"jp_bckslash",SDLK_JP_RO}, // Same difference
^
sdl_mapper.cpp:2744:11: error: ‘SDLK_JP_RO’ was not declared in this scope
{"jp_ro",SDLK_JP_RO}, // DOSBox proprietary
^
sdl_mapper.cpp:2746:12: error: ‘SDLK_JP_YEN’ was not declared in this scope
{"jp_yen",SDLK_JP_YEN },
^
sdl_mapper.cpp: In function ‘void BIND_MappingEvents()’:
sdl_mapper.cpp:3056:50: error: ‘SDL_keysym’ has no member named ‘x11_sym’
name = LinuxX11_KeySymName(s.x11_sym);
^
sdl_mapper.cpp:3057:78: error: ‘SDL_keysym’ has no member named ‘x11_sym’
tmpl = sprintf(tmp,"X11: Sym=0x%x sn=%s",(unsigned int)s.x11_sym,name ? name : "");
^
Makefile:391: recipe for target 'sdl_mapper.o' failed
make[3]: *** [sdl_mapper.o] Error 1
make[3]: Leaving directory '/media/Compartido/Descargas/CodigoFuente/dosbox-x-dosbox-x-windows-v0.82.6/src/gui'
Makefile:511: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/media/Compartido/Descargas/CodigoFuente/dosbox-x-dosbox-x-windows-v0.82.6/src'
Makefile:384: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/media/Compartido/Descargas/CodigoFuente/dosbox-x-dosbox-x-windows-v0.82.6'
Makefile:321: recipe for target 'all' failed
make: *** [all] Error 2
i am under Devuan Jessie 1.0 (Debian Jessie 8.X) fork without systemd (just openrc)
To clean up the mess of default mapper shortcuts, a "host key" modifier has been added and default mappings have been changed to move them to use the host key.
On Linux and Mac OS X the host key is F12, except on Windows, where it is F11.
The mapper shortcut has been moved to F11+m.
The concept of the host key is to assign one key that you hold down to access other shortcuts, just as in VirtualBox.
DOSBox-X relies on it's own version of SDL 1.x that's included within the source tree.
Compile instead with:
./build-debug
DOSBox-X when run is supposed to look in the current directory for dosbox.conf first
The window is resizeable, and will by default ignore the aspect ratio unless you set aspect=true in dosbox.conf, then it will obey the aspect ratio.
There is a menu bar only in Windows builds at this time. The menu bar is Windows-specific at this time (in the *.rc in src)
There is work planned to make that menu portable across Mac OS X and Linux.
Well here the full output with the
./build-debug
but the dosbox-x binary executable when i set prefix /usr, that search /usr/dosbox.conf when i execute dosbox-x ?
Okey i go trying again
Well i hope you can put menu inside the dosbox using something like wx, or qt, or something like that :D the PCEm the lastest version, make a new gui with wxwidgets and looks fine.
The reason of compiling error might be your ffmpeg libs are too old or too new for Dosbox-X's ffmpeg support. Try --disable-avcodec.
Hi there.
i do
make clean ; ./configure --disable-avcodec --enable-sdl1 --prefix=/media/Compartido/Videojuegos/Msdos/dosbox-x/sdl1 ; make all ; make install
and right now is working :D, this version have internal "GUI" for make configurations :D (that gui can be better), i notice something when after i do
make clean ; ./configure --disable-avcodec --enable-sdl2 --prefix=/media/Compartido/Videojuegos/Msdos/dosbox-x/sdl2 ; make all ; make install
the sdl2 not have the gui like sdl1, another thing, its the sdl2 version, don't read options like :
windowresolution=
fullresolution=
by the moment i don't know which another options the sdl2 version are ignoring.
well with the resizeable window, i mean, when the user can drag the border of the window and enlarge the window, and the window stretch the image dynamically inside the window. how is called that property on an application?