Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do you know how to get installer, if I buy the game from EPIC? #13

Open
flier268 opened this issue May 25, 2024 · 6 comments
Open

Do you know how to get installer, if I buy the game from EPIC? #13

flier268 opened this issue May 25, 2024 · 6 comments

Comments

@flier268
Copy link

The server require cd key, but i don't know how to get that

@Toetje585
Copy link
Contributor

Epic Games is not supported in this image, however In a new upcoming image I will do an attempt to make it work.

@flier268
Copy link
Author

flier268 commented Jun 7, 2024

  1. put this file as run.bat under x64 folder
@echo off
Set UserId=[email protected]
Set Password=Password0001
cd /D "C:\Program Files\Epic Games\FarmingSimulator22"
FarmingSimulator2022.exe -AUTH_LOGIN=%UserId% -AUTH_PASSWORD="%Password%"
  1. Edit dedicatedServer.xml
    <game description="Farming Simulator 22" name="FarmingSimulator2022" exe="FarmingSimulator2022.exe">

to

    <game description="Farming Simulator 22" name="FarmingSimulator2022" exe="run.bat">
  1. Edit Epic setting, set params -server

@compumark
Copy link

@flier268 so you have epic launcher also installed on the windows part via VNC and added the parameters above?

@flier268
Copy link
Author

flier268 commented Jun 8, 2024 via email

@Toetje585
Copy link
Contributor

@flier268 I have a test image on Discord that does this, however I suggest to wait a bit until I finalyze it.

@flier268
Copy link
Author

@Toetje585
Could you edit DOCKERFILE or install.sh, install game and setup?

  1. Download game with Legendary
  2. create run.bat and use password in env
  3. create game.xml and set run.bat

By the way, I had a new project that can forward startup parameters to FarmingSimulator2022.exe (ex: EPIC username and password), so you can set game.xml to

    <game description="Farming Simulator 22" name="FarmingSimulator2022" exe="EXE Proxy.exe">
{
  "FileName": "C:\\Program Files\\Epic Games\\FarmingSimulator22\\FarmingSimulator2022.exe",
  "Arguments": "[email protected] -AUTH_PASSWORD=\"password\"",
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants