Playing AW1/2 online using Mednafen emulator - here's how

The board for discussing the retro, the golden oldies. Debate and discuss all.
Post Reply
User avatar
Narts
Rank: hey daddy-o

Playing AW1/2 online using Mednafen emulator - here's how

Post by Narts » Fri Jun 10, 2011 9:12 am

So I found an emulator called mednafen that allows two users to play a GBA game with shared controls over the internet.

You know what this means.

AW1 and 2 are now properly playable online! Properly... well sort of! Setting the emulator up can be a bit tricky but we managed to play a game of AW2 with Shifty without glitches and it seemed to work perfectly.

To make it a bit easier for others to do this I've written a short tutorial for setting up the server and the client side of the emulator. If these instructions don't work for you, don't worry, it just means you are stupid and you were not meant to play a lofty game like Advance Wars in the first place.

1. SETTING UP THE SERVER

Only one of the players needs to do this. It can be done by a third party not involved with the match too but it's probably simplest if you keep this between two people.

You will find the files needed from here: http://mebpage.net/files/mednafen-server/

You'll need: cygwin1.dll, mednafen-server.exe (if on windows) and standard.conf

Get mednafen-server-0.4.3.tar.bz2 only if you're on a non-windows OS or want to compile the server yourself for some reason. I can't help with compiling, that's beyond the scope of this tutorial.

Dump the files into the same directory (the main mednafen folder works fine).

You may need to edit standard.conf if you want to set the server up on a different port than the default, but otherwise you shouldn't need to touch it.

You need to give mednafen-server.exe full access in the firewall.

You may also need to set your router to forward the port you're using into your local machine's IP but every router has a different interface for this so I can't help with that.

Lastly, you need to know your external IP and trust your opponent enough to let them know. If you don't trust them with your IP (perhaps smart when talking about strangers on the internet) there are ways for IP-less play (like Hamachi) but again, outside the scope of this tutorial.

Go into the command prompt and launch the server with

>mednafen-server standard.conf

2. SETTING UP THE CLIENT

Both players need the specialised "gba coop netplay" version of the mednafen emulator from here: http://forum.fobby.net/index.php?t=msg&goto=2133& (scroll down to the admin post with the attachments)

Both players also need the ROM for the game they wish to play. The ROM must be exactly the same version for both players or else the server will assign separate rooms for each player and that spells problems.

You might also want to install this (but it's not strictly necessary. Just makes entering command line arguments a bit easier.): http://mebpage.net/mebnafen/

mednafen.exe needs to be given full internet access through the firewall.

Select the emulator's executable and the rom in the corresponding boxes.

Enter this into the arguments box:

Code: Select all

-connect -nethost *IP or DNS of server* -netport 4046 (or any port of your choice) -netmerge 1 -netnick *yourname*
Once both players have done this, the game *should* be up with both players sharing the controls on the GBA. (WASD for d-pad, numpad 2 and 3 for A, B, return for start. Select is uh... I'm not paid to write these tutorials)

Of course, this is no link mode so there's nothing stopping you from messing with the opponent's turn but we've all played chess. No touching the other player's pieces. Fog will also be pointless but nobody likes fog anyway right.

Enjoy!
Last edited by Narts on Fri Jun 10, 2011 5:54 pm, edited 1 time in total.

User avatar
Xenesis
Tri-Star CO
Tri-Star CO
Rank: Hydrocarbon Inspector
3DS Code: 2535-4646-7163
Location: 0x020232DD
Contact:

Re: Playing AW1/2 online using Mednafen emulator - here's ho

Post by Xenesis » Fri Jun 10, 2011 10:17 am

Oh sweet.

Maybe my balance hacks can be usable :P
IST wrote:Even the worst individual needs to discover the joys of a chicken statue that is also a pregnant blonde housewife.

User avatar
Shift Breaker
Rank: Combo Chicken
Location: Definitely WWN. Really.

Re: Playing AW1/2 online using Mednafen emulator - here's ho

Post by Shift Breaker » Fri Jun 10, 2011 4:36 pm

That was the first thing I thought of.
"The part where you all shut up happens now." ~ thefalman
"I actually like to think of myself as a younger, hipper, more alive Nostradamus." ~ Treed
"Shifty, if I wasn't as manly a man as I am, I'd totally ask you out. And hope you'd wear that topless dude to impress me. In another lifetime, perhaps." ~ Nemmy
"Majora's Mask may by the only game I've played where someone was mooning me the entire time and I didn't care." ~ ThrawnFett

User avatar
killmeplz

Re: Playing AW1/2 online using Mednafen emulator - here's ho

Post by killmeplz » Sat Aug 06, 2011 9:17 pm

I'm ready to take the risk if you are enough experimented in this game

ThunderWalker
Rank: Elf
Location: Netherlands

Re: Playing AW1/2 online using Mednafen emulator - here's ho

Post by ThunderWalker » Tue Aug 09, 2011 12:50 am

Looks great, but...

1. I simply don't get the Mednafen emulator to start; it crashes straight away when I open it. Do I need another emulator for it to work or smth?
2. I can't download Standard.conf for some reason.
My sig is a void.

User avatar
killmeplz

Re: Playing AW1/2 online using Mednafen emulator - here's ho

Post by killmeplz » Fri Aug 12, 2011 12:12 am

Thanks narts I finally found an oppenent because of you.
I will translate this tutorial in my foreign language.

thunderwalker
1. to launch the emulator, you have to slide the ROM on mednafen.exe

I will also give you the full directory with the saves and the roms in a single folder to download, so everybody will be able to play online fast.

User avatar
killmeplz

Re: Playing AW1/2 online using Mednafen emulator - here's ho

Post by killmeplz » Thu Aug 18, 2011 11:23 pm

if anybody wants to dual me.
Plz add me on Hamachi: killmeplz_advance_wars
password: 000

I will now translate the tutorial I made in french, that I will add to the folder of mednafen I've completed to make it easier for everybody.

User avatar
Narts
Rank: hey daddy-o

Re: Playing AW1/2 online using Mednafen emulator - here's ho

Post by Narts » Sun Aug 21, 2011 5:09 pm

Just keep in mind linking to roms is against the forum rules

User avatar
killmeplz

Re: Playing AW1/2 online using Mednafen emulator - here's ho

Post by killmeplz » Wed Aug 20, 2014 7:10 pm

There is now an easier possibility for online playing.
On Android, you only need Myboy! Gba Emulator and the same version of The Rom on each side.
I'd be interested to start a rank league, I'm sure there is a community still willing to play.

add me on Skype for now: killmeplz77

User avatar
Narts
Rank: hey daddy-o

Re: Playing AW1/2 online using Mednafen emulator - here's ho

Post by Narts » Thu Aug 21, 2014 2:24 pm

How strange. I don't even remember making this topic.

But MyBoy looks great.

Why don't you go to the WWN IRC, you might find people willing to test this there.

User avatar
killmeplz

Re: Playing AW1/2 online using Mednafen emulator - here's ho

Post by killmeplz » Thu Aug 21, 2014 8:43 pm

I made a translation of your mednafen guide, and played against really good French players.
http://www.aw-experience.com/forum/AW2/jeu-en-ligne

Nobody was able to beat me thought.
I'll try on the other side of the atlantic now.

User avatar
Narts
Rank: hey daddy-o

Re: Playing AW1/2 online using Mednafen emulator - here's ho

Post by Narts » Fri Aug 22, 2014 1:34 am

I'm big in France, woo.

MyBoy is great. Playing AW2 on your phone = win.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest