I saw DOSBox on the new playbook resources (https://github.com/blackberry/DosBox) and was wondering if anyone was working on setting up a basic DOSBox app?
I would love to play some of the old dos games (azure bonds, eye of the beholder, streetrod, etc.). I know controls could be an issue, but since I have a handheld bluetooth keyboard with touchpad I'd settle for being able to use that.
- CrackBerry Newbie
10-25-11, 12:06 PM #4
- 5 Posts
- 0 Post(s)
- 0 Thread(s)
I actually tried compiling the program from source and had trouble getting a working binary--it looks like there are still some errors in translation resulting in old code still existing in the playbook "port." Since it's open source, though, the code can be viewed and edit by anyone so long as they are willing to set up a git hub account.
I'll be trying to work out some fixes later (I've been spending a lot more time on wesnoth!), and I'll let you know as soon as I get the code up and running
- 10-26-11, 11:02 PM #7
Go for it! I tried but gave up due to lack of time.
There are dependencies required that aren't on the github.
The dependencies require absolutely no modification but I had trouble finding libxv (liblzma?) required.
If you can find that for me I can probably give you OpenTTD.bar
- 11-04-11, 01:12 AM #8
Hey Guys, I got dosbox running but I have an issue.
I can mount the PB file system at / or /accounts/1000 and from there I can cd to /accounts/1000/shared/ but thats as far as she will go, dosbox will not see any of the folders in shared.
I don't know if this could be a permissions problem or something entirely different. This is what I currently think.
The first one I loaded was using the debug token and I am able to access files in devuser.
So I signed the bar and now cannot access devuser or shared.
I haven't figured out how to sign the bar using the IDE, I am only able to use the debug token so I used the command line to sign it instead but I used the existing bar that originally had the debug token.
I did this because I haven't been successful packaging the app from the command line yet. I don't know where to set up LD_LIBRARY_PATH and I think that is the issue.
If anyone has any ideas please let me know.
- 11-04-11, 06:39 AM #9
In the blackberry-tablet.xml you need to give access_shared permission.
You can sign from the IDE. It's in the same place you pick debug token.
Last edited by xsacha; 11-04-11 at 06:42 AM.
- 11-04-11, 11:29 AM #10
That worked, Thanks xsacha.
I added access_shared and loaded using the debug token and I am able view the shared contents now. I copied some games over to the misc folder and I was able to start some(simcity, skateordie, warcraft2)
User input works using the PB keyboard but none of the touch inputs are working so I wonder if the TouchControlOverlay library is working properly or perhaps some errors I received when the BAR started on the PB have to do with it.
I/O warning : failed to load external entity "sdl-controls.xml"
Unable to parse control file sdl-controls.xml
Either way, dosbox runs and apps are running so that is good progress for day one.
...still not sure how to fully sign the bar using the IDE though, I am not seeing how to select this and use the debug token.
- 11-04-11, 09:49 PM #11
With the assistance of a very helpful rim employee on github I have successfully implemented the sdl-controls.xml and the touch controls are now working.
You can see i am running War Craft 2 and it is playable.
- 11-04-11, 11:39 PM #13
- 11-05-11, 06:40 PM #20
It would be nice if you could merge your changes with the github one too (maybe through an email request or JIRA).
Especially if you can get a README with links to source dependencies.
Would make it easier for us to fix up issues like the touch overlay
- 11-05-11, 08:46 PM #24
Also, not nearly the same thing - but this is a DOS clone for Android that I ported over. Might be useful for some strange context:
Last time I really looked at this free port - it looked like it was mostly written from scratch.
I was hoping to get time to look at FreeDOS
- 11-06-11, 08:59 AM #25
Now I am modifying it to add some keys such as escape, arrow keys, etc. Not without problems though, I wam able to map the keys but the program does not like my new png files I created. I just need to find some time to sit down with this, the weekends are always busy.
Once I have it working well I will see about adding my files.
Have you taken another look at openTDD?