Notices


Reply
Thread Tools
ArnimS's Avatar
Posts: 1,107 | Thanked: 720 times | Joined on Mar 2007 @ Germany
#621
Originally Posted by ArnimS View Post
What is ouir wishlist for a dosbox that doesnt suck?

here is mine
- screen as touchpad for relative mouse control: rocker button-+become left / right click
edit: harder than you would expect.. cursor keeps jumping.
Implemented, i think!

I patched javispedro's maemo5 tree - build is here: http://pupnik.de/dosbox_pup53_bin.tgz
Before launching,
1) set environment variable
~$ export SDL_MOUSE_RELATIVE='0'
2) turn off autolock in your dosbox config /home/user/.dosbox/dosbox-0.73.conf

tested with Wing Commander and mouse sensitivity set to 50 in config

[EDIT]
Works with:
- Wing Commander
- Arena
- Ultima VI
- Rex Nebular
- Betrayal at Krondor

Broken with
- Ultima Underworld 1

Last edited by ArnimS; 2009-12-28 at 16:45.
 

The Following 4 Users Say Thank You to ArnimS For This Useful Post:
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#622
Originally Posted by ArnimS View Post
Implemented, i think!

I patched javispedro's maemo5 tree - build is here: http://pupnik.de/dosbox_pup53_bin.tgz
Before launching,
1) set environment variable
~$ export SDL_MOUSE_RELATIVE='0'
2) turn off autolock in your dosbox config /home/user/.dosbox/dosbox-0.73.conf

tested with Wing Commander and mouse sensitivity set to 50 in config

[EDIT]
Works with:
- Wing Commander
- Arena
- Ultima VI
- Rex Nebular

Broken with
- Ultima Underworld 1
Good job dude!

Sorry I didn't get a chance to post my solution for this last night, I'll try to do that later this evening.

Basically I've got a xbindkeys executable that works perfectly under Diablo OS.

No issues with using it so far, the mouse has yet to jump even once and it's highly customizable in that it allows great flexibility on how to implement a right and left mouse click.

You can also launch apps and scripts by simply pressing a defined hardware key. Very nice!

I just haven't gotten around to writing up a post on it.

Will these newer builds of Dosbox be a N900 exclusive?

I think you know what I'm trying to hint at....
 
ArnimS's Avatar
Posts: 1,107 | Thanked: 720 times | Joined on Mar 2007 @ Germany
#623
Originally Posted by Addison View Post
Good job dude!

Sorry I didn't get a chance to post my solution for this last night, I'll try to do that later this evening.

Basically I've got a xbindkeys executable that works perfectly under Diablo OS.

No issues with using it so far, the mouse has yet to jump even once and it's highly customizable in that it allows great flexibility on how to implement a right and left mouse click.

You can also launch apps and scripts by simply pressing a defined hardware key. Very nice!

I just haven't gotten around to writing up a post on it.

Will these newer builds of Dosbox be a N900 exclusive?

I think you know what I'm trying to hint at....
I have no changes for N800 dosbox, and am not qualified to make packages for diablo or fremantle anything.

My mousehack needs more testing. I'll test your solution, but i don't see how it could possibly work. But then again, i don't understand these layers of translation of mouse movement at all. I stripped all of dosbox and sdl's "interpretations" of what was happening away.
EDIT2: try just
export SDL_MOUSE_RELATIVE='0'


before running regular dosbox... use mouse scaling 100...

EDIT maparn.txt attached - gives numbers (but no . just copy it somewhere and edit dosbox.conf to point to the maparn.txt file
Attached Files
File Type: txt maparn.txt (2.8 KB, 161 views)

Last edited by ArnimS; 2009-12-29 at 14:44.
 
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#624
Matan wrote me and said that xbindkeys required some dependency that Diablo never supported.

He then emailed me back a little later and basically said, here try this.

It works. No idea what he did. But all credit goes to him.

xbindkeys.zip
xbindkeys goes to /usr/bin/

Make it executable.

.xbindkeysrc needs to be created and goes to /home/user/

Here's a really bad example of how to use it.

"xmodmap -e "pointer = 3 2 1""
m:0x0 + c:72

"xmodmap -e "pointer = 1 2 3""
m:0x0 + c:73

You need to also install xmodmap found here:
http://maemo.lancode.de/?path=./diablo/binary

To find the keycode that you want to enable
xbindkeys -k

You get it working with
xbindkeys

To end it
killall xbindkeys

For additional resources, refer to
xbindkeys --help

Sorry for the poor documentation on this but I figure you would know more on what to do with this than me.
 

The Following 10 Users Say Thank You to Addison For This Useful Post:
Posts: 526 | Thanked: 99 times | Joined on Sep 2009
#625
does anyone know how i map keys. or have a key mapper file for me. i am playing homm:kings bounty and i need esc key to move through screens thanks
__________________
Christopher Stobbs

My Blog
 
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#626
Originally Posted by stobbsc View Post
does anyone know how i map keys. or have a key mapper file for me. i am playing homm:kings bounty and i need esc key to move through screens thanks
You forgot to mention what device you have.

Hey Armin or Javis, what computer speed would you guess this equates to in comparison of a real, x86 machine for the N900?

I'm guessing maybe a 12 or perhaps a 14 mghz computer.

Just curious.
 
ArnimS's Avatar
Posts: 1,107 | Thanked: 720 times | Joined on Mar 2007 @ Germany
#627
Originally Posted by Addison View Post
You forgot to mention what device you have.

Hey Armin or Javis, what computer speed would you guess this equates to in comparison of a real, x86 machine for the N900?

I'm guessing maybe a 12 or perhaps a 14 mghz computer.

Just curious.
I'd say that's spot-on for most games. A program that doesn't use sound or draw to screen would run as a 66mhz 486 or so.
__________________
find . -name \*.mp3 -exec mplayer -quiet -shuffle "{}" +
das ist your media player, and yuu vill like it
 
Posts: 478 | Thanked: 101 times | Joined on Feb 2010
#628
Does anyone know when a version of dosbox will be put into the downloads section?
 
javispedro's Avatar
Posts: 2,355 | Thanked: 5,249 times | Joined on Jan 2009 @ Barcelona
#629
Dosbox is on extras-testing. The only thing it's missing is votes.
 
Posts: 147 | Thanked: 49 times | Joined on Dec 2009
#630
did anyone figure out how to do right click?
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 07:53.