maemo.org - Talk

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

JustNick 2009-06-11 12:55

Re: DOSBox 0.65 ... ftw
 
The update works fine, time to reload some games :D

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

ArnimS 2009-06-11 19:51

Re: DOSBox 0.65 ... ftw
 
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 2009-06-11 21:01

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by ArnimS (Post 295765)
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 2009-06-11 21:16

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by JustNick (Post 295798)
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 2009-06-11 22:22

Re: DOSBox 0.65 ... ftw
 
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 2009-06-11 22:48

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by ioan (Post 295841)
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


Quote:

Originally Posted by javispedro (Post 294724)
download: dosbox_0.73-3_armel.deb

mapper.txt (contains minor modifications to default mapper.txt to map chr, fn & fullscreen keys)
nokia.sys

use
Code:

keyb nokia.sys us
to load.



Quote:

Originally Posted by javispedro (Post 295470)

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 2009-06-11 23:56

Re: DOSBox 0.65 ... ftw
 
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 2009-06-11 23:59

Re: DOSBox 0.65 ... ftw
 
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 2009-06-12 00:13

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by JayOnThaBeat (Post 295875)
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 2009-06-12 00:17

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by JayOnThaBeat (Post 295882)
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 2009-06-12 00:19

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by Pushwall (Post 295884)
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 2009-06-12 00:20

Re: DOSBox 0.65 ... ftw
 
So, anyone want to try Windows 3.11 or Win 95 with the new DosBox? ;)

JayOnThaBeat 2009-06-12 00:21

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by qole (Post 295887)
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 2009-06-12 00:23

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by JayOnThaBeat (Post 295886)
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 2009-06-12 00:26

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by Pushwall (Post 295889)
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 2009-06-12 00:45

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by qole (Post 295887)
So, anyone want to try Windows 3.11 or Win 95 with the new DosBox? ;)

Not me! :eek:

javispedro 2009-06-12 00:59

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by JayOnThaBeat (Post 295886)
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 2009-06-12 02:36

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by qole (Post 295887)
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 2009-06-12 06:01

Re: DOSBox 0.65 ... ftw
 
Quote:

A few days ago I downloaded 8gb of full DOS games. Almost 3000 games... I'm sure at least 1000 are crap
Quote:

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 2009-06-12 07:17

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by Addison (Post 295942)
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 2009-06-12 07:32

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by Addison (Post 295942)
Dude...

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

I never said anything like that.

It was all a dream.

;)

JustNick 2009-06-12 10:35

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by javispedro (Post 295812)
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 2009-06-12 18:53

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by ukki (Post 295957)
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 :)

Code:

~ $ 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 2009-06-12 20:34

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by JayOnThaBeat (Post 296088)
every time i hit settings. here you go :)

Code:

~ $ 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 2009-06-12 21:59

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by ukki (Post 296131)
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 2009-06-13 03:01

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by JayOnThaBeat (Post 296147)
...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 2009-06-13 15:12

Re: DOSBox 0.65 ... ftw
 
By the way, do you think I should try and upload this to extras-devel?

ukki 2009-06-13 17:24

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by javispedro (Post 296294)
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 2009-06-13 18:35

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by ukki (Post 296331)
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 2009-06-13 18:49

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by javispedro (Post 296356)
What do you think about putting a message in the default autoexec file?

Sounds good to me.

Empire 2009-06-14 01:16

Re: DOSBox 0.65 ... ftw
 
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 2009-06-14 05:23

Re: DOSBox 0.65 ... ftw
 
It seems we are so close, if the DosBox devs could have a look at our cursor problems...

Empire 2009-06-14 15:52

Re: DOSBox 0.65 ... ftw
 
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 2009-06-14 16:06

Re: DOSBox 0.65 ... ftw
 
On Windows?

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

JustNick 2009-06-14 16:57

Re: DOSBox 0.65 ... ftw
 
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 2009-06-14 20:44

Re: DOSBox 0.65 ... ftw
 
Hey ukki!

Quote:

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:
Quote:

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:
Quote:

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

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 2009-06-14 21:07

Re: DOSBox 0.65 ... ftw
 
Quote:

Originally Posted by Addison (Post 296664)
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 2009-06-14 21:15

Re: DOSBox 0.65 ... ftw
 
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 2009-06-14 22:36

Re: DOSBox 0.65 ... ftw
 
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 2009-06-14 23:16

Re: DOSBox 0.65 ... ftw
 
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/3...8122401ha4.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!


All times are GMT. The time now is 12:13.

vBulletin® Version 3.8.8