glacier-modding / RPKG-Tool

The RPKG tool allows for easy (un)packing of files from the Glacier Engine RPKG file format! Hitman 3 has the most support.
https://glaciermodding.org/rpkg/
Other
47 stars 9 forks source link

Colorpicker fix #11

Closed grappigegovert closed 3 years ago

grappigegovert commented 3 years ago

Fixes the color picker in the TEMP editor that was broken for some people, more specifically, people who use a system locale that uses something else than a period as decimal separator. (See issue #4)

While testing, I noticed that the hash_resource_type in extracted metas became a bunch of junk when running in debug configuration. I think because the std::string that holds that was memcpy'd to a char array, which I don't think works as intended. I ended up rewriting that file somewhat.

AnthonyFuller commented 3 years ago

LGTM. Thanks!