ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.75k stars 630 forks source link

25th Anniversary breaks mods. #3415

Closed CptFoxer closed 10 months ago

CptFoxer commented 1 year ago

Launching any Half-Life 1 after the 25th anniversary update causes an error after the intro video, preventing you from playing them. image

SamVanheer commented 1 year ago

Read the anniversary post in full, it addresses mod support: https://www.half-life.com/en/halflife25/

CptFoxer commented 1 year ago

Read the anniversary post in full, it addresses mod support: https://www.half-life.com/en/halflife25/

Aware of the beta compatibility branch, bringing the issue up on github to be taken into consideration with future updates post-25th

SamVanheer commented 1 year ago

The wording makes it clear that mods built for older versions need to be run under the steam_legacy branch.

CptFoxer commented 1 year ago

I realized why older mods like Deliverance and Sweet Half-Life crashed, I had a custom TrackerScheme.res to increase ingame text from it's original size to it's 1080p size equivalent. This is no longer required with the 25th Anniversary Update.

JoelTroch commented 1 year ago

I realized why older mods like Deliverance and Sweet Half-Life crashed, I had a custom TrackerScheme.res to increase ingame text from it's original size to it's 1080p size equivalent. This is no longer required with the 25th Anniversary Update.

Related to https://github.com/ValveSoftware/halflife/issues/3412#issuecomment-1816962750

OpenRift412 commented 1 year ago

I realized why older mods like Deliverance and Sweet Half-Life crashed, I had a custom TrackerScheme.res to increase ingame text from it's original size to it's 1080p size equivalent. This is no longer required with the 25th Anniversary Update.

Hopefully this will not be the case permanently, so people don't have to keep switching back and forth.

that-is-not-great commented 1 year ago

how to use this steam_legacy branch?

SamVanheer commented 1 year ago

how to use this steam_legacy branch?

Read this: https://twhl.info/thread/view/20055?page=4#post-348054

that-is-not-great commented 1 year ago

I only have "None" and "beta - Beta"

SamVanheer commented 1 year ago

It's only available on Half-Life itself, not any other GoldSource engine game. If it still doesn't show up restart Steam and see if it's there.

that-is-not-great commented 1 year ago

I am checking for Counter-Strike 1.6, it only has "None" and "beta - Beta", and only this beta runs. All players are complaining about this now

SamVanheer commented 1 year ago

You need to switch the setting on Half-Life, not Counter-Strike. CS uses the same engine files as HL.

that-is-not-great commented 1 year ago

can you write how? i installed half-life now with steam_legacy branch active. next?

SamVanheer commented 1 year ago

That should be everything. Make sure HL is up-to-date and then launch CS.

that-is-not-great commented 1 year ago

thanks mate you are correct, it is working now

Balimbanana commented 1 year ago

Mods do work in Anniversary Edition, you need to change a resource file for new keyvalues that were added the exact missing lines: In Half-Life\\resource\TrackerScheme.res inside the BaseSettings block, you need to add:

"ProportionalBaseWidth" "1280"        // if the display resolution is above this,
"ProportionalBaseHeight" "720"        //  ui elements will be scaled.

and the main menu will function normally. These are new settings added by the HL Anniversary update, so those settings won't be in any of the custom menus for mods.

This is specific to this posts Assert ListPanel.cpp and no menu rendering.

FreeSlave commented 1 year ago

In Half-Life\resource\TrackerScheme.res inside the BaseSettings block, you need to add:

Thanks for finding this out. I wish devs set these values automatically if the TrackerScheme.res of the mod is missing these values. This would make current mod uploads working again.

FreeSlave commented 1 year ago

Seems to be fixed in the latest update? ProportionalBaseWidth and ProportionalBaseHeight are not required for mod to start correctly anymore. Please confirm.

SamVanheer commented 1 year ago

Mods that use the IFileSystem interface work properly again. I don't know if mods with custom resource files work since i don't have any of those installed.

flaphoschi commented 1 year ago

Linux is also affected. Counter-Strike 1 exists immediately without a hint. I wonder why Valve didn't tested that especially for Counter-Strike.

Right know I'm aware of two easy workarounds. Both are likely using the very same beta-branch just labeled differently:

Workaround CS1

  1. Right click on Counter-Strike 1
  2. Properties
  3. Updates
  4. Select "beta - beta"
  5. Wait until HL1 is upgraded/downgraded?

You need to switch the setting on Half-Life, not Counter-Strike. CS uses the same engine files as HL.

It works fine when changed in CS1 only. Both HL1 and CS1 seem bound together somehow. Maybe the CS1 "beta - beta" points to the HL1 "steam_legacy"?

Or

  1. Right click on Half-Life 1
  2. Properties
  3. Updates
  4. Select "steam_legacy..."
  5. Wait until HL1 is downgraded

Well. I don't know which one is better. CS1 works know.

Balimbanana commented 1 year ago

The Assert ListPanel.cpp in the first post of this thread and render issue of the main menu does appear to be fixed now as of the latest update Nov 19th.

There are still some other custom mods that are having issues once getting in to the game, but most mods that I have tried will get to the main menu correctly without modifications.

ganthore commented 1 year ago

The Specialists 3.0 crashes on map load when running the latest anniversary update.

Glad that steam_legacy is around until stuff like this gets fixed.

https://www.moddb.com/mods/the-specialists

flaphoschi commented 1 year ago

Fixed for Counter-Strike 1 with release from 2023-11-22.

marigi64 commented 11 months ago

Action Half-Life crashes not long after loading into a map

action half-life crash

OpenRift412 commented 11 months ago

Replying to https://github.com/ValveSoftware/halflife/issues/3415#issuecomment-1864486648

I would recommend reinstalling it, I was actually playing AHL yesterday and it worked fine.

marigi64 commented 11 months ago

Although it still crashes for me after reinstalling, I realised that it only crashes when in a team match (this was tested with bots so it could be related to them). The other game modes ran without problems.

kisak-valve commented 10 months ago

Closing because this issue appears to be resolved.

If anyone is seeing follow up issues, those issues should be tracked separately.