Limiting Memory before running old PC game

Questions about Wine on Linux
Locked
Bladeforce
Level 3
Level 3
Posts: 63
Joined: Fri Nov 09, 2012 8:01 am

Limiting Memory before running old PC game

Post by Bladeforce »

Hello,
I have an old PC game that I enjoy playing. It installs fine but when running i get an error saying there is 0mb of memory available. I have set compatibility to Windows 95 as it would only see a minus amount of space to install. I know there is a command in Wineskin called -ulimit -m 32768 which worked on wineskin but how do i incorporate this into my shortcut below? That is of course if I even can :)

env WINEPREFIX="/media/sdc1/Wine/ActuaGolf2" wine C:\\windows\\command\\start.exe /Unix /media/sdc1/Wine/ActuaGolf2/dosdevices/c:/AGolf2/GOLF2.EXE

Many thanks!
Bladeforce
Level 3
Level 3
Posts: 63
Joined: Fri Nov 09, 2012 8:01 am

Re: Limiting Memory before running old PC game

Post by Bladeforce »

Sorry I have just noticed this has been moved and it is my mistake, I should have said I previously used wineskin on a Mac with the ulimit command but now I'm using Linux I was wondering if the command still exists and if so how can I incorporate this into my command?

Sorry about that!
xyz32
Level 2
Level 2
Posts: 19
Joined: Sun Jul 24, 2011 8:06 am

Re: Limiting Memory before running old PC game

Post by xyz32 »

Hello,

To run old games on linux you might be better off with DosBox.
As for wine and memory limits, I do not know, I did not play with this. All I can say is that as you probably know already WINE is not an emulator nor is it a virtual machine, it is just a translation layer between windows system calls and linux ones, therefore playing with memory limits might be tricky.

Regards.
Bladeforce
Level 3
Level 3
Posts: 63
Joined: Fri Nov 09, 2012 8:01 am

Re: Limiting Memory before running old PC game

Post by Bladeforce »

Hi, thanks for the reply. The game isn't a dos game it is just for windows. I am now running linux but I had this game running on MacOSX using wineskin and having a command limiting the main memory that wine use at (32768) 32mb as todays sytems seem to send it a little mad by having too much! The command was ulimit in wineskin I am just wondering if it is a command specific to wineskin or if there is something incorporated into wine itself that does the same
Locked