[ Solved ] DOSBox - (little) problem

Prince of Persia related subjects that do not have their own boards.
Locked
Dark77
Wise Scribe
Wise Scribe
Posts: 296
Joined: October 26th, 2010, 7:10 pm
Location: Poland

[ Solved ] DOSBox - (little) problem

Post by Dark77 »

I'm not that good in dosbox and i have a problem. I can run games by dosbox, but i don't know how can i...hm... save them. I would like to open the game in DOSBox by opening a single EXE file, without writing all these commands like "cd prince", but I don't know how to do it. Help?

(I hope you understand me)
User avatar
mk1995
The Prince of Persia
The Prince of Persia
Posts: 1160
Joined: February 27th, 2009, 10:09 pm
Location: Germany

Re: DOSBox - (little) problem

Post by mk1995 »

I just discovered there's really no need to cd yourself all the way to the folder where the prince.exe is contained. There are two things you can do:

1) Mount yourself all the way into the prince folder (e.g. mount c c:\games\prince\)
2) Mount yourself into the folder where you store your DOS games and then simply type: prince\prince.exe (Just tested - doesn't work!)
Image
Just to make something clear: I will not reply to daft PMs like "Where can I find X?" or "Can you give me a link to Y?". Most of your questions are likely answerable if only you took your bloody time to look through these forums and use Google if all else fails. Sheesh...
Dark77
Wise Scribe
Wise Scribe
Posts: 296
Joined: October 26th, 2010, 7:10 pm
Location: Poland

Re: DOSBox - (little) problem

Post by Dark77 »

I mean I wanna have .exe file which open the PoP into dosbox when I click it.
User avatar
mk1995
The Prince of Persia
The Prince of Persia
Posts: 1160
Joined: February 27th, 2009, 10:09 pm
Location: Germany

Re: DOSBox - (little) problem

Post by mk1995 »

I think I got it. I wasn't quite able to confirm it, but here goes:

Open up Notepad and write down the directory the PRINCE.EXE is in, including the PRINCE.EXE. That might look like this:

Code: Select all

C:\GAMES\PRINCE\PRINCE.EXE\
Now, hit Space Bar and enter the directory of DOSBox.

Code: Select all

C:\PROGRAM FILES\DOSBOX-0.74\DOSBOX\
Save this as a batch file. I really hope this is it...
Image
Just to make something clear: I will not reply to daft PMs like "Where can I find X?" or "Can you give me a link to Y?". Most of your questions are likely answerable if only you took your bloody time to look through these forums and use Google if all else fails. Sheesh...
Dark77
Wise Scribe
Wise Scribe
Posts: 296
Joined: October 26th, 2010, 7:10 pm
Location: Poland

Re: DOSBox - (little) problem

Post by Dark77 »

Hm, do you mean I must write down directories of PoP and DOSBox in the notepad? How can I save it as batch file?
User avatar
mk1995
The Prince of Persia
The Prince of Persia
Posts: 1160
Joined: February 27th, 2009, 10:09 pm
Location: Germany

Re: DOSBox - (little) problem

Post by mk1995 »

"Save as...", and then simply write .bat at the end of the file name (make sure it doesn't become nonsense like *.bat.txt)
Image
Just to make something clear: I will not reply to daft PMs like "Where can I find X?" or "Can you give me a link to Y?". Most of your questions are likely answerable if only you took your bloody time to look through these forums and use Google if all else fails. Sheesh...
Dark77
Wise Scribe
Wise Scribe
Posts: 296
Joined: October 26th, 2010, 7:10 pm
Location: Poland

Re: DOSBox - (little) problem

Post by Dark77 »

Oh, sure. Hm, the file has been saved as batch file, but when I click it, console appears and disappears almost immediately. Really thanks for care!
Shattered
Sheikh
Sheikh
Posts: 41
Joined: January 23rd, 2010, 3:19 pm

Re: DOSBox - (little) problem

Post by Shattered »

As an alternative to creating a batch file, you could use a GUI for DOSBox called D-Fend Reloaded:

http://dfendreloaded.sourceforge.net/

DOSBox is integrated in the setup file.

It allows you to create profiles for the games you want to play. After that, you only have to click on the profile to start the game.
User avatar
mk1995
The Prince of Persia
The Prince of Persia
Posts: 1160
Joined: February 27th, 2009, 10:09 pm
Location: Germany

Re: DOSBox - (little) problem

Post by mk1995 »

Whew... I'm saved. I feel like a total dick, too. I mean, almost all of the things I suggested didn't work and I was too lazy to test them properly. And then they didn't help Dark either. By the way, Dark, that "Thanks for care" sounded pretty sarcastic. I really hope you meant that sincerely...
Image
Just to make something clear: I will not reply to daft PMs like "Where can I find X?" or "Can you give me a link to Y?". Most of your questions are likely answerable if only you took your bloody time to look through these forums and use Google if all else fails. Sheesh...
Dark77
Wise Scribe
Wise Scribe
Posts: 296
Joined: October 26th, 2010, 7:10 pm
Location: Poland

Re: DOSBox - (little) problem

Post by Dark77 »

It was sincere, cuz I'm really grateful for the help. But I guess I give up DOSBox. After all, "traditional game", like in the original PoP (standard sounds, etc.) isn't bad.

But if someone knew the solution to this problem, of course glad to hear it:)
Andrew
Wise Scribe
Wise Scribe
Posts: 313
Joined: July 16th, 2009, 4:39 pm

Re: DOSBox - (little) problem

Post by Andrew »

What Shattered said will pretty much solve your problem. There are several frontends you can use with DOSBox if you're not comfortable with the DOS command-line. You can add custom profiles for each game (with different DOSBox settings) and so on using a GUI. Quite easy!

As for what mk was trying to suggest (creating a batch file or shortcut), he was almost there, but not quite. In DOS, you provide the name of the EXE first, and then the name of the file to be opened/loaded/launched as an argument to it later, instead of the other way around. I was gonna explain it in detail, but I simply Googled and came up with this (something you could have easily done as well): http://www.dosbox.com/wiki/DOSBoxShortcuts
Dark77
Wise Scribe
Wise Scribe
Posts: 296
Joined: October 26th, 2010, 7:10 pm
Location: Poland

Re: DOSBox - (little) problem

Post by Dark77 »

Hm, it works! Really thanks Andrew! Thanks for mk and Shattered too, for try to help me. I'm grateful!
User avatar
mk1995
The Prince of Persia
The Prince of Persia
Posts: 1160
Joined: February 27th, 2009, 10:09 pm
Location: Germany

Re: DOSBox - (little) problem

Post by mk1995 »

Oh, thanks for correcting me, Andrew.

Topic solved -> locked.
Image
Just to make something clear: I will not reply to daft PMs like "Where can I find X?" or "Can you give me a link to Y?". Most of your questions are likely answerable if only you took your bloody time to look through these forums and use Google if all else fails. Sheesh...
Locked