SCRIPTS TO PLAY RPGMAKER GAMES WITH LINUX

automatically configure your wine installation :)

  • Haynes
  • 01/18/2011 03:44 PM
  • 8985 views
Hello,
I recently tried to play some rpgmaker games on my Ubuntu installation with wine.
I noticed several Problems while i was playing.
1.crappy fonts
2.no midi playback
3.no mp3 playback.

I googled a while and finally managed to resolve all those problems.
To make it easier for other people i wrote some bash scripts that will configure your wine installation for you so you can play the games perfectly :)

So let's get started with a mini user guide.
The scripts require the following packet to be installed:

wine, winetricks, sed,timidity


After you've installed those 4 packages you just need to extract the scripts and run them like this:

./installfonts.sh

./installmidi.sh

./installmp3support.sh


Here is the download link for the scripts: http://www.megaupload.com/?d=1NGGU6HE

I have tested the Scripts with Ubuntu 10.04 and 10.10. On other distros you might need to change the paths to the config files.

I hope that this article will help some people :)
If you used the scripts it would be nice if you could give me a little feedback if everything went well :)

regards,

Haynes

Posts

Pages: 1
mtarzaim
Criticizing more, making less...
1761
Sorry, didn't work with mine ...

First, I didn't found winetricks in the Ubuntu library.
Maybe it's the main issue.

Second, the game (here, Drunken Paladin) crashes à la Windows (the program has encountered a serious issue and must close).
If I disable the sound in Wine, I get a "Failed to initialize DirectX audio", and the program stops immediatly.

I tried it on Ubuntu 10.10, Pentium 4 2.4 Ghz 392 Mo RAM nVidia 8400 GS.
I know, it's an old machine, but that's the point of Linux: make useable what isn't anymore with Windows.

You should also give the Wine configuration used.
Mine was the standard one. Maybe there's something to tweak in it.

Thanks anyway for your work. It will help the Linux gaming community to widen.
author=mtarzaim
Sorry, didn't work with mine ...

First, I didn't found winetricks in the Ubuntu library.
Maybe it's the main issue.

Second, the game (here, Drunken Paladin) crashes à la Windows (the program has encountered a serious issue and must close).
If I disable the sound in Wine, I get a "Failed to initialize DirectX audio", and the program stops immediatly.

I tried it on Ubuntu 10.10, Pentium 4 2.4 Ghz 392 Mo RAM nVidia 8400 GS.
I know, it's an old machine, but that's the point of Linux: make useable what isn't anymore with Windows.

You should also give the Wine configuration used.
Mine was the standard one. Maybe there's something to tweak in it.

Thanks anyway for your work. It will help the Linux gaming community to widen.


the wine configuration is the standard one.
And afaik winetricks should be in the standard ubuntu repos. If not, you can try adding the ppa from winehq.com (Will get you newer wine versions too)
The error failed to initialize DirectX audio is probably because directx9 was not installed.
That's what the Script does. It installs directx9 and tells wine to use the nativ dlls from it.
(You can open the script with a text editor to see the exact commands)
mtarzaim
Criticizing more, making less...
1761
Sorry, can't figure this out.

That's what I've done so far:
- Downloaded winetricks sh file
- Executed winetricks sh file
- Checked everything with d3d or dsound or direct in it
- Executed the three sh file from above
- Launched Drunken Paladin from the fake c:/ made by Wine
- Main window of RM appears, in black state
- Speaker icon goes red in the main menu bar
- Got a "program failed" wannabe dialogbox

Everything works fine (video ok, sound ok) with firefox.
Pages: 1