paradoxgameconverters / commonitems Goto Github PK
View Code? Open in Web Editor NEWCommon utilities used by various converters
License: MIT License
Common utilities used by various converters
License: MIT License
Or at least I don't think it should. But it does now. I'll have some tests to demonstrate it soon.
open it (with appropriate fs::utf8(path) name)
detect if fail and throw exception
add BOM
pass the handle back to main code
https://github.com/kuba--/zip may be lighter and is used by Vic3 to HoI4
Specifically, š and ć seem to be causing a converter to not recognize folders, preventing some users from using the converters.
See NormalizeUTF8PathTests
in ParadoxGameConverters/PGCG.commonItems#8
As done by the .net commons, using a library that itself uses this technique: https://github.com/erri120/GameFinder/wiki/GOG-Galaxy
It's currently set to call the non-typo version and marked as deprecated so everyone has a chance to move on.
And add a travis action
Implemented in the .NET version; ParadoxGameConverters/PGCG.commonItems#463
See ParadoxGameConverters/PGCG.commonItems#197 (comment) for the inspiration
color1 = "white"
color2 = hsv { 1.0 1.0 1.0 }
color3 = hsv360 { 360 100 100 }
color4 = hex { ffffff }
color5 = rgb { 255 255 255 }
See the SingleItemReadsWholeBracedBlock for an example.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.