Rychard / CityWebServer

Integrated Web Server for Cities: Skylines
58 stars 21 forks source link

Create 'Getting Started' instructions #3

Open Temeez opened 9 years ago

Temeez commented 9 years ago

Hey!

Would it be possible to add a quick guide how to get this working? What to do with which thing after the build.

Thank you

Rychard commented 9 years ago

There's a post-build action on the project that moves all the files to the appropriate folder under %LocalAppData%. So, all you need to do is open the solution and build it once, and then launch Cities: Skylines and enable the modification in the content manager.

Though you make a good point; adding some instructions to the README file is never a bad idea.

Temeez commented 9 years ago

Didn't know that such thing was even possible, I'm very happy to know that!

Rychard commented 9 years ago

In addition to that, it's configured in such a way that if you make some changes to the project and build it again while the game is running, the game will detect the changes and load the updated assemblies. There's no real magic at work here, though. The project is simply set to automatically increment its version number on every build. The game just reloads the assemblies whenever the version number changes.

If you're interested in making changes, this makes the coding-testing cycle a lot less tedious.

Temeez commented 9 years ago

That is so damn useful, as my coding is heavily trial and error! Any plans for contributing guidelines or such? ;)