NeotokyoRevamp / source-sdk-2013

NT:R related info in the wiki.
http://steamcommunity.com/groups/nt-revamp
Other
17 stars 2 forks source link

Neotokyo assets not loaded if Source SDK Base 2013 Multiplayer and NT aren't installed in the same SteamLibrary #15

Open jorisvddonk opened 9 years ago

jorisvddonk commented 9 years ago

Neotokyo assets aren't loaded if Source SDK Base 2013 Multiplayer and NT aren't installed in the same SteamLibrary.

To reproduce:

  1. Create a Steam library (henceforth referred to as STEAMLIB1) on one of your hard disks.
  2. Create a Steam library (STEAMLIB2) on another hard disk.
  3. Install Neotokyo in STEAMLIB1.
  4. Install Source SDK Base 2013 Multiplayer (upcoming branch) to STEAMLIB2.
  5. Start NT:R, switch to any map.
  6. Observe as content isn't loaded correctly.

Expected behaviour: Models, soundeffects etc. are loaded.

Actual behaviour: Models, soundeffects etc. can't be loaded and you instead get errors like these:

Failed to load models/weapons/v_jinrai_zr68s.mdl!
Failed to load models/weapons/w_zr68s.mdl!

Tested with changeset 3a5696793dc100693aa252038ba5c447ab1847a6.

jorisvddonk commented 9 years ago

This is probably caused by line 90 in gameinfo.txt, which explicitly expects Neotokyo to be installed alongside Source SDK Base 2013 Multiplayer.

Interestingly, reading the documentation on gameinfo.txt, I think that line should be able to be replaced with game |all_source_engine_paths|NeotokyoSource, as |all_source_engine_paths| expands to the root folder of AdditionalContentId games as well (and NT is included as an AdditionalContentId game in NT:R's gameinfo.txt), but when I tried this it didn't actually work for me and the errors persisted.