PDA

View Full Version : DOSBox 0.65 ... ftw


Pages : 1 [2] 3 4

Benson
03-27-2008, 10:14 AM
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
03-27-2008, 12:08 PM
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
03-27-2008, 01:56 PM
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
03-27-2008, 02:42 PM
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
03-27-2008, 05:02 PM
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
03-28-2008, 11:26 AM
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
03-29-2008, 09:07 PM
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
03-30-2008, 03:58 PM
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
04-02-2008, 03:58 PM
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
04-02-2008, 04:56 PM
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
04-26-2008, 12:17 PM
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
05-31-2008, 01:52 AM
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
06-01-2008, 04:28 PM
Just use Ukki's incredible Rubybox to mount any games or applications that you might have.

The latest version is here:
Rubybox (http://nakkiboso.com/rubybox_0.3.5.deb)

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 (http://www.abandonia.com/node/23854)

cyberbillp
06-04-2008, 07:50 PM
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
06-05-2008, 03:46 AM
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/forums/showpost.php?p=187236&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.


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
06-05-2008, 06:36 AM
Thanks Ukki, but I'm stuck on step one.

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

ukki
06-05-2008, 08:29 AM
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
06-06-2008, 02:35 PM
apt-get remove zip-rar-7za fixed me.
Now looking for game settings. Thanks.

cyberbillp
06-06-2008, 03:41 PM
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
06-06-2008, 04:46 PM
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
06-06-2008, 09:35 PM
That did it! The correct version of dosbox runs way faster too.

JayJay
06-14-2008, 05:18 PM
I tried Dark Forces on DosBox, and of course, it ran very poorly and was practically unplayable. :D

http://img521.imageshack.us/img521/5879/screenshot2008061416495iq0.png

http://img521.imageshack.us/img521/8886/screenshot2008061416512vk5.png

http://img521.imageshack.us/img521/399/screenshot2008061416520km0.png

http://img519.imageshack.us/img519/3563/screenshot2008061416572yn3.png

http://img151.imageshack.us/img151/1627/screenshot2008061417005li6.png

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

JustNick
07-13-2008, 09:41 AM
To me, Dosbox gurus! :D
Having failed so many time to make Myst run on BasiliskII http://www.internettablettalk.com/forums/showthread.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
07-13-2008, 11:02 AM
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
07-13-2008, 01:37 PM
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
07-14-2008, 10:46 AM
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
07-14-2008, 12:03 PM
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
07-15-2008, 02:06 AM
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
07-20-2008, 06:13 AM
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
07-20-2008, 01:13 PM
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 (http://pushstuff.inoutbox.com/mappercsa.txt). (Using the frontend RubyBox makes it easy to use a different mapper.txt file.) Go here (http://www.internettablettalk.com/forums/showpost.php?p=167587&postcount=77) 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.

aerialist
07-20-2008, 06:58 PM
You'll probably have to remap one of the N810 keys like I did for the N800. .

Thank you very much, Pushwall! I modified mapper.txt and assinged Alt to zoom key. Now I can enjoy my old favorite HP calcurater on N810. Awsome.

victorf57
07-20-2008, 08:51 PM
Hello, I'm very new to the tablet.
But it seems to me that the dos box is a pain to install /setup.
would it make any sense to have a tablet Guru make an install or setup for it?:)
I hope my terminology is correct I'm also new to Linux.
I did like dos when it was popular, I still use it for a couple of Apps.
I would like to see an automated install into an Sd card or thumb drive.

thanks
Victor

JustNick
07-21-2008, 03:46 AM
http://pupnik.de/dosbox.html
There's everything you need: the dosbox deb installer, the xkbd deb installer, the ruby repository and the rubybox installer.
Install XKBD first http://pupnik.de/xkbd_0.8.15m-2_armel.deb, than DOSBOX http://pupnik.de/chinook/dosbox_0.72-0.2_armel.deb.
To use Rubybox to configure Dosbox you have first to add this repository http://gronmayer.com/it/dl.php?id=216 to your application manager, then by installing RUBYBOX http://pupnik.de/rubybox_0.3.3.deb every file needed will be downloaded automatically.

I forgot to tell you: browsing this page with you NIT will make things really easy, you will have just to click on the links I posted with you stylus ;)

Nyrath
09-08-2008, 02:09 PM
Phooey. I just got my new Nokia 810, wanted to install DOSBox so I could play "Master of Orion I", but I can't.

I dutifully followed the instructions in Tablet 101, which upgraded my N810 to Diablo. Unfortunately, XKBD requires libxpm4, and libxpm4 is currently incompatible with Diablo.

I guess I'll have to wait. :(

ukki
09-08-2008, 03:24 PM
Unfortunately, XKBD requires libxpm4, and libxpm4 is currently incompatible with Diablo.

It should install fine, maybe you need to use dpkg or enable red pill mode?

Benson
09-08-2008, 03:50 PM
It's an N810; why do you need xkbd? (Serious question; maybe that game needs other keys or something...)

Nyrath
09-08-2008, 04:41 PM
It should install fine, maybe you need to use dpkg or enable red pill mode?
Thanks. As it turns out, it needed red pill mode

Nyrath
09-08-2008, 04:42 PM
It's an N810; why do you need xkbd? (Serious question; maybe that game needs other keys or something...)
No, you were probably correct the first time. I seem to have suffered a senior moment and temporarily forgotten that the 810 has a sliding keyboard.

Laughing Man
09-08-2008, 06:18 PM
the above repo seems to be offline.

Valeria
09-09-2008, 12:53 AM
I recommend you get RubyBox, with it you can configure Dosbox with a nice GUI, and save config files for all your dos games. You may be interested in this page (shameless propaganda) http://www.internettablettalk.com/forums/showthread.php?p=211078, it has links to how to install everything.

L0cutus
09-09-2008, 03:00 AM
Thank you very much, Pushwall! I modified mapper.txt and assinged Alt to zoom key. Now I can enjoy my old favorite HP calcurater on N810. Awsome.

wich HP calculator ?
Can you link it here ?
Thanks !

Nyrath
09-09-2008, 01:40 PM
Alas, RubyBox needs the GPL Systems Repository, and the repository is currently offline.

ukki
09-09-2008, 01:59 PM
You can install ruby stuff from here too: http://pupnik.de/ruby.html

Nyrath
09-09-2008, 02:48 PM
so how would i go about running this "work around" on my n810. i found a log using google. http://mg.pov.lt/maemo-irclog/%23maemo.2008-01-27.log.html
thats about as far as i can get about trying to figure this out by myself. help thanks

What I got from reading the log is that on the N810 using DOSBox, when you are using the slide-out hardware keyboard, in order to use the FN key to shift the keyboard, you have to press the FN key and hold it down while tapping the other key.

In other words, if you want to type a forwards slash, you press and hold the FN key, tap the H key, then release the FN key.

If you tap the FN key then tap the H key, you will just input a "h".

Nyrath
09-10-2008, 02:36 PM
You can install ruby stuff from here too: http://pupnik.de/ruby.html

Well, that was a pain. I managed to get it working but it took some exploration.

Tried installing rubybox 0.3.3 deb to see what requirements it had. App Manager said it needed ruby1.8-maemo

Went to pupnik.de/ruby.html. Tried installing Ruby-Maemo 4 (ruby1.8-maemo 0.4.0 maemo4 armel.deb). App Manager said it needed libruby1.8 and ruby1.8

Tried installing Ruby 4 (ruby1.8 1.8.6-p110-1 maemo4 armel.deb) since it was the lowest on the list. App Manager said it needed libruby1.8

Tried installing libruby 4 (libruby1.8 1.8.6-p110-1 maemo 4 armel.deb). App Manager said it needed libssl0.9.7

Went to http://www.gronmayer.com/it/. Did a few searches since I could not tell if it wanted libssl0, libssIO, libss10, libsslO, or libss1O. I finally tried searching for just libss, which told me I was looking for libssl0, and it could be found in Maemo diablo/sdk

Added Maemo diablo/sdk to App Manager. Could not find libssl0. Muttered under my breath as I entered Red Pill Mode.

After that, I successfully managed to install each of the required libraries in turn, and RubyBox is now working. whew!

ukki
09-10-2008, 03:24 PM
:) It's sad the ruby developer disappeared and left no sources so it will never make it into extras. I don't think it will work in the next os version so RubyBox is kind of doomed too. But enjoy it while you can.

Benson
09-10-2008, 03:47 PM
Well, that was a pain. I managed to get it working but it took some exploration.

Tried installing rubybox 0.3.3 deb to see what requirements it had. App Manager said it needed ruby1.8-maemo

Went to pupnik.de/ruby.html. Tried installing Ruby-Maemo 4 (ruby1.8-maemo 0.4.0 maemo4 armel.deb). App Manager said it needed libruby1.8 and ruby1.8

Tried installing Ruby 4 (ruby1.8 1.8.6-p110-1 maemo4 armel.deb) since it was the lowest on the list. App Manager said it needed libruby1.8

Tried installing libruby 4 (libruby1.8 1.8.6-p110-1 maemo 4 armel.deb). App Manager said it needed libssl0.9.7

Went to http://www.gronmayer.com/it/. Did a few searches since I could not tell if it wanted libssl0, libssIO, libss10, libsslO, or libss1O. I finally tried searching for just libss, which told me I was looking for libssl0, and it could be found in Maemo diablo/sdk

Added Maemo diablo/sdk to App Manager. Could not find libssl0. Muttered under my breath as I entered Red Pill Mode. Okay, you did one dangerous (but perfectly OK, if you know what you're doing) thing, and one pointless (if less risky) thing. You are not to install the SDK repo on a device, because it contains some packages that conflict with packages that half your system depends on; that is, packages which you can install, but your system will never boot again. Red pill, though, was unnecessary; since libruby depended on libssl0, it should have been pulled in automatically (now that you added the SDK repo) when you tried libruby or rubybox again, so you don't need to be able to manually select it.
After that, I successfully managed to install each of the required libraries in turn, and RubyBox is now working. whew!
I'd recommend going back to blue-pill; anything you need red-pill for is, imho, better done with dpkg/apt-get on the command line, because they give more useful feedback about what they're doing, anyway. As for the SDK repo, generally it should be disabled when you're not trying to install particular software from it.

Glad you got it working, though!

Pushwall
09-10-2008, 06:00 PM
:) It's sad the ruby developer disappeared and left no sources so it will never make it into extras. I don't think it will work in the next os version so RubyBox is kind of doomed too. But enjoy it while you can.
Oh man that is bad news. :eek: I need my RubyBox with DosBox!

qole
09-10-2008, 06:23 PM
Isn't Ruby, like Python, interpreted? That means you don't need source code; the executables are text files.

fatalsaint
09-10-2008, 06:24 PM
Yes. Ruby is a lot like python. But better (hehehe).

ukki
09-11-2008, 06:44 AM
Isn't Ruby, like Python, interpreted? That means you don't need source code; the executables are text files.

Yes, but I'm talking about the interpreter itself. Alterego never finished the Ruby-bindings for Maemo, but luckily they have worked good enough for now. But if Nokia makes more radical changes, I doubt the bindings will work anymore.

Pushwall, I could try to rewrite the ui stuff with RubyGame or completely with Vala or such if there's demand for it :) But let's see what the future brings.

qole
09-11-2008, 12:27 PM
Ok, I understand now. That is a fairly serious problem.

I really hope Nokia stops making radical changes to the API of Maemo, or at least does the Microsoft thing and allows legacy stuff to keep working in new versions.

Nyrath
09-11-2008, 01:32 PM
Okay, you did one dangerous (but perfectly OK, if you know what you're doing) thing, and one pointless (if less risky) thing. You are not to install the SDK repo on a device, because it contains some packages that conflict with packages that half your system depends on; that is, packages which you can install, but your system will never boot again. Red pill, though, was unnecessary; since libruby depended on libssl0, it should have been pulled in automatically (now that you added the SDK repo) when you tried libruby or rubybox again, so you don't need to be able to manually select it.

I'd recommend going back to blue-pill; anything you need red-pill for is, imho, better done with dpkg/apt-get on the command line, because they give more useful feedback about what they're doing, anyway. As for the SDK repo, generally it should be disabled when you're not trying to install particular software from it.


Now you've got me worried.
(for the record, I only stayed in red-pill mode long enough to install libssl0, I immediately returned to blue-pill)

Now, if I am understanding you, I should not have used the libssl0 from the Maemo diablo/sdk repository. The only other repository that had it was Maemo Chinook. Since my tablet is running Diablo, I uses the diablo/sdk repository, not knowing that sdk is a synonym for "danger".
(Yes, I know that SDK means "software development kit")

To be safe, what should I do? I'm figuring that I should uninstall libssl0, the ruby files, and RubyBox, remove the Maemo diablo/sdk from the App Manager's list, add Maemo Chinook to the App Manager's list, then just reinstall the ruby files and RubyBox. Is this correct?

Benson
09-11-2008, 01:43 PM
Now you've got me worried.
(for the record, I only stayed in red-pill mode long enough to install libssl0, I immediately returned to blue-pill)

Now, if I am understanding you, I should not have used the libssl0 from the Maemo diablo/sdk repository. The only other repository that had it was Maemo Chinook. Since my tablet is running Diablo, I uses the diablo/sdk repository, not knowing that sdk is a synonym for "danger".
(Yes, I know that SDK means "software development kit")

To be safe, what should I do? I'm figuring that I should uninstall libssl0, the ruby files, and RubyBox, remove the Maemo diablo/sdk from the App Manager's list, add Maemo Chinook to the App Manager's list, then just reinstall the ruby files and RubyBox. Is this correct?
No, you're fine with libssl0; just disable the repo (no need to delete), and you're fine. There are some dangerous packages in there, but libssl0 is fine.

Benson
09-11-2008, 01:48 PM
Now you've got me worried.
(for the record, I only stayed in red-pill mode long enough to install libssl0, I immediately returned to blue-pill)

Now, if I am understanding you, I should not have used the libssl0 from the Maemo diablo/sdk repository. The only other repository that had it was Maemo Chinook. Since my tablet is running Diablo, I uses the diablo/sdk repository, not knowing that sdk is a synonym for "danger".
(Yes, I know that SDK means "software development kit")

To be safe, what should I do? I'm figuring that I should uninstall libssl0, the ruby files, and RubyBox, remove the Maemo diablo/sdk from the App Manager's list, add Maemo Chinook to the App Manager's list, then just reinstall the ruby files and RubyBox. Is this correct?
No, you're fine with libssl0; just disable the repo (no need to delete), and you're fine. There are some dangerous packages in there, but libssl0 is fine.

Valeria
09-13-2008, 10:35 PM
Pushwall, I could try to rewrite the ui stuff with RubyGame or completely with Vala or such if there's demand for it :) But let's see what the future brings.

:eek: No more RubyBox :eek: NOOoooo

Put me on the list of those who love RubyBox, it makes changing parameters on DosBox so much easier.

cybic
09-15-2008, 10:01 AM
I need help - is it possible to get the access to the funktion key with a n810 hardware keyboard? I'm trying to use lotus agenda on it - and can't do it because I was not able to hit the F1 to F10...

Is it possible?

st5150
11-26-2008, 02:39 AM
cybic, install xkbd



Anyone else having problems with doxbox and the n810 keyboard? I'm running dosbox with xkbd and even when trying to run a simple command like dir /w dosbox goes 'crazy'. Clicking / on xbd sometimes gives me another charactor or gives me / twice. If I use the hardware Fn key to enter / Fn gets locked on so I can never enter the w. The only fix I found is to smash on a bunch of xkbd keys until Fn is released. Sometimes if I just let it sit for a minute or two, it'll release the Fn key by itself. Rediculous. Anyone else have these problems? This app is great for running a lot of useful apps, but the UI is horrible.


Also, how do I restore dosbox if I minimize it by mistake?

Astron
01-06-2009, 05:39 AM
Key Fn too does not work for me on keyboard N810 and xkbd works incorrectly. No combinations of keys for a character set help: / ect. How to force hardware keyboard N810 or xkbd to work normally? A device: Nokia N810, Diablo 5.2008.43-7 PS. Sorry for my English. I write through the translator.

Rajken
01-06-2009, 01:49 PM
Hello guys.
I found interesting link http://members.chello.sk/apauer/dosbox4/dosbox4.html. It is DOSBox dynamic recompiler.
It's possible to integrate this arm-core?

klinglerware
01-06-2009, 02:00 PM
Key Fn too does not work for me on keyboard N810 and xkbd works incorrectly. No combinations of keys for a character set help: / ect. How to force hardware keyboard N810 or xkbd to work normally? A device: Nokia N810, Diablo 5.2008.43-7 PS. Sorry for my English. I write through the translator.

The user Addison put in a lot of time in getting xkbd to work well--post #248 in this thread is a key one (also look at Addison's prior posts in the preceding pages).

Addison
01-06-2009, 04:05 PM
Better versions can be found here:
Keyboard Collections (http://www.internettablettalk.com/forums/showthread.php?p=218041#post218041)

Just unzip the keyboard folder to your memory card.

Edit this file to your preferred keyboard layout:
/usr/bin/dosboxkbd

yukky
01-08-2009, 07:10 PM
Hi there, just finished getting DOSBox up, and
going through this thread and the "Games that work well..." and want to say thanks to everyone who's contributed to this project thus far.

I think it definately could use a wiki. Any chance getting one setup on the DOSBox port site?

I've figured out the mouse tweaks, and graphics tweaks so far, but any idea about sound tweaks?

I'll try to contribute some entries into RubyBox :)
http://nakkiboso.com/rbox.php

Thanks again, everyone.

yukky
01-09-2009, 08:54 AM
Q: Is Rubybox opening /usr/bin/dosboxkbd ?

It would be a great feature for Rubybox if we could custom call a kbd, so we could create specialized keyboards for certain games.

Pushwall
01-09-2009, 09:27 AM
Rubybox does not let you change the actual XKBD keyboard you can use as far as I know. However you can change in RubyBox how your keyboard is mapped. I pick my favorite Addison XKBD keyboard file to always use, and then use a custom key mapper file based on the game (you can change which mapper file to use in the Advanced Settings section of RubyBox). For example, I created a custom mapper file called mappercsa.txt (http://www.internettablettalk.com/forums/showpost.php?p=167587&postcount=77) that works well with many old DOS games since it provides easy access to Alt, Ctrl, and Space keys on my N800, and uses certain function keys on the Addison keyboard for DosBox functions (such as full screen toggle, cycle up and down, and exit out of game). Seems to work great for me.

ukki
01-09-2009, 09:43 AM
Q: Is Rubybox opening /usr/bin/dosboxkbd ?

It would be a great feature for Rubybox if we could custom call a kbd, so we could create specialized keyboards for certain games.

This would be an easy feature to add. Ruby should hit extras soon, so I could put RubyBox there too (if Arnims does the same for his dosbox). How would you guys like this implemented? RubyBox could search for keyboard layouts from a certain directory and let you choose one for each game for example.

Pushwall
01-09-2009, 09:55 AM
This would be an easy feature to add. Ruby should hit extras soon, so I could put RubyBox there too (if Arnims does the same for his dosbox). How would you guys like this implemented? RubyBox could search for keyboard layouts from a certain directory and let you choose one for each game for example.
Wow ukki that would be great! Thanks too yukky for suggesting it. I like that idea of putting all the keyboard layouts in a directory and picking which one to use. Of course, also having a default keyboard layout to use without having to choose each time would be nice too. Thanks ukki!! :cool:

ukki
01-09-2009, 10:05 AM
Wow ukki that would be great! Thanks too yukky for suggesting it. I like that idea of putting all the keyboard layouts in a directory and picking which one to use. Of course, also having a default keyboard layout to use without having to choose each time would be nice too. Thanks ukki!! :cool:

Yes, we should bundle the best by default and default to that. Should we do the same for the mapper -files? It would then just alter the dosbox parameter, but would save you the trouble of editing it by hand. Maybe bundle the best suited for each tablet?

Pushwall
01-09-2009, 10:18 AM
Yes, we should bundle the best by default and default to that. Should we do the same for the mapper -files? It would then just alter the dosbox parameter, but would save you the trouble of editing it by hand. Maybe bundle the best suited for each tablet?
Excellent thought. Right now I'm always editing the mapper file parameter to my favorite one (which isn't the DosBox default) everytime I add a new game. That would make adding new games so much easier.

Addison
01-09-2009, 11:51 AM
Heya fellas!

Well, the only game I really found that needed a different keyboard besides the default version was the one made for Monopoly.

http://img442.imageshack.us/img442/8965/monopolysi5.png

So maybe have a feature where you can select two possible keyboard layouts instead of just one? Meaning, one for each side of the screen if needed.

I don't know, just a thought I wanted to throw in.

But yeah, I really like this idea. :D

Oh, and if anyone needs a special layout for a game or application, just post a request.

I might have some time before things start getting busy for me to quickly make good on any special requests that are made.

ukki
01-09-2009, 12:22 PM
So maybe have a feature where you can select two possible keyboard layouts instead of just one? Meaning, one for each side of the screen if needed.

Ok, will do. Should these layouts be available online too? Meaning you could create them and put them to RubyBox database so anyone can fetch them to RubyBox with a click? I doubt there's need to upload them from RubyBox.

Pushwall, should we do the same for mapper-files? Put all available under download section.

Pushwall
01-09-2009, 12:28 PM
Pushwall, should we do the same for mapper-files? Put all available under download section.
Yes that would be great too instead of searching through these forums for the link. Good thought.

yukky
01-10-2009, 04:33 AM
This would be an easy feature to add. Ruby should hit extras soon, so I could put RubyBox there too (if Arnims does the same for his dosbox). How would you guys like this implemented? RubyBox could search for keyboard layouts from a certain directory and let you choose one for each game for example.That would be awesome!

The keyboard layout for Monopoly that Addison showed is a good example, but I've seen quite a few games where certain shortcuts like F1, F2... could be renamed to something more useful.

We really need a wiki for all this stuff :D

yukky
01-10-2009, 05:04 AM
Just noticed that there is a bug in Rubybox, where if there is an & (ampersand) in the executable name or directory, dosbox fails to start.

ukki
01-10-2009, 10:03 AM
Just noticed that there is a bug in Rubybox, where if there is an & (ampersand) in the executable name or directory, dosbox fails to start.

Hmm, worked for me when I tested.

yukky
01-10-2009, 11:04 PM
Hmmm...
my source/directory was

/media/mmc2/dos/l&d/l&d.exe

when i took out the ampersands it seemed to work.. any idea?

ukki
01-11-2009, 10:01 AM
Hmmm...
my source/directory was

/media/mmc2/dos/l&d/l&d.exe

when i took out the ampersands it seemed to work.. any idea?

Are you using the latest RubyBox 0.3.8 and the latest Dosbox 0.72? I just tested with the exact name and the game started fine.

ukki
01-13-2009, 12:04 PM
New update with the requested features. Bad news is that you have to start using the new Ruby packages. So please remove the old RubyBox and all Ruby libraries that you have installed.

Then add this repository to your application manager:

Catalogue Name: Ruby1.8 for Maemo
Web address: http://stage.rubyx.co.uk/maemo/
Distribution: diablo
Components: user

Then run these commands as root:

apt-get install libhildon1-ruby1.8 libruby1.8 libconic-ruby1.8 ruby1.8 libosso-ruby1.8
wget http://stage.rubyx.co.uk/projects/ruby-maemo/packages/maemo4/armel/libxml2-ruby1.8_0.9.7-0maemo1_armel.deb
dpkg -i libxml2-ruby1.8_0.9.7-0maemo1_armel.deb


Finally download and install the latest RubyBox from here (http://nakkiboso.com/rubybox_0.3.9.deb).

Thanks to Pushwall for testing. And Pushwall, you should install this update too because of few new changes.

Also note that dosbox automatically runs the default xkbd layout if xkbd is installed. It's hardcoded into the binary, so you should become root and run this command:

mv /usr/share/dosbox/dosbox.xkbd /usr/share/dosbox/dosbox2.xkbd


Addison's keyboard layouts and Pushwall's mapperfile can be downloaded from the download section. Let me know if you issues.

Addison
01-13-2009, 08:25 PM
Hi Ukki!

Any reason for why I'm receiving the abort message?


0 upgraded, 11 newly installed, 0 to remove and 4 not upgraded.
Need to get 2609kB of archives.
After unpacking 9425kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Abort.


Thanks ahead.

ukki
01-14-2009, 05:35 AM
Hi Ukki!
Any reason for why I'm receiving the abort message?
Thanks ahead.

Does that come after trying to install all the Ruby libs? Try running the command again and press lowercase y. I don't see a reason why it would abort.

Addison
01-14-2009, 10:58 AM
Same thing with lower case, tried that before even posting last question.

Latest Diablo, nothing much of anything installed on it, also cleaned out every Ruby package that was on it as well.

Nokia-N800-43-7:~# apt-get install libhildon1-ruby1.8 libruby1.8 libconic-ruby1.8 ruby1.8 libosso-ruby1.8
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libatk1-ruby1.8 libcairo-ruby1.8 libgdk-pixbuf2-ruby1.8 libglib2-ruby1.8
libgtk2-ruby1.8 libpango1-ruby1.8
The following NEW packages will be installed:
libatk1-ruby1.8 libcairo-ruby1.8 libconic-ruby1.8 libgdk-pixbuf2-ruby1.8
libglib2-ruby1.8 libgtk2-ruby1.8 libhildon1-ruby1.8 libosso-ruby1.8
libpango1-ruby1.8 libruby1.8 ruby1.8
0 upgraded, 11 newly installed, 0 to remove and 4 not upgraded.
Need to get 2609kB of archives.
After unpacking 9425kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Abort.

ukki
01-15-2009, 01:51 PM
Hmm, try adding
-y --force-yes
after apt-get install or try installing the libxml package with dpkg first. It should complain about missing dependencies. After it's installed, try running apt-get -f install as root and see what happens. If you are doing this on the device and not via ssh, try rebooting the device. Maybe xkbd has messed up something. Also make sure you have enough space left.

Addison
01-16-2009, 05:49 AM
Ayup!

Adding -y --force-yes did the trick for some reason.

I'm really digging the high standard of your RubyBox.

Great work! :D

mfsamuel
01-28-2009, 04:27 PM
I had a question about the mouse click functionality, but what I really want is some advice on how to properly work with dos applications that use relative positioning of the mouse. has a solution been worked out for these programs?

Pushwall
01-30-2009, 01:00 PM
I had a question about the mouse click functionality, but what I really want is some advice on how to properly work with dos applications that use relative positioning of the mouse. has a solution been worked out for these programs?
There are only a couple options that I know of that affect the mouse. In Rubybox on the main parameter screen you'll see a parameter called 'sdl sensitivity' set to a default of 100. Try adusting that up or down 5 points. In the advanced screen of Rubybox there is a parameeter called 'sdl autolock' which is set to a default of 'true'. Try setting that to 'false'. Between those 2 settings I've been able to get mouse positioning to work on many games. Of course there are always some buggers that just won't work no matter what.

jeremiahL
02-04-2009, 03:40 PM
Is the source for the maemo version of DosBox posted somewhere? Or is it totally unmodified from upstream DosBox? If unmodified, I'd love to see the rules file for building the deb and try building it myself.

Also I noticed that this page exists:

https://garage.maemo.org/projects/dosbox/

It would be great to get your work integrated into this site. The existing site is just an empty placeholder.

ukki
02-04-2009, 04:15 PM
Is the source for the maemo version of DosBox posted somewhere? Or is it totally unmodified from upstream DosBox? If unmodified, I'd love to see the rules file for building the deb and try building it myself.

Also I noticed that this page exists:

https://garage.maemo.org/projects/dosbox/

It would be great to get your work integrated into this site. The existing site is just an empty placeholder.

ArnimS probably has the sources, but I doubt he's reading these forums anymore.

qole
02-04-2009, 06:18 PM
ArnimS probably has the sources, but I doubt he's reading these forums anymore.

Why do you doubt he's reading these forums anymore?

I just checked, he hasn't been on since Dec 31, 2008...

Bundyo
02-04-2009, 06:27 PM
Yes, he shows from time to time, even responds here and there.

Addison
02-04-2009, 08:31 PM
Hey Ukki, I think I might have done something terribly wrong with your new layout settings.

Right now, this is all I'm seeing for this file:
/usr/bin/dosboxkbd
#!/bin/sh

Whatever keyboard I select, it just throws it on the right side of the screen and is also offset by 1 pixel both on the X and Y axis so it's not tightly snugged against the screen like intended.

If I choose another keyboard, like wanting to have one on the left side, it's just dumping it on top of the right one.

What filthy piece of crap did I screw up on this? :D

Also, when you have the time, could you upload and package my Monopoly keyboard and have it so one could have it displayed on either the right or let side by choice?

It should be easy enough for anyone to edit it using Emelfm2 so one can simply custom design a few hotkeys for whatever game or application they are using.

Thanks ahead buddy!

ukki
02-05-2009, 04:52 AM
Addison, try rubybox_0.4.0.deb (http://nakkiboso.com/rubybox_0.4.0.deb). It's not perfect, but it tries to parse the keyboard size and then show it at the defined position. Most problems can be fixed by fixing the keyboard file so that it defines col width and height at least once for every row. Also the xkbd geometry parameter works pretty weirdly imo, let me know if you have suggestions on how to fix it.

Thanks for the ArnimS info, should have checked better, it's just that I haven't seen his posts in ages.

Addison
02-05-2009, 05:27 AM
Heya Ukki!

Also the xkbd geometry parameter works pretty weirdly imo, let me know if you have suggestions on how to fix it.


Yeah, it does show signs of unnecessary weirdness.

I found a way to trick it awhile back though.

Any right side keyboard should be started with this command:
xkbd -geometry +722+65536

Any left side keyboard is this:
xkbd -geometry +65536+65536

Strange as it might seem, it actually works.

I can't program a single thing but I've always been good with numbers and theory. :D

Any chance you could update your Rubybox again to allow for better positioning of the keyboards along with that Monopoly file I post before?

Thanks ahead.

ukki
02-05-2009, 05:34 AM
Try the 0.4.0 first, you can position your keyboards with it by selecting the position from the dropdown after the keyboard name. Remember to click somewhere after selecting the keyboard or it won't save the change.

Addison
02-05-2009, 06:00 AM
Hey, I'm always excited about another new release!

The turd with me though is that I usually don't have the time to post back on it for at least a week.

Give me some time to enjoy your new feature and I'll write a response.

Again, could you please package that Mono keyboard? I think a few of us here might enjoy being able to modify it for their custom needs.

ukki
02-05-2009, 08:33 AM
It's now part of your keyboard package. Let me know if you want admin rights to RubyBox so you can update stuff like that yourself.

Pushwall
02-05-2009, 03:23 PM
Oh wow this a version up from the one I'm using. I'm installing this bad boy right away! :cool:

Addison
02-05-2009, 10:52 PM
Hey Ukki!

Great update!

Keyboards are still off by one pixel though.

Simple fix is to add 65536 to all of the dimensions that you have programmed already.

Does that make sense to you?

Thanks ahead chief. :)

ukki
02-06-2009, 02:15 AM
No, it does not :) Only way I could get them properly positioned was to use +X+Y format. But for some reason +0+0 doesn't work. +1+1 (which positions the keyboard at 1,1) works which of course makes it 1 pixel off. But that way I can at least get them close enough. But I'll look at using those coords wherever I can. Thanks a lot.

Addison
02-06-2009, 02:40 AM
No, it does not Only way I could get them properly positioned was to use +X+Y format. But for some reason +0+0 doesn't work. +1+1 (which positions the keyboard at 1,1) works which of course makes it 1 pixel off. But that way I can at least get them close enough.

Yeah, you're exactly right on that.

So for your +X+Y format go with +65536+65536.

Xkbd will interpret those numbers as +0+0 values.

Give it a tug yourself and try it! :D

ukki
02-07-2009, 12:44 AM
Thanks a lot Addison, that did the trick:

rubybox_0.4.1.deb (http://nakkiboso.com/rubybox_0.4.1.deb)

Addison
02-07-2009, 01:39 AM
Oh yeah baby!

And with that, I call this project a wrap!

I can't think of anything else to add unless there might be more requests that Pushwall might suggest.

But for me, I have nothing because it's now total perfection!

Thank you so much for the time you put into building this project.

Where would you like me to mail your free box of malt liquor for what you've done, Ukki? :D

ukki
02-07-2009, 03:15 AM
Oh yeah baby!

And with that, I call this project a wrap!

I can't think of anything else to add unless there might be more requests that Pushwall might suggest.

But for me, I have nothing because it's now total perfection!

Thank you so much for the time you put into building this project.

Where would you like me to mail your free box of malt liquor for what you've done, Ukki? :D

Don't go making promises you can't keep :) But seriously, it could look a bit better and settings window feels a bit too crowded for my taste. Hopefully I get the energy to fix that someday.

And I don't need liquor atm, my bar cabinet is quite full. But maybe Pushwall would like it, I heard he enjoys getting drunk when playing with dosbox.

qole
02-07-2009, 02:02 PM
I wish you could push everything into Extras.

ArnimS, where are you, we need your source code!

ukki
02-07-2009, 04:08 PM
I wish you could push everything into Extras.

ArnimS, where are you, we need your source code!

ArnimS is not the problem here, Ruby is. And I think it's now safe to say it's never gonna happen, sorry.

Pushwall
02-07-2009, 07:00 PM
Don't go making promises you can't keep :) But seriously, it could look a bit better and settings window feels a bit too crowded for my taste. Hopefully I get the energy to fix that someday.

And I don't need liquor atm, my bar cabinet is quite full. But maybe Pushwall would like it, I heard he enjoys getting drunk when playing with dosbox.

Ukki you know me too well. No malt liquor for me though. A little Mad Dog 20/20 and RubyBox, and I'm in 7th heaven! :D

Seriously I too want to thank you for a great job on RubyBox. This makes playing DOS games on my tablet extremely easy. In fact I play more games with RubyBox now than any other games on my Nokia. You just can't beat these old DOS games for fun and playabiltiy. Again,...nice work! :cool:

Pushwall
02-07-2009, 10:55 PM
Been playing some more RubyBox and sipping the Mad Dog. Another shout-out goes to Addison and his keyboards. Those rock too! :cool::cool::cool:

Addison
02-08-2009, 03:05 AM
For some reason I can picture Pushwall drinking from a box of Wild Berry Mad Dog, singing "Freebird", all while trying to flush his curtains down the toilet. :D

Anyway, I think I'm missing some concept and what Pushwall's mappers is supposed to do.

I went to KB Mappers and downloaded his mapper file and was given a message of "Installation complete" or something.

However, the folder where I asked to place it, nothing happened.

Also, I can choose "mappercsa" now but when I save, it just goes back to "mapper".

So I don't get it.

I think I would like to have privileges to your site, Ukki, so I can upload some junk I think most will find very attractive.

Some of them will also come with different mapper files as well, so what would be the easiest way of having these packaged together?

PM me so that I know how to log into your site if the offers still there.

Thanks!

ukki
02-08-2009, 03:45 AM
Thanks for noticing the bug, mapper was only saved when advanced preferences were visible. It's now fixed, just update with the updater.

ltrinh
02-09-2009, 02:39 PM
OSEmutech or anyone who can help,

I've used bochs and successfully created a working windows95 image. It boots in bochs and runs smoothly. I would like to get it running on my n810 through dosbox but I'm testing it out on dosbox on my xp machine first. My problem is that I can't get the image to boot in dosbox.

I've tried things like "boot windows.img" which brings up a message saying "booting from A"

I've then tried imgmount from using the example from this page:
http://vogons.zetafleet.com/viewtopic.php?t=7260

But when I type in the following:
imgmount c c:\win95\windows.img -size 450,63,16,914 -t hdd -fs fat

I get a message saying "can't create drive from file"

I've been at this for hours trying to figure this out and I cannot get a grip on getting this to boot.

Can someone please help me boot this through dosbox?

Thanks

ltrinh
02-09-2009, 02:40 PM
Oh btw, I'm using .72 version of dosbox which is the latest and windows 95b

foxdanger
02-17-2009, 11:43 AM
I install dosbox, but dont know how to mount the unites and play the games...


can anyone help-me?

foxdanger
02-17-2009, 11:54 AM
I try to install the xkbd and receive the message missing libxbm4 () | xlibs (>4.1.0)


?!

And now?

I need xkbd to use dosbox right?

plis anyone help-me :D

FRZ
02-18-2009, 05:43 PM
Thanks a lot Addison, that did the trick:

rubybox_0.4.1.deb (http://nakkiboso.com/rubybox_0.4.1.deb)I have been trying to install this program from 0.3.3. where do I get all the dependencies for it?

ukki
02-18-2009, 06:32 PM
I have been trying to install this program from 0.3.3. where do I get all the dependencies for it?

If you have an older version installed, you need to remove it and all the ruby packages you have. Then install the latest from

http://wiki.maemo.org/RubyBox

after that the builtin updater will work again.

ukki
02-18-2009, 06:42 PM
I try to install the xkbd and receive the message missing libxbm4 () | xlibs (>4.1.0)


?!

And now?

I need xkbd to use dosbox right?

plis anyone help-me :D

Install RubyBox and after that, open xterminal and run as root:

apt-get install xkbd

foxdanger
02-20-2009, 08:15 PM
I try to find the ruby1.8-maemo and nothing...


I try in the repository in the begin of this topic, but they are out.

When i try to install RubyBox they say miss packages ruby1.8-maemo and unzip...

What can i do?

Pushwall
02-21-2009, 02:48 PM
I try to find the ruby1.8-maemo and nothing...


I try in the repository in the begin of this topic, but they are out.

When i try to install RubyBox they say miss packages ruby1.8-maemo and unzip...

What can i do?
If you haven't already, follow ukki's detailed instructions on the latest RubyBox here:
http://wiki.maemo.org/RubyBox

Addison
02-27-2009, 11:08 PM
Would anyone be so kind as to give an explanation on how to set up Roland MT-32, MT-100, LAPC-I, CM-32L, or CM-64 drivers for music?

I've read the Dosbox Wiki for sound and can't seem to follow the instructions:
Dosbox Sound (http://www.dosbox.com/wiki/Sound)

I know that with Gravis Ultrasound, you need the driver gus411f.zip from this site and change Rubybox to point at that file:
Gravis Sound Drivers (http://ftp.isu.edu.tw/pub/Hardware/multimedia/Gravis/gus411/index-e.htm)

However, I'm completely lost in regards to Roland.

I nice example would be most lovely! :D

Cheers fellas!

FRZ
03-01-2009, 12:48 PM
Same thing with lower case, tried that before even posting last question.
Quote:
Nokia-N800-43-7:~# apt-get install libhildon1-ruby1.8 libruby1.8 libconic-ruby1.8 ruby1.8 libosso-ruby1.8
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libatk1-ruby1.8 libcairo-ruby1.8 libgdk-pixbuf2-ruby1.8 libglib2-ruby1.8
libgtk2-ruby1.8 libpango1-ruby1.8
The following NEW packages will be installed:
libatk1-ruby1.8 libcairo-ruby1.8 libconic-ruby1.8 libgdk-pixbuf2-ruby1.8
libglib2-ruby1.8 libgtk2-ruby1.8 libhildon1-ruby1.8 libosso-ruby1.8
libpango1-ruby1.8 libruby1.8 ruby1.8
0 upgraded, 11 newly installed, 0 to remove and 4 not upgraded.
Need to get 2609kB of archives.
After unpacking 9425kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Abort.
Latest Diablo, nothing much of anything installed on it, also cleaned out every Ruby package that was on it as well.Why is it that I tried this way to install those same packages but I get errors that these applications are not available. It says that are missing, has been obsoleted, or are only available from another source? I have been trying to install rubybox and all these dependencies just don't want to go away.

FRZ
03-01-2009, 01:42 PM
If you haven't already, follow ukki's detailed instructions on the latest RubyBox here:
http://wiki.maemo.org/RubyBoxHey, that work. thanks

Schyz
03-14-2009, 11:47 AM
I put up a mapper.txt file that maps some functions to nokia buttons.
- Fullscreen toggle (for when you need xkbd to type)
- Menu Button to exit dosbox
- +/- buttons for Cpu Cycle Increase/Decrease


With all pupnik.de links broken and no hope about RubyBox supporting N770 2007HE... Could somebody share this "mapper.txt" with me? Or point me where to find a working one that enables fullscreen toggle.

Please.

There is also many post about optimized dosbox.conf. Could somebody share one of them?

EDIT: About Addison keyboards, I have no "/usr/bin/dosboxkbd" and if I create one with the xkbd command it does not work, I still have the classic layout. Where I can edit the dosbox xkbd command call?

ukki
03-14-2009, 01:48 PM
With all pupnik.de links broken and no hope about RubyBox supporting N770 2007HE... Could somebody share this "mapper.txt" with me? Or point me where to find a working one that enables fullscreen toggle.

Please.

There is also many post about optimized dosbox.conf. Could somebody share one of them?

EDIT: About Addison keyboards, I have no "/usr/bin/dosboxkbd" and if I create one with the xkbd command it does not work, I still have the classic layout. Where I can edit the dosbox xkbd command call?

RubyBox should be possible on 2007HE. I'd just need to make a custom package for it.

ArnimS
04-25-2009, 09:51 PM
Thanks for the support, ukki.

If someone finds broken links, send me a PM

The DosBOX developers have been working hard these past few days addressing optimisation issues that i requested for the Nokias. This very generous support requires a new release for maemo.

I can not work on games/ports in the near future. So here is a great job opening... Pay is 0 though.

Quickbeam
04-26-2009, 06:47 AM
I try to find the ruby1.8-maemo and nothing...


I try in the repository in the begin of this topic, but they are out.

When i try to install RubyBox they say miss packages ruby1.8-maemo and unzip...

What can i do?

Sorry so late to the party. I was getting the same error message til I found a newer version of RubyBox which installed with no trouble at all and none of this annoying error message. Unfortunately I spent a good day or so chasing my tail on this and stumbled on the newer RubyBox version by accident so I cannot provide a link. Sure wish that older versions would be swept back into Dev areas rather than laying out for noobs like us to pick up but hey whattya gonna do. Major thanks to those who work so hard on these programs, it's a joy to be able to go back and play games like Dune 2 and the King's Quest series again, they blow away anything I have on my DS!:D

Pushwall
04-26-2009, 03:32 PM
The DosBOX developers have been working hard these past few days addressing optimisation issues that i requested for the Nokias. This very generous support requires a new release for maemo.

Interesting to be sure. I can't wait to see what develops. :cool:

I can not work on games/ports in the near future.
All good things come to an end, I guess. I do hope you plan to stay around though to offer your invaluable help when you can.

samjc3
05-21-2009, 11:09 PM
how do i mount my memory card? (the internal one in the n810)

ArnimS
05-25-2009, 04:31 PM
how do i mount my memory card? (the internal one in the n810)

mount D: /media/mmc2

(edit) DosBox 0.73 rc2 is out .... surprised nobody else has built it. its not rocket science, guys...

javispedro
05-29-2009, 04:50 PM
Will you provide the source for your patches?

javispedro
05-31-2009, 06:40 AM
Either way, I've already ported dosbox 0.73, but couldn't get the N810 FN keys to work. Then I discovered KC (the Key Compiler) which allows me to create custom keyb.exe layouts: all of the N810 spanish keyboard works this way, including ALL FN keys: digits, quotes, etc.; dead keys (save for ^ which I have no use for), and F1-F10 keys (mapped to Chr+1, Chr+2, etc.) .

Unfortunately some programs completely ignore KEYB.EXE layouts (Windows comes to mind).

ArnimS
06-08-2009, 11:56 AM
please upload the bin

any useful patches i had are now merged into dosbox cvs

edit: look into the alternate fmopl cores and ARM dynrec for more speed. it may also be now possible to use gcc profiling for more speed (broke on old dosbox/gcc)

qwerty12
06-08-2009, 12:20 PM
please upload the bin

You asked lcuk to build CVS, while we're both Northerners, I'm not him but thought I'd try anyway :P

latest binary from CVS built in Diablo_ARMEL: http://freefile.kristopherw.us/uploads/qwerty12/dosbox.txt (rename from dosbox.txt to dosbox)

Nothing special done, just a 'CXXFLAGS="-O2 -march=armv6j -mtune=arm1136jf-s -mfpu=vfp -mfloat-abi=softfp" ./configure --prefix=/usr' and that's it.

EDIT: if it isn't obvious :), you want the deb below. Javispedro has put out an awesome build!

javispedro
06-08-2009, 03:57 PM
You can check my port, it has the following goodies/quirks:

- The usual hildonization: icon, task navigator, window title, CFLAGS, mouse pointer hidden.
- Stores dosboxrc in ~/apps/DOSBox 0.73 Preferences.txt, and mapper.txt in ~/apps/mapper.txt
- The keymapper gui has been "compacted" so that it fits a Maemo 4 window. Launch with "dosbox -startmapper".
- ARM Dynarec compiled in (enabled by default for protected mode applications).
- An nearly complete rewrite of dosbox builtin keyboard layout. It is now more FreeDOS keyb 2.0 compatible ( original dosbox keyb did not support some keyb2.0 features; freedos keyb does not work either: you can choose between a working, but beta implementation or a non-working finished one). The "keyb" command itself uses a different syntax.

If any of these "features" bothers you I can remove it. Or you can get the source (http://cosas.javispedro.com/nit/pool/user/d/dosbox/).

Remember to thank the DOSBox Team and ArnimS. They've done all the hard work.

Download: dosbox_0.73-3_armel.deb (http://cosas.javispedro.com/nit/pool/user/d/dosbox/dosbox_0.73-3_armel.deb)

Changelog:
0.73-3: fixed some keyb bugs.

I am also distributing a FreeDOS keyboard layout library with support for US & spanish n810 hardware keyboards.

mapper.txt (http://cosas.javispedro.com/dosbox/mapper.txt) (contains minor modifications to default mapper.txt to map chr, fn & fullscreen keys)
nokia.sys (http://cosas.javispedro.com/dosbox/nokia.sys)

Use
keyb nokia.sys us
to load.

qwerty12
06-08-2009, 04:14 PM
No, this didn't have the dynarec enabled - configure.in doesn't have rules for enabling it on armel devices and I assumed it wasn't available for ARM. Glad to be proved wrong. But, anyway, like I said, this was a straight build and uploads of better binaries would be appriciated. Oh, you did so while I was posting. Thanks.

OMG, this is an awesome build! Thank you!

ArnimS
06-08-2009, 05:13 PM
big speedup in prince of persia - now fluid without sound hiccups
doom load time much faster
wing commander a bit faster w/o sound hiccups
test drive 2 noticeably faster

mad props! cycles can now be upped from ~800 to 1100 in some games

edit:
Ultima 5 speaker sound glitches fixed
Ultima 6 almost playable fast now in tandy mode
Ultima underworld loads 50% faster

biggest increase with dynrec seems to be on 386 level cpu-bound games.

tip: add a sdl_disablecursor or whatever to startup

ukki
06-08-2009, 05:59 PM
Please patch it to run Daggerfall properly.

JayOnThaBeat
06-08-2009, 06:32 PM
I was always a big fan of DOS.

Are there extra settings that need to be adjusted to get games to run right?

I've tried

Master of Magic (sloooooow, froze while "building worlds' after character select)

Warcraft 2 (reset n810 during dos4gw load)

//ED: Where in time is carmen sandiego (super slow / choppy)

Tips / suggestions?

Bundyo
06-08-2009, 06:48 PM
For Warcraft 2 try Stratagus - runs with decent speed on my N800.

JayOnThaBeat
06-08-2009, 06:58 PM
For Warcraft 2 try Stratagus - runs with decent speed on my N800.

Thanks.

I'm not really all that interested in playing WC2 (beat it like 10 times), I'm just trying to see what I can run in dosbox.

ArnimS
06-08-2009, 07:47 PM
Thanks.

I'm not really all that interested in playing WC2 (beat it like 10 times), I'm just trying to see what I can run in dosbox.

these games are too new. dosbox on n8x0 is still essentially a 286 @ 12mhz

also forget daggerfall ukki.

JayOnThaBeat
06-08-2009, 08:12 PM
big speedup in prince of persia - now fluid without sound hiccups
doom load time much faster
wing commander a bit faster w/o sound hiccups
test drive 2 noticeably faster

mad props! cycles can now be upped from ~800 to 1100 in some games

edit:
Ultima 5 speaker sound glitches fixed
Ultima 6 almost playable fast now in tandy mode
Ultima underworld loads 50% faster

biggest increase with dynrec seems to be on 386 level cpu-bound games.

tip: add a sdl_disablecursor or whatever to startup

the games you mention there, aren't they for 386? (i know doom is)

///EDIT
i found a torrent with 3000 old dos games in it. hopefully i can run some of them!

javispedro
06-09-2009, 07:31 PM
tip: add a sdl_disablecursor or whatever to startup
Done: check original post for downloads (http://talk.maemo.org/showthread.php?p=294724#post294724).

Also added codepages back.

If you have a spanish layout N810 you can download mapper.txt (http://cosas.javispedro.com/nit/random/mapper.txt) and nokia.sys (http://cosas.javispedro.com/nit/random/nokia.sys) to get nearly full FN key support in command line and applications/games using DOS' keyboard layout support.
Use
keyb nokia.sys ptes
to load it.

As soon as I get my hands on a US.KEY file and a US N810 screenshot I will update nokia.sys with more layouts. I just don't know any other way to get full hardware keyboard support.

JayOnThaBeat
06-09-2009, 08:46 PM
As soon as I get my hands on a US.KEY file and a US N810 screenshot I will update nokia.sys with more layouts. I just don't know any other way to get full hardware keyboard support.

Somebody get this man US.KEY and a 810 screenshot, STAT!

JustNick
06-10-2009, 04:17 AM
If this port really speeds things up maybe I'll go back trying running Myst :D

JayOnThaBeat
06-10-2009, 04:21 AM
If this port really speeds things up maybe I'll go back trying running Myst :D

Not yet. I'm having a hard time finding ANY game that will run at a moderate speed.

I have confidence that it will get better tho :-)

qwerty12
06-10-2009, 05:02 AM
As soon as I get my hands on a US.KEY file and a US N810 screenshot I will update nokia.sys with more layouts. I just don't know any other way to get full hardware keyboard support.

http://beans.seartipy.com/wp-content/uploads/2007/10/n810_02_web.jpg (EXTRA large image!) matches the layout on my N810, and "hildon-im-xkbtool -g" says:


Internal keyboard:
Model: nokiarx44
Layout: us
Delay: 600
Interval: 50


So I think I can safely assume that that image does show a bonafide US keyboard. I do not know about the US.KEY file, however. Sorry.

Addison
06-10-2009, 06:24 PM
Hey ukki.

Any chance you could possibly include this newest release with Rubybox?

This latest version seems to break it.

Thanks. :D

javispedro
06-10-2009, 08:06 PM
This latest version seems to break it.

Probably my fault since I moved dosboxrc around.





New version up (http://talk.maemo.org/showthread.php?p=294724#post294724); includes US N810 hardware keyboard layout.

To try:
- put mapper.txt in ~/apps/mapper.txt
- put nokia.sys in your "DOS drive"
- boot dosbox
- "keyb nokia.sys us"
- press some FN-hardware keyboard keys. "Sticky keys" is not there yet, you must hold FN for now.

Chr+q is F1, Chr+w is F2... Chr+p is F10.
All FN keys "should" work, save for €¥£ which need codepage 858 (you can actually load it by forcing it "keyb nokia.sys us auto 858").

JayOnThaBeat
06-10-2009, 08:12 PM
Probably my fault since I moved dosboxrc around.





New version up (http://talk.maemo.org/showthread.php?p=294724#post294724); includes US N810 hardware keyboard layout.

To try:
- put mapper.txt in ~/apps/mapper.txt
- put nokia.sys in your "DOS drive"
- boot dosbox
- "keyb nokia.sys us"
- press some FN-hardware keyboard keys. "Sticky keys" is not there yet, you must hold FN for now.

Chr+q is F1, Chr+w is F2... Chr+p is F10.
All FN keys "should" work, save for €¥£ which need codepage 858 (you can actually load it by forcing it "keyb nokia.sys us auto 858").

you sir, are the man. i'm trying a bunch of games, and i have to rename them all not to have numbers anywhere in the dir/file names . this should help a lot.

JayOnThaBeat
06-10-2009, 10:00 PM
big speedup in prince of persia - now fluid without sound hiccups
doom load time much faster
wing commander a bit faster w/o sound hiccups
test drive 2 noticeably faster

mad props! cycles can now be upped from ~800 to 1100 in some games

edit:
Ultima 5 speaker sound glitches fixed
Ultima 6 almost playable fast now in tandy mode
Ultima underworld loads 50% faster

biggest increase with dynrec seems to be on 386 level cpu-bound games.

tip: add a sdl_disablecursor or whatever to startup

How are you running any of these?

I tried Prince of Persia, and it's real laggy... I won't even attempt Doom!

ukki
06-11-2009, 06:49 AM
RubyBox updated to work with this version, let me know if I messed something up. It's available via the builtin update manager, I'll update the repo when I have the time.

JustNick
06-11-2009, 08:55 AM
The update works fine, time to reload some games :D

Ehm... how do I map the N800 Dpad under dosbox? :D

ArnimS
06-11-2009, 03:51 PM
dosbox --startmapper.

click right arrow icon

click del

click the target key that you want to assign to dpad-right

click add

press dpad-right

JustNick
06-11-2009, 05:01 PM
dosbox --startmapper.

click right arrow icon

click del

click the target key that you want to assign to dpad-right

click add

press dpad-right

I'm afraid is not that simple...
The "dosbox --startmapper" doesn't give me a special interface to do what you described... maybe something missing in the latest build?

javispedro
06-11-2009, 05:16 PM
I'm afraid is not that simple...
The "dosbox --startmapper" doesn't give me a special interface to do what you described... maybe something missing in the latest build?
Try dosbox -startmapper

ioan
06-11-2009, 06:22 PM
I installed the latest version, but I can't get any characters that requires Fn to show on my n810 in dosbox. Do I need to install something else or do some configuration changes for the keyboard to work?
TIA
-ioan

JayOnThaBeat
06-11-2009, 06:48 PM
i installed the latest version, but i can't get any characters that requires fn to show on my n810 in dosbox. Do i need to install something else or do some configuration changes for the keyboard to work?
Tia
-ioan


download: dosbox_0.73-3_armel.deb (http://cosas.javispedro.com/nit/pool/user/d/dosbox/dosbox_0.73-3_armel.deb)

mapper.txt (http://cosas.javispedro.com/dosbox/mapper.txt) (contains minor modifications to default mapper.txt to map chr, fn & fullscreen keys)
nokia.sys (http://cosas.javispedro.com/dosbox/nokia.sys)

use
keyb nokia.sys us
to load.





to try:
- put mapper.txt in ~/apps/mapper.txt
- put nokia.sys in your "dos drive"
- boot dosbox
- "keyb nokia.sys us"



It took me a minute to figure it out too :)

Pushwall
06-11-2009, 07:56 PM
Games seem to d-r-a-g slow now. I tried BioMenace and it is so s-l-o-w! Also the customer mappertext files through RubyBox don't work. GRRRRRR! :mad: I'll eventually figure it out I guess. Big thanks to javispedro, ukki, ArnimS, and everyone else for this latest update and info. You guys rock! I'm having problems but I appreciate your efforts and comments. :)

JayOnThaBeat
06-11-2009, 07:59 PM
I just found out about rubybox.

Is there a benefit to running it? (speed-wise?)

(i'm okay with all the typing, brings me back to the good ol dos days ;))

Pushwall
06-11-2009, 08:13 PM
I just found out about rubybox.

Is there a benefit to running it? (speed-wise?)

(i'm okay with all the typing, brings me back to the good ol dos days ;))
RubyBox makes running DOS games so much easier once they are set up. You can have different DOSBox parameters or different mappertxt keyboard files for each one. RubyBox also makes it much easier testing the parameters to make each game run faster. Once setup, it is so easy just selecting the program and you're off and running. Plus there are games, DOSBox parameters, and keyboards you can download through RubyBox too. Ukki is the RubyBox god! :D Highly recommended!!! :cool:

Pushwall
06-11-2009, 08:17 PM
A few days ago I downloaded 8gb of full DOS games. Almost 3000 games... I'm sure at least 1000 are crap :)
Perfect! Time to start testing those games with RubyBox and the latest DOSBox! :)

JayOnThaBeat
06-11-2009, 08:19 PM
Perfect! Time to start testing those games with RubyBox and the latest DOSBox! :)

So am I to understand from the last guy's post that the new mapper.txt file javispedro made doesn't work with rubybox?

qole
06-11-2009, 08:20 PM
So, anyone want to try Windows 3.11 or Win 95 with the new DosBox? ;)

JayOnThaBeat
06-11-2009, 08:21 PM
So, anyone want to try Windows 3.11 or Win 95 with the new DosBox? ;)

you know, I installed both of those on a VM not too long ago.

I'd rather not have them on my NIT even if I could. Maemo is waaay nicer, and it's not like any modern prog could run on them any way.

Pushwall
06-11-2009, 08:23 PM
So am I to understand from the last guy's post that the new mapper.txt file javispedro made doesn't work with rubybox?
My custom mapper.txt file doesn't work with RubyBox (mappercsa.txt). I'm trying to figure out if I need to redo it or if something else is causing problems.

JayOnThaBeat
06-11-2009, 08:26 PM
My custom mapper.txt file doesn't work with RubyBox (mappercsa.txt). I'm trying to figure out if I need to redo it or if something else is causing problems.

I really like being able to hit numbers... then again, i suppose getting the games playable might be better, if i had to choose...

Pushwall
06-11-2009, 08:45 PM
So, anyone want to try Windows 3.11 or Win 95 with the new DosBox? ;)
Not me! :eek:

javispedro
06-11-2009, 08:59 PM
So am I to understand from the last guy's post that the new mapper.txt file javispedro made doesn't work with rubybox?
Ah, forgot to document that the mapper.txt file is no longer needed :p ... FN keys "should" work without it. At least, they work with the default mapper.txt on 0.73-3 (keyb & nokia.sys still required).

If it does not work (e.g. you've made a custom mapper.txt file) just make sure FN key is mapped to "Right Alt" (key_ralt) and Chr key is mapped to "<" (key_lessthan).

urnass
06-11-2009, 10:36 PM
So, anyone want to try Windows 3.11 or Win 95 with the new DosBox? ;)

I'm looking forward to trying, but it will be a couple of weeks before I can pull out my old disks and find the time. :)

Addison
06-12-2009, 02:01 AM
A few days ago I downloaded 8gb of full DOS games. Almost 3000 games... I'm sure at least 1000 are crap

There's a torrent floating around out there that has 3.11 and dos 6.22. search windows 3 11 dos on torrentz dot com.

Dude...




Anyway, I think there's a few things left to be tweaked with this latest build.

I've got two versions of Dosbox in my application window thing, so the latest one doesn't overwrite the previous version.

Hey Pushwall, you might want to look at the new default settings in the dosbox.conf file.

It's originally set at either max or auto I believe. Either one of these settings is going to cause your tablet to become a tad bit dyspeptic. :D It's best to just give it a specific cycle speed instead.

Also, I wanted to report that I can run Angband if I'm using Dosbox .73 straight up, but when going through Rubybox, I'm getting a segmentation fault as before.

I'm not seeing why Rubybox would cause such a thing though.

Anyway, it's a great release!

A good pick up on speed of about 15 - 20% overall and all of the extra features is huge!

I might even attempt to run Shanara again to see if I can't get both voice and sound to work together.

The best I could get on the previous release of Dosbox was just the voices from the CD and not the sound effects.

Thanks again to everyone who put time in this.! :D

ukki
06-12-2009, 03:17 AM
Also, I wanted to report that I can run Angband if I'm using Dosbox .73 straight up, but when going through Rubybox, I'm getting a segmentation fault as before.

I'm not seeing why Rubybox would cause such a thing though.


I'm not either. Is it Dosbox crashing or RubyBox? Can you start RubyBox from terminal with 'rbox' and paste the error? I've seen one Ruby crash error with the new packages. Ruby code shouldn't crash the interpreter, but I bet I can avoid triggering that bug. But this seems unrelated to that.

JayOnThaBeat
06-12-2009, 03:32 AM
Dude...



I don't know *what* you are talking about...

I never said anything like that.

It was all a dream.

;)

JustNick
06-12-2009, 06:35 AM
Try dosbox -startmapper

Lol, now I feel so dumb, I didn't even try with just one -, it seemed too easy to be right :D

About win 3.1, already done, seems faster, but it remains unusable because of the unalignment between the mouse cursor and the touchscreen...

JayOnThaBeat
06-12-2009, 02:53 PM
I'm not either. Is it Dosbox crashing or RubyBox? Can you start RubyBox from terminal with 'rbox' and paste the error? I've seen one Ruby crash error with the new packages. Ruby code shouldn't crash the interpreter, but I bet I can avoid triggering that bug. But this seems unrelated to that.

every time i hit settings. here you go :)


~ $ rbox
./settings.rb:218:in `list_mappers': undefined method `[]' for nil:NilClass
from rbox.rb:19:in `each_with_index'
from ./settings.rb:213:in `each'
from ./settings.rb:213:in `each_with_index'
from ./settings.rb:213:in `list_mappers'
from ./settings.rb:377:in `load_game'
from rbox.rb:64:in `load_game'
from ./launcher.rb:302:in `game_settings'
from ./launcher.rb:62:in `initialize'
from rbox.rb:269:in `call'
from rbox.rb:269:in `main'
from rbox.rb:269
~ $

ukki
06-12-2009, 04:34 PM
every time i hit settings. here you go :)


~ $ rbox
./settings.rb:218:in `list_mappers': undefined method `[]' for nil:NilClass
from rbox.rb:19:in `each_with_index'
from ./settings.rb:213:in `each'
from ./settings.rb:213:in `each_with_index'
from ./settings.rb:213:in `list_mappers'
from ./settings.rb:377:in `load_game'
from rbox.rb:64:in `load_game'
from ./launcher.rb:302:in `game_settings'
from ./launcher.rb:62:in `initialize'
from rbox.rb:269:in `call'
from rbox.rb:269:in `main'
from rbox.rb:269
~ $



And this happens with 0.4.3?

JayOnThaBeat
06-12-2009, 05:59 PM
And this happens with 0.4.3?

...its 0.4.2 ... i got it from the wiki/rubybox page. where can i get 0.4.3?

Pushwall
06-12-2009, 11:01 PM
...its 0.4.2 ... i got it from the wiki/rubybox page. where can i get 0.4.3?
RubyBox starts fullscreen. Downsize it to window mode and click on the the upper left part of the window and select "Check for Updates".

javispedro
06-13-2009, 11:12 AM
By the way, do you think I should try and upload this to extras-devel?

ukki
06-13-2009, 01:24 PM
By the way, do you think I should try and upload this to extras-devel?

Most definitely. And if possible, could you perhaps mention RubyBox so that people can make it little easier to use? Perhaps a message on first run using maemo-confirm-text? I can't put RubyBox there due to missing source for the Ruby.

javispedro
06-13-2009, 02:35 PM
I can't put RubyBox there due to missing source for the Ruby.
A pity, since it's RubyBox the one that should go in the user/* category, being the user-friendly one, and dosbox a hidden dependency (or that's what I understand from extras policy, ignoring the fact that geeky things like strace, libz, etc. are on user/* too).

What do you think about putting a message in the default autoexec file?

ukki
06-13-2009, 02:49 PM
What do you think about putting a message in the default autoexec file?

Sounds good to me.

Empire
06-13-2009, 09:16 PM
Using the image files made for the psp dosbox I have ran Windows 98 and 95 in DosBox for the n810. Of course the mouse still does not work. So I installed Dosbox on debian in easy-deb and tried to run the image files (I boot easy-deb from a external card 4gb) but it just keeps on crashing or in other words disappears or the window exits. Is there a way to fix the cursor?

qole
06-14-2009, 01:23 AM
It seems we are so close, if the DosBox devs could have a look at our cursor problems...

Empire
06-14-2009, 11:52 AM
Also another problem I did not mention which I think all of us know of is the FN keys. It worked every once in a blue moon but it does not work anymore.

javispedro
06-14-2009, 12:06 PM
On Windows?

Cause I believe that is solved now on apps which use bios for keyboard input (most dos applications).

JustNick
06-14-2009, 12:57 PM
Simple yet vital question: did somebody try XKBD via Rubybox with the latest Dosbox build?
On my N800 I remember having issues with past releases (mostly crashes), now the XKBD doesn't crash, but most of the time doesn't work (on keypress nothing happens).
Issuing the command "xkbd" in the terminal opens a small keyboard that outputs casual letters (pressing A for example prints S, most of the time is like the last letter input remains stored in memory and it's repeated no matter which key is pressed).
Did I do something wrong?

Addison
06-14-2009, 04:44 PM
Hey ukki!

I'm not either. Is it Dosbox crashing or RubyBox? Can you start RubyBox from terminal with 'rbox' and paste the error? I've seen one Ruby crash error with the new packages. Ruby code shouldn't crash the interpreter, but I bet I can avoid triggering that bug. But this seems unrelated to that.

Okay. It seems that somehow it's having a problem with an STD. I swear though, my tablet never touched her! *lol*

So here's the log of running directly from Dosbox:
CONFIG:Loading primary settings from config file /home/user/apps/DOSBox 0.73 Preferences.txt
ALSA lib seq.c:935:(snd_seq_open_noupdate) Unknown SEQ hw
ALSA:Can't open sequencer
MIDI:Opened device:none

Even though it's showing those errors, Dosbox pushes through this and continues on without crashing.

Here's the log of running the same file piped through Rubybox first:
CONFIG:Loading primary settings from config file /home/user/.rubybox/Rogues/angband.conf
ALSA lib seq.c:935:(snd_seq_open_noupdate) Unknown SEQ hw
ALSA:Can't open sequencer
MIDI:Opened device:none
terminate called after throwing an instance of 'std::bad_alloc'
what(): St9bad_alloc
Aborted
killall: dosboxbin: no process killed
killall: xkbd: no process killed
killall: dosboxbin: no process killed
killall: dosbox: no process killed

So yeah, doesn't make any sense really on why your Rubybox gives up so easily on these errors when Dosbox doesn't seem to mind them.

Anyway, I'm just reporting off on this. Ukki, it's no big deal if you look into it or not.

Empire:
Make sure in the advance settings that you have
sdl autolock set to false
Also, you need to find the correct frame skip and cycle speed.
If you push Dosbox too hard you'll end up getting cursor weirdness on the screen.
But if you ask me, you probably shouldn't waste any more time on this than what you have already put into it.

JustNick:
Read up on Ukki's directions about XKBD.
RubyBox wiki (http://wiki.maemo.org/RubyBox)

From the main menu, after registering your nickname and address, it's:
Download
XKBD Layouts from the drop down menu
Download

Should be easy enough to follow.

javispedro
06-14-2009, 05:07 PM
terminate called after throwing an instance of 'std::bad_alloc'
what(): St9bad_alloc
Aborted

Read that error as "Out of memory". You need to free memory, add swap, or reduce DOSBox memory consumption (give the virtual machine less memory).


For the next version I'm considering undefining USE_FULL_TLB (will help with memory usage but may introduce other bugs according to docs/PORTING) and profiling. But it won't happen this week.

I don't know what to do about the mouse issues. Other than suggesting to play with the mouse acceleration settings in Windows, since mouse works for me in QBASIC.

JustNick
06-14-2009, 05:15 PM
That's what I already did :) and beside Dosbox 0.73 doesn't seem to have a default xkbd...
I tried different layouts, every one of which is correctly loaded when Dosbox is launched via Rubybox, but xkbd doesn't seem to work as it would be supposed to, it's just like symbols (or functions like enter, space or backspace) are randomly generated or even completely ignored at key press. :(

Empire
06-14-2009, 06:36 PM
wait when I put repository on my N810 (diablo) I dont find rubybox and when I try to install the deb it says it needs the ruby-maemo package. Where am I suppose to get that?

Addison
06-14-2009, 07:16 PM
Okay JustNick. Not sure what's happening on your end.

You should be looking at a keyboard that looks something like this.

http://img156.imageshack.us/img156/3679/shot20080828122401ha4.png

If not, read everything that Ukki says on his webpage.

Javispedro, I'll look into freeing up more space to see if that does anything. Thanks!

JustNick
06-15-2009, 04:11 AM
That's the "rightfull.xkbd" layout if I'm not mistaken... yes, that's exactly what I see, but it doesn't work, pressing keys doesn't do anything...
Launching Rubybox from terminal gives me this output:

~ $ rbox
DOSBox version 0.73
Copyright 2002-2009 DOSBox Team, published under GNU GPL.
---
Sorry - server Keyboard map doesn't contain either 2 or 4 KeySyms per Keycode - unsupported!
CONFIG:Loading primary settings from config file /home/user/.rubybox/Games/commander_keen_-_episode_4.conf
ALSA lib seq.c:935:(snd_seq_open_noupdate) Unknown SEQ hw
ALSA:Can't open sequencer
MIDI:Opened device:none
MAPPER: Loading mapper settings from /home/user/.rubybox/.mappers/mappercsa.txt
X connection to :0.0 broken (explicit kill or server shutdown).
killall: dosboxbin: no process killed

I guess "Sorry - server Keyboard map doesn't contain either 2 or 4 KeySyms per Keycode - unsupported!" is the part that tells me something is wrong with the virtual keyboard, but I don't know how to use this piece of information...
Launching xkbd from terminal (no rubybox or dosbox involved) gives me the exact same error, except that upon exit it kills my D-pad and makes impossible to "click and run" or "click and select" using the touchscreen in any application (on a stylus click the whole line I'm on is selected... weird...)

If it is of any help I'm using an N800 with the latest diablo release, installed apps mostly from Extras (except latest Abiword and of course Rubybox and Dosbox) and using Qole EasyDebian (even if I don't think this can do anything to the system itself...)

Addison
06-16-2009, 01:44 AM
I honestly have no idea on what's happening there, JustNick.

First time hearing about your problem in quite awhile.

We all encountered the exact same thing you're describing, but that was like a year and a half ago.

Oh, and the "Sorry - server Keyboard map doesn't contain either 2 or 4 KeySyms per Keycode - unsupported!" is nothing. We all get the same message and it's completely unimportant. Don't even worry about that.

Best I can offer is to uninstall Xkbd, Ruby, Rubybox, and Dosbox. Keep Unzip if you have that though.

Then head over to Ukki's page and fire up the one click install. I'm thinking maybe you picked up an older version of Xkbd when you grabbed it from the extras repository.
Rubybox (http://wiki.maemo.org/RubyBox)

Try that and post back when you have the chance.

Cheers.

JustNick
06-16-2009, 03:12 AM
Thanks Addison, I'll check the Xkbd version I have installed and see if there's a newer one around ;)

Uhm, the xkbd package in Rubybox repository is xkbd_0.8.15m-2_armel.deb, that's exactly the one downloadable from http://pupnik.de/xkbd.html
Oh, well, I'll just remove everything ruby/dosbox related and start over :D

Addison
06-16-2009, 07:33 AM
Bunanson seems to have the same problem on his end with Xkbd as well.

Please post back if you find a solution.

Pushwall
06-16-2009, 08:45 AM
I haven't had a chance to test DOSBox much yet, but after reading this thread though I thought I'd give it try. I've found that I've got the same problem as JustNick on my N800. I can't even get the D-pad directionals to work properly in games. I've run 'dosbox -startmapper' and redefined the directional keys,....but nothing. I've run 'keyb nokia.sys us' thinking that this might help,...nada. I've found that Addison's keyboard does work with RubBox but I still can't get RubyBox to load a custom mapper.txt file and have it work. BTW, JustNick.....to get that little XKBD keyboard to work, you have to tap the CAPS key first before you do any input. Addison,....I'm guessing yours is working since you've got both the new and old DOSBox programs on your N800. I'm seriously thinking about deleting the latest DOSBox and going back to the previous version to see if things are hunky dory again.

JustNick
06-16-2009, 09:14 AM
Good news: remapping the D-pad works
In an active session of Dosbox (i used the one I created to launch windows 3.1 with rubybox) ctrl+F1 will start the mapper, just remove the printscreen and the right alt bindings (they are mapped with the Up and Right directions of the Dpad) and then assign the four directions to the four arrows key.
Bad news: you can't save this, I don't know why (probably Dosbox points to a location that needs root privileges to be written), so this works only in an active session...
I just tried once though, so it could be possible that with some fine tuning of the dosbox config file one could be able to point to a different location where to save the mapping... or I was just lucky and I won't be able to make it work a second time :D

Pushwall
06-16-2009, 09:16 AM
Well I just got RubyBox to work with the latest DOSBox. I'm able to use my custom mapper.txt file....woohoo! :D (My redefined functions keys don't work properly so I still have to fix the function keys like javispedro suggested,...but that's no biggie.) Plus the directional keys now work too. How? I had a backup of '/usr/share/dosbox'. That directory was gone after installing the latest DOSBox version. But copying that directory back now fixes the problems with RubyBox and DOSBox, plus games seem to be running normal again instead of being so s-l-o-w. I don't know how or why this fixes it, but it does. It's probably not a proper fix but it will do for now.

JustNick
06-16-2009, 09:22 AM
D'oh! the small keyboard killed my Dpad again...

javispedro
06-16-2009, 09:43 AM
Bad news: you can't save this, I don't know why (probably Dosbox points to a location that needs root privileges to be written), so this works only in an active session...

Not in 0.73... I've configured it to save it to ~/apps/mapper.txt, which is user writable. (Unless you override it in the config file!)

I think this is more a scancode-or-keysym issue. There's an option in DOSBox Prefs.txt called "usescancodes": try switching that on and off and remapping.
Nokia.sys will do nothing here, it's just for N810 FN-keys.

I will provide a debug-enabled build of DOSBox later this week (I hope).

The d-pad keys work with the default configuration for me (at least in QBASIC). And I can assure you I have no /usr/share/dosbox/ directory (WHAT do you have there?).

JustNick
06-16-2009, 11:12 AM
I think I'm going crazy...
Small summary of all the little problems:
1) XKBD launched from terminal or .desktop file works if CAPS is ON (thanks for the hint pushwall), but kills Dpad upon exit and makes impossible to "click and select" or "click and run" in some apps
2) Rubybox seems to forget settings previously modified (thus making impossible to proceed by trial and error in fine tuning Dosbox)
3) there are some xkbd keys with weird bindings, ALT is recognized as SHIFT and ENTER as DOWN
4) the Dpad UP is interpreted as a Prtscrn, the LEFT as RIGHT ALT, the other 2 directions as "unknown keys" and binding them only works for one session

I'm starting to think my N800 is possessed :D

Addison
06-16-2009, 12:30 PM
Hey JustNick.

First off, Pushwall wasn't correct on what he said earlier. All keys work perfectly including both upper and lower case with no issues.

So yeah, I might be on the boat with you thinking that your tablet is indeed possessed.

By any chance did you click the xkbd.install file over at the pupnik.de/xkbd.html webpage?

Looking at the contents inside, it's saying gregale as the OS for the installation which is pretty ancient and shouldn't be used.

Try to see if you can't install these two dependencies:
libxpm4 (http://repository.maemo.org/pool/maemo4.0/free/libx/libxpm/libxpm4_3.5.6-2osso1_armel.deb)
and
Xlibs (http://repository.maemo.org/pool/maemo3.0/free/binary/xlibs_6.5.4_all.deb)

You might have to manually install them from your memory card though.

Pushwall
06-16-2009, 01:32 PM
Hey JustNick.
First off, Pushwall wasn't correct on what he said earlier. All keys work perfectly including both upper and lower case with no issues.

Hey no trash talk about Pushwall! :D

The XKBD keyboard I was referring to is that small qwerty keyboard that is in the original XKBD installation. The Addison keyboards still work great and kick a-s-s! When I run XKBD by itself, I get the broken qwerty keyboard and not any of the Addison A-s-s-kickers. I was guessing that JustNick was referring to the old broken qwerty keyboad too.

JustNick
06-16-2009, 03:30 PM
Hey JustNick.

First off, Pushwall wasn't correct on what he said earlier. All keys work perfectly including both upper and lower case with no issues.

Uhm, no, he is right :D I'm referring to the small white keyboard that I wished to use with the Snes, but it seems not feasible due to all the trouble it creates... Your XKBD layouts work great though (ok, maybe I'm having minor glitches, but they're fine)


So yeah, I might be on the boat with you thinking that your tablet is indeed possessed.
(wearing a black priest robe, having the Bible in my left hand and a silver Crucifix in my right one, shouting)
The power of Christ compels you. The power of Christ compels you. The power of Christ compels you. The power of Christ compels you. :D


By any chance did you click the xkbd.install file over at the pupnik.de/xkbd.html webpage?

Looking at the contents inside, it's saying gregale as the OS for the installation which is pretty ancient and shouldn't be used.

Try to see if you can't install these two dependencies:
libxpm4 (http://repository.maemo.org/pool/maemo4.0/free/libx/libxpm/libxpm4_3.5.6-2osso1_armel.deb)
and
Xlibs (http://repository.maemo.org/pool/maemo3.0/free/binary/xlibs_6.5.4_all.deb)

You might have to manually install them from your memory card though.

Uhm, no, I didn't use the link on the pupnik.de/xkbd.html webpage, I've found that the one in the Rubybox repository is the newer one
http://nakkiboso.com/knots/pool/diablo/, I just have to check the xlibs version...
Uhm... xlibs is nowhere to be found... Once in red pill mode it should be possible to see every package installed, am I right?
If this is the case xlibs is not installed nor is in any repository I have active, the only xlib-ish packages are in Extra-devel (xlibmesa-gl) and something tells me it's not intended for diablo...

By the way I've already removed and reinstalled (checking all the packages version) twice with no luck...

I never meant to cause all this havok :D

Addison
06-16-2009, 06:05 PM
I get the broken qwerty keyboard and not any of the Addison A-s-s-kickers. I

That comment took me back to the time when I was in high school and played football for the Mona Shore Sailors.

What position did I play you're probably wondering?

A-s-s-back.

Yeah, that's right.

A-s-s-back.

You see, every time I would run on the field, my coach would scream at me saying, "Hey chump! Get you a-s-s-back here!!!!" :D

JustNick, if you want something for whatever it is that you're doing with SNES, might I suggest making your own keyboard.

Look at the file Mono.xkbd using Emelfm2. It should be in
/home/user/.rubybox/.xkbd_layouts/

Delete, overwrite, and change the height of that file to make a keyboard of your own.

Only rule is that Xkbd will crash if you tell it to use a lowercase letter for output.

The way to get around this is to send a capslock uppercase letter instead to trick it.

It would have been nice if someone fixed that bug, but for now, it's the only way to get around this program from regurgitating on your tablet 360, fully rotated, pea soup style.

May I ask when the last time your tablet had confession?

Hey Push, did you check out Executive Suite yet that I posted in the other Dosbox thread?

That game totally is something I think you would get a kick out of playing in your free time. Since it's freeware, maybe you could even upload it over at Ukki's site.

Cheers.

JustNick
06-17-2009, 03:09 AM
I don't think my tablet has ever had confession :D
Let say I'll leave snes+XKBD alone for now... but what about Rubybox+Dosbox? I read the entire XKBD thread, I saw you suggested the installation of bash2 (don't know what it does though, you said it helped :D) and there's a little confusion around libxpm4 and/or xlibs installation (the one you linked is in maemo 3 repository, but the "debian guys" alway told me not to mix repositories nor install something that is not requested as a dependency... so i'm a bit confused too :D)...
Man what an headache... considering I just wanted the ALT to be ALT and not SHIFT and the Dpad to work as reported... D'oh! :D

Addison
06-17-2009, 12:43 PM
Okay, real quick.

Fire up one of the side keyboards and then open up Notes under Utilities. Try typing with the vertical keyboard and see if they all are work correctly. I'm guessing that they should.

If it's typing capital letters right from the start, press the Capslock button, close Xkbd, and try again.

Are you loading a mapper.txt file in Rubybox?

On my screen it's showing a blank, so I guess it's not loading anything on my end.

I just now noticed that my Dpad is also not working either.

Maybe all we need is a working mapper.txt file.

I can look into tomorrow night when I get back home.

Otherwise, maybe Pushwall can find the answer for this.

Cheers.

qole
06-17-2009, 02:04 PM
Just a note about the new hardware (N900): The Pandora folks are saying that DosBox runs between 2000-3000 cycles on their hardware, and it is very similar to the N900, so I suspect you'll be able to get the same speeds on the new device. That seems to be at least 100% faster than what you can do now, and maybe even up to 200% faster!

JustNick
06-17-2009, 04:33 PM
Okay, real quick.

Fire up one of the side keyboards and then open up Notes under Utilities. Try typing with the vertical keyboard and see if they all are work correctly. I'm guessing that they should.

If it's typing capital letters right from the start, press the Capslock button, close Xkbd, and try again.

Side keyboard works wonderfully, as I expected, only minor nuisance is the ALT key which is interpreted as SHIFT even in Notes (so it needs to be remapped under Dosbox)


Are you loading a mapper.txt file in Rubybox?

On my screen it's showing a blank, so I guess it's not loading anything on my end.

I used mappercsa.txt, then tried mapper.txt generated within Dosbox (it is mandatory to remove mappercsa.txt because it seems that Rubybox doesn't save your preferences... at least not always :D): keyboard works, but while in notes it is perfect (with the ALT exception) in Dosbox some keys are misplaced (for example: pressing Enter key while remapping shows "down_button" :confused: )


I just now noticed that my Dpad is also not working either.

Tan tan taaan!

(this is the best way I can express myself regarding the Dpad woes)


Maybe all we need is a working mapper.txt file.

I can look into tomorrow night when I get back home.

Otherwise, maybe Pushwall can find the answer for this.

Cheers.

I've tried that way... the problem is that half of the Dpad directions appears to be interpreted as "unknown_key", so when mapped they work only during an active session... reloading Dosbox with the custom mapper.txt gets only half Dpad :mad:

Addison
06-17-2009, 05:19 PM
Side keyboard works wonderfully, as I expected, only minor nuisance is the ALT key which is interpreted as SHIFT even in Notes (so it needs to be remapped under Dosbox)
Nice catch.

For some reason, and I'm sure I had a good one at the time, but I mapped the ALT key as Meta_L.

So go ahead and change the keyboard using Emelfm2 from:

default ALT
default_ks Meta_L

to

default ALT
default_ks Alt_L

Again, I'll double check the mapper.txt file and look back over the keyboards tomorrow to see what other bone head things I did.

javispedro
06-17-2009, 06:04 PM
Just a note about the new hardware (N900): The Pandora folks are saying that DosBox runs between 2000-3000 cycles on their hardware, and it is very similar to the N900, so I suspect you'll be able to get the same speeds on the new device. That seems to be at least 100% faster than what you can do now, and maybe even up to 200% faster!

Indeed. I think the Cortex A8 has much faster non aligned memory accesses.

Addison
06-19-2009, 02:50 AM
Hey JustNick.

Okay, I see exactly what you're talking about now.

Everything you mentioned previously about mapping the hardware keys, I'm getting the exact same results on my end.

I can't figure this one out so I'll just wait until I hear something from either Pushwall or Javispedro on this.

JustNick
06-19-2009, 03:20 AM
Hey JustNick.

Okay, I see exactly what you're talking about now.

Everything you mentioned previously about mapping the hardware keys, I'm getting the exact same results on my end.

I can't figure this one out so I'll just wait until I hear something from either Pushwall or Javispedro on this.

So I'm not crazy after all :D

Addison
06-19-2009, 04:08 AM
So I'm not crazy after all

Hey now. No one ever said that. :D

Pushwall
06-19-2009, 09:00 AM
RubyBox and my custom mappercsa.txt file (http://talk.maemo.org/showthread.php?p=167587&highlight=mappercsa.txt#post167587) work fine with the latest DOSBox and my N800, remapped keys and all (Ctrl, Shift, Alt, etc.)! The trick was to copy the file directory '/usr/share/dosbox' from the prior DOSBox version back to internal memory. The install of the latest DOSBox erased this directory, and it seems that something in that directory is needed for the remapping to work correctly. A zip file that has the contents of that directory from my tablet can be downloaded from here (http://intermag.magnode.com/pushwall/usr_share_dosbox.zip).

JustNick
06-19-2009, 10:05 AM
Uhm... I guess that Rubybox still searches configuration files in that position...

javispedro
06-19-2009, 03:00 PM
I still believe whatever you're experiencing is related to the usescancodes option in DOSBox Prefs.txt

Indeed, it seems that older builds had usescancodes==false, while this build has usescancodes==true by default. In my short experience I can map all N810 keys only if it's true. Having it set to false causes problems like the one someone describe a few pages ago (the DOSBox mapper accepting mappings for a single session then "forgetting" about them instead of saving them), but, as I said, this is based on my experience only. So it may work better with usescancodes==false on N800 or whatever.

Pushwall
06-19-2009, 03:32 PM
I still believe whatever you're experiencing is related to the usescancodes option in DOSBox Prefs.txt

I just now tried setting that to false (and deleted the '/usr/share/dos' directory), and that does allow the N800 keys to be remapped for Ctrl, Alt, Del. The problem I'm having is with the D-pad. I'm going to work with it this weekend and see if there's something I'm missing. I did notice too that without the '/usr/share/dos' directory that the game I was testing (BioMenace) wasn't as smooth and the sound was sputtering somewhat. Strange stuff.

JustNick
06-19-2009, 03:47 PM
Javispedro usescancodes==false had no effects for me... :(

ukki
06-20-2009, 04:01 PM
New RubyBox release, small fix for the new dosbox version where config wasn't used when launching an app. This was a stupid mistake from me, sorry guys.

JustNick
06-20-2009, 04:15 PM
New RubyBox release, small fix for the new dosbox version where config wasn't used when launching an app. This was a stupid mistake from me, sorry guys.

Thanks a lot Ukki, I'll test it in a couple of minutes :D

Updated, it crashed a couple of times while saving/editing settings with this output:

"X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 129 (MIT-SHM)
Minor opcode of failed request: 3 (X_ShmPutImage)
Resource id in failed request: 0x1c00010
Serial number of failed request: 579
Current serial number in output stream: 580
killall: dosboxbin: no process killed
ruby1.8[5434]: GLIB ERROR ** GLib-GObject - file gsignal.c: line 652 (emission_pop): should not be reached
aborting...
Aborted"

Now config works, but returning to dos prompt leaves you with no working virtual keyboard (it's there but it doesn't do anything, like its functionalities where limited to the program you just exited)
To have a working Dpad usescancodes==false appears to be the only way.

Pushwall
06-20-2009, 08:46 PM
New RubyBox release, small fix for the new dosbox version where config wasn't used when launching an app. This was a stupid mistake from me, sorry guys.
ukki there's something else that was in the old '/usr/share/dosbox' besides the config file that RubyBox is missing. The D-Pad still doesn't function properly in launched games from RubyBox unless I have the old '/usr/share/dosbox' directory installed.

ukki
06-21-2009, 03:50 AM
ukki there's something else that was in the old '/usr/share/dosbox' besides the config file that RubyBox is missing. The D-Pad still doesn't function properly in launched games from RubyBox unless I have the old '/usr/share/dosbox' directory installed.

Can you copy the old config over the new one and the remove the old /usr/share/dosbox directory? and test again? I only read the config file so the problem must be the difference between the new and old config.

@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.

JustNick
06-21-2009, 05:17 AM
@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.

Well, 3 times out of 4 when it crashed Dosbox was closed using the "home" button -> click on X procedure (because of the non functional virtual keyboard) while keeping the Rubybox session alive and then trying to make settings adjustments.
Hope this piece of information can help you make it crash in a controlled way so that you can easily debug it :D

Pushwall
06-21-2009, 12:27 PM
Can you copy the old config over the new one and the remove the old /usr/share/dosbox directory? and test again? I only read the config file so the problem must be the difference between the new and old config.

I tested the latest RubyBox 3 ways:

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.

ukki
06-21-2009, 01:01 PM
I tested the latest RubyBox 3 ways:

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.

Sounds odd, can the problem be in the mapperfile? RubyBox searches for mapper files from /usr/share/dosbox and /home/user/.rubybox/.mappers. So if you copy the mapper.txt to /home/user/.rubybox/.mappers and make sure the game uses it, does it work then? If RubyBox can't find /usr/share/dosbox/dosbox.conf, it uses the new one and if you replace the new one with the old one, it should work like the old one. You did update to 0.4.4 btw?

Pushwall
06-21-2009, 01:39 PM
Sounds odd, can the problem be in the mapperfile? RubyBox searches for mapper files from /usr/share/dosbox and /home/user/.rubybox/.mappers. So if you copy the mapper.txt to /home/user/.rubybox/.mappers and make sure the game uses it, does it work then? If RubyBox can't find /usr/share/dosbox/dosbox.conf, it uses the new one and if you replace the new one with the old one, it should work like the old one. You did update to 0.4.4 btw?
Yes I'm using 0.4.4,...just checked the version.

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.

ukki
06-21-2009, 02:27 PM
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.

Pushwall
06-21-2009, 06:25 PM
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.
I did what you said and ran rbox from xterm. If /usr/share/dosbox directory is not there it shows it is using the config file from /home/user/apps. And if /usr/share/dosbox directory is there, it uses the config file from that directory. And here's a strange thing,...the D-Pad worked fine. So I thought to myself that maybe it only works when running rbox from xterm. Then I tried running RubyBox from the menu with /usr/share/dosbox directory removed, and lo and behold the D-Pad now works! WTF?! Maybe RubyBox just needed a good xterm session to get its butt in gear. I don't know, but now everything seems to work properly.

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.

javispedro
06-21-2009, 09:02 PM
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 (http://cosas.javispedro.com/dosbox/dosbox.gz) 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:


DOSBox version 0.73
Copyright 2002-2009 DOSBox Team, published under GNU GPL.
---
CONFIG:Loading primary settings from config file /home/user/apps/DOSBox 0.73 Preferences.txt
[...]
key type 2 is 67 [sym=111 scancode=6f]
key type 3 is 67 [sym=111 scancode=6f]
key type 2 is 69 [sym=114 scancode=71]
key type 3 is 69 [sym=114 scancode=71]
key type 2 is 6a [sym=113 scancode=72]
key type 3 is 6a [sym=113 scancode=72]
key type 2 is 6c [sym=112 scancode=74]
key type 3 is 6c [sym=112 scancode=74]


These seem to be the standard scancodes for Linux evdev devices (according to DOSBox source).
What's the result on a N800?

qwerty12
06-22-2009, 03:17 AM
What's the result on a N800?

From my N800:


Nokia-N800-43-7:~# ./dosbox
DOSBox version 0.73
Copyright 2002-2009 DOSBox Team, published under GNU GPL.
---
CONFIG: Generating default configuration.
Writing it to /root/apps/DOSBox 0.73 Preferences.txt
CONFIG:Loading primary settings from config file /root/apps/DOSBox 0.73 Preferences.txt
ALSA lib seq.c:935:(snd_seq_open_noupdate) Unknown SEQ hw
ALSA:Can't open sequencer
MIDI:Opened device:none
key type 2 is 67 [sym=111 scancode=6f]
key type 3 is 67 [sym=111 scancode=6f]
key type 2 is 69 [sym=114 scancode=71]
key type 3 is 69 [sym=114 scancode=71]
key type 2 is 6a [sym=113 scancode=72]
key type 3 is 6a [sym=113 scancode=72]
key type 2 is 6c [sym=112 scancode=74]
key type 3 is 6c [sym=112 scancode=74]

--

Nokia-N800-43-7:~# osso-pr
osso-prepare-partition.sh osso-product-info
Nokia-N800-43-7:~# osso-product-info | grep RX-34
cal_read_block(sw-release-ver): size zero, block not found?
cal_read_block(sw-release-ver): size zero, block not found?
cal_read_block(sw-release-ver): size zero, block not found?
cal_read_block(sw-release-ver): size zero, block not found?
OSSO_PRODUCT_HARDWARE='RX-34'
Nokia-N800-43-7:~#

javispedro
06-22-2009, 07:17 AM
Same result??

And you're telling me the dpad does not work there?? Does it work in the DOSBox command prompt? "Up" should recall last entered command (much like any modern unix shell).

Pushwall
06-22-2009, 08:12 AM
Same result??

And you're telling me the dpad does not work there?? Does it work in the DOSBox command prompt? "Up" should recall last entered command (much like any modern unix shell).
Everything now works fine for me. The dpad works in the DOSBox command prompt. And now it functions fine with RubyBox. From what I can tell, when running from a menu RubyBox wasn't loading a default DOSBox config file when launching games. It seemed to fix itself when I ran RubyBox from xterm. Now everything is hunky dory.

Thanks javispedro for all your help, and or course thanks ukki for your help too.

Addison
07-04-2009, 01:23 AM
Okay, after reading through these latest posts, I'm still not quite sure how to get all the hardware keys mapped correctly.

Hey Pushwall, could you post the script that I can run in Xterm to create the needed directory that the current version of Dosbox erased along with the old mapper.txt file and where exactly to put that file?

Thanks ahead!

Addison
07-07-2009, 01:35 PM
Hey javispedro, were you still thinking of offering us another release in a couple of weeks or is this your final build?

I'm still having difficulty trying to map the hardware keys and I can't seem to make sense of Pushwall's answer on how to correct for this.

Thanks.

javispedro
07-07-2009, 01:46 PM
I don't really know what's the problem with the hardware keys. They work for me, and there is no reason for /usr/share/dosbox existance to have any effect on this. I suggest you try the test application I put on the previous page and also booting dosbox directly from command line.

The next build will have minimal differences, mostly packaging related, and without nokia.sys for now. I will push that to extras (hopefully RubyBox will be there by then, now that Ruby is being slowly pushed).

The only thing in my todo list is understand how scaling works.

qwerty12
07-07-2009, 01:55 PM
(hopefully RubyBox will be there by then, now that Ruby is being slowly pushed).

Ukki is waiting on you to upload dosbox first.

javispedro
07-07-2009, 05:46 PM
Ok, uploaded to extras-devel.

Pushwall
07-07-2009, 06:19 PM
Okay, after reading through these latest posts, I'm still not quite sure how to get all the hardware keys mapped correctly.

Hey Pushwall, could you post the script that I can run in Xterm to create the needed directory that the current version of Dosbox erased along with the old mapper.txt file and where exactly to put that file?
Javispedro is right that you don't need this directory (http://intermag.magnode.com/pushwall/usr_share_dosbox.zip) when running DosBox. However, initially for DosBox to work with RubyBox and the mapper.txt file I did need it. If you need it, then download the zip file and you'll see the full directory path in the zip file on where to put it on your tablet.

To get RubyBox to work with DosBox and the mapper.txt file correctly though without that directory above, I ran rbox from the command line. And then after that everything worked fine. Beats me why.

ukki
07-09-2009, 07:39 AM
Ok, RubyBox is now in extras-devel. Firstly I want to thank qwerty12. He found the other Ruby-Hildon bindings, uploaded them and all the depedencies it required (there were quite many) and even packaged RubyBox so I only had to upload it. He did an incredible job so everyone using RubyBox, remember to use that Thanks! link on him.

To install the latest RubyBox, please delete the old packages you have once again :) Become root and run:

apt-get remove rubybox && apt-get autoremove

if that doesn't remove all, you can try more brutal way:

apt-get remove ruby* && apt-get autoremove

Then enable extras-devel and install RubyBox. Let me know if you encounter any problems, I had to make some changes and remove some stuff as these new bindings aren't identical and they are missing some libs I used.

JustNick
07-09-2009, 08:09 AM
Well, thank you all guys, you're simply great :)

Pushwall
07-09-2009, 08:28 AM
Let me know if you encounter any problems, I had to make some changes and remove some stuff as these new bindings aren't identical and they are missing some libs I used.
Worked like a charm. You guys rock! :cool:

JustNick
07-09-2009, 08:49 AM
Installation went just fine (enabled extra-devel, selected Rubybox 0.4.5 that installed Dosbox 0.73-5 as dependency), apps work with 2 small problems:
1) to make onscreen keyboard work I had to press home key, launch terminal and type something with it, then I went back to the active dosbox session and it was possible to use it
2) HW buttons work included D-pad, but if the screen turns itself off while dosbox is running they get deactivated and you need a couple of taps on the touchscreen before they get back in action :D

I'll try later to wipe any possible old configuration that survived the uninstall process and start with a fresh install of new games to check if these problems are still present.

jself
07-10-2009, 01:12 AM
Where are RubyBox's game .conf's kept?

ukki
07-10-2009, 03:16 AM
Where are RubyBox's game .conf's kept?

~/.rubybox

jself
07-10-2009, 10:33 AM
I don't see any such files in root in EmelFM2, just directories (bin/ through var/)

qwerty12
07-10-2009, 10:35 AM
"~" == /home/user

jself
07-10-2009, 10:45 AM
Ah okay, laugh at my expense then :D

Unfortunately I don't see any Rubybox files there. I need to tweak my Daggerfall conf by adding in this after FALL.EXE

fall.exe z.cfg

I've tried a bat, but DOSBox says illegal command.

ukki
07-10-2009, 10:56 AM
Ah okay, laugh at my expense then :D

Unfortunately I don't see any Rubybox files there. I need to tweak my Daggerfall conf by adding in this after FALL.EXE

fall.exe z.cfg

I've tried a bat, but DOSBox says illegal command.

As much as I would also love to play Daggerfall, it's way too heavy for the tablet. Tablet can only play 286/early 386 games. Also the directory starts with a dot which means it's a hidden directory, so check if there's an option to show hidden directories.

jself
07-10-2009, 11:06 AM
I know but I fig'd it was worth a shot. THanks!

ArnimS
07-14-2009, 03:19 PM
Re Daggerfall I fear Bethsoft will never give us the damn source.