Comments (12)
hello
from quakespasm.
I have a hard time understanding the issue, whatever that is. @ericwa ?
from quakespasm.
Мне трудно понять проблему, в чем бы она ни заключалась. @ericwa ?
I apologize for the crooked English and the incorrectly posed question.
I don't know him very well, I use Google translator.
native Russian language.
I have a problem, I am recreating the World Trade Center from the blueprints and ran into restrictions.
-
Hunk_Alloc: Failed 1036704 bytes
Register through the label
Bug fixes
Allocating memory for resources.
-heapsize 1347903 -
AllocBlock: full
then it overflows completely there is a limit, you can increase it.?
3.Limit on the number of primitives in the game and other restrictions?
my mod page
https://www.moddb.com/mods/world-trade-center
from quakespasm.
Мне трудно понять проблему, в чем бы она ни заключалась. @ericwa ?
- Host_Error: Mod_Leafs: 130539 Exceds Limit of 100000.
from quakespasm.
- Host_Error: Mod_Leafs: 130539 Exceds Limit of 100000.
if (count > 32767)
Host_Error ("Mod_LoadLeafs: %i leafs exceeds limit of 32767.\n", count);
is what's in gl_model.c:1542 if you want to muck around with it
say add
#DEFINE MAX_LEAVES 0x200000
after the #include
then change those lines to
if (count > MAX_LEAVES) {
Host_Error ("Mod_LoadLeafs: %i leafs exceeds limit of %i.\n", count, MAX_LEAVES);
}
but I'd advise going back to the drawing board in your level editor of choice to see if you can reduce the number of binary space partition branches before resorting to something as extreme as multiplying the maximum number of visibility leaves 64 fold.
Edit: dawns on me that leaf indices might be 16 bit integers. In which case this might not work. Other sourceports might support 32 bit leaf indices. I'll need to investigate.
Further Edit: bsp2, which is supported, has no such limit on visibility leaves. Might want to export to that instead. Still would advise going through and doing an optimization pass, adding hint surfaces as needed.
from quakespasm.
- Ошибка хоста: Mod_Leafs: 130539 Превышает лимит в 100000.
если (количество > >32767) Ошибка хоста ("Mod_LoadLeafs: %i листьев превышает предел 32767.\n", количество);это то, что есть в gl_model.c:1542,
если вы хотите повозиться с этим
скажи добавить#ОПРЕДЕЛИТЬ МАКСИМАЛЬНЫЕ ЗНАЧЕНИЯ 0x200000
#include
после этого измените эти строки наесли (количество > MAX_LEAVES) { Host_Error ("Mod_LoadLeafs: %i листьев превышает предел %i.\n", количество, MAX_LEAVES); }но я бы посоветовал вернуться к чертежной доске в выбранном вами редакторе уровней, чтобы посмотреть, сможете ли вы уменьшить количество ветвей раздела двоичного пространства, прежде чем прибегать к чему-то столь экстремальному, как умножение максимального количества видимых листьев в 64 раза.
Правка: до меня доходит, что листовые индексы могут быть 16-битными целыми числами. В этом случае это может не сработать. Другие исходные порты могут поддерживать 32-разрядные конечные индексы. Мне нужно будет провести расследование.
Дальнейшее редактирование: bsp2, который поддерживается, не имеет такого ограничения на видимость листьев. Возможно, вместо этого захочется экспортировать в это. Тем не менее, я бы посоветовал пройти и выполнить оптимизацию, добавив поверхности подсказок по мере необходимости.
Thank you very much for the answer.
I tried to optimize, but I have such a large project that it won't help without increasing the limits.
I already have been using it when compiling BSP2
is there a console command that can increase the leaf limit on the map?
from quakespasm.
is there a console command that can increase the leaf limit on the map?
Does not look like it. Furthermore, I'm actually having trouble finding a leaf limit of 100000 anywhere. Only one explicitly given I can find is 32767, which should only apply to BSP1.
from quakespasm.
есть ли консольная команда, которая может увеличить лимит листа на карте?
Не похоже на это. Кроме того, у меня на самом деле возникли проблемы с поиском лимита в 100000 в любом месте. Только один явно заданный, который я могу найти, - 32767, который должен применяться только к BSP1.
Thank you very much for your help.
I climbed optimized but now I run out of memory or something like that.
is there a console command to increase the limit of this parameter?
Hunk_Alloc: Failed 68166160 bytes
Register through the label
Bug fixes
Allocating memory for resources.
-heapsize 1347903
from quakespasm.
There is no console command that I know of to adjust the heap size while the game is running. Fortunately, there is a command line option to have more memory available right on startup. Namely -heapsize [kilobytes]
Try
-heapsize 262144
from a terminal, in addition to the command line options to specify your map. That'll give you 256 megabytes.
from quakespasm.
Насколько мне известно, нет консольной команды для настройки размера кучи во время работы игры. К счастью, есть опция командной строки, чтобы сразу при запуске было доступно больше памяти. Именно
-heapsize [kilobytes]
Попробуй
-heapsize 262144
с терминала, в дополнение к параметрам командной строки, чтобы указать свою карту. Это даст вам 256 мегабайт.
did not help inserted the command into the shortcut of the game.
Where is the command line in the quake?
from quakespasm.
Successful compilation logs.
before optimization and after optimization.
if more goes beyond the limits of the allocated memory that I could not apply through the shortcut of the game.
floor_2021_11_07_v106.log
floor_2021_11_07_v116.log
from quakespasm.
Насколько мне известно, нет консольной команды для настройки размера кучи во время работы игры. К счастью, есть опция командной строки, чтобы сразу при запуске было доступно больше памяти. Именно
-heapsize [kilobytes]
Попробуй
-heapsize 262144
с терминала, в дополнение к параметрам командной строки, чтобы указать свою карту. Это даст вам 256 мегабайт.
I will add that I am using Arcane Dimensions mod.
on top of the Quakespasm engine.
Due to the fact that in the usual Quakespasm the map is limited to about 50 floors and then the map is cut off.
and in Arcane Dimensions there is no such limitation.
from quakespasm.
Related Issues (20)
- Stack buffer overrun on loading of `lim_daviddg` map HOT 2
- i can't enable m_filter HOT 2
- [BUG] - USB audio headset not outputting any sound, prevents the engine from gracefully shutting down HOT 24
- Crash in `SV_AreaTriggerEdicts()` function HOT 9
- Mac Windowed Mode Out Of Focus Input HOT 20
- Alpha sorting issues HOT 3
- Center Print Deletes Con Notify HOT 1
- SZ_GetSpace: overflow in certain maps with sv_protocol 999 HOT 1
- Fog blending/banding issues HOT 8
- gl_overbright cvar not working HOT 25
- Issue with depth clamp extension HOT 4
- Geometry Rendering Distortion (Mac) HOT 7
- Case sensitive game command HOT 20
- Host & play on localhost HOT 11
- Flatpak distribution HOT 5
- Border on screenshot HOT 1
- bad loop HOT 1
- negative uints HOT 19
- moving bmodels receive dynamic lighting from original position HOT 3
- Any plans to add minimal HUD and water warp from Quake Remaster? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quakespasm.