![]() |
How to calibrate stylus in n900 dosbox?
Hi guys, this is my first post (sorry for my english ^^ im spanish)
i was installed the dosbox, with the rover.sys, and all ok after any hours all run ok, i was try play many games.. and i was try play warcraft 1, 2, theme hospital etc etc.. and this game RUN OK .. but the problem is the "stylus" the calibrate is very sux, i cant play with this.. any have any solution for this? (in the config.sys only have 2 options for mouse, the sensibility and the lock=true or false.. i dont have more options.. the question is how can calibrate this? |
Re: How to calibrate stylus in n900 dosbox?
There's no calibration.
Allow me to explain the issue: DOS apps expects (most of them) relative mouse coordinates ("mouse moved 10 units to the left, then 10 to the right"). Touch screen gives absolute coordinates ("mouse is at pixel 40 of a 480 pixels screen"). DOS programs then use the relative coordinates to draw a cursor at an absolute position, but you cannot "get" that information easily. Most DOS apps also apply their own mouse speed/acceleration algorithms over the given mouse relative coordinates, and again DOSBox knows nothing of this. Thus, the touch screen coordinates and the drawn cursor can easily desynchronize. The only solution is to try to disable any mouse acceleration support in the application, and play with the mouse speed settings (again, in the DOS applications) until they agree with the DOSBox sensitivity. |
Re: How to calibrate stylus in n900 dosbox?
ok, if any guys was played this games in dosbox have any recomendation for config this? true or false the lock? and the sensibility? how?
|
Re: How to calibrate stylus in n900 dosbox?
autolock true makes no sense in this device...
|
Re: How to calibrate stylus in n900 dosbox?
It makes me cry.
Not easy to fix. IBM PC SUCKS. It really SUCKS. |
Re: How to calibrate stylus in n900 dosbox?
maybe it's due to a simplistic description, but it seems to me you could just store the absolute position from the last timestep and compute the relative coordinates through that? E.g. I click on [1,1], then on [100,100] and DOSBOX simulates [+99,+99] ?
|
Re: How to calibrate stylus in n900 dosbox?
You're describing the way it works now.
|
Re: How to calibrate stylus in n900 dosbox?
then i dont see why the results are so off?
|
Re: How to calibrate stylus in n900 dosbox?
If you tap coords 200,200, then point to 100,100, doesn't the pointer move 100,100 "units" to the upperleft corner?
|
Re: How to calibrate stylus in n900 dosbox?
the DOS games apply their own, additional computation regarding mouse position, speed, acceleration and so on.
dosbox tells it exactly where your stylus went/is, but the games interpret that differently, they make it go further a few pixels so it seems smoother. (considering the quality of ball mice back then not a bad idea actually *g*). but dosbox cannot know that of course, because it only "feeds" the difference to your stylus' last exact position to the game. which now differs from the position of the cursor. this adds up over time, resulting in desynchronization. (feel free to correct me if i understood it wrong :) ) |
Re: How to calibrate stylus in n900 dosbox?
Na, you got it well.
As a result, the only "possible" calibration is to try to force the drawn pointer into a corner and try to start from there... all while hoping you can get the acceleration settings and dosbox sensitivity to match. |
Re: How to calibrate stylus in n900 dosbox?
Then how about that sort of calibration? imagine a calibration screen for dosbox for any game by key shortcut, it displays a small slide at the top and left screen border. then the software emulates first a click on [1,1] then one at exact center (or right down, which is what? [799,479]?), rinse and repeat. From the way that mouse cursor is displaced from it's intent direction one could then "scale" the mouse movement with the two sliders for vertical and horizontal movement. Once the right calibration is found for the game, just have the software make sure the mouse cursor moves from [1,1] to it's actual position in each game cycle, so the game cant screw it up.... Hmm, I think I mixed two ways to do it, there. Or zero, depending on software capabilities (how deep you can edit dosbox for this device, how much you can change when the game actually runs, etc).
I know it's not as easy as it sounds, but it's definitely possible with a hack. It works for PC,too, doesnt it? The way I get it, the PC doesnt have this issue since it's mouse always has a cursor position and cant "jump" that much, but you could do the same for the n900, the actually stylus tap only giving a direction the mouse cursor should by software move to, not directly click at, speed up clock time/skip so it looks smooth then find a way to slow the actual game itself down so only the mouse movement is working. Or a simpler idea: just have the mouse cursor move by key press. I remember that's the way I played Zack McKracken back then, and I didn't mind much. You'd probably have to decide for certain games differently which buttons to use, but if you can access the proximity sensor during dosbox runtime, just have proximity_sensor_pressed make the arrow keys move the mouse not execute arrow_up etc. How about that? Would that be easier to do? |
Re: How to calibrate stylus in n900 dosbox?
Quote:
once again: dosbox has _no_idea_ where the application actually draws the cursor. there's no information "coming back" from the application that would enable this hack of yours, other than screen output. and please don't suggest scanning the screen output for something that might be a cursor :) the reason it's not such a problem on a PC is quite simple - the desynchronization occurs just as on the N900, but you don't notice it because the PC's mouse gives relative coordinates. you might have to move it a little more (or less) to compensate for the desynchronization, but it doesn't "feel" wrong. the mouse may seem sluggish, but it follows where you move it. a keyboard mouse emulation might be a possibility, but i don't know how much work that would be for javis :) (a lot, probably) also, there could already be something like that available, if it runs and works under dos, it may run on the dosbox as well. |
Re: How to calibrate stylus in n900 dosbox?
i think you didnt get what i meant, but i assume the keyboard as mouse version is still the most optimistic option. If anyone has an idea how to do that I'll definitely be thankful^^
|
Re: How to calibrate stylus in n900 dosbox?
Stylus finally works!
finally found a solution. I tried different settings on dosbox.conf, here my last config: (sorry my English) I test with X-COM Terror from The Deep and works very nice , i recommend this game Spanish version: Finamlemnte he encontrado una solucion. He probado diferentes configuraciones en dosbox , aqui dejo mi ultima configuracion. Lo he probado con X-COM Terror en las Profundidades y funciona bonito. Recomiendo este juego. Quote:
|
Re: How to calibrate stylus in n900 dosbox?
Quote:
|
Re: How to calibrate stylus in n900 dosbox?
Quote:
Dune 1 Dune 2 X-Com UFO X-Com Terror from the Deep Eye Of The Beholder 1 & 2 Whats is the game does not work for you? I can test. Thanks |
Re: How to calibrate stylus in n900 dosbox?
I just added:
SDL_Mouse_Relative=0 And now it works pretty decently on Loom |
Re: How to calibrate stylus in n900 dosbox?
I correct my settings for best sound play and cpu clycles, the new config is this:
My last config proposal: PHP Code:
|
Re: How to calibrate stylus in n900 dosbox?
Quote:
Btw, reducing emulated memory size might help with performance also. |
Re: How to calibrate stylus in n900 dosbox?
now I have a small problem, to use the stylus with DosBox. I try to bind a key with the right mouse button. But do not know how to xbindkeys, can you?
żXmodmap need another config? Very thanks http://img444.imageshack.us/img444/7...0053119310.png |
Re: How to calibrate stylus in n900 dosbox?
I have tried the dosbox.conf posted on page before. First time dosbox crashed after intro of warcraft1, and second time whole device restarted while trying to load saved game. Trird time I saw only black screen and after some time something like in-game screensaver appeared after then the game menu finaly showed up. Whole screen is blinking very often, game is incredibly slow, but yes... the mouse is finaly working like a charm :D
I will play with config later. |
Re: How to calibrate stylus in n900 dosbox?
Did anyone who tried X-Com terror from the deep have problems with performance? With the config file which was provided at least for me the game was not very smooth...
|
Re: How to calibrate stylus in n900 dosbox?
Quote:
You need to also have a right mouse click as well. |
Re: How to calibrate stylus in n900 dosbox?
Anyone bumped into a good settings for X-Com 1 (Enemy Unknown)?
I used the settings which have been posted by elteclas in reply number 19 here, and the game works nice but sometimes it seems that mouse clicks does not always register, so sometimes there's a need to click more than one time in order to the click to register... And what about mouse right-button clicks, does it work with this .conf file? |
Re: How to calibrate stylus in n900 dosbox?
Hi,
just tried to boot into kolibri os with boot kolibrios.img and mouse does not work thats a bummer because this os would be so sweet to be used on the n900. Anyone a good hint what I could do to get the mouse to work proberly? |
All times are GMT. The time now is 07:51. |
vBulletin® Version 3.8.8