Monster Truck Madness on Linux research topic

mtm2 and other sensible chat
User avatar
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

Post by Kmaster »

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
Last edited by Kmaster on Fri Jun 12, 2009 7:47 pm, edited 2 times in total.
User avatar
Slayer
Member
Posts: 1822
Joined: Sun Oct 16, 2005 4:39 pm
Location: Winnipeg Manitoba, Canada

Post by Slayer »

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
Image
User avatar
Kmaster
MTM2 Engineer
Posts: 1370
Joined: Fri Oct 10, 2003 6:19 pm
Location: Valparaíso, Chile.
Contact:

Post by Kmaster »

Slayer 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.
lol

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)
User avatar
Slayer
Member
Posts: 1822
Joined: Sun Oct 16, 2005 4:39 pm
Location: Winnipeg Manitoba, Canada

Post by Slayer »

yes, now your commited, u can never get rid of unbuntu, never ever, it will destroy XP's boot loader, you will have to reinstall XP.
Image
User avatar
Kmaster
MTM2 Engineer
Posts: 1370
Joined: Fri Oct 10, 2003 6:19 pm
Location: Valparaíso, Chile.
Contact:

Post by Kmaster »

lol

why i would ever want to get rid of ubuntu?

and GRUB is boot loader, not ubuntu


if i want to get rid of the ubuntu and the GRUB loader, the only thing i need is
->delete ubuntu partitions
->boot from the windows xp cd
->use the fixboot and fixmbr commands from the recovery console.
User avatar
Kmaster
MTM2 Engineer
Posts: 1370
Joined: Fri Oct 10, 2003 6:19 pm
Location: Valparaíso, Chile.
Contact:

Post by Kmaster »

Done.
Finished installing Wine.
Finished installing lastest drivers for Intel 82945G.

Image

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.
User avatar
Slayer
Member
Posts: 1822
Joined: Sun Oct 16, 2005 4:39 pm
Location: Winnipeg Manitoba, Canada

Post by Slayer »

i never could get wine to do anything.
Image
User avatar
Kmaster
MTM2 Engineer
Posts: 1370
Joined: Fri Oct 10, 2003 6:19 pm
Location: Valparaíso, Chile.
Contact:

Post by Kmaster »

Slayer wrote:i never could get wine to do anything.
It's very simple, just run "wine /filename.exe" on the terminal or associate EXE files with Wine. Some programs runs, while others just simply dont. MTM2 is not working (Maybe because I haven't setup the DirectX9 compatibility on winecfg, maybe..)
User avatar
Gurlymgun
Member
Posts: 24
Joined: Mon Oct 10, 2005 9:39 am

Post by Gurlymgun »

I play MTM2 with Wine with DirectX support. You just need install DirectX in Wine directly or with repositories.

MTM2 works perfect in my Debian+Wine. Is excelent.
User avatar
ch_2005
Member
Posts: 696
Joined: Thu Apr 19, 2001 2:01 pm
Location: USA and Proud of it.
Contact:

Post by ch_2005 »

MTM2 works fine with Wine on Suse. However, network play doesn't work out of the box; anyone know of a way to make it work?
Keep on MTMing,
CH_2005
<a href="http://ch.mtm2.com/">Visit my site</a>
User avatar
Kmaster
MTM2 Engineer
Posts: 1370
Joined: Fri Oct 10, 2003 6:19 pm
Location: Valparaíso, Chile.
Contact:

Post by Kmaster »

CH, Did u install DirectPlay?

I still can not get MTM2 to run
User avatar
ch_2005
Member
Posts: 696
Joined: Thu Apr 19, 2001 2:01 pm
Location: USA and Proud of it.
Contact:

Post by ch_2005 »

Umm, I have no idea. I really know nothing about directx on wine. I just followed the mtm2 installer and ran monster.exe and it worked decently.
Keep on MTMing,
CH_2005
<a href="http://ch.mtm2.com/">Visit my site</a>
User avatar
Kmaster
MTM2 Engineer
Posts: 1370
Joined: Fri Oct 10, 2003 6:19 pm
Location: Valparaíso, Chile.
Contact:

Post by Kmaster »

Try installing it.
User avatar
Kmaster
MTM2 Engineer
Posts: 1370
Joined: Fri Oct 10, 2003 6:19 pm
Location: Valparaíso, Chile.
Contact:

Post by Kmaster »

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:

Image

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.
User avatar
Kmaster
MTM2 Engineer
Posts: 1370
Joined: Fri Oct 10, 2003 6:19 pm
Location: Valparaíso, Chile.
Contact:

Post by Kmaster »

Note to self: translate "Access Violation" and "<Unknown>"

[(-:]
User avatar
Slayer
Member
Posts: 1822
Joined: Sun Oct 16, 2005 4:39 pm
Location: Winnipeg Manitoba, Canada

Post by Slayer »

Image
Image
User avatar
Kmaster
MTM2 Engineer
Posts: 1370
Joined: Fri Oct 10, 2003 6:19 pm
Location: Valparaíso, Chile.
Contact:

Post by Kmaster »

Version 1.0 of Wine finally supports MTM2.
Last edited by Kmaster on Fri Jun 12, 2009 7:39 pm, edited 1 time in total.
User avatar
Kmaster
MTM2 Engineer
Posts: 1370
Joined: Fri Oct 10, 2003 6:19 pm
Location: Valparaíso, Chile.
Contact:

Post by Kmaster »

Version 1.0 of Wine was finally released.

Image

http://appdb.winehq.org/objectManager.p ... n&iId=5038
User avatar
Kmaster
MTM2 Engineer
Posts: 1370
Joined: Fri Oct 10, 2003 6:19 pm
Location: Valparaíso, Chile.
Contact:

Post by Kmaster »

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:

Code: Select all

wine /home/username/.wine/drive_c/Program\ Files/RenGames/RenGames.exe %UserName%,%PasswordHash%,%UserID%,%RGIP%,%RoomPort%
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:

Code: Select all

<SCRIPT>
function openlobby(ip, port){
url = 'rengamesonline://Kmaster,123456abcdef123456abcdef,10721,'+ip+','+port+'/';
window.location = url;
}
</SCRIPT>
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)

Image

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.
User avatar
Kmaster
MTM2 Engineer
Posts: 1370
Joined: Fri Oct 10, 2003 6:19 pm
Location: Valparaíso, Chile.
Contact:

Post by Kmaster »

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)

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 ACCEPT
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

Code: Select all

wine regsvr32 dpnet.dll
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.
Post Reply