Skip to content
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

[Bug] Weapon Supercharge ammo font swaps from HD to Low Res #442

Open
DatMaxNub opened this issue Aug 26, 2024 · 7 comments
Open

[Bug] Weapon Supercharge ammo font swaps from HD to Low Res #442

DatMaxNub opened this issue Aug 26, 2024 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@DatMaxNub
Copy link

Version: 1.10

Game: Dark Forces

Issue: With the HD Hud Enhancement on from the Remaster, grabbing a Supercharge switches the ammo counter font to the low res version. This doesn't happen on the Remaster.

Screenshot 2024-08-25 22-22-07
@luciusDXL
Copy link
Owner

luciusDXL commented Aug 26, 2024

@DatMaxNub TFE probably can't find the HD font asset. Did you verify this works in the Remaster?

@mlauss2
Copy link
Contributor

mlauss2 commented Aug 26, 2024

@luciusDXL just type LARANDY and the ammo font changes to the original blocky one.

@DatMaxNub
Copy link
Author

@DatMaxNub TFE probably can't find the HD font asset. Did you verify this works in the Remaster?

Yes I verified that works correctly in the Remaster. The HD font shows up fine when not supercharged

@luciusDXL
Copy link
Owner

Ok, good to know, thanks.

@luciusDXL luciusDXL self-assigned this Aug 27, 2024
@luciusDXL luciusDXL added the bug Something isn't working label Aug 27, 2024
@mlauss2
Copy link
Contributor

mlauss2 commented Aug 28, 2024

This is probably related to this:

[Error : HUD] Cannot load font 'SuperWep2.fnt'

This notice has been there since the introduction of enhanced.gob support.

easy enough fix for this bug:

index ab2b4bfa..91228cad 100644
--- a/TheForceEngine/TFE_DarkForces/hud.cpp
+++ b/TheForceEngine/TFE_DarkForces/hud.cpp
@@ -98,7 +98,7 @@ namespace TFE_DarkForces
                "ArmNum.fnt",
                "HelNum.fnt",
                "AmoNum2.fnt",
-               "SuperWep2.fnt",
+               "SuperWp2.fnt",
                "ArmNum2.fnt",
                "HelNum2.fnt",
        };

@luciusDXL
Copy link
Owner

luciusDXL commented Aug 29, 2024

This is probably related to this:

[Error : HUD] Cannot load font 'SuperWep2.fnt'

This notice has been there since the introduction of enhanced.gob support.

easy enough fix for this bug:

index ab2b4bfa..91228cad 100644
--- a/TheForceEngine/TFE_DarkForces/hud.cpp
+++ b/TheForceEngine/TFE_DarkForces/hud.cpp
@@ -98,7 +98,7 @@ namespace TFE_DarkForces
                "ArmNum.fnt",
                "HelNum.fnt",
                "AmoNum2.fnt",
-               "SuperWep2.fnt",
+               "SuperWp2.fnt",
                "ArmNum2.fnt",
                "HelNum2.fnt",
        };

Really, just a typo on my part huh... :( - Oh I see how it happened, other assets just added the '2' afterward but SuperWep was already 8 characters. I can see why I made that mistake then.

Ok - I added a fix in for the next release, thanks for spotting it @mlauss2. @DatMaxNub this will be fixed in the next release, I will close this bug once the release happens.

@TP555
Copy link

TP555 commented Sep 4, 2024

Hi

@luciusDXL @DatMaxNub

This can Temp. Fixed.
Just Unpack the SUPERWP2.FNT from the Enhanced.Gob and rename SUPERWP2.FNT to SuperWep2.fnt, and paste the File in the Dark Forces Folder, dosn't work as Gob/Zipped Mod, the Filename is too long for the Gob Format!

LuciusDXL did make a small Mistake, TFE Search the SuperWep2.fnt instead of SUPERWP2.FNT.
But i saw in the Code the SuperWp2.fnt is added now!

Btw. +2K Res. Users dosn't realy see the Diff.

Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants