Difference between revisions of "DOSBoxShortcuts"
From DOSBoxWiki
Jump to navigationJump to searchLine 14: | Line 14: | ||
* NB: the -conf command line option which is specified in the line above is, I believe, optional since it refers to the default config file. If you use a custom config file however, then you will need to retain this line, suitably ammended to refer to your custom .conf file. | * NB: the -conf command line option which is specified in the line above is, I believe, optional since it refers to the default config file. If you use a custom config file however, then you will need to retain this line, suitably ammended to refer to your custom .conf file. | ||
− | == Long Version == | + | <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">== Long Version == ''This is a more detailed explanation for people who are less familiar with windows.</span> Long Version == ==''to bardziej szczegółowe wyjaśnienie dla osób, które są mniej znane z systemu Windows.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">It follows the same procedure, but explains how to carry out each step in much more detail.</span> Wynika z tej samej procedury, ale wyjaśnia, w jaki sposób przeprowadzić każdy krok w znacznie bardziej szczegółowo.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">If you can't follow the short version, read on!'' * Go to the folder where you want the shortcut to be placed, this can be any folder, or the desktop. * '''Right click''' in empty space in the folder.</span> Jeśli nie możesz wykonać krótki wersji, zapoznaj się!''* Wejdź do folderu, w którym chcesz skrótów, które mają być wprowadzone, może to być dowolny folder lub pulpicie. *'' '''Kliknij prawym przyciskiem myszy w pustym miejsca w folderze.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">Highlight "New" and '''click''' "Shortcut". [[Image:newshortcut.png]] * The following window will appear. [[Image:newshortcuthighlight.png]] * In the highlighted box, type in the '''full path of the DosBox .exe file, in quotes'''.</span> Wyróżnienie "Nowy" i'' '''kliknij "Shortcut". [[Grafika: newshortcut.png]] * następujące okno. [[Grafika: newshortcuthighlight.png]] * W podkreślono wpisz w '' 'pełną ścieżkę do DOSBox. exe, w cudzysłowie'''.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">For example, if you didn't change the defaults when installing DosBox, you will need to type ''<nowiki>"C:\Program Files\DOSBox-0.72\dosbox.exe"</nowiki>'', assuming you are using version 0.72. [[Image:shortcutpart1.png]] * Next, type a space.</span> Na przykład, jeśli nie zmienić domyślne podczas instalacji DOSBox, musisz typu''<nowiki> "C: \ Program Files \ DOSBox-0,72 \ dosbox.exe" </ Nowiki>'', zakładając, że jesteś używając wersji 0.72. [[Grafika: shortcutpart1.png]] * Dalej, wpisz spację.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">Then, '''again in quotes, type the full path of the main game executable''', either .exe or .bat, which you want to run.</span> Następnie'' 'ponownie w cudzysłów, wpisz pełną ścieżkę do pliku wykonywalnego gry głównym''', albo. Exe lub. Nietoperzy, które chcesz uruchomić.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">For example, if you wanted to run The Settlers 2, which was installed in C:\Games\The Settlers 2\ (the .exe for which is called S2.exe) you would type ''<nowiki>"C:\Games\The Settlers 2\S2.exe"</nowiki>''. * Thus, the whole line would now read: ** ''<nowiki>"C:\Program Files\DOSBox-0.72\dosbox.exe" "C:\Games\The Settlers 2\S2.exe"</nowiki>'' [[Image:shortcutpart2.png]] * '''Click''' the highlighted "Next" button. * In the highlighted box on the next window, you can '''enter a name for the shortcut'''.</span> Na przykład, jeśli chcesz uruchomić The Settlers 2, który został zainstalowany w folderze C: \ Games \ The Settlers 2 \ (plik. Exe, dla których jest S2.exe) należy wpisać''<nowiki> "C: \ Gry \ The Settlers 2 \ S2.exe "</ Nowiki>''. * Tak, cały wiersz będzie się czytać: **''<nowiki>" C: \ Program Files \ DOSBox-0,72 \ dosbox.exe "C : \ Games \ The Settlers 2 \ S2.exe "</ Nowiki>''[[Grafika: shortcutpart2.png]] *'' '''Kliknij" zaznaczony "Dalej". * W polu podświetlony na następnej okna, można'' 'Wprowadź nazwę skrótu'''.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">Then, '''click''' the "Finish" button. [[Image:shortcutpart3.png]] * A shortcut should now be present in the folder where you originally right-clicked.</span> Następnie'' '''kliknij "przycisk" Zakończ ". [[Grafika: shortcutpart3.png]] * A skrót powinien już być obecny w folderze, w którym pierwotnie prawym kliknięciu.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">To run your game or application, '''double click this shortcut''' as if it were a normal shortcut to a windows program. [[Image:shortcut.png]] * When you double click this shortcut, DosBox should launch and the game should be run automatically.</span> Aby uruchomić grę lub aplikację,'' 'kliknij dwukrotnie ten skrót''' jakby to było normalne skrót do okna programu. [[Grafika: shortcut.png]] * Po dwukrotnym kliknięciu tego skrótu, powinien uruchomić i DOSBox gry powinien być uruchamiany automatycznie.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">If it does not, then you should double check that the paths which you entered when creating the shortcut are correct. * To view or change the properties of the shortcut, '''right click''' on the shortcut and '''click''' on "Properties". [[Image:properties1.png]] * The following window will appear.</span> Jeśli nie, należy dwukrotnie upewnić się, że ścieżki, które można wpisać podczas tworzenia skrótu są poprawne. * Aby wyświetlić lub zmienić właściwości skrótu,'' 'prawy przycisk myszy''' na skrót i'' 'kliknij '' 'na "Właściwości". [[Grafika: properties1.png]] * następujące okno.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">The "Target" box contains the command which you entered when creating the shortcut.</span> W "Target" zawiera polecenia, które można wpisać podczas tworzenia skrótu.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">'''Check that the paths are correct''' and that each part of the command has enclosing double-quotes. * '''Click''' OK to save any changes you make, or Cancel to discard any changes. [[Image:properties2.png]] * NB: If you use a custom configuration file (.conf file) for dosbox, then you will need to add the -conf command line argument between the path of the DosBox .exe and the path of the game .exe.</span> '' 'Sprawdź, czy ścieżki są poprawne''' i że każda część z polecenia załączając dwukrotnie cudzyslowow. *'' '''Kliknij przycisk "OK", aby zapisać wszelkie zmiany wprowadzone, lub Anuluj, aby odrzucić wszystkie zmiany. [[ Image: properties2.png]] * Uwaga: Jeśli używany jest niestandardowy plik konfiguracyjny (. conf pliku) dla DOSBox, będziemy musieli dodać-conf argument wiersza polecenia między ścieżkę do DOSBox. exe i ścieżkę do gry. exe.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">See the last step of the short explanation to see what this should look like.</span> Zobacz ostatni krok na krótkie wyjaśnienie, aby zobaczyć, co to powinno wyglądać.</span> |
− | ''This is a more detailed explanation for people who are less familiar with windows. It follows the same procedure, but explains how to carry out each step in much more detail. If you can't follow the short version, read on!'' | ||
− | * Go to the folder where you want the shortcut to be placed, this can be any folder, or the desktop. | ||
− | * '''Right click''' in empty space in the folder. Highlight "New" and '''click''' "Shortcut". | ||
− | [[Image:newshortcut.png]] | ||
− | * The following window will appear. | ||
− | [[Image:newshortcuthighlight.png]] | ||
− | * In the highlighted box, type in the '''full path of the DosBox .exe file, in quotes'''. For example, if you didn't change the defaults when installing DosBox, you will need to type ''<nowiki>"C:\Program Files\DOSBox-0.72\dosbox.exe"</nowiki>'', assuming you are using version 0.72. | ||
− | [[Image:shortcutpart1.png]] | ||
− | * Next, type a space. Then, '''again in quotes, type the full path of the main game executable''', either .exe or .bat, which you want to run. For example, if you wanted to run The Settlers 2, which was installed in C:\Games\The Settlers 2\ (the .exe for which is called S2.exe) you would type ''<nowiki>"C:\Games\The Settlers 2\S2.exe"</nowiki>''. | ||
− | * Thus, the whole line would now read: | ||
− | ** ''<nowiki>"C:\Program Files\DOSBox-0.72\dosbox.exe" "C:\Games\The Settlers 2\S2.exe"</nowiki>'' | ||
− | [[Image:shortcutpart2.png]] | ||
− | * '''Click''' the highlighted "Next" button. | ||
− | * In the highlighted box on the next window, you can '''enter a name for the shortcut'''. Then, '''click''' the "Finish" button. | ||
− | [[Image:shortcutpart3.png]] | ||
− | * A shortcut should now be present in the folder where you originally right-clicked. To run your game or application, '''double click this shortcut''' as if it were a normal shortcut to a windows program. | ||
− | [[Image:shortcut.png]] | ||
− | * When you double click this shortcut, DosBox should launch and the game should be run automatically. If it does not, then you should double check that the paths which you entered when creating the shortcut are correct. | ||
− | * To view or change the properties of the shortcut, '''right click''' on the shortcut and '''click''' on "Properties". | ||
− | [[Image:properties1.png]] | ||
− | * The following window will appear. The "Target" box contains the command which you entered when creating the shortcut. '''Check that the paths are correct''' and that each part of the command has enclosing double-quotes. | ||
− | * '''Click''' OK to save any changes you make, or Cancel to discard any changes. | ||
− | [[Image:properties2.png]] | ||
− | * NB: If you use a custom configuration file (.conf file) for dosbox, then you will need to add the -conf command line argument between the path of the DosBox .exe and the path of the game .exe. See the last step of the short explanation to see what this should look like. | ||
= Other Operating Systems = | = Other Operating Systems = |
Revision as of 06:49, 24 April 2009
This page explains how to create shortcuts to DOS games or programs so that they can be run with a double click, as any other program, while still using DosBox to emulate the DOS environment.
Windows
- This explains how to setup DosBox game or application shortcuts for Windows.
- Please note: if the game / application is located in a directory, or sub-directory of a folder which is automatically mounted, then the following technique will not work! Either remove any mount commands from the autoexec section of the default .conf file, or use a custom .conf file when using the shortcuts which does not have any mounts. See the end of the short description for how to achieve this. If you don't understand this line, then it shouldn't affect you. If you havn't edited your .conf file, then this shouldn't be an issue.
Short Version
This is the quick version for people familiar with windows, giving the basic information.
- Create a new shortcut to the DosBox .exe file, or copy the one created when you installed doxbox.
- Edit the properties of the shortcut.
- At the end of the "Target" line, add, in quotes, the full path of the main game executable you wish to launch.
- For Example, if "The Settlers 2" was installed into the folder C:\Games\Settlers 2\, and DosBox is installed at it's default location, the target box would contain:
- "C:\Program Files\DOSBox-0.72\dosbox.exe" -conf "C:\Program Files\DOSBox-0.72\dosbox.conf" "C:\Games\Settlers 2\S2.exe"
- NB: the -conf command line option which is specified in the line above is, I believe, optional since it refers to the default config file. If you use a custom config file however, then you will need to retain this line, suitably ammended to refer to your custom .conf file.
== Long Version == This is a more detailed explanation for people who are less familiar with windows. Long Version == ==to bardziej szczegółowe wyjaśnienie dla osób, które są mniej znane z systemu Windows. It follows the same procedure, but explains how to carry out each step in much more detail. Wynika z tej samej procedury, ale wyjaśnia, w jaki sposób przeprowadzić każdy krok w znacznie bardziej szczegółowo. If you can't follow the short version, read on! * Go to the folder where you want the shortcut to be placed, this can be any folder, or the desktop. * Right click' in empty space in the folder. Jeśli nie możesz wykonać krótki wersji, zapoznaj się!* Wejdź do folderu, w którym chcesz skrótów, które mają być wprowadzone, może to być dowolny folder lub pulpicie. * Kliknij prawym przyciskiem myszy w pustym miejsca w folderze. Highlight "New" and click "Shortcut". * The following window will appear. * In the highlighted box, type in the full path of the DosBox .exe file, in quotes. Wyróżnienie "Nowy" i kliknij "Shortcut". Grafika: newshortcut.png * następujące okno. Grafika: newshortcuthighlight.png * W podkreślono wpisz w 'pełną ścieżkę do DOSBox. exe, w cudzysłowie. For example, if you didn't change the defaults when installing DosBox, you will need to type "C:\Program Files\DOSBox-0.72\dosbox.exe", assuming you are using version 0.72. * Next, type a space. Na przykład, jeśli nie zmienić domyślne podczas instalacji DOSBox, musisz typu "C: \ Program Files \ DOSBox-0,72 \ dosbox.exe" </ Nowiki>'', zakładając, że jesteś używając wersji 0.72. [[Grafika: shortcutpart1.png]] * Dalej, wpisz spację.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">Then, '''again in quotes, type the full path of the main game executable''', either .exe or .bat, which you want to run.</span> Następnie'' 'ponownie w cudzysłów, wpisz pełną ścieżkę do pliku wykonywalnego gry głównym''', albo. Exe lub. Nietoperzy, które chcesz uruchomić.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">For example, if you wanted to run The Settlers 2, which was installed in C:\Games\The Settlers 2\ (the .exe for which is called S2.exe) you would type ''<nowiki>"C:\Games\The Settlers 2\S2.exe". * Thus, the whole line would now read: ** "C:\Program Files\DOSBox-0.72\dosbox.exe" "C:\Games\The Settlers 2\S2.exe" * Click the highlighted "Next" button. * In the highlighted box on the next window, you can enter a name for the shortcut. Na przykład, jeśli chcesz uruchomić The Settlers 2, który został zainstalowany w folderze C: \ Games \ The Settlers 2 \ (plik. Exe, dla których jest S2.exe) należy wpisać "C: \ Gry \ The Settlers 2 \ S2.exe "</ Nowiki>''. * Tak, cały wiersz będzie się czytać: **''<nowiki>" C: \ Program Files \ DOSBox-0,72 \ dosbox.exe "C : \ Games \ The Settlers 2 \ S2.exe "</ Nowiki>''[[Grafika: shortcutpart2.png]] *'' '''Kliknij" zaznaczony "Dalej". * W polu podświetlony na następnej okna, można'' 'Wprowadź nazwę skrótu'''.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">Then, '''click''' the "Finish" button. [[Image:shortcutpart3.png]] * A shortcut should now be present in the folder where you originally right-clicked.</span> Następnie'' '''kliknij "przycisk" Zakończ ". [[Grafika: shortcutpart3.png]] * A skrót powinien już być obecny w folderze, w którym pierwotnie prawym kliknięciu.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">To run your game or application, '''double click this shortcut''' as if it were a normal shortcut to a windows program. [[Image:shortcut.png]] * When you double click this shortcut, DosBox should launch and the game should be run automatically.</span> Aby uruchomić grę lub aplikację,'' 'kliknij dwukrotnie ten skrót''' jakby to było normalne skrót do okna programu. [[Grafika: shortcut.png]] * Po dwukrotnym kliknięciu tego skrótu, powinien uruchomić i DOSBox gry powinien być uruchamiany automatycznie.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">If it does not, then you should double check that the paths which you entered when creating the shortcut are correct. * To view or change the properties of the shortcut, '''right click''' on the shortcut and '''click''' on "Properties". [[Image:properties1.png]] * The following window will appear.</span> Jeśli nie, należy dwukrotnie upewnić się, że ścieżki, które można wpisać podczas tworzenia skrótu są poprawne. * Aby wyświetlić lub zmienić właściwości skrótu,'' 'prawy przycisk myszy''' na skrót i'' 'kliknij '' 'na "Właściwości". [[Grafika: properties1.png]] * następujące okno.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">The "Target" box contains the command which you entered when creating the shortcut.</span> W "Target" zawiera polecenia, które można wpisać podczas tworzenia skrótu.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">'''Check that the paths are correct''' and that each part of the command has enclosing double-quotes. * '''Click''' OK to save any changes you make, or Cancel to discard any changes. [[Image:properties2.png]] * NB: If you use a custom configuration file (.conf file) for dosbox, then you will need to add the -conf command line argument between the path of the DosBox .exe and the path of the game .exe.</span> '' 'Sprawdź, czy ścieżki są poprawne''' i że każda część z polecenia załączając dwukrotnie cudzyslowow. *'' '''Kliknij przycisk "OK", aby zapisać wszelkie zmiany wprowadzone, lub Anuluj, aby odrzucić wszystkie zmiany. [[ Image: properties2.png]] * Uwaga: Jeśli używany jest niestandardowy plik konfiguracyjny (. conf pliku) dla DOSBox, będziemy musieli dodać-conf argument wiersza polecenia między ścieżkę do DOSBox. exe i ścieżkę do gry. exe.</span> <span onmouseover="_tipon(this)" onmouseout="_tipoff()"><span class="google-src-text" style="direction: ltr; text-align: left">See the last step of the short explanation to see what this should look like.</span> Zobacz ostatni krok na krótkie wyjaśnienie, aby zobaczyć, co to powinno wyglądać.</span> = Other Operating Systems = * Similar operations should be possible on other operating systems, although this has not been tested directly. * '''Please note: if the game / application is located in a directory, or sub-directory of a folder which is automatically mounted, then the following technique will not work! Either remove any mount commands from the autoexec section of the default [[dosbox.conf|.conf file]], or use a custom [[dosbox.conf|.conf file]] when using the shortcuts which does not have any mounts. See the end of the short description for how to achieve this.''' If you don't understand this line, then it shouldn't affect you. If you havn't edited your [[dosbox.conf|.conf file]], then this shouldn't be an issue. * See the "short" tutorial in the windows section for an overview of the general concept. * Create a shortcut to the dosbox executable. Make the last argument the path to the game executable which you wish to run. Executing this shortcut should then launch the game automatically. * Under a linux / unix type system, the command would probably look similar to the following: ** ''<nowiki>./usr/bin/dosbox ~/games/settlers2/s2.exe