p2sr / Portal2SpeedrunMod

Portal 2 Speedrun Mod - a modification for the game to make it faster to speedrun.
32 stars 5 forks source link

Unable to enter into the game #6

Closed LikeToCodeStreams closed 1 year ago

LikeToCodeStreams commented 2 years ago

keep on getting a unable to load manifest file error for the sound manifest file

uncreativeCultist commented 2 years ago

image same here.

lucassimon963 commented 2 years ago

To fix this issue make sure that portal 2 from steam is installed on the same drive as the sourcemod folder. So for example my portal 2 game is installed on my C: drive and I have the mod in my sourcefolder also on my C: drive.

MrHousehao commented 2 years ago

Hey, I have another solution. My steam and the game installation library are not on the same drive. The steam store program is D:\steam\steamapps\, and the game library is "G:\steam\steamapps\". If I directory put the mod under the "G :\steam\steamapps\sourcemods\", steam can't correctly recognize the mod. Only put it under the "D:\steam\steamapps\sourcemods\" can steam correctly recognize the mod. However, an error such as "unable to load manifest file error for the sound manifest file" may occur. My solution is as follows:

  1. First close steam and its accompanying programs such as OBS and wallpaper engine.
  2. Move the "common" and "sourcemods" folders under the "D:\steam\steamapps\" directory of the steam store program to the "G:\steam\steamapps\" directory of the game library.
  3. Open CMD (administrator mode) and use mklink command(Pay attention to the space character): mklink /j "D:\steam\steamapps\common" "G:\steam\steamapps\common" mklink /j "D:\steam\steamapps\sourcemods" "D:\steam\steamapps\sourcemods" This command will cause the system to establish a folder mapping. Although there is the same file path in drive D, the file is actually stored in drive G, which does not affect steam's reading of the file from drive D. I hope this can help people who have the same problems as me.
ghost commented 2 years ago

it is still coming up with the error message.

ThisAMJ commented 2 years ago

MrHousehao's solution is weird AF and not at all necessary. The proper fix is to edit Portal 2 Speedrun Mod/gameinfo.txt. Replace this line:

Game "|gameinfo_path|../../common/Portal 2/portal2"

with the correct path to the base game. e.g:

Game "C:/Program Files (x86)/Steam/steamapps/common/Portal 2/portal2"
ghost commented 2 years ago

do i have to have the mod installed on the same drive as portal 2 or where steam i installed

ThisAMJ commented 2 years ago

no

MrHousehao commented 2 years ago

Yes, ThisAMJ solution was better and simpler than mine, and I use his solution now. thx

ghost commented 2 years ago

could this problem be caused by family sharing.

dont ask

ThisAMJ commented 2 years ago

No. So long as the base game is installed and the gameinfo.txt in Speedrun Mod points to <base game path>/portal2 as shown above, this error should not occur.

broprogaming commented 1 year ago

I Dont Know Why, But It Is Still Showing The Error For Me After Trying What ThisAMJ Said 2022-12-06 2022-12-06 (3)

ThisAMJ commented 1 year ago

C:/Program Files (x86)/Steam/steamapps/common/Portal 2/portal2 is where the base game is installed right? You may also have to open the base game once before opening Speedrun Mod.

broprogaming commented 1 year ago

Yes, ill try to do that later, then tell you if that works or not

broprogaming commented 1 year ago

it doesnt work

ThisAMJ commented 1 year ago

Go here: Open Portal 2 path from steam (right click -> manage -> browse local files) Then go into the portal2 folder and click the search bar like this, then Ctrl+C: Click the file path at the top of File Explorer Then paste into sourcemods/Portal 2 Speedrun Mod/gameinfo.txt, inside quotes e.g:

Game "C:\Program Files (x86)\Steam\steamapps\common\Portal 2\portal2"

If it still doesn't work, try verifying game files for the base game and reinstalling Speedrun Mod.

Make sure you only have one copy of Speedrun Mod installed, and check other drives as this issue only occurs when Portal 2 and Speedrun Mod are installed on separate drives.

If the problem persists, you will get assistance much quicker by asking in the #technical-help channel of the P2SR discord server.

broprogaming commented 1 year ago

Thank You ThisAMJ, I didnt notice that i moved my portal to game to my drive, "D:\SteamLibrary\steamapps\common\Portal 2\portal2" seemed to fix it! Thanks for telling me about "Browse Local Files" or i would of never known i put it in my drive! Thanks!

betsruner commented 1 year ago

Issue seems resolved