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] -cryptic flag is borked on Linux #777

Closed V0rt3x667 closed 1 year ago

V0rt3x667 commented 1 year ago

Raze version

Raze 1.5.0

Which game are you running with Raze?

Blood

What Operating System are you using?

Linux x86_64

Please describe your specific OS version

Arch Linux

Relevant hardware info

N/A

Have you checked that no other similar issue already exists?

A clear and concise description of what the bug is.

When running raze -cryptic from a terminal, Blood: Cryptic Passage does not load correctly. The Blood splash screen is displayed instead of the Cryptic Passage splash screen and textures are not rendered correctly in game.

There are two workarounds for the issue: 1: Use the GUI IWAD Dialogue Box and select Blood: Cryptic Passage 2: Run raze -iwad blood.rff -con cryptic.ini -art cpart07.ar -art cpart15.ar from a terminal. If the file names are uppercase then change as appropriate due to Linux being a case sensitive OS.

Steps to reproduce the behaviour.

Explain how to reproduce

  1. Open a terminal
  2. Run the command: raze -cryptic 3.Observe the glitches noted above

Your configuration

No response

Provide a Log

No response

mjr4077au commented 1 year ago

The code in-game expects the files to all be capitalised as we found it presented the best user experience as these files would have been capitalised on the CD, etc.

    else if (Args->CheckParm("-cryptic"))
    {
        gamegrp = "BLOOD.RFF";
        DefaultCon = "CRYPTIC.INI";
        const char* argv[] = { "CPART07.AR_", "CPART15.AR_" };
        AddArt.reset(new FArgs(2, argv));
    }

What casing are all of your files?

V0rt3x667 commented 1 year ago

Hello, my game files are all lowercase. I can rename them and test again. I will let you know how it goes. Thanks

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Mitchell Richters @.> Sent: Thursday, December 8, 2022 3:54:42 AM To: ZDoom/Raze @.> Cc: V0rt3x667 @.>; Author @.> Subject: Re: [ZDoom/Raze] [BUG] -cryptic flag is borked on Linux. (Issue #777)

The code in-game expects the files to all be capitalised as we found it presented the best user experience as these files would have been capitalised on the CD, etc.

    else if (Args->CheckParm("-cryptic"))
    {
            gamegrp = "BLOOD.RFF";
            DefaultCon = "CRYPTIC.INI";
            const char* argv[] = { "CPART07.AR_", "CPART15.AR_" };
            AddArt.reset(new FArgs(2, argv));
    }

What casing are all of your files?

— Reply to this email directly, view it on GitHubhttps://github.com/ZDoom/Raze/issues/777#issuecomment-1341955323, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGCDK5SPQHF6A74A2K3VLJ3WMFLYFANCNFSM6AAAAAASWI4FI4. You are receiving this because you authored the thread.Message ID: @.***>

V0rt3x667 commented 1 year ago

Hi, I renamed all of the files to uppercase but the issue still occurs when using the -cryptic flag.

mjr4077au commented 1 year ago

Thanks for hanging in there! Fixed as of dc4105798449b5dcbe81c5a9a2e012fcb405f094. It was broken for all platforms and not just POSIX environments.

image

V0rt3x667 commented 1 year ago

Thank you.