otavepto / gbe_fork

Fork of https://gitlab.com/Mr_Goldberg/goldberg_emulator
https://gitlab.com/Mr_Goldberg/goldberg_emulator
GNU Lesser General Public License v3.0
183 stars 51 forks source link

Error with sourcemods in half life 2 (source hidden dlc) #206

Closed HuggedJacker closed 3 weeks ago

HuggedJacker commented 3 weeks ago

I know using mods is already possible by using the arguments, but Mmod doesn't work with GBE emu. It always displays this error: hl2_Ocll0mtxIQ But here's the thing, i installed source SDK 2013 singleplayer from steam and moved my CSF half life 2 files to the steamapps/common folder. Now when i used these arguments with HL2: Playnite DesktopApp_dYRCa93EbY It launched without GBE(I launched it directly with game exe), now when i did the same with the experimental_steamclient, and passed the arguments, it always displayed the error above. I know i can just use it directly but i need the GBE features like achievements. I don't know where i can find GBE logs butI hope you look into it and wish you all the best.

HuggedJacker commented 3 weeks ago

@Noisfex wait let me try adding 2013 sdk appid, the one you provided won't work, it's outdated and mmod uses the 2013 one anyway, thanks anyway

ghost commented 3 weeks ago

Try to add this on your DLC.txt 243730=Source SDK Base 2013 Singleplayer

ghost commented 3 weeks ago

Or you can just try to delete DLC.txt. It's worked on Black Mesa for me.

HuggedJacker commented 3 weeks ago

@Noisfex it didn't work, also you do know that DLC.txt doesn't exist in the latest update, why are you telling me to delete it.

ghost commented 3 weeks ago

After the Overlay Update the emulator does not work properly with most Source games. I've already reported back about this, so my advice is to use the old version.

HuggedJacker commented 3 weeks ago

bro just disable the overlay

ghost commented 3 weeks ago

That is the problem. If you want to use Overlay, use the old version until a fix is available. It's as simple as that

ghost commented 3 weeks ago

And you know Overlay=Achievements, right?

HuggedJacker commented 3 weeks ago

And you know Overlay=Achievements, right?

That's not how it works, yes overlay allows you to see achievements but it doesn't make them, it only parses them, the heavy lifting is done by the json file. Also achievement watcher by xan also exists. If you don't have a Web API key, search around on cs.rin in the Achievement watcher thread for a mod. it removes the need for a key and lets you use it for free.

ghost commented 3 weeks ago

I don't want to use a separate program for achievements, I already have an old version running. My goal is to report the problem. If it's not fixed, it's not a big problem.

HuggedJacker commented 3 weeks ago

AchievementWatcher_3a1q9uXa5n I mean just look at it, it looks way better than the ugly ass overlay lol, my pc doesn't show notifications from it for some reason so i use a combination of both. Also why you mad lol, im not hating on the overlay, it just is ugly even the dev acknowlegdes it.

ghost commented 3 weeks ago

I hate programs that run in the background all the time (like Steam). So I don't want to use it, and I don't have Game Bar on my computer. So there is nothing to do ¯\_(ツ)_/¯

ghost commented 3 weeks ago

Also, if you want to receive notifications in-game, I recommend turning off the setting in Windows settings that prevents you from receiving notifications when you enter the game (fuck Microsoft).

HuggedJacker commented 3 weeks ago

Also, if you want to receive notifications in-game, I recommend turning off the setting in Windows settings that prevents you from receiving notifications when you enter the game (fuck Microsoft).

Tried that, didn't work.

otavepto commented 3 weeks ago

when you download the package from Github you have 2 variants, release and debug. the debug build will produce these logs as long as the game is running.

from your messages I assume you know about the migration to .ini files, if not, there's a helper tool called migrate_gse, run it from cmd and pass the location to your steam_settings folder and it will convert everything, in that case also please check its dedicated readme.

I doubt the logs will show anything useful, but give the debug build a try and post your log, take a look inside it first and ctrl+f both your username and steamid, if those are your real ones just replace them with any text, or simply change your name/id in the .ini for the moment during testing, if the game ties your saves to the steamid you'll start from the beginning until you restore it back.

another important note, there's a know bug with the api library (steam_api.dll) where it's missing some export, to solve that simply use the Cold Client Loader setup. test that too and post another debug log with this one.

HuggedJacker commented 3 weeks ago

when you download the package from Github you have 2 variants, release and debug. the debug build will produce these logs as long as the game is running.

from your messages I assume you know about the migration to .ini files, if not, there's a helper tool called migrate_gse, run it from cmd and pass the location to your steam_settings folder and it will convert everything, in that case also please check its dedicated readme.

I doubt the logs will show anything useful, but give the debug build a try and post your log, take a look inside it first and ctrl+f both your username and steamid, if those are your real ones just replace them with any text, or simply change your name/id in the .ini for the moment during testing, if the game ties your saves to the steamid you'll start from the beginning until you restore it back.

another important note, there's a know bug with the api library (steam_api.dll) where it's missing some export, to solve that simply use the Cold Client Loader setup. test that too and post another debug log with this one.

I am already using the coldclient, i was actually making a compilation of hl2 + all ep + mmod using coldclient and some bat files here explorer_pZ6XqRz6uI but im gonna abandon it because greenluma is a better approach to this. Yes i know about ini files, also you should maybe look into this

After the Overlay Update the emulator does not work properly with most too Source games. I've already reported back about this, so my advice is to use the old version.

COLD_LDR_LOG.txt

otavepto commented 3 weeks ago

the other one STEAM_LOG.txt 😄

bro just disable the overlay

on a more humorous note, I think if I deleted the front readme + all the other readmes files, and only added this sentence in a simple instructions.txt, life would be more fun

HuggedJacker commented 3 weeks ago

the other one STEAM_LOG.txt 😄

uhh im using coldclient, i never used the steam_api method. edit: nvm shit STEAM_LOG.txt

HuggedJacker commented 3 weeks ago

bro just disable the overlay

on a more humorous note, I think if I deleted the front readme + all the other readmes files, and only added this sentence in a simple instructions.txt, life would be more fun

Ah well "LIfe could be a dream" Aggresive monke noises

otavepto commented 3 weeks ago

when you run the game with mods does it take ~16 seconds to display that error? the log has so many events and ends with a crash, was this log produced when you used the mod?

Detanup01 commented 3 weeks ago

the other one STEAM_LOG.txt 😄

bro just disable the overlay

on a more humorous note, I think if I deleted the front readme + all the other readmes files, and only added this sentence in a simple instructions.txt, life would be more fun

And the text would say, replace this to the one you got before and learn how to program to successfully configurate it.

HuggedJacker commented 3 weeks ago

when you run the game with mods does it take ~16 seconds to display that error? the log has so many events and ends with a crash, was this log produced when you used the mod?

No wait lemme send you a video so you can see.

HuggedJacker commented 3 weeks ago

https://github.com/otavepto/gbe_fork/assets/89655926/459579b6-06c3-4f85-9b53-6b6f23584bd1

It does its thing like this, i hope you look into it. Here's my configuration and .bat file incase you need it. I converted them to .txt because github doesn't support .bat and .ini files

ColdClientLoader-HL2MMod_HL2.txt

steamclient_loader_HL2MMod_HL2.txt

otavepto commented 3 weeks ago

dammmmmnnnnnnnn it, I already know valve games need this stupid hidden dlc In the logs you can see this

[12384 ms, 12384248 us] [tid 16096] Steam_Apps::BIsSubscribedApp() 215

@HuggedJacker Just add this entry to your dlc list, do it for all valve/source games to be on the safe side

215=whatever

There's also a convenient setting in the ini file for that https://github.com/otavepto/gbe_fork/blob/486237179e64e4671a69c527b95372605101544b/post_build/steam_settings.EXAMPLE/configs.main.EXAMPLE.ini#L68-L72

pic ![image](https://github.com/otavepto/gbe_fork/assets/153766569/8a2c840b-e6a9-414a-8ae9-d00e7bff1348) ```

I'll close this, feel free to open a new issue for different problems

ghost commented 3 weeks ago

Game doesn't even use the 215 AppID! Thanks Valve.

HuggedJacker commented 3 weeks ago

dammmmmnnnnnnnn it, I already know valve games need this stupid hidden dlc In the logs you can see this

[12384 ms, 12384248 us] [tid 16096] Steam_Apps::BIsSubscribedApp() 215

@HuggedJacker Just add this entry to your dlc list, do it for all valve/source games to be on the safe side

215=whatever

There's also a convenient setting in the ini file for that

https://github.com/otavepto/gbe_fork/blob/486237179e64e4671a69c527b95372605101544b/post_build/steam_settings.EXAMPLE/configs.main.EXAMPLE.ini#L68-L72

pic

Well DAMN! THANKS BROTHER, i really appreciate it, maybe valve should stop adding every single stupid dependency as a dlc, just merge it with the game lol. Also didn't know about this setting, maybe you should add more information in the example.ini, like "may be needed for sourcemods" or something like that.

There's also a convenient setting in the ini file for that

https://github.com/otavepto/gbe_fork/blob/486237179e64e4671a69c527b95372605101544b/post_build/steam_settings.EXAMPLE/configs.main.EXAMPLE.ini#L68-L72

I