# DOSBox Portable 0.71 Pre-Release 1 (Testers Needed)

32 posts / 0 new
John T. Haller
Online
Last seen: 22 min 47 sec ago
Joined: 2005-11-28 22:21
DOSBox Portable 0.71 Pre-Release 1 (Testers Needed)

Final version released, topic closed
https://portableapps.com/news/2007-08-23_-_dosbox_portable_0.72

By request, here's a portable package of DOSBox... an x86 DOS emulator that's great for being able to play old DOS games that don't work on newer versions of Windows. In this package, DOSBox has been compressed to less than half its usual size (under 1.5MB) and configured to keep its settings in the Data directory (for handy backups with PortableApps.com Backup) and packaged in a PortableApps.com Installer for easy use with the Suite.

DOSBox Portable 0.71 Pre-Release 1

Please post any feedback and suggestions.

Thanks,
John

HELPFUL TIP: You can have DOSBox automatically mount a path on your portable device by editing your dosbox.conf file in the DOSBoxPortable\Data\settings directory and adding the following line (replacing PathOnMyDevice with the path you'd like to mount as your C drive: mount C: \PathOnMyDevice

Patrick Patience
Offline
Last seen: 3 years 1 month ago
Joined: 2007-02-20 19:26
Haha.

Okay, that was like WAY TOO QUICK.

Wow, you're good.

_______________________________________________
It's kinda scary when my desktop is messier than my room...

The MAZZTer
Offline
Last seen: 3 weeks 5 days ago
Joined: 2006-11-17 15:31
Crashes

Crashes immediately when run after the console window pops up.

Signature automatically removed for being too awesome.

John T. Haller
Online
Last seen: 22 min 47 sec ago
Joined: 2005-11-28 22:21
OS

As always with a bug report... what operating system, any settings changes, etc etc etc

Sometimes, the impossible can become possible, if you're awesome!

The MAZZTer
Offline
Last seen: 3 weeks 5 days ago
Joined: 2006-11-17 15:31
Right

It's important to note that normal DOSBox 0.71 runs fine on my system. It's just when it's run portably it crashes, which likely means the Portable launcher is at fault. I made no changes to DOSBox Portable before running it.

Here I'll just copy and paste from my mIRC script here:

CPU: AMD Athlon XP 2200+ (Thoroughbred) , 1.80 GHz, 256KB
Video: NVIDIA GeForce 6800 GS/XT (1280x1024x32bpp 60Hz)
Sound: NVIDIA nForce Audio
Memory: 1535MB
Connection: NVIDIA nForce Networking Controller @ 100.0 Mbps

The Status Window reads this when crashed:

SBoxPortable\Data\settings\DOSBox.conf
MIDI:Opened device:win32
Using joystick Microsoft PC-joystick driver with 4 axes, 12 buttons and 1 hat(s)

The main window is opened when DOSBox crashes but it is blank (no command prompt or help text).

I cannot give information about the error that occurred, because some idiot at MS decided no one would need that information anymore in newer Windows.

Signature automatically removed for being too awesome.

John T. Haller
Online
Last seen: 22 min 47 sec ago
Joined: 2005-11-28 22:21
Try a couple things

First, try and copy your local .conf file to your DOSBoxPortable\Data\settings directory after you've run it once.

If that works, it's an issue with the default configuration (which is the one that ships with DOSBox 0.71).

If that fails...

Second, try copying your local installation of DOSBoxPortable's binary files into the DOSBoxPortable\App\DOSBox directory.

If that works, then the UPX compression is creating an issue on your system... maybe conflicting with another app or driver. If that's the case, I'll try an alternate compression algorithm.

If that fails, then I'm at a loss as it would, at that point, be working EXACTLY like the local version. The launcher itself doesn't do much besides ensure the default settings are there and then launch it with a commandline option to point it to the right settings file.

Sometimes, the impossible can become possible, if you're awesome!

The MAZZTer
Offline
Last seen: 3 weeks 5 days ago
Joined: 2006-11-17 15:31
Heh

We posted at the same time. I'll try and figure out what's in the .conf that's causing my problem.

Signature automatically removed for being too awesome.

The MAZZTer
Offline
Last seen: 3 weeks 5 days ago
Joined: 2006-11-17 15:31
dosbox.conf

It is something with the default .conf file. DOSBox does not crash when I replaced your .conf with my working one from my other install.

[Edit: It's something in the joystick settings.]

[Edit: It crashes whenever the joystick is not set to none. Running regular DOSBox without the portable launcher works, but with the portable launcher it crashes.

Did you test DOSBox Portable with a joystick plugged in? If not, I recommend you try it.]

Signature automatically removed for being too awesome.

John T. Haller
Online
Last seen: 22 min 47 sec ago
Joined: 2005-11-28 22:21
Default

Hmm, that is the default. Did you try it with the uncompressed binaries from your local install?

Sometimes, the impossible can become possible, if you're awesome!

The MAZZTer
Offline
Last seen: 3 weeks 5 days ago
Joined: 2006-11-17 15:31
Got it!

DOSBox crashes on the follow conditions:

1) A joystick is plugged in (and usable by the system, IE shown in Game Controllers Control Panel).
2) Joystick is enabled in dosbox.conf.
3) DOSBox cannot find mapper.txt (you left it out, oops!).

Plopping mapper.txt from my local install into data\settings fixed it nicely. Or it could go in App\DOSBox. It's not something you would normally edit.

Since it's a DOSBox bug I'll file it with the appropriate people (it should at least spit out a bug and quit).

Signature automatically removed for being too awesome.

John T. Haller
Online
Last seen: 22 min 47 sec ago
Joined: 2005-11-28 22:21
mapper?

mapper.txt is not in a default install of 0.71. I just reinstalled and checked. And I can't recreate a crash by following 1, 2, 3. At least it doesn't crash with the default dosbox.conf that's included (joystick type set to auto, which is the default). Could be related to this issue. Mapper is for remapping keys. That could be why it works when you add mapper.txt in. Your joystick may just have issues with this version of SDL.

Sometimes, the impossible can become possible, if you're awesome!

The MAZZTer
Offline
Last seen: 3 weeks 5 days ago
Joined: 2006-11-17 15:31
Huh

Well either mapper.txt was included in some previous version or DOSBox generated one for me at some point... I don't let random files sneak around my hard drive.

I suppose it could be an SDL issue, especially if SDL is what uses mapper.txt. That link doesn't really shed any light on it...

I tried the latest stable SDL (built 7/20/07) and it didn't fix it (note that the post is from two months ago, before this latest stable SDL was released, so the build offered there is older).

Signature automatically removed for being too awesome.

John T. Haller
Online
Last seen: 22 min 47 sec ago
Joined: 2005-11-28 22:21
Try a couple things

1. Try the patched SDL.dll
2. Try reinstalling a fresh local copy and see if it works (backup first since it may not)
3. Try copying your regular binaries (non UPXed) into DOSBox Portable and see if you can reproduce

Sometimes, the impossible can become possible, if you're awesome!

The MAZZTer
Offline
Last seen: 3 weeks 5 days ago
Joined: 2006-11-17 15:31
I did

1. The Wiki (wrongly) says it's patched, but the actual thread says it's an SVN build from 5/16. The version I'm using is a stable, NEWER build from 7/20. I doubt my issue is related.
2. I did this as part of my diagnostics. It still crashes without mapper.txt.
3. I did this too. Compression did not factor into whether it crashed or not.

At any rate, I think this issue is closed, unless someone else with a joystick would check to see if their DOSBox crashes when it's enabled with no mapper.txt. If not, then I would be happy to assume it's a specific program to specific driver problem, since I've had no other problems with this driver/joystick ever.... and besides I have a workaround. Not that I use the joystick much anyways.

Signature automatically removed for being too awesome.

bsiart
Offline
Last seen: 12 years 9 months ago
Joined: 2007-07-12 09:59
cool

this looks interesting & seems to run fine on my XP machine.
BUT! I don't have any old DOS programs or games to mess around with and stuff...
Anywhere (sites) I can find something?
I know I could probably just google this and find stuff - but I figured folks here might have some good suggestions.

----------------------------------------
There but for the grace of logic go I...

----------------------------------------
There but for the grace of logic go I...

pkeffect
Offline
Last seen: 6 years 11 months ago
Joined: 2006-08-17 09:26
Search

Google for abandonware dos games maybe...

Btw, this release runs fine on my machine. Even got down on some Wolfenstein!

Thanks John.

----------------------
PortableApps.Com Chat Room

"We exist in a multidimensional polymorphic hyerspacial internode of neurotranslinguistic manifestations subjugated by hyperbolic quantum entanglement."

The MAZZTer
Offline
Last seen: 3 weeks 5 days ago
Joined: 2006-11-17 15:31
Some of my favorites

http://www.3drealms.com/games.html

Check under "Older Games". Many have downloadable demos. Below those are freeware ones.

Signature automatically removed for being too awesome.

millarrp
Offline
Last seen: 9 years 3 months ago
Joined: 2007-03-02 13:43
seems to work good

I've just tried it and it works good.

Keep up the excellent work

pkeffect
Offline
Last seen: 6 years 11 months ago
Joined: 2006-08-17 09:26
A GUI Frontend

Don't know how many people would be interested in this but here is a link to the best GUI frontend for DOSBox.

D.O.G.

I do not believe it is opensource "it is freeware" and I am not sure of the settings it may or may not write. It is pretty much looking and operating like the MAME32 release.

I'll do some more testing with it to see about its configurations. (Does say its FLASHDRIVE capable).

----------------------
PortableApps.Com Chat Room

"We exist in a multidimensional polymorphic hyerspacial internode of neurotranslinguistic manifestations subjugated by hyperbolic quantum entanglement."

The MAZZTer
Offline
Last seen: 3 weeks 5 days ago
Joined: 2006-11-17 15:31
Another Slight Problem

The launcher does not pass on parameters to dosbox.exe. This means I can't use it to launch programs. (IE I pass "\Path\to\Program.exe" -exit -noconsole and the console still pops up.)

Also it doesn't seem to correctly set the current directory when I launch it from PStart (DOSBox can't find mapper.txt and I get the whole crashing thing).

Signature automatically removed for being too awesome.

Patrick Patience
Offline
Last seen: 3 years 1 month ago
Joined: 2007-02-20 19:26
But that's PStart.

Have you tried it from the PortableApps Menu? Or did I miss this somewhere in this thread, just curious.

_______________________________________________
It's kinda scary when my desktop is messier than my room...

pkeffect
Offline
Last seen: 6 years 11 months ago
Joined: 2006-08-17 09:26
PStart

I only use PStart and it runs fine for me. Then again I don't have a joystick of any sort....

----------------------
PortableApps.Com Chat Room

"We exist in a multidimensional polymorphic hyerspacial internode of neurotranslinguistic manifestations subjugated by hyperbolic quantum entanglement."

bsiart
Offline
Last seen: 12 years 9 months ago
Joined: 2007-07-12 09:59
I don't have a joystick of any sort....

Ouch!

----------------------------------------
There but for the grace of logic go I...

----------------------------------------
There but for the grace of logic go I...

TaffinFoxcroft
Offline
Last seen: 9 years 1 month ago
Joined: 2006-12-14 17:24
ARRRRGGGG John you beat me

ARRRRGGGG John you beat me to it!

But there’s no sense crying over every mistake,
You just keep on trying till you run out of cake.

Ph4n70m
Offline
Last seen: 8 months 3 days ago
Joined: 2007-01-12 19:22
How I do to DOSBox mount

How I do to DOSBox mount automatically C: %mypen%\DOS???

I tried to put this on the end of config file:

set drvl=%~d0
mount C: %drvl%

but it doesnt works hehehe...

I have no ideia :S
I'll be happy if anyone can help me with this

[Obs.: %~d0 gets the current drive letter...]

millarrp
Offline
Last seen: 9 years 3 months ago
Joined: 2007-03-02 13:43
I was looking at their

I was looking at their website, and it should be added to the autoexec section of the config file. here's the website with an example mount code:

http://dosbox.sourceforge.net/wiki/index.php?page=dosbox.conf%2Fautoexec

that is assuming that the autoexec section isn't at the end of the config file.

also, make sure you're putting the entire path into the mount request(i.e. mount c: d:\abc123)

Ph4n70m
Offline
Last seen: 8 months 3 days ago
Joined: 2007-01-12 19:22
Yeah... but if I want to

Yeah...
but if I want to mount a variable drive?

John T. Haller
Online
Last seen: 22 min 47 sec ago
Joined: 2005-11-28 22:21
No Drive Letter Path

Just use a path with no drive letter:

mount C: \dos

Sometimes, the impossible can become possible, if you're awesome!

Ph4n70m
Offline
Last seen: 8 months 3 days ago
Joined: 2007-01-12 19:22
Oh, very thanks =) I'll try

Oh, very thanks
I'll try this.

Patrick Patience
Offline
Last seen: 3 years 1 month ago
Joined: 2007-02-20 19:26
Updated.

I dunno if this app is gonna make an offical release, but I just wanted to let you know 0.72 was released. (just saw the newsfeed on SF)

______________________
Signature...What Signature?

BuddhaChu
Offline
Last seen: 6 years 3 months ago
Joined: 2006-11-18 10:26
The changelog for .72 shows

The changelog for .72 shows a joystck issue for Vista is fixed. Dunno if that fixes the issues in the posts above.

http://sourceforge.net/forum/forum.php?forum_id=729398

Cancer Survivors -- Remember the fight, celebrate the victory!
Help control the rugrat population -- have yourself spayed or neutered!

John T. Haller
Online
Last seen: 22 min 47 sec ago
Joined: 2005-11-28 22:21
I think it does

I'll update it today so folks can try it out.

Sometimes, the impossible can become possible, if you're awesome!