Go Back   Forums > Abandonia.com > Troubleshooting
Memberlist Forum Rules Search Today's Posts Mark Forums Read
Search Forums:
Click here to use Advanced Search

Reply
 
Thread Tools Display Modes
Old 22-01-2011, 05:27 AM   #1
CorruptMylar
Abandonia nerd

 
Join Date: Nov 2006
Location: Boise, United States
Posts: 67
Default dosbox .74 shortcuts - what am I doing wrong

I can't seem to make game shortcuts any more in Dosbox .74 I'm using it on win 7 x64.

The default .conf seems to be hidden now. To get to it you have to go to Start > Dosbox > Options > dosbox options. But I copied the text out of the file anyway and tried to set up my game conf.

# This is the configurationfile for Magic Candle 2
[sdl]

fullscreen=true

[dosbox]
captures=d:\dosconf\mc2

[cpu]
core=auto
cputype=auto
cycles=auto
cycleup=10
cycledown=20

[autoexec]
cd mc2
mc2
exit

I have the mount c d:\dosgames\ and change to c: in the default options already.
Then I created a short cut with the following lines:

Target: "C:\Program Files (x86)\DOSBox-0.74\DOSBox.exe" -conf "D:\DOSConf\mc2\mc2.conf"

What am I doing wrong?
CorruptMylar is offline                         Send a private message to CorruptMylar
Reply With Quote
Old 22-01-2011, 08:21 AM   #2
zirkoni
Game Wizzzzzzard
 
zirkoni's Avatar

 
Join Date: Oct 2007
Location: Tampere, Finland
Posts: 508
Default

Add "mount c d:\dosgames" in mc2.conf under the autoexec.
__________________
www.youtube.com/@zirkoni42
zirkoni is offline                         Send a private message to zirkoni
Reply With Quote
Old 22-01-2011, 08:29 AM   #3
Ohne Mitleid
Brazen Pangolin
 
Ohne Mitleid's Avatar


 
Join Date: Dec 2010
Location: ,
Posts: 202
Default

Quote:
Originally Posted by CorruptMylar View Post
I can't seem to make game shortcuts any more in Dosbox .74 I'm using it on win 7 x64.

The default .conf seems to be hidden now. To get to it you have to go to Start > Dosbox > Options > dosbox options. But I copied the text out of the file anyway and tried to set up my game conf.
The conf file for Win 7 x64 is now located at:

{system drive}:\Users\{username}\AppData\Local\DOSBox\dosbox-{version}.conf

The 'AppData' folder is hidden, so if you don't have show hidden files set up, you wouldn't see it.

Quote:
Originally Posted by CorruptMylar View Post
[autoexec]
cd mc2
mc2
exit

I have the mount c d:\dosgames\ and change to c: in the default options already.
Then I created a short cut with the following lines:

Target: "C:\Program Files (x86)\DOSBox-0.74\DOSBox.exe" -conf "D:\DOSConf\mc2\mc2.conf"

What am I doing wrong?
I don't know about setting the default options, but the DOSBox default config file shows:

[autoexec]
# Lines in this section will be run at startup.
# You can put your MOUNT lines here.


So it would seem that might be a place to try to put your mount lines. Did you verify the program would start without the shortcut first? I've had trouble with shortcuts before and it was usually something with my config file, not the shortcut. In order to solve this, I usually take the "long way"; run DOSBox without any autoexec lines, type in the mount, change to c:...do everything manually to verify it works.

Also, the Target setup looks okay.
Is the Start in: field for the shortcut set to:
"C:\Program Files (x86)\DOSBox-0.74"

Just some thoughts. I am not an expert by any means.
Ohne
Ohne Mitleid is offline                         Send a private message to Ohne Mitleid
Reply With Quote
Old 22-01-2011, 02:46 PM   #4
The Fifth Horseman
FUTURE SCIENCE BASTARD
 
The Fifth Horseman's Avatar


 
Join Date: Oct 2004
Location: Opole, Poland
Posts: 14,276
Default

By using only that single config file, you are forcing DOSBox to fall back to its' backup config, which doesn't include your mount command.
Target: "C:\Program Files (x86)\DOSBox-0.74\DOSBox.exe" -conf <0.74 config file> -conf "D:\DOSConf\mc2\mc2.conf"
Will work.
__________________

"God. Can't you people see I'm trying to commit a crime against science and nature here?"
-- Reed Richards
The Fifth Horseman is offline                         Send a private message to The Fifth Horseman
Reply With Quote
Old 22-01-2011, 05:56 PM   #5
CorruptMylar
Abandonia nerd

 
Join Date: Nov 2006
Location: Boise, United States
Posts: 67
Default

Oh jeez, I'm an idiot. I finally got it. Thanks everyone.

Of course it's in Appdata. I thought I had indexed everything and when the default config didn't show up when I searched for it I thought it was somehow hidden in the program.

And I didn't put the default .conf and then the mc2 conf to use the game settings in the shortcut.

"C:\Program Files (x86)\DOSBox-0.74\DOSBox.exe" -conf "C:\Users\\AppData\Local\DOSBox\dosbox-0.74.conf" -conf "D:\DOSConf\mc2\mc2.conf"
CorruptMylar is offline                         Send a private message to CorruptMylar
Reply With Quote
Old 22-01-2011, 09:36 PM   #6
Japo
Autonomous human
 
Japo's Avatar


 
Join Date: Mar 2006
Location: ,
Posts: 4,613
Default

In the newer versions, you can substitute
Code:
-conf "C:\Users\\AppData\Local\DOSBox\dosbox-0.74.conf"
for
Code:
-userconf
and be sure that it will be the same configuration file that you can edit from the start menu, and you won't have to update the shortcuts every time you update DOSBox to change "dosbox-0.74.conf" to "dosbox-0.75.conf", etc.
__________________
Life starts every day anew. Prospects not so good...
Japo is offline                         Send a private message to Japo
Reply With Quote
Old 23-01-2011, 11:11 PM   #7
CorruptMylar
Abandonia nerd

 
Join Date: Nov 2006
Location: Boise, United States
Posts: 67
Default

I wondered about that -userconf. I saw it in the default shortcut. Thanks for the tip!
CorruptMylar is offline                         Send a private message to CorruptMylar
Reply With Quote
Old 24-01-2011, 01:21 AM   #8
Japo
Autonomous human
 
Japo's Avatar


 
Join Date: Mar 2006
Location: ,
Posts: 4,613
Default

NP. A little margin note:

Quote:
Originally Posted by Japo View Post
We can mount always the same virtual hard drive by default--where all our games will be accessible in individual folders--in our default file, and leave the rest of the commands for the configuration files particular to each game or profile; that way if we start DOSBox with the default configuration only, we still don't have to type in the mount command every time. Be warned however, that if we include the mount command for a C: drive in the default configuration, we won't be able to start games by dragging them onto the DOSBox shortcut, as the basic tutorial describes. (Because this auto-mounts the concerned folder as the C: virtual drive, but if that letter is already taken, an error happens. So we can include the mount command in every custom file to leave it outside the default one--specially if it's not the case that we have all our DOS games hanging from the same parent folder--or include there a mount command for a drive with a different letter than C:--although this may cause problems with some games). It's a matter of personal preference; I'll describe the first approach, but by now you'll know how to adapt it. An ideal solution, if you want to continue being able to drag'n drop, may be copying the default configuration file to your custom files folder along with the others, and replace in the shortcut parameters "-userconf" with "-conf dosbox.conf" (if this custom default file is named "dosbox.conf"). That way you can edit your custom dosbox.conf, and leave the other file unchanged as out of the box; so drag'n dropping can still work alongside your shortcuts.
__________________
Life starts every day anew. Prospects not so good...

Last edited by Japo; 24-01-2011 at 01:27 AM.
Japo is offline                         Send a private message to Japo
Reply With Quote
Old 07-07-2011, 07:07 AM   #9
someone new
Guest
Default hmm

hey there,

-I use win7 64bit edition-

DOSBOx 074 gets .conf information from user folder in appdata folder. Is it possible to
a) change that folder or
b) delete these behaviour so, that dosbox dont grab standard .conf file?

extra-information:

i tried -userconf but doesnt work
i use a .batch file to get .conf of my own but it doesnt work if the conf isnt in standard dosbox folder from dosbox 074. With svn build no prob Wink


                       
Reply With Quote
Old 07-07-2011, 08:33 AM   #10
zirkoni
Game Wizzzzzzard
 
zirkoni's Avatar

 
Join Date: Oct 2007
Location: Tampere, Finland
Posts: 508
Default

Quote:
Originally Posted by someone new View Post
i tried -userconf but doesnt work
Because the -userconf parameter loads the default configuration file. You should use the -conf parameter instead.

Quote:
Originally Posted by DOSBox Manual
DOSBox will load configuration files that are specified with -conf. If none were
specified, it will try to load "dosbox.conf" from the local directory.
If there is none, DOSBox will load the user configuration file.
This file will be created if it doesn't exist.

Important!: In Windows Vista/7 the configuration file won't work correctly
if it is located in "Windows" or "Program Files" folder or their subfolders,
or directly on c:\, so the best place for storing extra configuration files is
for example: C:\oldgames
You can edit the shortcut in the Windows start menu or make a new shortcut. Works with a batch file also.
Change this:
"C:\Program Files (x86)\DOSBox-0.74\DOSBox.exe" -userconf
to this:
"C:\Program Files (x86)\DOSBox-0.74\DOSBox.exe" -conf "x:\path\DOSBox-0.74.conf"

Where "x:\path\" is the path to the conf file you want to use.
zirkoni is offline                         Send a private message to zirkoni
Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wrong Thread Mighty Midget Trash Can 0 31-10-2010 11:34 PM
Wrong colors in dosbox movies Elena Troubleshooting 7 27-08-2008 12:40 PM
what's wrong with my photoshop? _r.u.s.s. Tech Corner 0 23-03-2008 05:33 PM
Photoshop Doesn't Recognize Shortcuts... swiss Tech Corner 7 07-01-2006 09:18 AM
What's Wrong With Shoutbox? FreeFreddy Tech Corner 5 26-11-2004 05:14 PM

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump
 


The current time is 08:30 PM (GMT)

 
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.