Read Linux steam icons

This commit is contained in:
Guillaume Meunier
2025-08-09 15:02:28 +02:00
parent d5ef8c1a85
commit 45d5d6dd7a
5 changed files with 72 additions and 5 deletions
+3
View File
@@ -18,6 +18,7 @@
#include "steam_app_info.h"
#include <bit>
#include <cctype>
#include <cstring>
#include <fstream>
#include <span>
@@ -89,6 +90,8 @@ void read_vdf(wivrn::steam_app_info::info & info, const std::string & prefix, st
while (type != 8)
{
std::string name{string_table.at(read<uint32_t>(bindata))};
for (char & c: name)
c = std::tolower(c);
// https://github.com/ValveResourceFormat/ValveKeyValue/blob/master/ValveKeyValue/ValveKeyValue/KeyValues1/KV1BinaryNodeType.cs
switch (type)