Walls in endor space stage reactor chase not rendered right

Having technical difficulties with Supermodel? Last-minute wardrobe malfunction? Get help here.
Forum rules
Keep it classy!

  • No ROM requests or links.
  • Do not ask to be a play tester.
  • Do not ask about release dates.
  • No drama!

Re: Walls in endor space stage reactor chase not rendered ri

Postby Ian » Sun Dec 19, 2021 7:06 am

as long as the relevant jtag code is not patched out, the engine should render correctly
Ian
 
Posts: 2044
Joined: Tue Feb 23, 2016 9:23 am

Re: Walls in endor space stage reactor chase not rendered ri

Postby belegdol » Sun Dec 19, 2021 7:08 am

Nice, I can confirm the following patch works:
Code: Select all
Index: Src/Graphics/New3D/New3D.cpp
===================================================================
--- Src/Graphics/New3D/New3D.cpp   (wersja 873)
+++ Src/Graphics/New3D/New3D.cpp   (kopia robocza)
@@ -33,6 +33,9 @@
       m_numPolyVerts   = 4;
       m_primType      = GL_LINES_ADJACENCY;
    }
+   
+   // Fall-back mechanism for games with patched (not working) JTAG
+   if (m_gameName == "swtrilgy") m_shadeIsSigned = false;
 }
 
 CNew3D::~CNew3D()
@@ -1666,6 +1669,8 @@
 
 void CNew3D::SetSignedShade(bool enable)
 {
+   if (m_gameName == "swtrilgy") return;      // jtag has been patched out in star wars - todo fix this
+
    m_shadeIsSigned = enable;
 }
belegdol
 
Posts: 9
Joined: Mon Nov 05, 2018 10:28 am

Re: Walls in endor space stage reactor chase not rendered ri

Postby rokfpoewrkcpoqwkcp » Sun Dec 19, 2021 9:26 am

I think 2 of the 3 SW ROMs have the end sequence, so the conditions should be,

Code: Select all
if (m_gameName == "swtrilgy" || m_gameName == "swtrilgya")
rokfpoewrkcpoqwkcp
 
Posts: 119
Joined: Mon Nov 18, 2019 3:40 pm

Previous

Return to The Fitting Room

Who is online

Users browsing this forum: No registered users and 1 guest