How to simulate multiplayer

Arrange meetings with other people to play MP, announce your servers.
Post Reply
User avatar
darius456
Fast Inserter
Fast Inserter
Posts: 222
Joined: Thu Jan 02, 2014 6:33 am
Contact:

How to simulate multiplayer

Post by darius456 »

The question is how to turn on 2 copies of factorio on one PC. I want use one of it to create multiplayer game and second to join to first one, but when I try to launch second factorio game I get error:
Image

I need it to test my mods in MP game.
Lenovo Y580 8GB Ram GF660m 128GB SSD W7

MF-
Smart Inserter
Smart Inserter
Posts: 1235
Joined: Sun Feb 24, 2013 12:07 am
Contact:

Re: How to simulate multiplayer

Post by MF- »

I think you may need to get two separate .zip copies of factorio?

(+ don't forget to change the port on one of them)

jeroon
Filter Inserter
Filter Inserter
Posts: 351
Joined: Sun Jan 26, 2014 10:18 am
Contact:

Re: How to simulate multiplayer

Post by jeroon »

What I've done:

- Download the .zip version of the game, change the settings the way you like them, make sure the mod folder is there, etc.
- In Options, Graphics, disable Multisampling, set Quality to low and disable Bitmap Cashing, so you don't run out of VRAM when starting multiple clients.
- Copy the entire game folder, and in the new folder, delete the 'mod' folder.
- Link the original mod folder to the copy (google for mklink, for me on windows the command was " mklink /D C:\Games\Factorio\Factorio_0.11.1.client\mods C:\Games\Factorio\Factorio_0.11.1.host\mods " with admin rights, the copy-folder comes first, then the source-folder)
- Change the port on the copy, it's in /config/config.ini
- Start both copies, let the first one create a MP game
- Change the player name on the second copy
- Let the second (and third ;) ) one connect via local ip address

hope this helps, if you want to connect via internet as well, I think you have to open both host and client ports in your router, but I'm not sure of that.

PS: you can start the second copy with a shortcut to connect automaticly, like: "Factorio.exe --mp-connect 192.168.1.109:34197"
Last edited by jeroon on Mon Nov 17, 2014 8:41 pm, edited 1 time in total.

User avatar
darius456
Fast Inserter
Fast Inserter
Posts: 222
Joined: Thu Jan 02, 2014 6:33 am
Contact:

Re: How to simulate multiplayer

Post by darius456 »

Thx you both i will try.
Lenovo Y580 8GB Ram GF660m 128GB SSD W7

tecxx
Long Handed Inserter
Long Handed Inserter
Posts: 62
Joined: Wed Jul 23, 2014 8:10 pm
Contact:

Re: How to simulate multiplayer

Post by tecxx »

if you have two screens, mice and keyboards, you can turn your pc into a terminal, and run 2 real parallel user sessions on it.

http://www.miniframe.com/technology/softxpand.html

wife and me use this to play several games together on one powerful pc. not trying to advertise here, just spreading the word, this is quite a cool and useful software.

User avatar
SHiRKiT
Filter Inserter
Filter Inserter
Posts: 706
Joined: Mon Jul 14, 2014 11:52 pm
Contact:

Re: How to simulate multiplayer

Post by SHiRKiT »

Virtual machines FTW, all you need is a SLI and 16GB of ram =]

tno1
Long Handed Inserter
Long Handed Inserter
Posts: 62
Joined: Tue Nov 11, 2014 1:12 am
Contact:

Re: How to simulate multiplayer

Post by tno1 »

just get sandboxie and start 1 game as sandbox and other as not.

And change the port to end with 5 instead of 7 in config :p much easier

Post Reply

Return to “Multiplayer”