hey is it possible with dosbox to make a folder in the X:/DOSBoxPortable\App\DOSBox
called Games and when ever u put a game folder in it once the dosboxportable.exe runs it automatically runs that game. and everytime u want to swich the games all u got to do is change a simple config file or somethiung with the new folders directory and exe. so u dont have to mount and drag n drop.
For Example:
this is how the file directory would look like:
X:/DOSBoxPortable\App\DOSBox\Games\Warcraft\war.exe
But then u want to change to a different game. so all u do is do this:
X:/DOSBoxPortable\App\DOSBox\Games\Castle\castles.exe
And the file that could be changed could look like this(i dont know if this would actually work its what came to me. also if it was to work would need alot more coding):
===================================================================================
[autorun]
"X:/DosBoxPortable\DOSBoxPortable.exe" "x:/DOSBoxPortable\App\DOSBox\Games\Warcraft\WAR.EXE" -conf "X:/DOSBoxPortable\Data\settings" -exit -fullscreen
===================================================================================
Let me know if u can do this and if u need more info.
I know its not what your asking but did you try D-Fend Reloaded? It makes what your trying to do very easy. Also I had a look and there is a template/wizard installer for Warcraft. Then it becomes as easy as starting D-Fend then double clicking on the app name or icon. See here for an example. This screenshot is in list mode though I prefer icons like the desktop. Try it out.
PortableApps.com Advocate
i checked it out i really didnt like the feel of it i always liked dosbox lol. but if i had to use it i probally would.
EDIT:would it be easier to just add another fuinction to the .nsi file that makes the .exe that activates dosbox but opens the games .exe file after so the game starts automatically? If so can someone creat the script needed for me: heres a example script i made for something for my self to test:
==================================================================================
;Copyright (C) 2004-2009 John T. Haller
;Website: http://PortableApps.com/WarcraftPortable
;This software is OSI Certified Open Source Software.
;OSI Certified is a certification mark of the Open Source Initiative.
;This program is free software; you can redistribute it and/or
;modify it under the terms of the GNU General Public License
;as published by the Free Software Foundation; either version 2
;of the License, or (at your option) any later version.
;This program is distributed in the hope that it will be useful,
;but WITHOUT ANY WARRANTY; without even the implied warranty of
;MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;GNU General Public License for more details.
;You should have received a copy of the GNU General Public License
;along with this program; if not, write to the Free Software
;Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
!define NAME "WarcraftPortable"
!define FRIENDLYNAME "Warcraft Portable"
!define APP "Warcraft"
!define VER "1.2.0.1"
!define WEBSITE "PortableApps.com/WarcraftPortable"
;=== Program Details
Name "${NAME}"
OutFile "..\..\${NAME}.exe"
Caption "${FRIENDLYNAME} | PortableApps.com"
VIProductVersion "${VER}"
VIAddVersionKey ProductName "${FRIENDLYNAME}"
VIAddVersionKey Comments "Allows ${APP} to be run from a removable drive. For additional details, visit ${WEBSITE}"
VIAddVersionKey CompanyName "PortableApps.com"
VIAddVersionKey LegalCopyright "John T. Haller"
VIAddVersionKey FileDescription "${FRIENDLYNAME}"
VIAddVersionKey FileVersion "${VER}"
VIAddVersionKey ProductVersion "${VER}"
VIAddVersionKey InternalName "${FRIENDLYNAME}"
VIAddVersionKey LegalTrademarks "PortableApps.com is a Trademark of Rare Ideas, LLC."
VIAddVersionKey OriginalFilename "${NAME}.exe"
;VIAddVersionKey PrivateBuild ""
;VIAddVersionKey SpecialBuild ""
;=== Runtime Switches
CRCCheck On
WindowIcon Off
SilentInstall Silent
AutoCloseWindow True
RequestExecutionLevel user
XPStyle On
;=== Include
;(Standard NSIS)
!include TextFunc.nsh
!insertmacro GetParameters
;(Custom)
!include ReadINIStrWithDefault.nsh
;=== Program Icon
Icon "..\..\App\AppInfo\appicon.ico"
Var DISABLESPLASHSCREEN
Var AdditionalParameters
Var ExecString
Section "Main"
${ReadINIStrWithDefault} $DISABLESPLASHSCREEN "$EXEDIR\${NAME}.ini" "${NAME}" "DisableSplashScreen" "false"
${ReadINIStrWithDefault} $AdditionalParameters "$EXEDIR\${NAME}.ini" "${NAME}" "AdditionalParameters" ""
FindProcDLL::FindProc "DOSBox.exe" ;if running, exit
StrCmp $R0 "1" TheEnd
StrCmp $DISABLESPLASHSCREEN "true" SkipSplash
;=== Show the splash screen before processing the files
InitPluginsDir
File /oname=$PLUGINSDIR\splash.jpg "${NAME}.jpg"
newadvsplash::show /NOUNLOAD 1000 200 0 -1 /L $PLUGINSDIR\splash.jpg
SkipSplash:
IfFileExists '$EXEDIR\Data\settings\DOSBox.conf' GetPassedParameters
CreateDirectory '$EXEDIR\Data\settings'
CopyFiles /SILENT '$EXEDIR\App\DefaultData\settings\DOSBox.conf' '$EXEDIR\Data\settings'
GetPassedParameters:
;=== Get any passed parameters
${GetParameters} $0
StrCmp "'$0'" "''" "" LaunchProgramParameters
;=== No parameters
StrCpy $ExecString `"$EXEDIR\App\DOSBox\DOSBox.exe" -conf "$EXEDIR\Data\settings\DOSBox.conf"`
Goto AdditionalParameters
LaunchProgramParameters:
StrCpy $ExecString `"$EXEDIR\App\DOSBox\DOSBox.exe" -conf "$EXEDIR\Data\settings\DOSBox.conf" $0`
AdditionalParameters:
StrCmp $AdditionalParameters "" LaunchNow
;=== Additional Parameters
StrCpy $ExecString `$ExecString $AdditionalParameters`
LaunchNow:
SetOutPath "$EXEDIR\App\DOSBox"
Exec $ExecString
TheEnd:
newadvsplash::stop /WAIT
SectionEnd
==================================================================================
what could i add onto it to make happen what oi need to happen
Dalton M. Kadar
(Don't Mind Me I'm A Noob)