-
Notifications
You must be signed in to change notification settings - Fork 805
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
switch-next: Build with CMake #334
Conversation
Allows it work using the Switch toolchain
64b31c3
to
0df7f6f
Compare
042e9c6
to
cd032ff
Compare
The binary works, but the embedded title, author name, and version seem to be wrong: Title is Devilution Team (used to be "diablo-nx"), Author is "Unspecified Author" (should be "Devilution Team", and version is "0.5.0" (no clue what it should be). The executable name is "DevilutionX.nro" instead of "diablo-nx.nro", but that might be intended? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Binary works, but APP_AUTHOR and APP_TITLE are wrong
The error display requester also works, it shows a red "Date file error" window if the .MPG file is missing. I suppose it should be "data file", not "date file". Also, on Switch, I cannot press OK in that requeter, it seems maybe the SDL_controller button input is not hooked up so I have no way to cause an OK in these new error requesters. Notice for other UI elements, we hooked up the controller input, e.g. here: devilutionX/SourceX/DiabloUI/diabloui.cpp Line 192 in 5963dc8
EDIT: It doesn't really matter for this particular requester, because a restart is required to fix the problem anyways. |
Thank you for testing!
This typo is fixed on master but the
Thanks, we should fix this directly on master. |
This is fixed now. The version etc are consistent with the non-switch build (they weren't before). |
I think this PR should be ready to merge then AFAIK. |
Although what happened to the line endings in |
Yeah, the line endings were wrong previously. It's not a big issue, as GitHub has a hide whitespace diff option. |
Ok then this is ready to merge as far as I am concerned. Awesome work. |
Thanks for testing, I'll rebase and replace the old PR |
* Update CMake/Findsodium.cmake from upstream * CMake/Findsodium.cmake: Support "Generic" platform Allows it work using the Switch toolchain * Switch port: Code changes for latest devkitpro * switch/build.sh: Fewer devkitpro packages
* Update CMake/Findsodium.cmake from upstream * CMake/Findsodium.cmake: Support "Generic" platform Allows it work using the Switch toolchain * Switch port: Code changes for latest devkitpro * switch/build.sh: Fewer devkitpro packages
* Update CMake/Findsodium.cmake from upstream * CMake/Findsodium.cmake: Support "Generic" platform Allows it work using the Switch toolchain * Switch port: Code changes for latest devkitpro * switch/build.sh: Fewer devkitpro packages
* Update CMake/Findsodium.cmake from upstream * CMake/Findsodium.cmake: Support "Generic" platform Allows it work using the Switch toolchain * Switch port: Code changes for latest devkitpro * switch/build.sh: Fewer devkitpro packages
* Update CMake/Findsodium.cmake from upstream * CMake/Findsodium.cmake: Support "Generic" platform Allows it work using the Switch toolchain * Switch port: Code changes for latest devkitpro * switch/build.sh: Fewer devkitpro packages
* Update CMake/Findsodium.cmake from upstream * CMake/Findsodium.cmake: Support "Generic" platform Allows it work using the Switch toolchain * Switch port: Code changes for latest devkitpro * switch/build.sh: Fewer devkitpro packages
* Update CMake/Findsodium.cmake from upstream * CMake/Findsodium.cmake: Support "Generic" platform Allows it work using the Switch toolchain * Switch port: Code changes for latest devkitpro * switch/build.sh: Fewer devkitpro packages
* Update CMake/Findsodium.cmake from upstream * CMake/Findsodium.cmake: Support "Generic" platform Allows it work using the Switch toolchain * Switch port: Code changes for latest devkitpro * switch/build.sh: Fewer devkitpro packages
* Use the Switch toolchain * Switch port: Code changes for latest devkitpro * switch/build.sh: Fewer devkitpro packages
* Switch port: Code changes for latest devkitpro * switch/build.sh: Fewer devkitpro packages
* Switch port: Code changes for latest devkitpro * switch/build.sh: Fewer devkitpro packages
* Switch port: Code changes for latest devkitpro * switch/build.sh: Fewer devkitpro packages
* Switch port: Code changes for latest devkitpro * switch/build.sh: Fewer devkitpro packages
* Switch port: Code changes for latest devkitpro * switch/build.sh: Fewer devkitpro packages
* Switch port: Code changes for latest devkitpro * switch/build.sh: Fewer devkitpro packages
* Switch port: Code changes for latest devkitpro * switch/build.sh: Fewer devkitpro packages
* Switch port: Code changes for latest devkitpro * switch/build.sh: Fewer devkitpro packages
* Switch port: Code changes for latest devkitpro * switch/build.sh: Fewer devkitpro packages
* Switch port: Code changes for latest devkitpro * switch/build.sh: Fewer devkitpro packages
* Switch port: Code changes for latest devkitpro * switch/build.sh: Fewer devkitpro packages
* Switch port: Code changes for latest devkitpro * switch/build.sh: Fewer devkitpro packages
* Switch port: Code changes for latest devkitpro * switch/build.sh: Fewer devkitpro packages
* Switch port: Code changes for latest devkitpro * switch/build.sh: Fewer devkitpro packages
* Switch port: Code changes for latest devkitpro * switch/build.sh: Fewer devkitpro packages
* Switch port: Code changes for latest devkitpro * switch/build.sh: Fewer devkitpro packages
* Switch port: Code changes for latest devkitpro * switch/build.sh: Fewer devkitpro packages
* Switch port: Code changes for latest devkitpro * switch/build.sh: Fewer devkitpro packages
* Switch port: Code changes for latest devkitpro * switch/build.sh: Fewer devkitpro packages
I haven't tested the binary