Monster Truck Madness on Linux research topic
- Kmaster
- MTM2 Engineer
- Posts: 1370
- Joined: Fri Oct 10, 2003 6:19 pm
- Location: Valparaíso, Chile.
- Contact:
Monster Truck Madness on Linux research topic
http://www.wine-reviews.net/games/micro ... humor.html
Pretty cool isn't it? I think that's ubuntu, but i'm not sure. I'll install Ubuntu 7.04 soon as second OS, right now I can't because first i need to learn how to setup my ADSL connection on Ubuntu with my ZyXEL P-600 PPPoE modem. I'm not sure if MTM2 works on Wine, but it should. (it should)
I was reading about Wine, and now it has some DirectX API support.
This doesn't means that we should all move onto Linux, lol, (We all know that every linux user is always talking about How great they are because they use linux and how idiots we are because we are using Windows.)
Haha, funny thing the GNOME desktop is a completely rip-off of the Windows shell.
EDIT:
Heres more info about MTM2 on Wine
http://appdb.winehq.org/objectManager.p ... n&iId=5038
Pretty cool isn't it? I think that's ubuntu, but i'm not sure. I'll install Ubuntu 7.04 soon as second OS, right now I can't because first i need to learn how to setup my ADSL connection on Ubuntu with my ZyXEL P-600 PPPoE modem. I'm not sure if MTM2 works on Wine, but it should. (it should)
I was reading about Wine, and now it has some DirectX API support.
This doesn't means that we should all move onto Linux, lol, (We all know that every linux user is always talking about How great they are because they use linux and how idiots we are because we are using Windows.)
Haha, funny thing the GNOME desktop is a completely rip-off of the Windows shell.
EDIT:
Heres more info about MTM2 on Wine
http://appdb.winehq.org/objectManager.p ... n&iId=5038
Last edited by Kmaster on Fri Jun 12, 2009 7:47 pm, edited 2 times in total.
May I suggest not installing Ubuntu as a second OS, it will try and hijack the bootloader for XP, and if you ever get rid of Ubuntu, Xp dies with it. Do it on a second HDD instead, and unplug your XP drive when you install Unbuntu, then to change which OS fires later on, simply change it in yoru bios to which drive first first

- Kmaster
- MTM2 Engineer
- Posts: 1370
- Joined: Fri Oct 10, 2003 6:19 pm
- Location: Valparaíso, Chile.
- Contact:
lolSlayer wrote:May I suggest not installing Ubuntu as a second OS, it will try and hijack the bootloader for XP, and if you ever get rid of Ubuntu, Xp dies with it.
i have already installed ubuntu as a second OS, Ubuntu and the dual boot (GRUB) works fine. (But let me say is not at very easy thing, as linux users say, first, you need to read about how you should partition your disk, mount points and more stuff) And i'm in XP rightnow.
Haha, and i used the lame Vista recovery partition to install Ubuntu. (Of couse, i had to format it on ext3)
- Kmaster
- MTM2 Engineer
- Posts: 1370
- Joined: Fri Oct 10, 2003 6:19 pm
- Location: Valparaíso, Chile.
- Contact:
Done.
Finished installing Wine.
Finished installing lastest drivers for Intel 82945G.

Pretty cool.
Just remember:
*Set graphics render to software on mode
*Turn fullscreen off
Finished installing Wine.
Finished installing lastest drivers for Intel 82945G.
Pretty cool.
Just remember:
*Set graphics render to software on mode
*Turn fullscreen off
Last edited by Kmaster on Fri Jun 12, 2009 7:43 pm, edited 1 time in total.
- Kmaster
- MTM2 Engineer
- Posts: 1370
- Joined: Fri Oct 10, 2003 6:19 pm
- Location: Valparaíso, Chile.
- Contact:
I'm making some progress i think. I installed MTM2 from my custom MTM2OEMCD (Bundled with FIXMORE4, 2.00.24 Patch and MTM2ESP translation) (A very nice opportunity to test this modified version... hehe) BUT all i got is this:

Al least no page fault this time. I'm gonna try to install the original MTM2OEMCD now.
Sorry, i couldn't edit the image, I'm in Ubuntu right now and i don't know how image edit programs work yet.
Al least no page fault this time. I'm gonna try to install the original MTM2OEMCD now.
Sorry, i couldn't edit the image, I'm in Ubuntu right now and i don't know how image edit programs work yet.
Last edited by Kmaster on Fri Jun 12, 2009 7:41 pm, edited 1 time in total.
- Kmaster
- MTM2 Engineer
- Posts: 1370
- Joined: Fri Oct 10, 2003 6:19 pm
- Location: Valparaíso, Chile.
- Contact:
About network racing: DIrectPlay seems to work fine (I tested it with Dxdialog)
but Rengames lobby app crashes.
It took me a lot to figure it out how the rengames protocol work.. but after reading this viewtopic.php?p=35685#35685
(Thanks D2S!)
You can try installing RG normally, but it just simply will not work. Firefox will not recognize the rengames:// protocol, because the RG installation will add some reg. values on the Wine registry, not Ubuntu one. Anyway, install it, copy the MTM2.dll and the other files into the Wine's RenGames folder "/home/username/.wine/drive_c/Program\ Files/RenGames/", open a terminal and run:
UserName is your RenGames nick, preceded by rengamesonline://
Eg. rengamesonline://Kmaster
PasswordHash is a long hexadecimal string which IS your login password encrypted.
Eg. 123456abcdef123456abcdef
UserID is your RenGames user ID number.
Eg. 10721
RGIP: for RenGames appears to be 3518076274.
RoomPort: This seems to define what game you connect to. The MTM2 Social room is on 3201. The Tourney room is 2202.
You can find out your PasswordHash and your UserID by going to rengamesonline.com, logging in, go to http://rengamesonline.com/modules.php?name=MTM2, right click and select "view source" . Search for this line:
Use the first three elements (UserName,PasswordHash,UserID) from there, and the IP and port numbers from this post (or find them elsewhere in the page source)

Now you'll see the "Connecting to rengames" dialog." and then you'll see the game lobby. It will immediately crash btw lol. Now we just have to wait for another release of Wine i think. (Although I have not tested MTM2 via IP and SG, but I dont think that one will work, because it needs Framework 2.0) Maybe we could go back to powerlobbies lol
but Rengames lobby app crashes.
It took me a lot to figure it out how the rengames protocol work.. but after reading this viewtopic.php?p=35685#35685
(Thanks D2S!)
You can try installing RG normally, but it just simply will not work. Firefox will not recognize the rengames:// protocol, because the RG installation will add some reg. values on the Wine registry, not Ubuntu one. Anyway, install it, copy the MTM2.dll and the other files into the Wine's RenGames folder "/home/username/.wine/drive_c/Program\ Files/RenGames/", open a terminal and run:
Code: Select all
wine /home/username/.wine/drive_c/Program\ Files/RenGames/RenGames.exe %UserName%,%PasswordHash%,%UserID%,%RGIP%,%RoomPort%Eg. rengamesonline://Kmaster
PasswordHash is a long hexadecimal string which IS your login password encrypted.
Eg. 123456abcdef123456abcdef
UserID is your RenGames user ID number.
Eg. 10721
RGIP: for RenGames appears to be 3518076274.
RoomPort: This seems to define what game you connect to. The MTM2 Social room is on 3201. The Tourney room is 2202.
You can find out your PasswordHash and your UserID by going to rengamesonline.com, logging in, go to http://rengamesonline.com/modules.php?name=MTM2, right click and select "view source" . Search for this line:
Code: Select all
<SCRIPT>
function openlobby(ip, port){
url = 'rengamesonline://Kmaster,123456abcdef123456abcdef,10721,'+ip+','+port+'/';
window.location = url;
}
</SCRIPT>Now you'll see the "Connecting to rengames" dialog." and then you'll see the game lobby. It will immediately crash btw lol. Now we just have to wait for another release of Wine i think. (Although I have not tested MTM2 via IP and SG, but I dont think that one will work, because it needs Framework 2.0) Maybe we could go back to powerlobbies lol
Last edited by Kmaster on Fri Jun 12, 2009 7:38 pm, edited 1 time in total.
- Kmaster
- MTM2 Engineer
- Posts: 1370
- Joined: Fri Oct 10, 2003 6:19 pm
- Location: Valparaíso, Chile.
- Contact:
Well since we now use mtm2.com/chat, it is easier for me to try to play online on Linux. I just needed to install java+firefox java plugin.
BUT I realized that Ubuntu had all the ports closed by default with the iptables linux builtin firewall.
Note: I already had installed MTM2 and Directx 9.0c w/ directplay and java, since is relatively easy to do, I won't explain it here.
So, we first need to open the DX ports. (Add the sudo command for root access)
Note: Ports will be closed after reboot. I think i missed a command there.
2. place the dplay DLLs in Wine's windows/system32 directory (usually "username/.wine/drive_c/windows/system32")
http://www.thehandofagony.com/alex/dll/ ... se.tar.bz2
3. add DLL overrides (native,builtin) for: dplayx, dpnet, dpnhpast and dpwsockx in winecfg.
4. register dpnet library by calling
sources: http://support.microsoft.com/kb/240429
https://help.ubuntu.com/community/IptablesHowTo
http://wiki.winehq.org/DirectPlayGames
Last time I tried Jam was able to see me, but not join in. BUT I didn't know that I had to register dpnet and replace & override some DLLs.
More research to come soon.
BUT I realized that Ubuntu had all the ports closed by default with the iptables linux builtin firewall.
Note: I already had installed MTM2 and Directx 9.0c w/ directplay and java, since is relatively easy to do, I won't explain it here.
So, we first need to open the DX ports. (Add the sudo command for root access)
Code: Select all
sudo iptables -A INPUT -p tcp --dport 47624 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 2300:2400 -j ACCEPT
sudo iptables -A INPUT -p udp --dport 2300:2400 -j ACCEPT
sudo iptables -A INPUT -p udp --dport 6073 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 6073 -j ACCEPT
sudo iptables -A INPUT -p udp --dport 47624 -j ACCEPT2. place the dplay DLLs in Wine's windows/system32 directory (usually "username/.wine/drive_c/windows/system32")
http://www.thehandofagony.com/alex/dll/ ... se.tar.bz2
3. add DLL overrides (native,builtin) for: dplayx, dpnet, dpnhpast and dpwsockx in winecfg.
4. register dpnet library by calling
Code: Select all
wine regsvr32 dpnet.dllhttps://help.ubuntu.com/community/IptablesHowTo
http://wiki.winehq.org/DirectPlayGames
Last time I tried Jam was able to see me, but not join in. BUT I didn't know that I had to register dpnet and replace & override some DLLs.
More research to come soon.

