ZDoom / Raze

Build engine port backed by GZDoom tech. Currently supports Duke Nukem 3D, Blood, Shadow Warrior, Redneck Rampage and Powerslave/Exhumed.
680 stars 59 forks source link

[BUG] [Blood] Graphical Corruption When Launching Cryptic Passage #308

Closed V0rt3x667 closed 3 years ago

V0rt3x667 commented 3 years ago

When launching Blood: Cryptic Passage from the command line graphical corruption occurs. This does not occur when using the IWAD launcher. Please see examples below and attached. OS: ArchLinux x86_64 (rolling release), Raze 1.0.1 built from source code No Issue IWAD Launcher graphical corruption

. All other game engines are fine including Route66.

I have tried multiple command line variations but cannot replicate the IWAD Launcher which loads Cryptic Passage correctly.

/opt/archrgs/ports/rgs-pt-raze/raze -cryptic /opt/archrgs/ports/rgs-pt-raze/raze -iwad blood.rff -con cryptic.ini /opt/archrgs/ports/rgs-pt-raze/raze -gamegrp blood.rff -con cryptic.ini

coelckers commented 3 years ago

Can you please post a complete directory listing of your Blood folder including subdirectories? The error you get looks like it cannot load the CP Art files. That'S entirely to be expected for the second and third command line, but -cryptic should work. So I need to see what files you got.

V0rt3x667 commented 3 years ago

Please see the below. Thanks. Cryptic Files

arrowgent commented 3 years ago

CPART07.AR CPART15.AR

are the two files that crypticpassage requires

mine are Capital Letters, from one whole unit blood (not fresh supply)

noted that Capitalization is important in Linux

https://github.com/coelckers/Raze/blob/d5dc8230d6d7f7ac9101ff411e02e5615db6f645/wadsrc/static/engine/grpinfo.txt loadart "CPART07.AR", "CPART15.AR"

vs https://github.com/coelckers/Raze/blob/27ca71a6ec1f68e26be5d06f1dff181706952e92/source/core/gamecontrol.cpp const char* argv[] = { "cpart07.ar" , "cpart15.ar" };

because else if (Args->CheckParm("-cryptic")) is looking for LOWERCASE filenames recompiled attempting to change code lowercase filenames to UpperCase: did not fix the issue. renamed the files manually to lowercase: did not fix the issue

can confirm raze -cryptic broken sky texture (test) vs raze iwad launcher working correctly