![]() |
Newbie questions: DOSBox and moving around on terminal
Hello:
I'm trying to run an old DOS game on DOSBox. I've copied the game on a folder on the device and want to mount it as C drive on DOSBox. /home/user/MyDocs/.documents/PG/ I've found the DOSBox config file, but don't know what I must write there to run that properly. I hope somebody could help me on this. Thank you |
Re: Newbie questions: DOSBox and moving around on terminal
You can mount directories in dosbox with mount command in dosbox command line. For example
mount c /home/user/MyDocs/dosbox would map given folder as drive C:. You can put commands that are run on startup to the dosbox's config file in section [autoexec]. You can put the mount command in that section and have your folder mounted automatically. You can also put c: to the next line so you would be located at the root of c-drive on startup. |
Re: Newbie questions: DOSBox and moving around on terminal
My problem lays now more on my ability (or lack of) to use vi or even vim. Is there any easier text editor available?.
|
Re: Newbie questions: DOSBox and moving around on terminal
Quote:
|
Re: Newbie questions: DOSBox and moving around on terminal
Hi.
I cannot not use a forward slash '/' on the keyboard in dosbox, nor the colon come to that ':' It will not let me paste either. I have used 'vi' in xterm, pasted the autoexec command, but cannot save the file. 'w' or 'wq' does not seem to work. Any ideas? :EDIT: :wq does work however in command mode. I am an idiot. However, even though I have pasted and saved the following [autoexec] # Lines in this section will be run at startup. mount c /data/dosbox c: dosbox still fires up with z: as its default dir. Dammit! |
Re: Newbie questions: DOSBox and moving around on terminal
Looks like this for me:
(and works) Nokia-N900-42-11:/home/user/apps# ls -la drwx------ 2 user users 4096 Dec 14 16:32 . drwxr-xr-x 49 user users 4096 Dec 15 12:59 .. -rw-r--r-- 1 user users 10148 Dec 14 22:36 DOSBox 0.73 Preferences.txt Code:
[autoexec] |
Re: Newbie questions: DOSBox and moving around on terminal
Hmmm.
I get this: Nokia-N900-42-11:/home/user/apps# ls -la drwx------ 2 user users 4096 Dec 15 13:39 . -rw-r--r-- 1 user users 10109 Dec 13 11:16 DOSBox 0.73 Preferences.txt should my next command be: Nokia-N900-42-11:/home/user/apps# vi DOSBox 0.73 Preferences.txt is your file empty when you paste the autoexec? ta. |
Re: Newbie questions: DOSBox and moving around on terminal
no, file is not empty, it's already configured, this is the end of the file.
and yeah I edited it using vi. |
Re: Newbie questions: DOSBox and moving around on terminal
Hmm.
I don't know whats happening. My config file must be screwed. |
Re: Newbie questions: DOSBox and moving around on terminal
Wow. I think getting dosbox working is the best emulator yet on my n900. Just tried out the old Prince of Persia and it worked great.
|
Re: Newbie questions: DOSBox and moving around on terminal
Hmm.
I think I have isolated what is up. As the file has spaces, xterm seems to be trying to create and open 3 different files, 'DOSbox', '0.73', and 'Preferences.txt' As three were created in that dir, as well as the original file. What command are people using to open and edit the file? |
Re: Newbie questions: DOSBox and moving around on terminal
Try vi "DOSbox 0.73 Preferences.txt" with quotes, or put a backslash before each space, both ways should work.
|
Re: Newbie questions: DOSBox and moving around on terminal
Just use tab to auto-complete the file name.
Defaultly, bash uses backslashes to escape control characters like space. Single or double quotes also help to fight the problem. |
Re: Newbie questions: DOSBox and moving around on terminal
I have a brilliant way to get around...
I use good old Norton Commander :cool: |
Re: Newbie questions: DOSBox and moving around on terminal
Hi
I'm not really good at this stuff i just got my n900. I still don't get how to run any game on dosbox? I have my game fallout under a folder called games. Can anyone help me out here? thanks |
All times are GMT. The time now is 18:55. |
vBulletin® Version 3.8.8