Skip to content

Question about adding custom assets to the Guild Wars 2 installer #384

Open
@brittyazel

Description

@brittyazel

Hello Bottles Devs,

I wrote the Guild Wars 2 installer for bottles a while back, and it's been working perfectly from my testing. That being said, there is an issue with the GW2 client on Linux where the included Chromium Embedded Framework (CEF) can't find two of the .ttf font files that are embedded within the game files. The issue seems to be with the fonts themselves, as opening them outside of the game shows that the metadata is totally broken in these two files, and my guess is that CEF can't link the font files to their requests at runtime.

I have fixed the metadata in these two font files (attached), and installing them to my system directly in ~/.local/share/fonts works great, with the game now using these files. It's very useful that Bottles automatically adds system and user fonts to the Wine registry at startup.

That said, it would be great if these working .ttf files could be included with the Guild Wars 2 Bottles installer. Towards that end, I can't seem to find a way to have the Guild Wars 2 installer install or source these fonts alongside the installation of the game launcher. Likewise, I saw here a response where someone asked about custom font dependencies, and the response was to create custom font dependencies that could be referenced from the game installer. However, due to the restrictive licensing of these font files with regard to distribution and usage for purposes outside of the Guild Wars 2 game client, I don't think we could legally create a general-purpose dependency for these two fonts. Truthfully, I'm not even sure of the legality of distributing these fixed .ttf files solely for the purpose of the Guild Wars 2 client, but it seems at least in-the-ballpark of the legal license.

fixed_fonts.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions