ekolis / stars-nova

Clone of the classic 4X game Stars!. Fork of original svn repo on SourceForge.
Other
17 stars 6 forks source link

Create a new setup project #15

Open ekolis opened 4 years ago

ekolis commented 4 years ago

Describe the feature you'd like to see The old setup project is not compatible with Visual Studio 2019. We will need to replace it.

Benefits Allow users to install the game.

Describe alternatives Need to investigate what options we have.

Additional context N/A

thegreatpl commented 4 years ago

For one thing, I would recommend that the build process be looked at. Currently, when building debug or release, it does not copy the files as a usual C# project would.

Instead, it literally looks if the game is placed in a folder called debug or release and then looks for the files 2 folders up. This is hardcoded, and will happen if the user installs the game in such a folder (see Common.FileSearcher.GetNovaRoot(), line 375).

As a solution, I recommend that the Graphics project be added in, and that all graphics that are part of it be set to copy if newer. And add any basics to their own/graphics project to be copied.