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

Building from source #78

Open
NospamNospam opened this issue Oct 12, 2024 · 7 comments
Open

Building from source #78

NospamNospam opened this issue Oct 12, 2024 · 7 comments
Labels
documentation Improvements or additions to documentation

Comments

@NospamNospam
Copy link

Hello. Can you please list the prerequisites for building the project from source, VS loadouts included?

@Kevga
Copy link
Owner

Kevga commented Oct 13, 2024

See the "Contributing" section of the readme.

@Kevga Kevga added the documentation Improvements or additions to documentation label Oct 13, 2024
@NospamNospam
Copy link
Author

NospamNospam commented Oct 13, 2024

Yes, I added the user config, but some references are still unresolved, HMUI for example. There are also Git errors regarding GetCommitInfo. So, can you please describe the exact toolchain needed to build the project from scratch, meaning only BeatSaber and the plugins listed as required by readme are installed?

@Kevga
Copy link
Owner

Kevga commented Oct 13, 2024

There is nothing else. If HMUI, which is part of the game, remains unresolved, then you likely didn't set up the user config correctly.

@NospamNospam
Copy link
Author

And what would be incorrect if the config points to the latest version installed? Actually, the project builds now, after adding some mods to BS, despite the dependencies still being partially unresolved. Maybe some dependencies are missing from the readme? And I'm using Visual Studio CE, if it has anything to do with this.

@thisrabbit
Copy link

Please check whether your game version matches the mod repository version, and this is how I resolve the failed-to-build error even if I just cloned this repo without any modification. As you can see, every release of the game itself changes its implementation details and mods have to adjust accordingly, and if they are not matched, errors raise.

@thisrabbit
Copy link

If your game version is the latest 1.38.0, then maybe a fresh clone shouldn't have any error (Not verified personally), but for me with the game at 1.37.1, I have to roll back this repo to commit hash e8b110f7, and I assume you may choose your commit hash accordingly.

@NospamNospam
Copy link
Author

I have several versions of the game installed, the configuration file mentioned in readme is pointing to the 1.38.0, and the repository is at the head of the master branch.

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

No branches or pull requests

3 participants