Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pretengo

Basic Account Server Emulator Returning Static Response just enough for Cemu to Play MHF-Z

Pretengo config.json

Pretengo configuration config.json:

{
  "ListenAddress": "127.0.0.1",
  "ListenPort": "443",
  "HttpPort": "80",
  "GetServerlist": "true",
  "access_token": "1234567890abcdef1234567890abcdef",
  "refresh_token": "fedcba0987654321fedcba0987654321fedcba12",
  "expires_in": "3600",
  "StaticKey": "false",
  "SessionKey": "U0VSVklDRVNFUlZJQ0VTRVJWSUNFU0VSVklDRVNFUlZJQ0VTRVJWSUNFU0VSVklDRVNFUlZJQ0VTRVI="
}
  • When starting MHF on Cemu, Pretengo will listen and send the static response based on config above and using the SessionKey as SignIn Method for Erupe server. if the StaticKey is set to "no", the SignKey will be generated automatically from userID and password based on Cemu online files.
  • The default port used by nintendo is 443 or SSL port, you can change it but you must proxy the 443 into the destination port in order to function.

How to Use

  1. first you need to redirect nintendo.account.net into your local IP wich pretengo listen to, easiest way is to use host file in %windir%/System32/Drivers/etc/hosts and add the following e.g. : 127.0.0.1 account.nintendo.net
  2. second start the pretengo using go command go run pretengo.go
  3. run Cemu and see if pretengo get a post request and can answer with static responde in config.json file

Note

About

Very Dumb/Basic Account Server Emulator Returning Static Response to Play MHF-Z on Cemu written in go

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages