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

image.cpp All Images filter missing entries #62

Closed
BaconCatBug opened this issue Dec 8, 2023 · 5 comments
Closed

image.cpp All Images filter missing entries #62

BaconCatBug opened this issue Dec 8, 2023 · 5 comments

Comments

@BaconCatBug
Copy link

The image.cpp source file has the All images filter but it's missing entries, the most egregious being it only shows .jpg and not .jpeg, while clicking down to JPEG Images shows them.

image
image

@haganbmj
Copy link
Owner

haganbmj commented Feb 8, 2024

Whoops, I basically abandoned this project as Magic kind of died to me.
I see you made a fix over in your own fork.
https://github.com/haganbmj/MagicSetEditor2/compare/master...BaconCatBug:MagicSetEditor2:master?w=1

I'll see about incorporating that and sorting out if there are other missing entries.

@BaconCatBug
Copy link
Author

No worries, actual MTG is dead to me too, I just got on a kick of making custom cards. :) The fork I made basically fixed the extensions issue, and gave the option to go up to 400% for internal image size (as pointless as that is, it's nice to have the option).

I could not for the life of me get it to compile as a static binary though, only the dynamically linked compilation worked for me, which is why I've not pushed any builds onto my own fork. That's why the Cmake file is kind of butchered, so don't actually merge anything, lol. The only changes are in src/gui/value/image.cpp and src/gui/preferences_window.cpp

@haganbmj
Copy link
Owner

The preferences input boxes actually support typing in values as a note, so 400% was doable before by just keying it in. Not a bad convenience though to add it to the dropdown.

image

@BaconCatBug
Copy link
Author

BaconCatBug commented Feb 13, 2024 via email

@haganbmj
Copy link
Owner

I think I had to specifically install static versions of the 32/64 bit libraries using vcpkg install wxwidgets:x86-windows-static for example. The readme on this repo says to specify x32, but my vcpkg directory is all x86 so not sure which I had to use in the commands - it's been quite a while.

image

I know Linux has been a pain in the past, not sure if anyone has really gotten it working natively there without crashes or font rendering issues. I haven't dug into cross compilation.

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

No branches or pull requests

2 participants