litchie / dospad

iDOS - DOSBox port on iOS
https://litchie.com/dospad
GNU General Public License v2.0
615 stars 132 forks source link

How to expand drive space #125

Closed don17sch closed 3 years ago

don17sch commented 3 years ago

I am trying to install games and I got the error with one game that I ran out of room on the drive. I have at least 1TB of space left on my iPad so I know the issue is with the app. Is there any way to increase the amount of virtual space that iDOS can see when active?

SuperKenVery commented 3 years ago

Could you provide more details?

On which drive is it reporting not enough space? Did you mount an img as that drive?

Which game are you installing? Does this problem occur with other games?

Anyway, a screenshot or a complete error message should be helpful.

don17sch commented 3 years ago

80FD781B-D7AF-47C9-BD08-08ADE1196B87 88735EB9-C5E9-4DF1-B9BE-86573438D5D2

don17sch commented 3 years ago

Added the screen shots of the error included in the game

don17sch commented 3 years ago

4DF09950-10B0-414F-AA79-08994464C2C8

don17sch commented 3 years ago

This is how much room the dir command shows is currently free on my dos drive

don17sch commented 3 years ago

split this into multiple comments to format it a bit better.

don17sch commented 3 years ago

812A1A39-1765-4D86-8E53-73394F26729F

don17sch commented 3 years ago

One last screen shot to show you the file size needed for this install option

SuperKenVery commented 3 years ago

iOS doesn't restrict a single app's disk usage. It creates a folder for each app. As shown in the dir command, there's a lot of space available.

Again, does this occur with other games? Or just this one?

SuperKenVery commented 3 years ago

Results from googling: You should specify "-freesize xxx" when mounting a file system directory onto a DOS drive, where xxx is in mb.

However this is not easy to do on idos. You can install the game on dosbox on a computer, and then copy the whole folder where you installed dagger fall to idos, and then run it.

don17sch commented 3 years ago

dir shows a drive space of 262MB no matter how many files I delete. So the problem is not that I do not have enough space but that I cannot install something that needs more than that amount of space.

litchie commented 3 years ago

Results from googling: You should specify "-freesize xxx" when mounting a file system directory onto a DOS drive, where xxx is in mb. However this is not easy to do on idos. You can install the game on dosbox on a computer, and then copy the whole folder where you installed dagger fall to idos, and then run it.

Thanks for the tip. Will try to adjust the free size when mounting a directory on start up.

don17sch commented 3 years ago

Results from googling: You should specify "-freesize xxx" when mounting a file system directory onto a DOS drive, where xxx is in mb. However this is not easy to do on idos. You can install the game on dosbox on a computer, and then copy the whole folder where you installed dagger fall to idos, and then run it.

what is the command to mount a drive in iDOS? I tried mount but that says it is an illegal command

don17sch commented 3 years ago

I was able to solve this problem using @litchie commit 3555efdf9fb6e809948f319825d3ab874a3c5a82 I installed the github version instead of the store version. @litchie I added a zero to your freesize command and I now have more than enough room for anything I would need to do. Probably would have been fine with the defualt but I like to go big. with this commit I no longer have this issue

ijisthee commented 1 year ago

I managed to raise disk space to my desired size by this command in autoexec section:

mount -u c
mount c . -freesize 4000
c: 

A28A5289-A0FB-4B0B-8DDA-4E3AE866115E