VOGONS


First post, by Leander

User metadata
Rank Newbie
Rank
Newbie

Hi to all,
i'm Leander, an italian fan of emulation and retrogaming. My favourite retrosystems (and respective games) are Commodore 64, Amiga, and MS-DOS/Windows 9x old PC, so dosbox is one of my favourite emulators! 😀
How the subject suggests, i have a question for you all dosbox and win98 emulation expert:
I read on this post --> viewtopic.php?f=31&t=35814&start=40 <-- that it's possible to 'compress the disk image to a very small space using dd.exe and writing zeroes to free space on an image'...This would be a good point, because standard image size is 2gb but when i usually comfigure inside it one cd windows 95/98 game, with embedded iso and install, remains 1.3GB free, that is a pointless space that i would to remove; i downloaded dd.exe for windows, tried some command line input but with no success, and i don't understand if dd in enought to remove space or then i have to compress image with another utility...Exactly, How can i do to remove free space and shrink the win98 image only to the necessary size to run the game?
Thank on advance for your availability and competence! 😉

P.S.: Finally, excuse me for my poor english... 😎

Reply 1 of 6, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

can't help you with dd usage, but I adjusted your topic to be less *loud*. Posting in all caps is considered as shouting and very rude in forums.
I hope you can forgive my blatant abuse of moderator power 😀

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 2 of 6, by Leander

User metadata
Rank Newbie
Rank
Newbie

Ops, sorry for my screaming subject 😀 and thanks for the correction! 😉

Reply 3 of 6, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

so,took a quick look, the point Truth made in the referenced post Direct3D games in DosBox is that when you fill the free space of an image with zeros, the image file can then be compressed to a much smaller archive (zip, rar, ...).
So I'm not sure you want that, because then for using the image you'd need to uncompress it first.

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 4 of 6, by Joey_sw

User metadata
Rank Oldbie
Rank
Oldbie

if you're using Windows NT 5+ and on NTFS you can use its internal compression, by setting the compression attribute.

-fffuuu

Reply 5 of 6, by Leander

User metadata
Rank Newbie
Rank
Newbie
Dominus wrote:

so,took a quick look, the point Truth made in the referenced post Direct3D games in DosBox is that when you fill the free space of an image with zeros, the image file can then be compressed to a much smaller archive (zip, rar, ...).
So I'm not sure you want that, because then for using the image you'd need to uncompress it first.

That's right, i don't want to compress image, i need the image always uncompressed because of i want it just ready to be mounted from dosbox, but at the same time i want to reduce space from it, to save hd space (i want to install only ONE game on my win98 image at time, so each configured window 98 game, for example of 100MB iso, too, needs for my purpose its own img file, that is 2GB --> very pointless space for each game!)
A solution to do this could be reduce partition to busy hd space (example 150MB OS + 100MB GAME = 250MB) and/or only resize hd image in a compatible geometry for dosbox imgmount command...Is there a way to do this?