sultim-t / vkquake-rt

GNU General Public License v2.0
359 stars 14 forks source link

Using "Quake: Ray Traced" with "Quake Enhanced" GOG edition complains about some files missing from the "id1" folder #33

Open gobalius opened 1 year ago

gobalius commented 1 year ago

I have followed the instructions for installing "Quake: Ray Traced" with Rerelease (2021). Everything is working fine. However, I get a "nag" windows at launch telling me that "Some files in a local "id1" folder are missing. Copy them from a Steam folder?". I click on "No" and everything works after that. I guess it's some mis-detection because of the 2021 version being different than 1996 version? missing

Andrew-Cottrell commented 1 year ago

FYI, there is discussion of this problem and a potential solution described in issue #26.


The potential solution is to ensure your folders & files match the relevant lists specified in

https://github.com/sultim-t/vkquake-rt/blob/1.20.2-rt1.0.2/Quake/common.c#L2230

static const wchar_t *rt_folderstocreate[] = {
    L"\\id1",
    L"\\id1\\music",
};
static const wchar_t *rt_originalfiles[] = {
    L"\\id1\\PAK0.PAK",
    L"\\id1\\PAK1.PAK",
    L"\\rerelease\\id1\\music\\track02.ogg",
    L"\\rerelease\\id1\\music\\track03.ogg",
    L"\\rerelease\\id1\\music\\track04.ogg",
    L"\\rerelease\\id1\\music\\track05.ogg",
    L"\\rerelease\\id1\\music\\track06.ogg",
    L"\\rerelease\\id1\\music\\track07.ogg",
    L"\\rerelease\\id1\\music\\track08.ogg",
    L"\\rerelease\\id1\\music\\track09.ogg",
    L"\\rerelease\\id1\\music\\track10.ogg",
    L"\\rerelease\\id1\\music\\track11.ogg",
};
static const wchar_t *rt_dstfiles[] = {
    L"\\id1\\PAK0.PAK",
    L"\\id1\\PAK1.PAK",
    L"\\id1\\music\\track02.ogg",
    L"\\id1\\music\\track03.ogg",
    L"\\id1\\music\\track04.ogg",
    L"\\id1\\music\\track05.ogg",
    L"\\id1\\music\\track06.ogg",
    L"\\id1\\music\\track07.ogg",
    L"\\id1\\music\\track08.ogg",
    L"\\id1\\music\\track09.ogg",
    L"\\id1\\music\\track10.ogg",
    L"\\id1\\music\\track11.ogg",
};
gobalius commented 1 year ago

I have tried creating an empty pak1.pak file but then the game won't even start, because it says the file is corrupt. corrupt

Andrew-Cottrell commented 1 year ago

It's a shame that didn't work. It appears that the current version assumes the presence of the "PAK1.PAK" file when checking if some files in a local "id1" folder are missing. But it sounds like the game works if you click on "No" when prompted.

Another idea to try is

  1. Open File Explorer to your vkQuake-RT folder (e.g., C:\Games\vkQuake)
  2. Mouse over vkQuake.exe, hold the right mouse button, drag a little to the right, release mouse button
  3. Click Create shortcuts here
  4. Right click on vkQuake.exe - Shortcut and click Properties
  5. Append " -basegame id1" to the target (e.g., so the target is C:\Games\vkQuake\vkQuake.exe -basegame id1)
  6. Double click the shortcut to run the game

When -basegame is specified, vkQuake-RT doesn't check for missing files.

gobalius commented 1 year ago

@Andrew-Cottrell the workaround with the "-basegame id1" parameter, is working. However, it's just that - a workaround. Clicking "No" is also a workaround. ;) I'm not saying this is a high priority issue that needs fixing. It would be nice to have it fixed, eventually.

phant commented 1 year ago

2021 quake -> press "No" no issues for me

Laithan401 commented 1 year ago

Same issue for me.. pressing "no" is not a workaround. It is still loading the original version of quake. None of the new menu options are there and you cannot join a LAN game with others running the rerelease. It seems to be hard coded to run the original quake files from the quake steam folder (not the rerelease folder) despite following the instructions and copying from the rerelease folder.

phant commented 1 year ago

@Laithan401 I suppose that rt-quake only use resources from .pak files (like textures, models, levels). Menu is own and has 1996's quake style.

panmarco83 commented 1 year ago

This would have been easier to deal with if there was an indication of what files it is not finding other than "Some files are missing". A log file output that indicates what files are not found or a list dialog with all missing files, even listing the missing files in the dropdown console ? Just something other than a message saying "some files are missing"...