Playing DOS Game In Ubuntu

Monday, October 27, 2008 | posted in , | 2 comments

Long time since I last play the computer games. I don't know whether everyone feel the same, when I'm getting older, I have lost my interest in playing games, especially those strategy and online games that takes you a lot of time to accomplish.



But recently I have regained that interest and start looking for some very famous RPG games that I played before like 金庸群侠传 and 侠客英雄传. I know these 2 are very very old games, but I still enjoy playing it.



Since I'm using Ubuntu, so I have to install WINE and Dosbox in order to play the game.



1. To install WINE and Dosbox




sudo apt-get install wine dosbox




2. After installed WINE and Dosbox, use WINE to install the game




wine installer.exe




Eg:(Follow the wizard to complete the installation, if you are installing chinese game, change your gnome session to chinese in order to read the chinese character)



installer



3. Once finish install the game, run dosbox




Goto Applications>Games>DOSBox Emulator




4. Then type the following command in DOSBox Emulator




- mount c /home//.wine                           ### Mount C to wine directory



- c:                                                         ### Change to C Drive



- cd DRIVE_C/PROGRA~1/JINGYONG/  ### Go to your game installed directory



- PLAY.BAT                                          ### Execute the game




Eg:



dosbox



5. Enjoy the game ^_^



jingyong



*Note: If you encounter "DOS memory range unavailable" error, is because Linux kernel prevents programs (Wine) from accessing the first 64k of kernel memory. To solve this problem, run this command:




sudo sysctl -w vm.mmap_min_addr=0

Print
2 Responses So far
gravatar
Anonymous
on November 10, 2008 at 5:15 PM  

Thanks for sharing

kids online games

gravatar
Anonymous
on December 30, 2008 at 11:41 AM  

it reminds me star wars episode 4 in ascii:
type in shell:
> telnet
> o
> towels.blinkenlights.nl

have fun watching star wars!!

Post a Comment