joncampbell123 / dosbox-x

DOSBox-X fork of the DOSBox project
GNU General Public License v2.0
2.81k stars 383 forks source link

Dosbox-x 0.82.17 Configuration File #1053

Closed inukaze closed 5 years ago

inukaze commented 5 years ago

Describe the bug Don't generate configuration file

To Reproduce 1) Download the source code : wget -c https://codeload.github.com/joncampbell123/dosbox-x/tar.gz/dosbox-x-v0.82.17

2) Extract the source code

mv dosbox-x-v0.82.17 dosbox-x-v0.82.17.tar.gz
tar xfvz dosbox-x-v0.82.17.tar.gz

3) : Go to the new folder and compile

cd dosbox-x-dosbox-x-v0.82.17
./autoconf.sh
./configure --disable-avcodec --enable-sdl2 --prefix=/media/Compartido/Videojuegos/Msdos/dosbox-x/x86_64/0.82.17/sdl2
make
make install

4) Go the the prefix directory & update the symlinks

cd "/media/Compartido/Videojuegos/Msdos/dosbox-x/x86_64/0.82.17/sdl2"
sudo unlink /usr/bin/dosbox-x
sudo ln -s "$PWD/dosbox-x" "/usr/bin/dosbox-x"

5) Try to generate default configuration file :

dosbox-x config -all ./dosbox-0.82.17.conf

WARNING: Unknown option all (first parsing stage)**

dosbox-x -writeconf ./dosbox-0.82.17.conf

WARNING: Unknown option writeconf (first parsing stage)

dosbox-x -writeconf ./dosbox-0.82.17.conf

WARNING: Unknown option writeconf (first parsing stage)

Ok let me check available options :

dosbox-x --help

dosbox [options]

DOSBox version 0.82.17 SDL2, copyright 2002-2015 DOSBox Team.

  -h     -help                            Show this help
  -editconf                               Launch editor
  -opencaptures <param>                   Launch captures
  -opensaves <param>                      Launch saves
  -eraseconf                              Erase config file
  -resetconf                              Erase config file
  -printconf                              Print config file location
  -erasemapper                            Erase mapper file
  -resetmapper                            Erase mapper file
  -console                                Show console (win32)
  -noconsole                              Don't show console (debug+win32 only)
  -nogui                                  Don't show gui (win32 only)
  -nomenu                                 Don't show menu (win32 only)
  -userconf                               Create user level config file
  -conf <param>                           Use config file <param>
  -startui -startgui                      Start DOSBox-X with UI
  -startmapper                            Start DOSBox-X with mapper
  -showcycles                             Show cycles count
  -showrt                                 Show emulation speed relative to realtime
  -fullscreen                             Start in fullscreen
  -savedir <path>                         Save path
  -disable-numlock-check                  Disable numlock check (win32 only)
  -date-host-forced                       Force synchronization of date with host
  -debug                                  Set all logging levels to debug
  -early-debug                            Log early initialization messages in DOSBox (implies -console)
  -keydbg                                 Log all SDL key events (debugging)
  -lang <message file>                    Use specific message file instead of language= setting
  -nodpiaware                             Ignore (don't signal) Windows DPI awareness
  -securemode                             Enable secure mode
  -noautoexec                             Don't execute AUTOEXEC.BAT config section
  -exit                                   Exit after executing AUTOEXEC.BAT
  -c <command string>                     Execute this command in addition to AUTOEXEC.BAT.
                                          Make sure to surround the command in quotes to cover spaces.
  -break-start                            Break into debugger at startup
  -time-limit <n>                         Kill the emulator after 'n' seconds
  -fastbioslogo                           Fast BIOS logo (skip 1-second pause)
  -log-con                                Log CON output to a log file

Expected behavior Generate the default configuration file with the name i specify

Environment (please complete the following information):

Additional context i try too from inside dosbox-x with : CONFIG.COM -all -wcd dosbox.conf and don't work neither

How i can fix it ?

theMK2k commented 5 years ago

it should work with CONFIG.COM -all -wcd

inukaze commented 5 years ago

don't work

joncampbell123 commented 5 years ago

It works here, though it writes it to "dosbox-0.82.19.conf" by default

inukaze commented 5 years ago

Ok i try again.

dosbox-0-82-17.png

Yes, its working :D