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

Refactor from System.Drawing.Common to Skiasharp. #1538

Open
wants to merge 22 commits into
base: master
Choose a base branch
from

Conversation

Miepee
Copy link
Contributor

@Miepee Miepee commented Nov 15, 2023

Description

This PR attempts to refactor from System.Drawing.Common to Skiasharp. Doing this successfully means, that we'll be finally able to bump the .NET version for the project and not make the project Windows only by doing so.
Fixes #875

Caveats

This is not finished yet

Notes

TODO:

  • Opening this, because I need help with the GUI part (CC @VladiStep ), as I'm unable to do meaningful changes there due to me using Linux.
  • Someone should test this with QOI games (I don't have any on me).
  • Ensure that basic graphic functionality didn't get lost (i.e. viewing embedded texture pages, texture page entries, rooms etc.) once the GUI part has been refactored
  • Make sure that all the graphic related scripts (importAllTilesets, importAllSprites, newTextureRepacker etc.) still work as they should
  • Check if these behave properly on different display scales

@GitMuslim
Copy link
Contributor

Opening this, because I need help with the GUI part (CC @VladiStep ), as I'm unable to do meaningful changes there due to me using Linux.

Can't you just use wine? I usually do my work on utmt with wine and it works just fine except for a few offs

@Miepee
Copy link
Contributor Author

Miepee commented Nov 15, 2023

That works for the GUI, but I don't want to make the core library require the use of wine.
Wine only runs on certain machines, while if we can get it to run natively, it will run anywhere where the dotnet runtime is able to run. Which is to say, a lot more machines.

If you meant dev'ing using WINE - that's more painful, because i can't actually build the GUI. And running the whole build environment via wine is a huge PITA.

@GitMuslim
Copy link
Contributor

Oh ok.

@Miepee Miepee marked this pull request as ready for review June 2, 2024 14:24
@Miepee
Copy link
Contributor Author

Miepee commented Jun 2, 2024

Opening this PR up for review. I did a very basic test via WINE and it worked as expected there.
But I would like to have someone on windows still test:

  • QOI games
  • the graphic exporter/importer scripts

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.

Migrate away from System.Drawing.Common
3 participants