Forums

Full Version: Running ICR2 and tools on Linux
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi Folks,

Let's start a Linux tread and pu it above with the WinXP one.

This is how I am running ICR2 and tools on Linux:



1. First you should have a installation of the ICR2 DOS version 1.0.2 in your windows or Linux partition. If you are running the game from windows partition be sure to have permission to write to the ICR2 directory.

2. Download DOSemu from http://dosemu.sourceforge.net/ Since I am using Mandriva linux I have downloaded the version 1.4.0.0 in its rpm version.

3. I have installed the rpm package in Mandriva it just a double click on it and entering my root password.

4.run DOSemu from a terminal by simply typing:
    dosemu

5. in DOSemu prompt go to the directory where linux has mounted your windows particion. In my case is drive E: so i type:
     E:

6. in DOSemu pront use DOS comnand cd to go to the  directory where icr2 is installed.
CD WINDOWS\C\SIERRA\CART\DOS\CART

7. If you are running a copy of ICR2 located in a windows partition you should already have run the SETUP.EXE program to configure sound. This was may case so I have no problem with sound at all. But if you are running a copy of ICR2 which did not had yet run the SETUP.EXE you should run it now from DOSemu in orther to attempt to setup your sound card under the emulator. However, copy an already configured installation from the Windows to the Linux partition may be the more safe option to get sound working.

8. run icr2 in 640x480 mode. I've got 31 FPS in Mandriva with DOSemu 1.4.0.0:
        CART -H

tools:
1. It is better to place the icr2 DOS  tools under a folder in the Linux partition rather than executing them from the windows partition to avoid file permission problems. But in case you wish to run them from windows drive mount the directory you placed the tools the same way you did for the ICR2 folder. Don't forget to give write permission to the tool folder otherwise each tool will not be able to create their files.
Note that when suing an emulator some tools like ope may take more time to write the files then when run in real DOS. This is normal you you have to wait some minutes till your file is completed.

/Fastwalker
I have tried several times to get Windy to work with Wine on Linux but have failed to do so up til now. It just won't load and when I run it via the console it crashes, gives me some stacks, crash dumps and whatnot that I do not know what to do with Smiley
after I update my ubuntu linux from gutsy 7.10 to hardy 8.04 I cannot run dosemu, this is the error
Code:
LOWRAM mmap: Invalid argument
Segmentation fault

the solution is run this command before launch dosemu
Code:
echo 0 | sudo tee /proc/sys/vm/mmap_min_addr


to automatically do it on startup put this line into the file /etc/rc.local
Code:
echo 0 | tee /proc/sys/vm/mmap_min_addr
this file must end with the line exit 0
Does anybody know how to go about using my joystick in DOS ICR2 running inside DOSemu ? I am running Ubuntu Gutsy, the joystick is recognized already, I would just like to know how to get it working in ICR2 Smiley
You should let dosemu know about your joystick device(s). You can do it by editing /etc/dosemu/dosemu.conf (as a superuser, with a command like sudo gedit /etc/dosemu/dosemu.conf ). Find the Joystick config part of that file, uncomment the $_joy_device line and adjust it to your joystick device. Under Ubuntu it is most likely
$_joy_device = "/dev/input/js0"
if you have just one joystick. After this it should work in dosemu, and you can set it up inside the game.
Thanks I got DOSemu to admit I have a joystick but I am still having problems. It will not take any of the input I give the axis. The buttons work fine however.

I think they may be caused by the fact that I have no gameport and have thus connected the joystick to the USB port with a Gameport to USB converter cable. This converter also has a little switch with which you can select the device you are using, namely:

Gamepad
Joystick1
Joystick2
Wheel

The only time when I get some reaction on the stick is when I switch it to Gamepad, oddly enough. But although the calibration works in game [only slightly though, more like an on-off situation than gradual movement] but even then I can still not use the stick as one of my controls options.

:[
Reference URL's