![]() |
Re: DOSBox 0.65 ... ftw
Quote:
|
Re: DOSBox 0.65 ... ftw
Quote:
@JustNick, yes, that's the Ruby crash i mentioned earlier, it started happening with the new packages, but I bet I can somehow avoid it, if it would happen when I'm trying to debug it. |
Re: DOSBox 0.65 ... ftw
Quote:
Hope this piece of information can help you make it crash in a controlled way so that you can easily debug it :D |
Re: DOSBox 0.65 ... ftw
Quote:
1. Removed the old /usr/share/dosbox directory and used the old dosbox.conf file as the new DOSBox 0.73 Preferences.txt file in the directory /home/user/apps. Result -- D-Pad doesn't function properly in games launched from RubyBox. 2. Kept the old /usr/share/dosbox directory and left the new DOSBox 0.73 Preferences.txt file as is. Result -- D-Pad functions properly in games launched from RubyBox. 3. Kept the old /usr/share/dosbox directory and renamed the dosbox.conf in that directory to another name. Result -- D-Pad doesn't function properly in games launched from RubyBox. So the only thing I can figure is that RubyBox is still looking at the old dosbox.conf file in /usr/share/dosbox directory, or that the configuration file I changed in step 1 above is the wrong one. Hope you can figure this out, ukki. |
Re: DOSBox 0.65 ... ftw
Quote:
|
Re: DOSBox 0.65 ... ftw
Quote:
I'll test that mapper.txt theory in a bit. Here's one thing I found. If I have the /usr/share/dosbox directory and the line in the dosbox.conf file is 'usescancode=false' then the D-pad works, if it is 'usescancode=true' then the D-pad doesn't function properly,....just like javispedro surmised. Without the /usr/share/dosbox directory, I've got the configuration file in /home/usr/apps set with 'usescancode=false' and the D-pad doesn't function. So I'm guessing Rubybox is finding some other configuration file that has that parameter set to true. I've got some grass mowing to do,...so more testing later. |
Re: DOSBox 0.65 ... ftw
Run rbox from xterm and see if Dosbox says it's using the new config when you startup a game. Can you do vice versa then and copy the new config to /usr/share/dosbox/dosbox.conf and see if it works from there? Maybe Dosbox fails to use the config when given in the commandline (with the spaces in the filename) and then just uses defaults + the game specific settings.
|
Re: DOSBox 0.65 ... ftw
Quote:
FWIW, I did get the D-Pad one time (and one time only) to not function when running rbox from xterm (with the /usr/share/dosbox directory removed). Xterm showed that a regular config file was not loaded at all, but the one from the .rbox directory was. |
Re: DOSBox 0.65 ... ftw
A quick look at the sdlmain.cpp reveals that, in order to find config file, DOSBox tries:
1. Whatever file is specified in command line (-conf argument) 2. dosbox.conf in current directory 3. User config (aka ~/apps/DOSBox 0.73 Preferences.txt) Maybe #2 is causing problems? ($PWD when launching dosbox is /usr/share/dosbox)? Either way I'm interested in why the N800 D-Pad is not working in plain DOSBox, so I'm attachinglinking a test version that should log both keyboard and stylus output to standard out. (It's just the gzipped binary, no package to install) Pressing Up, Left, Right and then Down on my N810 produces this: Code:
DOSBox version 0.73 What's the result on a N800? |
Re: DOSBox 0.65 ... ftw
Quote:
Quote:
|
All times are GMT. The time now is 17:30. |
vBulletin® Version 3.8.8