sikthehedgehog / mdtools

A set of tools for developing Mega Drive homebrew
76 stars 8 forks source link

Provide Windows executables #7

Open sikthehedgehog opened 6 years ago

sikthehedgehog commented 6 years ago

Windows people are accustomed to having prebuilt executables and also Windows doesn't come with a preinstalled toolchain (worse, makefiles aren't exactly portable), so I probably should start providing Windows executables for the tools.

Not too worried about Linux since GCC is nearly always preinstalled and you can just do make to build the tool :P

RepellantMold commented 3 years ago

SikMDTools_Windows.zip Well, not all of the tools are in here (namely mdtiler and echo2vgm) but I think it's good enough for now. (compiled these using VS2019's C compiler)

sikthehedgehog commented 3 years ago

That isn't so much the problem but making sure that executables will be available as soon as there's an update.

The sore point here is mdtiler, since it's the only one with external dependencies (libpng, which in turn depends on zlib). I need to stop being lazy and figure out again how to cross compile it (I'm using MinGW-w64 on Ubuntu), the big issue is that I want to make sure that I get a static library so mdtiler can be its own standalone EXE file, otherwise you have to carry around a DLL file with it all the time and it gets annoying.

I already have a cross compiler wrapper for the makefile here for all the other tools so those aren't an issue.