PDA

View Full Version : How to mount dosbox in external card on phone ?


roarke
10-10-2014, 05:41 PM
I have a smartphone with android 4.2.2
I bought dosboxturbo last version on googleplay.
In autoexec.bat, the lines in the phone work (after the lines i write doom in the console and the game plays):

mount c: /storage/sdcard0/dos/dooms
c:

But if i write the next lines for the external card (so the games will be on the external card, after i moved of course dos/dooms folders in the external card), doesen't work :

mount c: /storage/extSdCard/dos/dooms
c:

It gives me :

Directory /storage/extSdCard/dos/dooms doesen't exist.
Drive C does not exist !
You must mount it first. Type intro or intro mount for more information.
Z:\>

What i'm doing wrong, please tel me. In dosbox turbo, DosBox Settings, Manual Mode (Disable over-write of dosbox.conf), is not checked in.

Japo
10-10-2014, 11:43 PM
The folder structure depends on the phone model, so you have to find out by looking into your file manager (the one installed in my Android 2.3 LG phone is called Polaris Viewer).

In my case for example the external SD card is mounted as a subfolder of the internal storage. I don't know if this is usual practice with other phones. But the roots of the drives visible on a PC are mounted at:

internal:
/mnt/sdcard/

external (SD):
/mnt/sdcard/_ExternalSD/

But again you must check your paths via the phone file manager--not by putting the SD card into a PC.

roarke
11-10-2014, 12:24 PM
So, for you, can be this ?

mount c: /storage/mnt/sdcard/_ExternalSD/dos/dooms
c:

or

mount c: /storage/mnt/sdcard/externalSD/dos/dooms
c:

I will chek with Root Browser, by JRummy Apps Inc., from google play. I didn't find Polaris Viewer.

Japo
11-10-2014, 01:26 PM
Yes except that I don't have a /storage/ directory, but /mnt/ is directly at the root (at least as far as the file manager can see, but probably so), but that will depend on the OEM, just like the names "sdcard0" vs. "sdcard" or "extSdCard" vs. "_ExternalSD".

Polaris Viewer is made by this company according to its "about" notice:
http://www.infraware.co.kr/

They apparently make professional productivity apps, and the Viewer is indeed not available on the Google market, I guess they provide it to OEMs who want to complement vanilla Android.

I have never user DOSBox on mobile, just MAME4droid, and GENPlusDroid and other console emulators by Halsafar, which let you browse for the roms:

https://play.google.com/store/apps/details?id=com.seleuco.mame4all

https://play.google.com/store/apps/developer?id=Halsafar

So if you don't have a file manager, I think you can use one of these to try and browse, just to see your actual directory structure.

roarke
17-10-2014, 01:23 PM
Thanks, i got it. I made a blog, wich i will anounce later.