Couldn't Reload Quake III Arena/baseq3/PAK0.pk3
Started by myleg123
avatar
myleg123 Rep. 110
#1   02 Oct 2017
Whenever I try to play Quake III Arena, I get this error. I have traced down the problem and have found it to be having too many .pk3 files in my baseq3 folder. I currently have 729 .pk3 files in my baseq3 folder, and I would like to know how many .pk3 files Quake III Arena can handle in its baseq3 folder. And if there is any fix for it, I currently wouldn't know about it and would like it if someone shared their information with me!
avatar
Tig Rep. 2352
#2   02 Oct 2017
I remember testing this limitation a while back. The results are here: lvlworld.com/thread/238/0

The limit may be related to files in system memory, not a number of maps or PK3 files. Maps can still be loaded from the console but with more maps you run a higher risk of a script error too.

A workaround, but still a hassle:
1) Create a folder and place all the PK3 file in it.
2) Move the PK3 files over when you play them.

Try the ioquake3 version too, it has heaps of improvements over the default engine.

avatar
myleg123 Rep. 110
#3   03 Oct 2017
I get this error when I already am using Ioquake3 (guess I should've stated that in the main post, whoops!) I am also using UI Enhanced, which allows for more maps in the maplist. The problem is, I get kicked out of the game with this error. I didn't get this error when I had only around 500 .pk3 files in my baseq3 folder, it is only when I added an extra 200 maps and models is when this error started to happen to me. Around 650 .pk3 files are map files.
avatar
Chomenor Rep. 0
#4   03 Oct 2017
You could try my ioq3 new filesystem project. It's an ioquake3 modification specifically designed to support more pk3 files. It can handle all the pk3s on lvlworld at once, and a lot more.

github.com/Chomeno...system/releases

avatar
myleg123 Rep. 110
#5   03 Oct 2017
Thanks! I will report back once I try it.
avatar
myleg123 Rep. 110
#6   03 Oct 2017
Ok, so when I try to load a mod, the list is flooded with mods I don't have in my Q3A folder, and when I try to load UI Enhanced from launch properties, all I get is a black screen and it crashes eventually. When I load a player model, some of the characters have missing textures, and some are corrupted in size and shape. Is there some sort of fix to this?
avatar
Chomenor Rep. 0
#7   03 Oct 2017
The mod list will also show mod folders from the %appdata%\Quake3 folder. Is it possible that is where they are coming from?

I'll do some testing to try to find problems related to UI enhanced and the player model selection. I'm assuming the current version of UI enhanced and the one you are running is 1.20? Hopefully I can reproduce and fix some of these problems and have an updated version by tomorrow.

avatar
myleg123 Rep. 110
#8   04 Oct 2017
Oh, didn't even think of that first solution! And yes, I am using UI Enhanced 1.2. I will report back once I try this fix.
avatar
myleg123 Rep. 110
#9   04 Oct 2017
I have tried the fix, and only a fraction of the maps appear in the maplist, whereas before I applied this fix, around 500 could appear before my game started crashing due to too many .pk3 files. The same thing goes for models. Not all of them show up.
avatar
Chomenor Rep. 0
#10   04 Oct 2017
I've been having a hard time reproducing the problems you were having with my filesystem client. I do see an issue that causes slow load times with a temporary black screen on UI enhanced, but it doesn't lead to a crash. What is the behavior of the crash you are experiencing (error message/crash to desktop with no error/freezing)?

Is there a specific player model that has an issue that I could test, or is it just affecting a lot of different models including the built-in ones? If you don't mind, try setting fs_search_inactive_mods to 0 in the console, and see if that makes any difference.

It's worth noting that my project is currently geared towards loading maps and models from the console, not the menus. I think pretty much all current mods have problems with the menus when very large numbers of pk3s are present. Even when it is working correctly UI Enhanced appears to have a hard limit of 512 maps in the map menu, which may defeat the purpose of using with my project anyway.

avatar
myleg123 Rep. 110
#11   04 Oct 2017
I noticed that when I started using UI Enhanced after I fixed the %appdata% error, the models that I previously had problems with were now fixed. Before I applied the new file system fix, whenever I had more than 400 .pk3 files, the game would crash leading to an error. "Couldn't reopen baseq3\PAK0.pk3" I traced this error down to be happening due to me having too many .pk3 files. When I applied this fix, the error doesn't appear anymore, and instead I get the issue stated in my previous posts. UI Enhanced is the only mod that I know of that increases max slots in the maplist, and if you could recommend some new ones that you may know of, that would be great!

Edited 1.15 minutes after the original posting.

avatar
Chomenor Rep. 0
#12   04 Oct 2017
I'm not sure what you mean by the %appdata% error. It is normal for ioquake3, and my filesystem client as well, to store files in the %appdata%\Quake3 folder, and only use the install directory as a secondary read location. What is the specific error and fix you are describing?

There were several issues described in your previous posts, so I'm not clear which one(s) you are having currently, and it would also help to have more specific details like an error message or the behavior of the crash. Also try setting try setting fs_search_inactive_mods to 0 in the console, and see if that has any effect on the problem.

Unfortunately I don't know of any mod currently that fully increases the slot limits. Before my project it wasn't practical to implement really large limits because the engine usually wouldn't support it anyway. I might look into implementing a patch of my own based on the ioq3 VM code, but it wouldn't have all the features of something like UI enhanced.

avatar
myleg123 Rep. 110
#13   04 Oct 2017
Before I deleted the folders in the \AppData\Roaming\Quake3 directory, when I tried to launch UIE from launch properties, it would leave me a black screen and crash. After I deleted the folders in that directory, it worked fine. And setting fs_search_inactive_mods 0 fixed the problem with the models, but not the maps. My current and only issue is that not all the maps show up.
avatar
Chomenor Rep. 0
#14   05 Oct 2017
It could help if you send me the fscache.dat file, which should be created in %appdata%\Quake3. You could email it to me at chomenor@gmail.com, or post a link to it here, however you prefer.
avatar
myleg123 Rep. 110
#15   05 Oct 2017
Sent.
avatar
Chomenor Rep. 0
#16   06 Oct 2017
Thanks. I was able to reproduce your config with a lot of the same pk3s, although there were some models and obscure paks that I didn't have. I got 323 maps in the UI enhanced map menu without the "all maps" option selected, and the full 512 maps with it selected. Is this close to what you are seeing?
avatar
myleg123 Rep. 110
#17   06 Oct 2017
Yes, that is almost exactly my problem. I can see only 512 maps, but have more than that.

Edited 4.78 minutes after the original posting.

avatar
Chomenor Rep. 0
#18   06 Oct 2017
Is that with or without the all maps option selected?
avatar
myleg123 Rep. 110
#19   06 Oct 2017
With the all maps option selected.
avatar
Chomenor Rep. 0
#20   06 Oct 2017
It appears to be a limit in UI Enhanced, but since the source code appears to be available I might be able to make a workaround. I'll need some time to patch the issues with my client and do some more testing, though.
avatar
myleg123 Rep. 110
#21   06 Oct 2017
Ok, thanks for locating the problem! I will look for a new mod that increases the maplist size in the meantime.
avatar
Chomenor Rep. 0
#22   13 Oct 2017
I made some changes to the engine and the UI Enhanced mod that should get the limit up to 4096 maps. It can still be really slow though, especially if you try to use certain features in UI Enhanced like having multiple maps in the custom map list. It might be better than nothing, though.

Get the updated engine here:
github.com/Chomeno...system/releases

And the modified UI Enhanced mod here (put it in the uie folder):
stvef.org/files/uie12_maplimitup.pk3

avatar
myleg123 Rep. 110
#23   26 Nov 2017
Sorry for the late reply, was interested in other endeavors involving other games. I will try this modification and will tell you if it works or not!
avatar
myleg123 Rep. 110
#24   26 Nov 2017
The uie12_maplimitup.pk3 file is dead, and searching it in The Wayback Machine led to nothing. If you could repost it that would be great.
avatar
Chomenor Rep. 0
#25   27 Nov 2017
Here is an updated link:
stvef.org/files/uie12_maplimitup.pk3
avatar
myleg123 Rep. 110
#26   27 Nov 2017
Thanks! Once I test it with all of my add-ons, I will tell you what happens.
avatar
myleg123 Rep. 110
#27   27 Nov 2017
It seems that all of my maps are in the maplist and accounted for. I'd imagine speed wouldn't be much of an issue once I put it on my SSD. If I encounter any errors I will post them here. Thank you for your service!
avatar
Chomenor Rep. 0
#28   27 Nov 2017
No problem, and thanks for the testing help!
avatar
myleg123 Rep. 110
#29   03 Dec 2017
It seems that when I add bots, it says "Bot (BOT INSERTED) not defined." Where (BOT INSERTED) is the bot I tried inserting. The bot then doesn't spawn. I don't know if this is a problem with your mod, but I will try it once my brother returns my flash drive with my Quake 3 files after putting the files on his PC.
avatar
Chomenor Rep. 0
#30   03 Dec 2017
What is the exact method you are using to add the bots, and is it with UI Enhanced running?
Does this happen with every bot, including the ones built into quake, or just some bots?

Only registered members can post a reply.
Already registered? Sign in.

sgdtt3
Clear