-
Notifications
You must be signed in to change notification settings - Fork 90
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
HD: World is not rendered #639
Comments
On
Full stdout log:
|
Looking at the history, I suspect HD (#488) which got merged in a343f9b.
And it works, map renders before HD PR: Then I tested commit a343f9b, there map is black. |
In fullscreen it is also broken. |
World is rendered on the diff --git a/src/road.cpp b/src/road.cpp
index c0b5722..c12b2b0 100644
--- a/src/road.cpp
+++ b/src/road.cpp
@@ -2055,7 +2055,7 @@ void iGameMap::draw(int self)
FirstDraw = 0;
//2D Rendring in game.
#ifdef ACTINT
- XGR_Obj.set_2d_render_buffer();
+ XGR_Obj.set_default_render_buffer();
//XGR_Obj.fill(2);
if(GeneralSystemSkip) {
aScrDisp -> redraw(); But I don't understand what exactly this does, "fixed" it by trying to understand the code and changing random things. |
I made a fix: #641 |
That's strange. We built steam version from master and it works fine, isn't it @stalkerg ? |
Prob, GOG resources is broken |
Which exactly? |
I am running version from GOG, Using this script to build and run (warning, it removes save files too):
Here is the version of the background that is full of
Does steam use newer version of By the way Windows version on GOG is 1.46 and Linux version is 1.45. But steam version is probably 2.0? So GOG version is outdated compared to Steam and its resources cannot be used? Is there a plan to upload 2.0 to GOG? Also would be nice if you publish sha256sum of all game files so it can be checked that the latest versions of resources are used. |
@link2xt hello, sorry for the long response, probably we did this changes during HD remastering, in that case we should put all changes into this repo. |
@stalkerg Why GOG version is outdated? Simple solution would be to upload the latest version to GOG, the same one as released on Steam but compiled without Steam integration. |
Steps to reproduce:
vangers_1_45_44317.sh
from GOG.com.master
branch at the time of writing) into./Vangers
data
files with this script:cd safe_place
and run./vangers
Menus work, but the world is not rendered:
The problem is reproducible both with Wayland and Xorg.
The text was updated successfully, but these errors were encountered: