Closed FalconinVoid closed 6 months ago
Use the release version, I do not provide the debug version of QT binaries.
Okay, but the release version can't find Steam anymore: "Steam must be running to use this tool (SteamAPI_Init() failed)." Do you know how to solve the problem? (I started Steam before I opened the tool of course)
it CAN fail for multiple reasons, 99% it's because Steam isn't running. the other 1% are edgecases.
The thing is that, for me the map uploader works fine. If restarting your computer doesn't work then the problem lays way deeper than I thought. Debugging the application on Windiows is quite difficult for me, because I don't own a Windows system, at least, not one that I haven't tested already (the tool works on it). so... I'll see what I can do.
I've had 2 separate Windows users confirm that the tool works, it's likely something wrong with your machine. Make sure steam is running, update steam and ensure Portal 2 is installed.
Okay that's really weird, I'll try it on another machine. The last Steam update was on the 7th March 2024, Portal 2 is installed and Steam is running ofc.
The thing is that, The Steam API does NOT update, ever, if it were to, a lot of legacy applications Valve and other Steam users have made in the past would break, with no one to maintain those tools it's Valve's number 1 priority is to never change the legacy Steam API, which this tool relies on because Portal 2 relies on it. besides just setting the application theming and env variables the first piece of code that runs is:
if ( !SteamAPI_Init() )
{
...
}
It may be that your computer does not allow applications to set env variables, though, I doubt that. However, if it is indeed the case. You need to put this file at the same location as the .exe
I cannot guarenteee it'd fix it, but it'd be worth a shot.
I tried that, but unfortuntately, this also doesn't work. Same error message.
Do I have to put the folder in a special directory? Like bin?
I tried reinstalling Steam but that also didn't work :(
This might be a redundant question, but do you have Portal 2 installed? And if so, is it on your main drive or a secondary drive?
I tried installing Portal 2 on both drives, but this also didn't work.
What happens if you run the map uploader from the command prompt? Does that show anything?
No, running it from the admin command prompt doesn't work either.
Fixed the problem now. But it was so stupid, I don't want to talk about it... :|
"Steam must be running to use this tool (SteamAPI_Init() failed)."