MTM2.com

A forum for mtm2 discussion
FAQ :: Search :: Members :: Groups :: Register
Login
It is currently Tue Nov 26, 2024 5:13 am



Post new topic Reply to topic  [ 47 posts ]  Go to page 1, 2, 3  Next   
Author Message
 Post subject: Monster Truck Madness on Linux research topic
PostPosted: Thu May 29, 2008 11:29 pm 
MTM2 Engineer
User avatar

Joined: Fri Oct 10, 2003 6:19 pm
Posts: 1350
Location: Valparaíso, Chile.
http://www.wine-reviews.net/games/microsoft-monster-truck-madness-10-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.

Top
 Profile  
 
 Post subject:
PostPosted: Fri May 30, 2008 8:36 am 
Member
User avatar

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


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 30, 2008 6:30 pm 
MTM2 Engineer
User avatar

Joined: Fri Oct 10, 2003 6:19 pm
Posts: 1350
Location: Valparaíso, Chile.
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)


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 30, 2008 6:54 pm 
Member
User avatar

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


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 30, 2008 8:12 pm 
MTM2 Engineer
User avatar

Joined: Fri Oct 10, 2003 6:19 pm
Posts: 1350
Location: Valparaíso, Chile.
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.


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 30, 2008 9:31 pm 
MTM2 Engineer
User avatar

Joined: Fri Oct 10, 2003 6:19 pm
Posts: 1350
Location: Valparaíso, Chile.
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.

Top
 Profile  
 
 Post subject:
PostPosted: Fri May 30, 2008 10:02 pm 
Member
User avatar

Joined: Sun Oct 16, 2005 4:39 pm
Posts: 1822
Location: Winnipeg Manitoba, Canada
i never could get wine to do anything.

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 31, 2008 12:28 am 
MTM2 Engineer
User avatar

Joined: Fri Oct 10, 2003 6:19 pm
Posts: 1350
Location: Valparaíso, Chile.
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..)


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 31, 2008 11:21 pm 
Member
User avatar

Joined: Mon Oct 10, 2005 9:39 am
Posts: 24
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.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 01, 2008 10:03 pm 
Member
User avatar

Joined: Thu Apr 19, 2001 2:01 pm
Posts: 695
Location: USA and Proud of it.
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>


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 02, 2008 12:02 pm 
MTM2 Engineer
User avatar

Joined: Fri Oct 10, 2003 6:19 pm
Posts: 1350
Location: Valparaíso, Chile.
CH, Did u install DirectPlay?

I still can not get MTM2 to run


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 02, 2008 10:54 pm 
Member
User avatar

Joined: Thu Apr 19, 2001 2:01 pm
Posts: 695
Location: USA and Proud of it.
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>


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 03, 2008 12:09 am 
MTM2 Engineer
User avatar

Joined: Fri Oct 10, 2003 6:19 pm
Posts: 1350
Location: Valparaíso, Chile.
Try installing it.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 03, 2008 12:56 am 
MTM2 Engineer
User avatar

Joined: Fri Oct 10, 2003 6:19 pm
Posts: 1350
Location: Valparaíso, Chile.
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.

Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 03, 2008 12:58 am 
MTM2 Engineer
User avatar

Joined: Fri Oct 10, 2003 6:19 pm
Posts: 1350
Location: Valparaíso, Chile.
Note to self: translate "Access Violation" and "<Unknown>"

[(-:]


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 03, 2008 8:31 pm 
Member
User avatar

Joined: Sun Oct 16, 2005 4:39 pm
Posts: 1822
Location: Winnipeg Manitoba, Canada
Image

_________________
Image


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 03, 2008 11:40 pm 
MTM2 Engineer
User avatar

Joined: Fri Oct 10, 2003 6:19 pm
Posts: 1350
Location: Valparaíso, Chile.
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.

Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 30, 2008 3:06 pm 
MTM2 Engineer
User avatar

Joined: Fri Oct 10, 2003 6:19 pm
Posts: 1350
Location: Valparaíso, Chile.
Version 1.0 of Wine was finally released.

Image

http://appdb.winehq.org/objectManager.p ... n&iId=5038


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 30, 2008 4:30 pm 
MTM2 Engineer
User avatar

Joined: Fri Oct 10, 2003 6:19 pm
Posts: 1350
Location: Valparaíso, Chile.
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 http://forum.mtm2.com/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:
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:
<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.

Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 03, 2009 11:09 pm 
MTM2 Engineer
User avatar

Joined: Fri Oct 10, 2003 6:19 pm
Posts: 1350
Location: Valparaíso, Chile.
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:
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:
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 47 posts ]  Go to page 1, 2, 3  Next   


Who is online

Users browsing this forum: No registered users and 67 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group