Play Rayman 1 using DosBox

22.02.2010

This is a tutorial to install and play Rayman 1 (the greatest jump’n'run game ever) using DosBox on Ubuntu.

  1. Copy the contents of the Rayman CD to a folder on your computer, e.g. /home/<user>/Games/RaymanCD
  2. Install DosBox (sudo apt-get install dosbox)
  3. In your dosbox.conf (Usually in ~/.dosbox/dosbox-<version>.conf) set the keyboard layout option to your keyboard layout code (e.g. sg for swiss german layout)
  4. Create a new folder for the Rayman installation, e.g. /home/<user>/Games/Rayman
  5. Issue the following command in your terminal:
    dosbox -noautoexec -c 'mount c /home/<user>/Games/Rayman -freesize 100' -c 'mount -t cdrom r /home/<user>/Games/RaymanCD' -c 'r:' -c 'install.bat'
  6. Install Rayman (Don’t forget to auto-recognize your soundcard). After the setup, don’t play the game, just exit the menu and close the DosBox window.
  7. Put a new file called rayman.sh somewhere on your computer (e.g. on your Desktop)
  8. Add the following lines to the freshly created file:
    #!/bin/bash
     
    dosbox -noautoexec -c 'mount c /home/<user>/Games/Rayman -freesize 100' -c 'mount -t cdrom r /home/<user>/Games/RaymanCD' -c 'c:' -c 'rayman.bat'
  9. Make the file executable: chmod +x rayman.sh

Done, now you can start Rayman at any time by executing the rayman.sh file. If the gameplay is too fast, change the frequency to 50.

Fork me on GitHub

Kommentare

hello :]
i want to thank for this guide
i have ubuntu 10.10 and i tried to install the game but after i wrote the command in the terminal, and the dosbox open , the install tell me that he can run only from the CD

unfortentaly, in the command in step 5, i change only the place , am i need to change enything else?

tnx you man..

hey yozem. i tried to reproduce this tutorial step by step on ubuntu 10.10 and it worked. did you really copy the contents of the cd to the correct folder? check whether /home/<user>/Games/RaymanCD exists and contains the setup files (including install.bat).

first of all, thank you for the speed answer.
i checked, and all the files copied to the right dictionary.
after the command in the terminal, the dos box open and dispaly:
http://tinypic.com/view.php?pic=10ojssw&s=7
and i don’t now what to do

actually my keyboard is Hebrew-English so i jump over step 3, maybe this is the problem?

yozem: nope, that won’t influence the process. but i just realized what the problem is.

substitute mount r /home/<user>/Games/RaymanCD with mount -t cdrom r /home/<user>/Games/RaymanCD. then it should work.

sorry, but i don’t success. I’m new in the Linux world, and i still don’t get how to control in the command.

i tried to run in the root this commad:
dosbox -noautoexec -c ‘mount c /home//Games/Rayman -freesize 100′ -c ‘mount r /home//Games/RaymanCD’ -c ‘r:’ -c ‘install.bat’

the only one i received its erors

1. you don’t need to run this command as root
2. i assume your user name under ubuntu is yozem and that the cd folder is at /home/yozem/Games/RaymanCD. In that case, the command would be:

dosbox -noautoexec -c 'mount c /home/yozem/Games/Rayman -freesize 100' -c 'mount -t cdrom r /home/yozem/Games/RaymanCD' -c 'r:' -c 'install.bat'

thank you very much !

Hi
Nice guide, but i also have a problem with ubuntu 10.10. When i do step5 dosbox truns me back:” Please start install.bat”
thx for help

florian: Sorry, I cannot follow your problem. I tested this howto, and it seemed to work. Can you provide some more information? (Console input / output etc)

Thank you for your help
Sorry, here are the additionl informations:
I do all the steps exept of 3, there i leave keyboardlayout=auto
If i do step 5 i type and get:
“dosbox -noautoexec -c ‘mount c /home/florian/Games/Rayman -freesize 100′ -c ‘mount -t cdrom r /home/florian/Games/RaymanCD’ -c ‘r:’ -c ‘install.bat’
DOSBox version 0.74
Copyright 2002-2010 DOSBox Team, published under GNU GPL.

CONFIG:Loading primary settings from config file /home/florian/.dosbox/dosbox-0.74.conf
MIXER:Got different values from SDL: freq 44100, blocksize 512
ALSA:Can’t subscribe to MIDI port (65:0) nor (17:0)
MIDI:Opened device:none
DOSBox switched to max cycles, because of the setting: cycles=auto. If the game runs too fast try a fixed cycles amount in DOSBox’s options.”

So nothing special so far, but the Dosbox says: http://img573.imageshack.us/i/dosboxerror.jpg/

Next question: How should install Rayman, if i run autorun.exe with Dosbox it says: ” This program cannot be run in DOS Mode”
Thank you

florian: Hm, strange. I’d suggest you try manually entering “install.bat” at the command prompt.

To start the game after the install, you need to mount the install directory and run rayman.bat. The autorun.exe program only works under windows.

In case you want to do all steps of the howto manually, you can use the commands following the “-c” options in the commands I provided.

E.g. to do the install manually, open a dosbox window, and enter:

mount c /home/<user>/Games/Rayman -freesize 100
mount -t cdrom r /home/<user>/Games/RaymanCD
r:
install.bat

And to start the game after the install:

mount c /home/<user>/Games/Rayman -freesize 100
mount -t cdrom r /home/<user>/Games/RaymanCD
c:
rayman.bat

If it rum install.bat manually(in both ways you said) i have the same error

In other words, if you start install.bat, it tells you to start install.bat? :)

Well, I don’t know how I could help you any further, as long as I don’t have access to your computer. Sorry :)

Yes thats right. Maybe my Rayman-Cd is broken, in my install.bat there are only 3 lines ( @echo off

config.exe

if exist c:\raytmp.tmp c:\rayman.bat) but should be right.
Thank you for your help

Hey, just tried to do it but when I open the install, it says that I have no space on any of my disks. (space 0) what can I do?

Tzekhslan: Did you maybe forget the “-freesize 100″ parameter?

Danilo: mh no I don’t think so. Can it be the wrong disk that I mounted?

Tzekhslan: If your /home isn't mounted read-only, if it isn't full, and if you used the commands exactly as indicated in the tutorial, it should work. The line to create free space on the emulated drive c is "-freesize 100".

Well dos box as a probleme with the command r:

dobri den dete mi prosim hru raymen

hey
thanx for the great tutorial!
everything works just fine except for the background music.
I searched all over the internet, and i think i have to create a BIN/CUE sheet.
I do not know how to perform this in order to play music in the game :(
plz, help!!

@lora: Sorry, all I found is this: http://www.dosbox.com/wiki/Cuesheet. But I don’t currently have my Rayman CD / ISO around, so I can’t try it. I usually played it without the music anyways.

Hinterlasse einen Kommentar

Dein Kommentar:

XHTML: Sie dürfen folgende Tags verwenden: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

Kategorien

Switch to our mobile site