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

(docs)README.md: Update debug builds line #1277

Closed
wants to merge 4 commits into from

Conversation

LuisYeah1234-hub
Copy link
Contributor

First time opening a pull request here. Since the LEGO1.DLL has been fully decompiled, I’ve updated the README.md to reflect that debug builds may now work with the decompiled LEGO1.DLL, as the previous line was written when the LEGO1.DLL was still a work in progress.

Copy link
Member

@Ramen2X Ramen2X left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, but I have some thoughts about how this should be rewritten.

README.md Outdated
@@ -38,7 +38,7 @@ cmake <path-to-source> -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=RelWithDebInfo
```
- **Visual C++ 4.2 has issues with paths containing spaces**. If you get configure or build errors, make sure neither CMake, the repository, nor Visual C++ 4.2 is in a path that contains spaces.
- Replace `<path-to-source>` with the source repository. This can be `..` if your build folder is inside the source repository.
- `RelWithDebInfo` is recommended because it will produce debug symbols useful for further decompilation work. However, you can change this to `Release` if you don't need them. `Debug` builds are not recommended because they are unlikely to be compatible with the retail `LEGO1.DLL`, which is currently the only way to use this decompilation for gameplay.
- `RelWithDebInfo` is recommended because it will produce debug symbols useful for further decompilation work. However, you can change this to `Release` if you don't need them. `Debug` builds may now work with the decompiled version of `LEGO1.DLL`, However they might still have some bugs or issues.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would rewrite this to say that, while Debug builds can be compiled and used, they are not recommended if a developer's primary intention is matching code to the original binary, as the retail binaries were naturally compiled as Release builds.

@LuisYeah1234-hub
Copy link
Contributor Author

LuisYeah1234-hub commented Dec 25, 2024

Is this any better now? again sorry this is my first time doing a pr here 😅. Ah i better close and recreate this PR there is a merge branch due of sync fork

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

Successfully merging this pull request may close these issues.

2 participants