-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unicode support #32
Comments
I don't think that the library itself need to be built as Unicode, because just the Textoverlay need support for it. The Textoverlay backend itself just support 7 Bit, but can support 8 Bit with a bit of modification. For the second problem I would like to see an example (screenshots and the code to reproduce it) of it to understand the problem. See #30 also for the Unicode issue. |
tbh, we need just support for showing unicode strings. if it can be done with custom ttf font file extracted from game resources (not installed system-wide) - it will be the best. |
@Gl0 I look into it. Edit: I created a prototype in the last hours, but I think there are some major bugs with formatting. I will look into that in the next days. |
@iHimiko @Gl0 Here are the binaries for Unicode support: https://github.com/shadowlif/DX9-Overlay-API/tree/unicode/bin Please notice to use TextCreateUnicode, TextSetStringUnicode and TextUpdateUnicode for fully support. At the moment there is no texture sharing, so the performance might be in comparison low. |
Seems working, thanks. |
Maybe there's an fake window of the game? Because GetScreenSpecs return the size of the viewport. |
May be it shows something dummy while loading and it get hooked. How can I force window reselect?
|
atm I don' think you can force the API to use another window after the first API call because the API just have one IPC-Channel for every process, so just the first opened process is connected. You can maybe try window and use_window to 1 instead of the process name. Maybe the "invisble window" (if it exists), don't have the name of the real game window. Maybe we can add an parameter to set the pid. So you could check by yourself if its the real process and then attach the API to it. |
Process should be correct one, it always was only one instance. |
Hey, guys! I liked your implementation, but there are some issues related to rendering text and other elements of overlay.
(1) No Unicode support
(2) When drawing multiple elements, the one that should be in the background will go to the front of the cover, and it should be visible
I could build a library with Unicode support, but there are no files in the source, such as "BOOST/FILESYSTEM.HPP" and the rest of the boost. I hope for your help.
The text was updated successfully, but these errors were encountered: