Giter VIP home page Giter VIP logo

Comments (9)

mmatyas avatar mmatyas commented on June 1, 2024

There's no step by step guide, but if you're in general familiar with building C++/CMake projects on Windows, OpenBlok works similarly. You can also take a look at the .appveyor.yml file, which contains all the necessary calls in order to build the game.

from openblok.

SkoricIT avatar SkoricIT commented on June 1, 2024

The appveyor build produces only an .exe file (at least online)? How do I build all files and also include the localisation?

from openblok.

mmatyas avatar mmatyas commented on June 1, 2024

Ah yes, the automatic release died with Travis too... will need to fix that later. Here's the latest Windows build:

openblok.zip

This was built with Gettext support, and the locale directory is data/locale/. I assume one could just drop MO files there (eg. data\locale\de\LC_MESSAGES\main.mo), but not sure how to test this on Windows.

In case you wish to build it manually, you'll need Gettext (and Iconv, on which it depends), you'll need to tell CMake where it is installed, and then the build does the rest. There's probably a prebuilt Gettext for Windows, if you don't want to build it manually, but I haven't looked too hard myself. (Which is why it's not used on AppVeyor: that's there only to test MSVC builds, but the actual release is cross compiled from Linux.)

from openblok.

SkoricIT avatar SkoricIT commented on June 1, 2024

Thanks for the build. The locale does not get loaded, unfortunately. I additionally tried putting the .pot file in the locale directory but that changed nothing.

Run from Windows Terminal with locale query:
image

Directory listing:
image

from openblok.

mmatyas avatar mmatyas commented on June 1, 2024

There were indeed some leftover CMake issues, but it should now work fine. Tested it on Windows too, with changing the locale vars, hopefully works with the system language too.

openblok.zip

from openblok.

mmatyas avatar mmatyas commented on June 1, 2024

Fixed some accented character issues, added a Windows target to the GitHub Actions build, tested and working on Windows:

image

from openblok.

SkoricIT avatar SkoricIT commented on June 1, 2024

That look great, will test as soon as possible. Thank you for your effort, it is greatly appreciated!

from openblok.

SkoricIT avatar SkoricIT commented on June 1, 2024

Can confirm that it works on my machine with the GitHub actions artefact!

from openblok.

mmatyas avatar mmatyas commented on June 1, 2024

Great! I guess this can be closed then.

from openblok.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.