Can't load external font even with OpenPipePath

Please post your problem description here

Moderator: Barb@Invincea

Post Reply
RadarNyan
Posts: 27
Joined: Thu Aug 21, 2014 2:35 pm

Can't load external font even with OpenPipePath

Post by RadarNyan » Fri Aug 18, 2017 4:29 am

I've noticed that when running some programs (mostly games) that loads external font, the font won't load.

For example, I was just playing Portal: Still Alive (a community made Portal mod released today) and found some in-game font is missing, like the cross-hair shows as a upper case letter "Q". I'm still able to play the game though so I didn't bother to check. After I quit the game, I got Sandboxie spamming Messages:

Code: Select all

SBIE2205 Service not implemented:  Font Path D:\SteamLibrary\steamapps\common\Portal\hl2\resource\halflife2.ttf
SBIE2205 Service not implemented:  Font Path D:\SteamLibrary\steamapps\common\Portal\hl2\resource\halflife2.ttf
SBIE2205 Service not implemented:  Font Path D:\SteamLibrary\steamapps\common\Portal\hl2\resource\hl2ep2.ttf
SBIE2205 Service not implemented:  Font Path D:\SteamLibrary\steamapps\common\Portal\hl2\resource\hl2ep2.ttf
SBIE2205 Service not implemented:  Font Path D:\SteamLibrary\steamapps\common\Portal\hl2\resource\marlett.ttf
SBIE2205 Service not implemented:  Font Path D:\SteamLibrary\steamapps\common\Portal\hl2\resource\marlett.ttf
SBIE2205 Service not implemented:  Font Path D:\SteamLibrary\steamapps\common\Portal\hl2\resource\halflife2.ttf
SBIE2205 Service not implemented:  Font Path D:\SteamLibrary\steamapps\common\Portal\hl2\resource\halflife2.ttf
SBIE2205 Service not implemented:  Font Path D:\SteamLibrary\steamapps\common\Portal\hl2\resource\hl2crosshairs.ttf
SBIE2205 Service not implemented:  Font Path D:\SteamLibrary\steamapps\common\Portal\hl2\resource\hl2crosshairs.ttf
SBIE2205 Service not implemented:  Font Path D:\SteamLibrary\steamapps\common\Portal\hl2\resource\halflife2.ttf
SBIE2205 Service not implemented:  Font Path D:\SteamLibrary\steamapps\common\Portal\hl2\resource\halflife2.ttf
SBIE2205 Service not implemented:  Font Path D:\SteamLibrary\steamapps\common\Portal\hl2\resource\hl2ep2.ttf
SBIE2205 Service not implemented:  Font Path D:\SteamLibrary\steamapps\common\Portal\hl2\resource\hl2ep2.ttf
SBIE2205 Service not implemented:  Font Path D:\SteamLibrary\steamapps\common\Portal\hl2\resource\halflife2.ttf
SBIE2205 Service not implemented:  Font Path D:\SteamLibrary\steamapps\common\Portal\hl2\resource\halflife2.ttf
SBIE2205 Service not implemented:  Font Path D:\SteamLibrary\steamapps\common\Portal\hl2\resource\halflife2.ttf
SBIE2205 Service not implemented:  Font Path D:\SteamLibrary\steamapps\common\Portal\hl2\resource\halflife2.ttf
SBIE2205 Service not implemented:  Font Path D:\SteamLibrary\steamapps\common\Portal\hl2\resource\halflife2.ttf
SBIE2205 Service not implemented:  Font Path D:\SteamLibrary\steamapps\common\Portal\hl2\resource\hl2ep2.ttf
SBIE2205 Service not implemented:  Font Path D:\SteamLibrary\steamapps\common\Portal\hl2\resource\hl2ep2.ttf
SBIE2205 Service not implemented:  Font Path D:\SteamLibrary\steamapps\common\Portal\hl2\resource\hl2ep2.ttf
SBIE2205 Service not implemented:  Font Path D:\SteamLibrary\steamapps\common\Portal\hl2\resource\hl2ep2.ttf
SBIE2205 Service not implemented:  Font Path D:\SteamLibrary\steamapps\common\Portal\hl2\resource\hl2ep2.ttf
SBIE2205 Service not implemented:  Font Path D:\SteamLibrary\steamapps\common\Portal\hl2\resource\marlett.ttf
SBIE2205 Service not implemented:  Font Path D:\SteamLibrary\steamapps\common\Portal\hl2\resource\marlett.ttf
SBIE2205 Service not implemented:  Font Path D:\SteamLibrary\steamapps\common\Portal\hl2\resource\marlett.ttf
SBIE2205 Service not implemented:  Font Path D:\SteamLibrary\steamapps\common\Portal\hl2\resource\marlett.ttf
SBIE2205 Service not implemented:  Font Path D:\SteamLibrary\steamapps\common\Portal\hl2\resource\marlett.ttf
SBIE2205 Service not implemented:  Font Path D:\SteamLibrary\steamapps\common\Portal\hl2\resource\hl2crosshairs.ttf
SBIE2205 Service not implemented:  Font Path D:\SteamLibrary\steamapps\common\Portal\hl2\resource\hl2crosshairs.ttf
SBIE2205 Service not implemented:  Font Path D:\SteamLibrary\steamapps\common\Portal\hl2\resource\hl2crosshairs.ttf
SBIE2205 Service not implemented:  Font Path D:\SteamLibrary\steamapps\common\Portal\hl2\resource\hl2crosshairs.ttf
SBIE2205 Service not implemented:  Font Path D:\SteamLibrary\steamapps\common\Portal\hl2\resource\hl2crosshairs.ttf
So, clearly Sandboxie is blocking the font from being loaded. I've searched this forum and found posts related to my problem, it seems that this is intended and someone suggested I need OpenFilePath to work around it. However, I already have the entire Steam Library set in OpenFilePath, I double-checked both in GUI settings (under File Access -> Full Access) and in sandboxie.ini (OpenPipePath=D:\SteamLibrary\) and they all seem fine, I can create files in sandboxed explorer and see the file from outside without any problem

This problem is not limited to Portal, basically anything loads an font that is not installed already would have this problem, even the Windows Font Viewer. How can I get the fonts to load? I'm aware this may lead to some information leak but I just couldn't care less - it's just a font anyway.
Sandboxie 5.23.5 | Windows 7 SP1 x64 w/ security updates only

Barb@Invincea
Sandboxie Support
Sandboxie Support
Posts: 2337
Joined: Mon Nov 07, 2016 3:10 pm

Re: Can't load external font even with OpenPipePath

Post by Barb@Invincea » Fri Aug 18, 2017 12:49 pm

Hello RadarNyan,

It looks like your problem is the same one as this:
viewtopic.php?f=11&t=21001&hilit=resource%5Chl2#p127441

Please provide the information requested in that thread and we'll go from there.
Also, please try the steps listed there as well.

Regards,
Barb.-

Syrinx
Sandboxie Guru
Sandboxie Guru
Posts: 620
Joined: Fri Nov 13, 2015 4:11 pm

Re: Can't load external font even with OpenPipePath

Post by Syrinx » Fri Aug 18, 2017 1:06 pm

I tested with the original portal and found I could get the crosshair back by doing a few things.
1) I copied the ttf files from the Portal\hl2\resource folder to the sandboxed fonts folder at SandboxNAMEhere\drive\C\Windows\Fonts
2) [May not apply to you] I have C:\Windows set as read only for sandboxes (yes, even in the box) so I had to add hl2.exe as an exception before it worked.
3) [May not apply to you] It kept crashing on my end as the errors from SBIE kept popping and the game didn't like it so I added SbieCtrl_HideMessage=2205 under UserSettings in the Sandboxie.ini
Goo.gl/p8qFCf

RadarNyan
Posts: 27
Joined: Thu Aug 21, 2014 2:35 pm

Re: Can't load external font even with OpenPipePath

Post by RadarNyan » Sat Aug 19, 2017 6:18 am

I'm running Sandboxie 6.20 on Windows 7 SP1 x64.

Copying the .ttf to C:\Windows\Fonts isn't really an option as the other user described, there could be fonts with conflict file names.

Here's my Sandboxie settings for "Steam" sandbox if you care:

Code: Select all

[APP_Steam]

Enabled=y
ConfigLevel=7
BlockNetworkFiles=y
Template=AutoRecoverIgnore
Template=Firefox_Phishing_DirectAccess
Template=Chrome_Phishing_DirectAccess
Template=LingerPrograms
Template=BlockPorts
Template=WindowsFontCache
Template=qWave
BorderColor=#00FFFF,off
BoxNameTitle=-
OpenPipePath=D:\SteamLibrary\
BTW, if I remove OpenPipePath, SBIE2205 won't appear. However the font is still not loaded (i.e. in-game cross-hair missing) though.
Sandboxie 5.23.5 | Windows 7 SP1 x64 w/ security updates only

Barb@Invincea
Sandboxie Support
Sandboxie Support
Posts: 2337
Joined: Mon Nov 07, 2016 3:10 pm

Re: Can't load external font even with OpenPipePath

Post by Barb@Invincea » Mon Aug 21, 2017 12:48 pm

UPDATE,

I can confirm that after I added the fonts to the Sandboxed C:\Windows\fonts folders and hid the SBIE2205 message, portal seems to be working without issues (crosshair present, and fonts look fine so far).

-------------------------------- X --------------------------------
Hello RadarNyan,

Can you try creating a new Sandbox and copying the fonts there instead? You may need a separate Sandbox for each game, but it may help solving the problem as you would be updating the C:\Windows folder inside each Sandbox (not the host).

I'll test the steps provided by Syrinx and update this thread with the results.

Regards,
Barb.-

RadarNyan
Posts: 27
Joined: Thu Aug 21, 2014 2:35 pm

Re: Can't load external font even with OpenPipePath

Post by RadarNyan » Tue Aug 22, 2017 8:47 pm

Hi Barb,

I've confirmed that copying the .ttf files inside my steam Sandbox's C:\Windows\Fonts does lead to font renders correctly in-game, so the workaround does fixes this specific problem.

However, there could be problems. For example: In ONE Sandbox, if an application loads "font.ttf", and another one also loads "font.ttf", the two fonts have the same file names but are different versions of that font or just plain different fonts having the same file name. Clearly I can't keep them both in C:\Windows\Fonts, so this workaround only works so far.

So instead of a workaround that isn't suitable for all cases, I'm asking if you can actually fix this. As the error message reads "SBIE2205 Service not implemented", couldn't you just implement what's missing and get this problem fixed once and for all?
Sandboxie 5.23.5 | Windows 7 SP1 x64 w/ security updates only

Barb@Invincea
Sandboxie Support
Sandboxie Support
Posts: 2337
Joined: Mon Nov 07, 2016 3:10 pm

Re: Can't load external font even with OpenPipePath

Post by Barb@Invincea » Wed Aug 23, 2017 11:15 am

Hello RadarNyan,

The devs were aware of this issue, and other than opening the pipe, there were no other fixes suggested. If anything new comes up, we will update this thread.
Updating the C:\Windows\fonts folder inside a specific Sandbox will not affect other sandboxes. You can have multiple Sandboxes containing different sets of fonts inside C:\Windows\fonts. You will need to create a separate Sandbox per game that requires fonts added to the folder.

Regards,
Barb.-

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest