![]() |
![]() ![]() |
![]() |
![]()
Post
#31
|
|
Group: Members Posts: 282 Joined: 21-January 18 Member No.: 816,775 ![]() |
It isn't worth a new release, but setting your cpu type from auto (use dynamic if available or appropriate), to dynamic gives a large speed boost to certain games. They mustn't detect the need for dynamic correctly. The x25 emulates a reasonable beefy 386 (66+MHz) according to benchmarking apps. That is easily enough to play quake, and duke3d on full quality. I am a bit surprised by the difference between the dynamic and the previous versions. Oh well, Enjoy!
|
|
|
![]()
Post
#32
|
|
![]() Group: Members Posts: 14 Joined: 10-November 18 From: Germany Member No.: 836,392 ![]() |
OK, here is the latest version. It runs significantly faster than the old one. If you have installed version 0.3, the easiest thing is to rename your ~/dos and ~/.dosbox to ~/dos.good and ~/.dosbox.good, then create dummy .dosbox and dos directories. Uninstall the old dosbox, then install the new one. Delete the new .dosbox and dos directories, and rename your .good directories back to .dosbox and dos. As usual, gunzip the rpm first ![]() Hello vader, trying to install latest Dosbox version 0.4_1 to my Gemini PDA with Sailfish version 3.0.0.5 (devel version), i got an error about missing libaudioresource.so.1. Did i missed something that must be installed additionally, or is this a change during upgrade from Sailfish version 2.1.x.x to 3.0.x.x? There are also no other versions of this lib on the system .. Many thanks for any hint .. Gabriel |
|
|
![]()
Post
#33
|
|
Group: Members Posts: 282 Joined: 21-January 18 Member No.: 816,775 ![]() |
trying to install latest Dosbox version 0.4_1 to my Gemini PDA with Sailfish version 3.0.0.5 (devel version), i got an error about missing libaudioresource.so.1. Did i missed something that must be installed additionally, or is this a change during upgrade from Sailfish version 2.1.x.x to 3.0.x.x? I haven't upgraded to 3 yet, but you need libaudioresource. You can manually add the package from the command line. Make sure you are root by running devel-su first (or put devel-su before each command). CODE pkcon search libaudioresource look for the package (not the qt version), so for example in my system you have libaudioresource-1.0.5-1.1.1.armv7hl You would then type: CODE pkcon install libaudioresource-1.0.5 This is normally done in the rpm file, so maybe there is something different. If you successfully installed libaudioresource, do the following: CODE ldd /usr/bin/dosbox | less This will show what libraries it is trying to load, and if any are missing. |
|
|
![]()
Post
#34
|
|
![]() Group: Members Posts: 14 Joined: 10-November 18 From: Germany Member No.: 836,392 ![]() |
trying to install latest Dosbox version 0.4_1 to my Gemini PDA with Sailfish version 3.0.0.5 (devel version), i got an error about missing libaudioresource.so.1. Did i missed something that must be installed additionally, or is this a change during upgrade from Sailfish version 2.1.x.x to 3.0.x.x? I haven't upgraded to 3 yet, but you need libaudioresource. You can manually add the package from the command line. Make sure you are root by running devel-su first (or put devel-su before each command). CODE pkcon search libaudioresource look for the package (not the qt version), so for example in my system you have libaudioresource-1.0.5-1.1.1.armv7hl You would then type: CODE pkcon install libaudioresource-1.0.5 This is normally done in the rpm file, so maybe there is something different. If you successfully installed libaudioresource, do the following: CODE ldd /usr/bin/dosbox | less This will show what libraries it is trying to load, and if any are missing. Hello vader, many thanks for the hint. Now it works fine (i tryied some old dos games ;-)). The only problem i have is the wrong mapping of my german keyboard. The key mapping file i use on my Linux did not work correctly. Do you know if there is a tool which shows the code of the pressed key? Many thanks |
|
|
![]()
Post
#35
|
|
Group: Members Posts: 282 Joined: 21-January 18 Member No.: 816,775 ![]() |
Hello vader, many thanks for the hint. Now it works fine (i tryied some old dos games ;-)). The only problem i have is the wrong mapping of my german keyboard. The key mapping file i use on my Linux did not work correctly. Do you know if there is a tool which shows the code of the pressed key? The normal keymapper doesn't work properly as it was hard coded for portrait orientation. I was going to rewrite it but haven't yet. Ideally, the qml front end will take care of that. To work out the keys, I actually added print statements to the program ![]() Have you enabled dynamic? Auto normally chooses the dynamic cpu, however some games don't - one example is elder scrolls. It was slow until I set the cpu core to always use dynamic in the config file. With dynamic, you can run duke3d at full speed, along with all the doom/doom2 games (eg dark forces). Quake needs a few small tweaks, but after that it runs well. Let me know if you want the dosbox version with printout so you can configure your keyboard. |
|
|
![]()
Post
#36
|
|
![]() Group: Members Posts: 14 Joined: 10-November 18 From: Germany Member No.: 836,392 ![]() |
The normal keymapper doesn't work properly as it was hard coded for portrait orientation. I was going to rewrite it but haven't yet. Ideally, the qml front end will take care of that. To work out the keys, I actually added print statements to the program ![]() Have you enabled dynamic? Auto normally chooses the dynamic cpu, however some games don't - one example is elder scrolls. It was slow until I set the cpu core to always use dynamic in the config file. With dynamic, you can run duke3d at full speed, along with all the doom/doom2 games (eg dark forces). Quake needs a few small tweaks, but after that it runs well. Let me know if you want the dosbox version with printout so you can configure your keyboard. Yes ![]() At the moment i tried low performance games like Agentman and Commander Keen ![]() But some more modern games (like Space Quest and Monkey Island ![]() At this point i also have to look on the cpu speed. And the i have to use the keyboard (especially on the first adventures) .. Many thanks |
|
|
![]()
Post
#37
|
|
Group: Members Posts: 282 Joined: 21-January 18 Member No.: 816,775 ![]() |
The normal keymapper doesn't work properly as it was hard coded for portrait orientation. I was going to rewrite it but haven't yet. Ideally, the qml front end will take care of that. To work out the keys, I actually added print statements to the program ![]() Have you enabled dynamic? Auto normally chooses the dynamic cpu, however some games don't - one example is elder scrolls. It was slow until I set the cpu core to always use dynamic in the config file. With dynamic, you can run duke3d at full speed, along with all the doom/doom2 games (eg dark forces). Quake needs a few small tweaks, but after that it runs well. Let me know if you want the dosbox version with printout so you can configure your keyboard. Yes ![]() At the moment i tried low performance games like Agentman and Commander Keen ![]() But some more modern games (like Space Quest and Monkey Island ![]() At this point i also have to look on the cpu speed. And the i have to use the keyboard (especially on the first adventures) .. Many thanks I'll compile it up tonight (I'm on the other side of the world ![]() CPU: 1.45 x faster than 486 NPU 3.38 x faster than 486 So, at least a 66MHz 486 - pretty good for playing old DOS games. PS. I also upped the memsize to 64M. This helps a lot with quake and duke3d. |
|
|
![]()
Post
#38
|
|
Group: Members Posts: 282 Joined: 21-January 18 Member No.: 816,775 ![]() |
So I compiled up the version that prints out the key codes. To use it, uncompress the attached dosbox executable and put it in /tmp. Make sure it is executable, then run it redirecting output to a file. Press keys in dosbox, then quit. look at the file. It is really rudimentary, however it does the job (until I write the nice gui wrapper).
CODE cp Downloads/dosbox.gz /tmp cd /tmp gunzip dosbox.gz chmod +x dosbox ./dosbox > keys <now press the keys that are wrong> <quit dosbox, either type exit or close the app> look at the file /tmp/keys - as well as general dosbox startup stuff, you will get something like: CODE Key=37 down Key=37 up Key=38 down Key=38 up This says that keycode 37 (they 8 key) was pressed, then released, followed by the 9 key. Edit your dosbox config accordingly. Enjoy.
Attached File(s)
|
|
|
![]()
Post
#39
|
|
![]() Group: Members Posts: 14 Joined: 10-November 18 From: Germany Member No.: 836,392 ![]() |
So I compiled up the version that prints out the key codes. To use it, uncompress the attached dosbox executable and put it in /tmp. Make sure it is executable, then run it redirecting output to a file. Press keys in dosbox, then quit. look at the file. It is really rudimentary, however it does the job (until I write the nice gui wrapper). Enjoy. Many thanks. I have the list of the key codes. Is there a list of the key names for all keys (e.g. key_q, ..)? For some keys i did not find the key names (the German Umlaute Ä, Ö, Ü, and funnily enough '$', '§', .. ![]() When i have a full map i can upload it (if some one is interested ![]() |
|
|
![]()
Post
#40
|
|
Group: Members Posts: 3 Joined: 21-July 18 Member No.: 826,590 ![]() |
|
|
|
![]()
Post
#41
|
|
![]() Group: Members Posts: 14 Joined: 10-November 18 From: Germany Member No.: 836,392 ![]() |
When i have a full map i can upload it (if some one is interested ![]() I am. ![]() OK. Here it is. But i did not find any information about the names and used by key.map file :-(. Not at the internet nor at the dosbox source .. So some of the keys could not described at the map. I added the modifier key:
May be this keys must be described otherwise. Same problem for '?' which has an unusual position for German keyboards on the gemini keyboard. Normally it is a shifted 'sz' but i did not find a key name for the 'sz' or the '?' key .. I attached the created map and a picture of the German gemini keyboard. Any comment and corrections are welcome :-).
Attached File(s)
|
|
|
![]()
Post
#42
|
|
Group: Members Posts: 32 Joined: 22-June 18 Member No.: 824,860 ![]() |
trying to install latest Dosbox version 0.4_1 to my Gemini PDA with Sailfish version 3.0.0.5 (devel version), i got an error about missing libaudioresource.so.1. Did i missed something that must be installed additionally, or is this a change during upgrade from Sailfish version 2.1.x.x to 3.0.x.x? I haven't upgraded to 3 yet, but you need libaudioresource. You can manually add the package from the command line. Make sure you are root by running devel-su first (or put devel-su before each command). CODE pkcon search libaudioresource look for the package (not the qt version), so for example in my system you have libaudioresource-1.0.5-1.1.1.armv7hl You would then type: CODE pkcon install libaudioresource-1.0.5 This is normally done in the rpm file, so maybe there is something different. If you successfully installed libaudioresource, do the following: CODE ldd /usr/bin/dosbox | less This will show what libraries it is trying to load, and if any are missing. Hi, Am trying to install this (for the first time) having just upgraded to SFOS 3.2.0.12. CODE pkcon search libaudioresource shows:CODE Available libaudioresource-1.0.5-1.2.15.jolla.armv7hl (jolla) Nemo Mobile Audio Resource API but typing CODE devel-su pkcon install libaudioresource-1.0.5 gives the result:CODE Resolving [ ] (0%) Package not found: libaudioresource-1.0.5 Command failed: This tool could not find any available package: No packages were found What is confusing me is that it is telling me the library is 'Available'. But then saying it can't find it. I presume I am doing something wrong. Any ideas gratefully received. Thanks in advance. Ian |
|
|
![]()
Post
#43
|
|
Group: Members Posts: 32 Joined: 22-June 18 Member No.: 824,860 ![]() |
Replying to myself (in case it is of use to others—or someone wants to let me know that this is the *wrong* way to resolve my problem):
I succeeded in downloading the library with the command: CODE devel-su pkcon download ./Downloads libaudioresource then: CODE devel-su pkcon install-local libaudioresource-1.0.5-1.2.15.jolla.armv7hl.rpm Dosbox is now available in the Apps pulley. And clicking on it launches a splash screen with a button marked 'Start Dosbox' and a white box saying: 'Welcome to Gemini Dosbox. This version of Dosbox has been customised for the Gemini PDA. In future releases, the rotation, key mapping and configuration will be editable from here. For now, if you want to customise Dosbox, the configuration files live in /home/nemo/.dosbox. It's probably obvious what I should do now. But unfortunately not to me ... double or treble tapping the button appears not to do anything. And Alt-enter appears not to do anything. I've put an .exe of Wd5.5 into the /home/nemo/dos directory. How do I run it? Thanks for any help you can offer. Ian |
|
|
![]()
Post
#44
|
|
Group: Members Posts: 32 Joined: 22-June 18 Member No.: 824,860 ![]() |
Running dosbox from the command line instead of tapping on the icon in the apps pulley gives a long set of errors:
(I'll have to type these in as it doesn't appear to be possible to copy-paste from the SailFish fingerterm app so apologies if there are any typos) CODE DOSBox version SVN Copyright notice --- CONFIG: Loading primary settings from config file .... WARN: Assertion failure at SDL_SetWindowIconREAL (/home/abuild/rpmbuild/BUILD/SDL2-2.0.9+git3/SDL2/src/video/SDL_video.c:1772), triggered 1 time: 'window && window->magic == &_this->window_magic' Abort/Break/Retry/Ignore/AlwaysIgnore? [abriA] : i library "libwlparser.so" not found SDL: Current window pixel format: SDL_PIXELFORMAT_RGB888 MIXER: Got different values from SDL: freq 22050, blocksize 512 pause audio off ALSA:Can't subscribe to MIDI port (65:0) nor (17:0) MIDI: Opened device:ozz Can't find matching event for .... there were loads of lines in this vein, ending with ... MAPPER: Loading mapper settings from /home/nemo/.dosbox/mapper-SVN.map dosbox: gralloc.c:132: hybris_gralloc_initialize: Assertion 'NULL' failed. Aborted (core dumped) Any ideas on what is wrong/how to fix gratefully received. Ian |
|
|
![]()
Post
#45
|
|
Group: Members Posts: 24 Joined: 28-September 18 Member No.: 832,753 ![]() |
... Assertion failure at SDL_SetWindowIconREAL (/home/abuild/rpmbuild/BUILD/SDL2-2.0.9+git3/SDL2/src/video/SDL_video.c:1772), triggered 1 time: 'window && window->magic == &_this->window_magic' ... Yup, I have the same issue with SFOS 3.2.0.12 and the dosbox. Looks like something in SDL lib changed. @vader, where can I find your source code, may be a compile on my Gemini with 3.2.0.12 can fix it. |
|
|
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 14th December 2019 - 03:22 PM |