PDA

View Full Version : DOSBox 0.65 ... ftw


Pages : 1 2 3 [4]

Ghouli
03-15-2012, 12:55 PM
After playing couple of battles in X-Com, it would seem like a good idea to add some sort of toggle to switch in a mode where touchpad presses aren't registered and you can just move your "mouse" freely without worrying about accidental clicks (as suggested by ArnimS (http://talk.maemo.org/showpost.php?p=915526&postcount=231)). Already put some code together to get it working (holding down shift allows you to roam free), but this needs a bit more thought on where to bind it, and how it should actually work - only when key is pressed, or toggle or whatnow.

Any suggestions?

Estel
03-15-2012, 05:22 PM
Toogle sounds ideal. Having a toogle key configurable would be also best - allowing it to fit in any layout.

/Estel

stooobs
03-15-2012, 08:33 PM
ive waited two years for this yay right click on dosbox win for the n900,
on a side note id like left click and right click to be on volume up and down respectively with mouse free to roam but to be fair thats just for anvil of dawn lol.
cheers for the hard work hope looking forward to this

Addison
03-15-2012, 08:37 PM
Could this new feature also become available for the Diablo build as well?

Ghouli
03-16-2012, 02:45 AM
Yeah, I was thinking about making toggle right click and roam use few possible values like none, proximity sensor, shift, ctrl etc so it could be configured as one chooses, and make it work better with specific apps. Also gonna take a look how volume keys can be read, and see if stooobs could use them in Anvil of Dawn ;)

As for Diablo build, well.. I'll look into it, but as I don't have device myself, I cant test it that well. Codewise, it shouldn't be too hard. Gonna see if I can set up SDK for it, and look into possible keys to be used. Suggestions needed.

Having some friends over to have boozytime on weekend, so there won't be too much progress till next week. If anyone wants to try the current build (cover proximity sensor for right click, hold shift for free roam), you can use deb found here (http://nikita.tnnet.fi/~ghouli/dosboxufo/), just remove current dosbox installation before installing it with dpkg -i. You can remove it with dpkg -r dosbox. Included are my conf file I use to play X-Com (sound disabled, otherwise it plays like a charm :)) and javispedros rover.sys and us.key files. I haven't tried packaging (or any Linux programming besides some python & bash scripting) before, so be gentle. :p

Post any ideas if you got them, I'd appreciate it. :)

javispedro
03-16-2012, 07:05 AM
Put the patches somewhere!

Ghouli
03-16-2012, 07:25 AM
Prolly gonna screw this up, but attached should be sdlmain.diff saved as .txt file, this only adds proximity sensor for right click, defaults off, but can be set on in config file.

Ghouli
03-17-2012, 06:13 AM
Couldn't resist the urge. You can now set toggle right click and roam to ctrl, shift or proximity sensor from conf. Patch (http://nikita.tnnet.fi/~ghouli/dosboxufo/sdlmain.patch), and new deb (http://nikita.tnnet.fi/~ghouli/dosboxufo/dosbox_0.74-0maemo4_armel.deb) for anyone who wants to try it out. Use togglemouseright and togglemouseroam in sdl section of conf to set wanted keys.

Estel
03-17-2012, 09:42 AM
You were able to prepare correct debs, so could You also upload new version to extras-devel? It's what the -devel is for, and I'm pretty sure, that in case of bugs it's much bigger chance to find them. It's unbelievable how much of a download boost package gets, when it's uploaded to repos, even -devel.

Thanks anyway!

/Estel

stooobs
03-17-2012, 11:03 AM
gonna try it now cheers ill report back how happy or sad i am lol.

i also agree with uploading to devel because if there isnt much action in a thread it can easily be missed

ivgalvez
03-17-2012, 04:24 PM
You were able to prepare correct debs, so could You also upload new version to extras-devel? It's what the -devel is for, and I'm pretty sure, that in case of bugs it's much bigger chance to find them. It's unbelievable how much of a download boost package gets, when it's uploaded to repos, even -devel.

Thanks anyway!

/Estel

Hi Estel, in this case, the original maintainer is still around and willing to incorporate other's patches so I hope there's no need to push the new package by "brute force".

stooobs
03-19-2012, 04:04 PM
reporting back it works brilliantly but i had to set sound blaster emulation to get aod working with your config,
now im a very happy chappy, hmm i wonder if there is a way to stream my n900 screen to my smart tv that would be cool

Ghouli
03-20-2012, 09:11 AM
Sent to extras-devel. Keeping my fingers crossed and hoping I got it right.

javispedro
03-20-2012, 10:56 AM
Hi Estel, in this case, the original maintainer is still around and willing to incorporate other's patches so I hope there's no need to push the new package by "brute force".

I gave him upload permissions. As long as I can continue running Win31 I don't mind.
But if you need help with anything do ask.

ivgalvez
03-20-2012, 12:44 PM
... As long as I can continue running Win31....

lol :D

ten chars

Ghouli
04-12-2012, 07:37 AM
Since there haven't been any complaints, I guess the patch was okayish. :p Have been quite caught up with school and work related projects, but finally had time to set up Diablo SDK and roll up the package. Should be arriving in extras-devel shortly. Pretty much the same thing as with N900, just removed proximity sensor. Ctrl and shift can be mapped to right click and mouse roam, so sadly this doesn't offer anything to N800 users. Gonna look into using menu buttons when I have time.

Addison
04-13-2012, 04:45 AM
Awesome!

On my N800, I've been using Xbindkeys to map
Zoom out key:
xmodmap -e "pointer = 1 2 3"

and

Zoom in key:
xmodmap -e "pointer = 3 2 1"

A little messy but it works good enough. :)

casketizer
05-06-2012, 12:27 PM
Can someone please point me to resources explaining how to get the keyboard working properly on my N900?
I searched in vain. I cant even enter a :
I tried setting keyboard to english but no luck.
Also has someone tried to play Dark Forces? Is there a recommended conf?

Estel
05-06-2012, 03:11 PM
Erm, maybe setting up accelemymote to act as joystick, and mapping it for Dark Forces? Then You could play using accelerometer. I can't imagine any other playable way for Dark Forces, except for connecting mouse via bluetooth/hostmode.

casketizer
05-06-2012, 03:44 PM
Hmmmm now that you say it, you may have a point. I remembered it as a 3D Game without up/down like Doom. But now I think I was wrong.

Anyway, my first question was much more important. Can you pls help me? :)

Estel
05-06-2012, 04:03 PM
You need to place and execute (via autoexec in dosbox config) a rover.sys file. I remember that there have been multiple of threads about it + many posts in this very thread, but I don't have it bookmarked anywhere (just installed and forget).

BTW, maybe its good idea to include mentioned rover.sys in dosbox package, in a way that it's installed automatically?. I see no much reason, for leaving it for manual install, especially, that it's practically required for proper Dosbox usage.

/Estel

[off-topic]Oh no, Dark Forces was much better and more "complicated" than doom. It was much more "real" 3D - with up, down, jumping, strafe'ing etc. AFAIK it was first game to introduce such "canon" FPS elements. Not to mention, that it has real plot, which couldn't be said about doom ;) IMO, doom was more popular only thanks to multiplayer, which Dark Forces lacked.[/off-topic]

casketizer
05-06-2012, 04:13 PM
Are those rover.sys files attachments here on tmo or where do you get them?

Dark Forces was indeed lighyears better than Doom. I have the CD Version but haven't played it since the 1990s, so my memory has dimmed.

Estel
05-06-2012, 05:08 PM
So I decided to move my a** and after 30 seconds of searching:
http://depot.javispedro.com/dosbox/rover/

No irony here intended. I agree, that it's PITA. It should be included i dosbox package for sure.

BTW, remember, that after installing it, You'll be able to properly map keys as per dosbox keymapper, same way as with desktop version (see dosbox manual for details).

to automatically use it, just put:

keyb rover.sys us

...into Your autoexec part of Dosbox config. I have no idea if "us" is correct for keyboards without 4 arrows, but for sure it's working ok no matter of Your N900 language settings (You don't need to use US_us.utf8 for that to work).

/Estel

casketizer
05-06-2012, 05:11 PM
Thank you so much.
BTW, I find it is always easier to find something again, than finding it for the first time.

HolgerN
06-28-2012, 04:38 AM
I added a new patch vertical_scaling to dosbox. This patch add the option of Mouse Vertical Scaling, in order to scaling the vertical component of the mouse movement. In the [sdl] section you have the option sensitivityaspect=%value%, which can vary from -1000 to 1000. Its default value is 100. The unit is percentage.

Some dos games as Realm of Arkania 1 will now work, If you set sensitivityaspect to 50.

I uploaded 0.74-0maemo6 to extras-devel.

Have fun!

Estel
06-28-2012, 06:46 PM
Thanks a lot!

Maye it be the case with Pirates! Gold too? It was always quite awkard re mouse control via touchpad. Any way to determine correct percentage, except for trial-and-error?

/Estel

Addison
07-31-2012, 04:46 PM
Would it be possible to have the left and right, 80x480 dead area on the screen, to be used as customized touch keys?

Having just an N800, I could really make good use of them. :)

Estel
07-31-2012, 05:04 PM
I know something like that (even more - whole touchscreen was divided as 9 invisible buttons) on Symbian's Dosbox port, so it should be possible. not very convenient for use, though.

/Estel

Addison
08-01-2012, 12:58 AM
Would you at least consider this Estel? :)

Estel
08-01-2012, 06:09 PM
Me? Sure, but sadly, I'm not Dosbox maintainer/developer :( I'm afraid, that with me touching it's code and trying to implement something from symbian version (that I've seen only from user POV) could result in total catastrophe :)

I'm just poor little tester/user, when it comes to DosBox :)

Addison
08-27-2012, 05:39 PM
Before you do that,.....I just remembered that the files in my zip file have the directory structure /usr/share/dosbox as part of the zip file. Try using xarchiver to place the files in this new zip file (http://intermag.magnode.com/pushwall/dosboxx.zip) into /usr/share/dosbox (this zip file doesn't have the file structure associated with it).

I lost by backup copy of this and I keep getting an error of Dosbox not finding the config file.

I tried creating /usr/share/dosbox and put dosbox-0.73.conf in there but that didn't work.

Any help?

peterleinchen
08-27-2012, 05:58 PM
What about
/home/user/.dosbox ?

Addison
08-27-2012, 07:00 PM
Yeah, when I installed this it created /home/user/.dosbox but that's not where Dosbox looks for the config file. :(

I'm using the Diablo port by the way.

Addison
08-27-2012, 07:30 PM
Hmm....

I seem to have installed 0.73-7maemo5.

That can't be right if I'm running Maemo 4, can't it?

Addison
08-28-2012, 03:16 AM
Okay. Got it.

I just needed /home/user/.rubybox/dosbox.conf

ikerrg
11-28-2012, 04:24 AM
Great port of DOSBox to N900. It still requires some development but it is an amazing piece of software!!!

I have seen a little problem. Even after loading the rover.sys keyboard layout, the numbers are still not detected by some games. For example, the GoldenAxe for DOS shows a text screen to select the graphics mode just before starting the game. It is not possible to select any of the options with the numbers, they are not detected by the game. However, in the dos prompt the numbers are correctly written. Any idea?

Thanks and continue the good job, javispedro.

Addison
02-21-2013, 02:07 AM
For Maemo 4 users.

dosbox goes in /usr/share/
and .dosbox goes in /home/user/