maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   DOSBox 0.65 ... ftw (https://talk.maemo.org/showthread.php?t=5686)

OSEmuTech 2008-03-23 05:31

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by qx773 (Post 158994)
A common problem with DOSBox seems to be that the location of the MSDOS mouse pointer does not correspond to the place where you tap on the screen. I think that I found the solution on my Nokia N800 by editing the

/usr/share/dosbox/dosbox.conf

file so that:

autolock=false

Thanks. As suggested by Arnim in this thread, I have used that for over a month, but the mouse is still screwy and sticky.

qx773 2008-03-23 15:49

Re: DOSBox 0.65 ... ftw
 
Maybe you also need:

frameskip=0
priority=highest,normal

Those are the only other things that I changed in dosbox.conf other than the [autoexec] section to mount my dos folder and start a Master of Orion v1.3 game.

Addison 2008-03-23 23:19

Re: DOSBox 0.65 ... ftw
 
4 Attachment(s)
Okay, just a small little tweak to the two keyboards.

This should be the final design unless people start throwing rocks at me, demanding immediate changes. :D

Here's the abbreviations for the keys and what they mean:
Ins - Insert
Home - Home
Up - Page Up
Del - Delete
End - End
Down - Page Down
Prt - Print Screen
Lock - Scroll Lock
Pau - Pause
Sys - Sys Rq
Brk - Break

Also, the four bullet buttons next to the equals sign are the arrow keys.

If someone knows the ASCII character graphics for the arrow keys, could you please post a response?

Finally, it would be nice to have different font sizes throughout the keyboard.

Can you only declare one global font to be used for the entire keyboard or is it possible to do them each individually?


Anyway, here's the keyboard for right handed people:

http://img175.imageshack.us/img175/9085/righthp7.png

Here's the two files for it:
Attachment 1223
Attachment 1224

Edit your usr/bin/dosboxkbd to
#!/bin/sh
xkbd -geometry +65536+65536 -k /media/mmc2/right2.xkbd & xkbd -geometry +722+65536 -k /media/mmc2/right.xkbd



And here's the keyboard for all of you ignorant left handed folks: :D

http://img175.imageshack.us/img175/7901/leftgo0.png

Here's the two files for it:
Attachment 1225
Attachment 1226

Edit your usr/bin/dosboxkbd to
#!/bin/sh
xkbd -geometry +65536+65536 -k /media/mmc2/left.xkbd & xkbd -geometry +722+65536 -k /media/mmc2/left2.xkbd



I've got an idea that could greatly cut down the screen clutter, but I won't have time to try it out until the middle of the week if I'm lucky.

I might also want to try having two keys per row since the buttons are so small, not sure how that's going to work out though.

Anyway, there you have it.

If there's any major problems that occur with using these keyboards, such as a nasty, seething little bug that falls from the sky, lands on your Nokia, wiggles, and then pees on it, causing your Tablet to go into tetanus, please post your anger here. :D

OSEmuTech 2008-03-24 01:19

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by qx773 (Post 159125)
Maybe you also need:

frameskip=0
priority=highest,normal

Those are the only other things that I changed in dosbox.conf other than the [autoexec] section to mount my dos folder and start a Master of Orion v1.3 game.

I really wish that worked for me in "DOS" and Windows 3.11. Thank you for trying to assist me.

Pushwall 2008-03-24 02:05

Re: DOSBox 0.65 ... ftw
 
Addison your 2 keyboards rock! It's cool that most games don't require fullscreen mode and the game screen centers between the 2 keyboards with the tablet bar info at the top. If you can now get that font thing figured out my weak eyes would appreciate it. :) The only minor problem I have is that some games accept all the keys needed from the keyboard but in some cases they refuse to accept some of them. It must be something to do with XKBD since my bluetooth keyboard does work. Oh well, I can live with it. Keep rockin', Addison. You're the main Dude, dude!! :D

Addison 2008-03-24 06:03

Re: DOSBox 0.65 ... ftw
 
Hey Push! Thanks for the encouraging words! You actually made me feel like I finally contributed something to these forums. :D

But yeah, I'm getting the same response on some games as well.

Here's the skinny on why certain games aren't giving you so much as a dim flicker of recognition when using the virtual keyboard.

First, Xkbd doesn't like to be fed lower case letters, if you try to do that, there's a good chance it will snap at you.

So the whole trick around this is by making it think that you're not offering lower case letters to it.

The work around way I did this was to send it Capital Capital letters.

So instead of giving it a lower case letter which would make Xkbd throw up, it's being fed a Shifted Capital letter A. Make any sense?

Most games seem to interpret a Capital letter "A" as an "a". Unfortunately, other games get weirded out by this bizarro concept.

Right now I'm waiting to see what OSEmuTech has in store with his next keyboard. Hopefully he'll have some new, original, and creative ideas, then I'll steal them for my own. :D

At least now, we've got some stuff that will work okay with this alternative method. But yeah, I'm with you on this, I only remember those games where it doesn't work.

I totally was hoping that Omni Sports Basketball would be supported with Xkbd, I also wanted to make a touch screen steering wheel for Ivan Stewart's Super Off road. But that ain't happening any time soon it seems like. At least I'm not bitter....... :mad:

Oh well, until this whole mess gets fixed, hopefully there's enough here to work with to make the wait more tolerable until that day comes.

3xternal 2008-03-24 07:49

Re: DOSBox 0.65 ... ftw
 
ArnimS: 1994 game, requires 386-486 - won't run playably in dosbox. Sorry.

Addison 2008-03-26 02:43

Re: DOSBox 0.65 ... ftw
 
2 Attachment(s)
Another craptastic keyboard design by your drunken abusive fellow poster. :D

This one isn't quite so excessive in taking up screen space.

Once I figure out how to insert images into the darn little bugger, I'll give that a try as well.

The second keyboard comes up when you press the yellow star bullet thingie dohicker character.

It does have a minimize feature, but I don't think it's all too friendly with Dosbox.

Works great for everything else though.

Only known issue is that the left and right bracket characters, "[" and "]", are a little funky.

They sit right below the Ctrl and Atl keys. So when you press them, you get the character, but then it also sends the command that your pressed either the Ctrl or Atl keys right afterwards.

Just press the bullet mod key and then either the Ctrl or Alt key that is still lit to return back to normal.

Sorry about that, but it's not like most people are using the bracket keys for anything anyway.

Here's the screenies to get punchy over:

http://img505.imageshack.us/img505/4656/leftfulllc3.png

http://img254.imageshack.us/img254/9...ftfull2fx0.png


There's one for the left and one for the right side, whatever your preference is.


Left one:
Attachment 1257
Edit usr/bin/dosboxkbd
xkbd -geometry +65536+65536 -k /media/mmc2/leftfull.xkbd

Right one:
Edit usr/bin/dosboxkbd
Attachment 1258
xkbd -geometry +722+65536 -k /media/mmc2/rightfull.xkbd



I still have one last, final idea in mind. I think it will work out quite nicely if I don't attempt doing it while hazing in and out of consciousness during a typical night of drunken stuporedness.

Meaning, don't expect a release anytime soon. :D

Natehunderd 2008-03-27 02:36

Re: DOSBox 0.65 ... ftw
 
Quote:

Only known issue is that the left and right bracket characters, "[" and "]", are a little funky.
Addison - but but but how will I type Apple ][ ????? :eek: :D

Nice!

Nate

Pushwall 2008-03-27 14:03

Re: DOSBox 0.65 ... ftw
 
Oh my, very very nice indeed, Addison. I can now see clearly what those keys are that I'm tapping on. Great stuff!!! :cool:

Benson 2008-03-27 14:14

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by Addison (Post 159260)
If someone knows the ASCII character graphics for the arrow keys, could you please post a response?

You can use .xpm images, at least with the version of xkbd I'm using.

There is no ASCII encoding for arrow glyphs; it's possible that there is some unicode encoding method that will work, but I don't know which encoding method, what the code is for arrow glyphs, or whether they are present in any font on the N8x0 by default...

klinglerware 2008-03-27 16:08

Re: DOSBox 0.65 ... ftw
 
Between Rubybox, the mouse fix and learning to deal with xkbd's quirks, I'm definitely using DosBox a lot more. A couple of old favorites, the original Civilization & the original Sim City, work fantastically now.

One thing I do notice is that when I exit out of DosBox/RubyBox and go back to surfing the web, clicking on links doesn't work anymore. A re-boot fixes the problem. However, is there something I can do (like killing a process in xterm) that may be able to remedy this without a reboot? Incidentally, I noticed this problem once I started using RubyBox. Also, I'm not using Addison's latest keyboard mod yet...

Many thanks in advance!

Pushwall 2008-03-27 17:56

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by klinglerware (Post 160999)
One thing I do notice is that when I exit out of DosBox/RubyBox and go back to surfing the web, clicking on links doesn't work anymore. A re-boot fixes the problem. However, is there something I can do (like killing a process in xterm) that may be able to remedy this without a reboot? Incidentally, I noticed this problem once I started using RubyBox. Also, I'm not using Addison's latest keyboard mod yet...

I believe the problem you're having is inherent in the default XKBD keyboard that RubyBox is using. I noticed it too. I haven't seen the problem since Addison fixed the keyboard so it wouldn't crash or do weird stuff. Try the latest Addison keyboard and I think your problem will go away.

klinglerware 2008-03-27 18:42

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by Pushwall (Post 161065)
I believe the problem you're having is inherent in the default XKBD keyboard that RubyBox is using. I noticed it too. I haven't seen the problem since Addison fixed the keyboard so it wouldn't crash or do weird stuff. Try the latest Addison keyboard and I think your problem will go away.

Thanks! I'll definitely give it a try...

Addison 2008-03-27 21:02

Re: DOSBox 0.65 ... ftw
 
Quote:

Addison - but but but how will I type Apple ][ ?????
All you have to do is type this:
Apple Mod Key ] Mod Key Ctrl Key Mod Key [ Mod Key Alt Key.

See how easy that is?

Yikes! :eek:


Oh, and thanks to whoever figured out the whole Mouse Lock Pointer thingie being false!

Monopoly and all of the other junk I've got running in Dosbox works almost perfect now!


Anyway, could someone here post a link or two on how to get started in creating those .xmp graphics for the keyboard?

I'm using Windows XP and the only graphic editor I have is the default Windows Paint program.

So yeah, I'm not too sure on where to begin on this.

Thanks.

belloc 2008-03-28 15:26

Re: DOSBox 0.65 ... ftw
 
If you can get WIN98se running with network support can we then just VNC into the session to have full mouse and keyboard support?

qole 2008-03-30 01:07

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by Addison (Post 161134)
I'm using Windows XP and the only graphic editor I have is the default Windows Paint program.

You really need to get the Gimp. It is a free, open source, powerful bitmap editor. It holds its own with all the $400+ editors. It reads and writes an amazing number of file formats, too.

http://www.gimp.org/downloads/

As for your XMP files, I don't know if they are even graphics files. XMP doesn't tend to be a graphic file format.

Addison 2008-03-30 19:58

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by qole (Post 162230)
You really need to get the Gimp. It is a free, open source, powerful bitmap editor. It holds its own with all the $400+ editors. It reads and writes an amazing number of file formats, too.

http://www.gimp.org/downloads/

As for your XMP files, I don't know if they are even graphics files. XMP doesn't tend to be a graphic file format.

Thanks for the reponse Qole.

But if you're not getting it, then there's no way I'll ever understand the whole .xmp file image converted keyboard support graphic thingie dependent xkbd required format system tool needed with this. :confused:

If someone can figure this out, please share the goods! :D

Hey ArminS!

Got an idea!

If you were to still allow Dosbox to be centered in full screen mode, yet moved it to the top of the screen, there should be enough room for a full, virtual keyboard on the bottom.

If it's something you would be willing to do, I probably could make a killer keyboard that takes up the entire width of the display screen and have it all nice and friendly looking, sitting right below the Dosbox screen.

What's your thoughts on this guys? Am I awesomeness or what? :D

Also, quick question.

When running multiple Xkbds, does that have any significant effect on tying up processing power on the Nokia?

Just curious as to exactly how much that would strain Dosbox if there were to be, say, three Xkbds running at the same time.

I'm thinking that if I can only get three rows of keys on the bottom screen, then perhaps I'd throw the function keys on the top left of the screen, and other special keys on the top right. Make any sense?

Finally, if you were to have Dosbox displayed top left, I think there might be enough room to make a virtual, touch screen, joystick on the bottom right side.

So what's your thoughts on any of this?

Thanks!

Addison 2008-04-02 19:58

Re: DOSBox 0.65 ... ftw
 
Question.

Is it possible to map the directional keys on the D PAD?

I'm only getting Up, Down, Left, and Right on games.

Can't seem to figure out how to do UP Left at the same time.

Thanks!

qole 2008-04-02 20:56

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by Addison (Post 164122)
Question.

Is it possible to map the directional keys on the D PAD?

I'm only getting Up, Down, Left, and Right on games.

Can't seem to figure out how to do UP Left at the same time.

Thanks!

Diagonals (like Up-Left) can't be done on the D-Pad. It's a hardware limitation.

m.capurso 2008-04-26 16:17

Re: DOSBox 0.65 ... ftw
 
I have a 770 with OS 2006. I followed the thread, went to http://pupnik.de/dosbox.html , downloaded the 0.72 OS2006 deb, downloaded the libs with red pill, installed xbkd and was able to run Microsoft Quick C and other programs.
But I have some doubts. First, confirm that dosbox.conf should be in /home/user/.dosboxrc
Second, the keyboard layout is in /usr/share/xkbd/en_GB.qwerty.xkbd or in
/usr/bin/dosboxkbd ?
Moreover, I am using the standard xkbd configuration (the two keyboards seems baroque) and I don't know how to produce F1,F2 (function keys). Probably, a guide on your web site will help.

toby.c13 2008-05-31 05:52

Re: DOSBox 0.65 ... ftw
 
what should i type to mount my internal memory card to c: ?
i got a game folder name DOS in my internal memory card.
thanks. :)

Addison 2008-06-01 20:28

Re: DOSBox 0.65 ... ftw
 
Just use Ukki's incredible Rubybox to mount any games or applications that you might have.

The latest version is here:
Rubybox

You might need to also download the supporting software called OS2008 Ruby Repo .install as well.

You can find that here:
http://pupnik.de/dosbox.html

Finally, here's a good tutorial on how to use Dosbox just in case you're interested.

Dosbox Tutorial

cyberbillp 2008-06-04 23:50

Re: DOSBox 0.65 ... ftw
 
I've augered into the dirt trying to get Rubybox installed.

First I installed Ruby from the maemo repositories.

Rubybox refused to load.
Removed Ruby.

Found a bunch of Ruby debs on Gronmayer I think. Installed the lot of them.

Rubybox complains about Unzip now. Found unzip deb.

Unzip complains about unzip-crypto conflicting.

Can't uninstall unzip-crypto. Not listed in the application manager.

I feel like I'm back to running Redhat 5. A dependancy problem at every turn. How can I resolve this? Is there a -force option somewhere?

Anyone have a clue where unzip-crypto came from?


Finally, a serious question as I honestly don't know the answer to this: Why Ruby? What's wrong with Python? Note that I've never looked at source code in either language. So I'm wondering why people use it? What does it bring to the table that C or Python don't have?

ukki 2008-06-05 07:46

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by cyberbillp (Post 188798)
I've augered into the dirt trying to get Rubybox installed.

First I installed Ruby from the maemo repositories.

Rubybox refused to load.
Removed Ruby.

Found a bunch of Ruby debs on Gronmayer I think. Installed the lot of them.

Rubybox complains about Unzip now. Found unzip deb.

Unzip complains about unzip-crypto conflicting.

Can't uninstall unzip-crypto. Not listed in the application manager.

I feel like I'm back to running Redhat 5. A dependancy problem at every turn. How can I resolve this? Is there a -force option somewhere?

Anyone have a clue where unzip-crypto came from?

http://www.internettablettalk.com/fo...6&postcount=20

Try with these instructions, unzip can be found from extras, rest from pupnik.de. Try running 'rbox' from xterm if RubyBox doesn't start.

Quote:

Originally Posted by cyberbillp (Post 188798)
Finally, a serious question as I honestly don't know the answer to this: Why Ruby? What's wrong with Python? Note that I've never looked at source code in either language. So I'm wondering why people use it? What does it bring to the table that C or Python don't have?

Why Python or C? You can't really argue about people's taste for programming language. But don't worry, once they break compatibility with chinook, Ruby-Maemo will die.

cyberbillp 2008-06-05 10:36

Re: DOSBox 0.65 ... ftw
 
Thanks Ukki, but I'm stuck on step one.

Unzip conflicts with unzip-crypto and I can't uninstall unzip-crypto.

ukki 2008-06-05 12:29

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by cyberbillp (Post 188928)
Thanks Ukki, but I'm stuck on step one.

Unzip conflicts with unzip-crypto and I can't uninstall unzip-crypto.

Tried apt-get remove unzip-crypto as root in xterminal or enabling red pill mode in application manager?

cyberbillp 2008-06-06 18:35

Re: DOSBox 0.65 ... ftw
 
apt-get remove zip-rar-7za fixed me.
Now looking for game settings. Thanks.

cyberbillp 2008-06-06 19:41

Re: DOSBox 0.65 ... ftw
 
Well, it runs. Sorta. What do I put in for a server/user name? Also, the scan feature seems to be missing and it can't find dosboxbin, so it won't actually run dosbox.

I know you're gonna ask this: I

ukki 2008-06-06 20:46

Re: DOSBox 0.65 ... ftw
 
Complete instructions are in the post I linked above. If you are missing dosboxbin on os2008, you have a wrong version of dosbox installed.

cyberbillp 2008-06-07 01:35

Re: DOSBox 0.65 ... ftw
 
That did it! The correct version of dosbox runs way faster too.

JayJay 2008-06-14 21:18

Re: DOSBox 0.65 ... ftw
 
I tried Dark Forces on DosBox, and of course, it ran very poorly and was practically unplayable. :D

http://img521.imageshack.us/img521/5...1416495iq0.png

http://img521.imageshack.us/img521/8...1416512vk5.png

http://img521.imageshack.us/img521/3...1416520km0.png

http://img519.imageshack.us/img519/3...1416572yn3.png

http://img151.imageshack.us/img151/1...1417005li6.png

I wish there was a real Dark Forces port. :(

JustNick 2008-07-13 13:41

Re: DOSBox 0.65 ... ftw
 
To me, Dosbox gurus! :D
Having failed so many time to make Myst run on BasiliskII http://www.internettablettalk.com/fo...ad.php?t=19299 I decided to try it on dosbox (I had nothing to lose after all)
Well, it did launch, but there is a offset between the position of the stylus on the digitizer and the mouse pointer under windows (and in myst as a consequence).
I guess this is due to the fact that the screen is 800x480 vs a VGA resoluzion in Dosbox, so there is no real correspondence between where the pointer is and where it is supposed to be...
Is there a way to magically fix it? I can't say Myst works or not as long as I can't move myself around :D (but I can say that on a much faster SD, using the SD high speed kernel patch, it would load faster and theoretically work pretty well :D )

Pushwall 2008-07-13 15:02

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by JustNick (Post 202459)
Well, it did launch, but there is a offset between the position of the stylus on the digitizer and the mouse pointer under windows (and in myst as a consequence).
I guess this is due to the fact that the screen is 800x480 vs a VGA resoluzion in Dosbox, so there is no real correspondence between where the pointer is and where it is supposed to be...
Is there a way to magically fix it?

Hopefully you're using the RubyBox frontend for DOSBox (http://pupnik.de/dosbox.html). If not, install it since it makes changing these settings much easier. On the advanced settings page in RubyBox for Myst, try changing the sdl autock setting to false. This may or may not help, but sometimes freeing the cursor from being locked on the screen does help in some games. And on the basic settings page, play with different settings for sdl sensitivity. The default is 100. I usually try settings in the range +5 and -5 from 100. For Apogee's Mystic Towers game a 95 seemed to work best. Let me know if any of this helps and how Myst runs once you're able to move around.

JustNick 2008-07-13 17:37

Re: DOSBox 0.65 ... ftw
 
I'm not using RubyBox, just trying different dosbox.conf (Myst requires Win3.1, so I start it with "c:\windows\win c:\Myst\Myst.exe at the end of the file to launch it directly) and unfortunately the autolock=false option didn't help :(
I read that someone run win 3.1 just fine... how about the misaligned pointer?
Anyway Myst has long loading for different "stages" (due mostly to the speed of the card in my opinion), but the real problem, given that the pointer problem is solvable, will be with the quicktime scenes...
Next idea to solve the pointer problem: external mouse :D
Now where did I put my usb mouse...

jungwolf 2008-07-14 14:46

Re: DOSBox 0.65 ... ftw
 
I haven't been able to get xkbd to work well, either with dosbox or by itself. I then tried the xvkbd but the files were no longer available. Are there any alternatives? Has anyone had any luck troubleshooting a broken xkbd install?

I'm dying to try Ultima IV on my n800 but just can't get anywhere without a keyboard...

Thanks.

klinglerware 2008-07-14 16:03

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by jungwolf (Post 202818)
I haven't been able to get xkbd to work well, either with dosbox or by itself. I then tried the xvkbd but the files were no longer available. Are there any alternatives? Has anyone had any luck troubleshooting a broken xkbd install?

I'm dying to try Ultima IV on my n800 but just can't get anywhere without a keyboard...

Thanks.

The user Addison did a lot of work in getting xkbd to work--check out post #248 in this thread (and Addison's prior posts in the preceding pages). Addison's xkbd layout works very well in conjunction with Rubybox.

ukki 2008-07-15 06:06

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by jungwolf (Post 202818)
I haven't been able to get xkbd to work well, either with dosbox or by itself. I then tried the xvkbd but the files were no longer available. Are there any alternatives? Has anyone had any luck troubleshooting a broken xkbd install?

I'm dying to try Ultima IV on my n800 but just can't get anywhere without a keyboard...

Thanks.

http://pupnik.de/xvkbd_kot_001.zip

aerialist 2008-07-20 10:13

Re: DOSBox 0.65 ... ftw
 
Does anyone know how to send only "Alt" key signal by XKBD, not a letter with Alt like "Alt + x"?

Thanks to the great folks here, I can run HP200LX simulator on N810 via DOSBOX. . One problem is that the simulator uses "Alt" key to activate 'Menu' but XKBD seem not send "Alt" key itself but rather wait for another key and send as "Alt+x".

Pushwall 2008-07-20 17:13

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by aerialist (Post 205033)
Does anyone know how to send only "Alt" key signal by XKBD, not a letter with Alt like "Alt + x"?

Thanks to the great folks here, I can run HP200LX simulator on N810 via DOSBOX. . One problem is that the simulator uses "Alt" key to activate 'Menu' but XKBD seem not send "Alt" key itself but rather wait for another key and send as "Alt+x".

You'll probably have to remap one of the N810 keys like I did for the N800. I created a remapping using the original mapper.txt file and called it mappercsa.txt. (Using the frontend RubyBox makes it easy to use a different mapper.txt file.) Go here to see how my remapping looks for my N800. That was the only way I could get the "Alt" key to work by itself. Maybe my mappercsa.txt file works for the N810 too,...I don't know. You can try it and see.


All times are GMT. The time now is 23:52.

vBulletin® Version 3.8.8