WARNING: The forum is now in read-only mode as we will soon be transitioning to different forum software. Feel free to join our Discord server in the meantime.
User avatar
mizudg
Posts:1620
Joined:Mon Apr 01, 2013 5:09 pm
Location:Bulgaria
Contact: Facebook Skype YouTube
[TUTORIAL] Nexus-Mase Switcher + How to BC2 LAN

Wed Jul 31, 2013 12:19 am

So since I was on the BC2 Tutorial making train, I decided to take another stop and see what could be done with the MaseBC2 aka LAN Method for BC2. Well, I made a video on "How to" as well as an expansive description as always on the subject and here's the link to it:

*Click*

It's a tad bit long, I know but it covers both Hosting and Joining so it's no wonder it turned out to be 15 minutes (last 2 are glitched for some reason).

So, you may ask yourself: "What is the Nexus-Mase Switcher and do I need it?". Technically, you don't really need it. It's just a tool made easier the switching between Nexus servers and LAN servers since they are otherwise incompatible. Now don't go around saying I stole the idea from RobbingHood, which I would admit to, getting my inspiration from. He and I did a little "collaboration" and with some rights and wrongs here and there, the Nexus-Mase Switcher was made. It is separated into Client and Server accordingly so it would minimize the need to manually switch one and the other one working just fine so if you are interested on how they are working, here's the code to it:

SERVER

Code: Select all

@ECHO OFF
@ECHO Nexus(1) or Mase(2)?
SET /p choice=
if '%choice%' == '1' goto NEXUS
if '%choice%' == '2' goto Mase
Goto END
:NEXUS
IF EXIST dinpiut8.dll (
del "dinput8.dll" /q

)

xcopy "dinput8_Nexus\dinput8.dll" .\ /Y /Q > NUL
START Frost.Game.Main_Win32_Final.exe

Goto END
:Mase
IF EXIST dinpiut8.dll (
del "dinput8.dll" /q

)

START mase_bc2\mase_bc2.exe
xcopy "dinput8_Mase\dinput8.dll" .\ /Y /Q > NUL
START Frost.Game.Main_Win32_Final.exe

:END
exit


CLIENT

Code: Select all

@ECHO OFF
@ECHO Nexus(1) or Mase(2)?
SET /p choice=
if '%choice%' == '1' goto NEXUS
if '%choice%' == '2' goto Mase

Goto END
:NEXUS
IF EXIST dinpiut8.dll (
del "dinput8.dll" /q

)

xcopy "dinput8_Nexus\dinput8.dll" .\ /Y /Q > NUL
START BFBC2Game.exe

Goto END
:Mase
IF EXIST dinpiut8.dll (
del "dinput8.dll" /q

)

xcopy "dinput8_Mase\dinput8.dll" .\ /Y /Q > NUL
START BFBC2Game.exe

:END
exit


Now that we got that out of the way, I would like to thank RobbingHood for inspiring me to this project until the end since I was halfway giving up on him and he gave me the idea of using 2 computers or as it is in the video, my PC and a Remote Desktop to a friend's Dedicated Server which he left me in charge of (oohooo, big mistake). He also gave me the code for the Nexus-EA Switcher and was willing to take part in the video if I couldn't fix my port problems that day so thanks a lot Robbing, for your openness and assistance equal :)

Oh and one more thing - I was told earlier that I couldn't post this in the Rome category and I kind of get the logic but if MaseBC2 isn't supposed to be on these forums initially, do in fact remove the post without consulting me beforehand if needed, just make sure to drop an explanation later if possible :)

Feedback is appreciated and if you got any questions, either ask them in the comments there or as a reply to this thread here. Have a nice day, all :)
Image


User avatar
mizudg
Posts:1620
Joined:Mon Apr 01, 2013 5:09 pm
Location:Bulgaria
Contact: Facebook Skype YouTube

Re: [TUTORIAL] Nexus-Mase Switcher + How to BC2 LAN

Wed Jul 31, 2013 1:09 pm

RobbingHood wrote:Nicely done :)


Image

This pic is literally what I meant to say :lol:
Image

User avatar
RobbingHood
Posts:3305
Joined:Mon Dec 17, 2012 8:50 pm

Re: [TUTORIAL] Nexus-Mase Switcher + How to BC2 LAN

Wed Jul 31, 2013 1:13 pm

mizudg wrote:This pic is literally what I meant to say :lol:

I guess I'll use my mentor face now --> :ugeek:
And no problem ;)

taiwanw3n
Posts:1
Joined:Wed Aug 28, 2013 5:17 pm

Re: [TUTORIAL] Nexus-Mase Switcher + How to BC2 LAN

Wed Aug 28, 2013 6:56 pm

Hi !
I successfully run this 2 program , but I can't register myself because country list is white , there is no country I can choose. :shock:

User avatar
AlexEe
Posts:281
Joined:Sat Mar 16, 2013 1:26 pm
Location:UK

Re: [TUTORIAL] Nexus-Mase Switcher + How to BC2 LAN

Thu Aug 29, 2013 8:22 am

taiwanw3n wrote:Hi !
I successfully run this 2 program , but I can't register myself because country list is white , there is no country I can choose. :shock:

what?
Add me on Steam: click | My Origin ID: AlexEe77

stjani10
Posts:2
Joined:Fri Feb 01, 2013 11:24 am

Re: [TUTORIAL] Nexus-Mase Switcher + How to BC2 LAN

Mon Sep 16, 2013 12:43 am

***** About the empty country list when you are creating a new player (ingame). *****

That seems to happen when you run the server on the same PC your're trying to connect your client (game) with. If you have a seperate PC for the server it won't happen. Maybe someone has a easier answer to this but this works for me.

User avatar
mizudg
Posts:1620
Joined:Mon Apr 01, 2013 5:09 pm
Location:Bulgaria
Contact: Facebook Skype YouTube

Re: [TUTORIAL] Nexus-Mase Switcher + How to BC2 LAN

Mon Sep 16, 2013 7:37 am

stjani10 wrote:***** About the empty country list when you are creating a new player (ingame). *****

That seems to happen when you run the server on the same PC your're trying to connect your client (game) with. If you have a seperate PC for the server it won't happen. Maybe someone has a easier answer to this but this works for me.


I would consider your theory to be correct, but, the thing is, while I was recording I had the white country list as well at one point and I cut that part out since the whole point of the video was to demonstrate how to set it up and how to play it. The way it fixed itself is still unknown to me and all I had to do was restart the game 2-3 times before it just worked.
Image

stjani10
Posts:2
Joined:Fri Feb 01, 2013 11:24 am

Re: [TUTORIAL] Nexus-Mase Switcher + How to BC2 LAN

Mon Sep 16, 2013 10:43 am

Hi again .... ohh and thanks for all your hard work

I can report that when i tried your later version v0.7 i didn't have that problem.

I believe your link here on top is for 0.6, but in the youtube version i found v0.7 (search BF:BC2 Master Server Emulator LAN (MASE:BC2) on youtube.

Too summerize. I had no white empty list in the country register when running server and client on the same computer when running v0.7

Return to “Game Discussion”

Who is online

Users browsing this forum: No registered users and 15 guests