Homebrew [Release] Quake2CTR - Quake 2 port

MLdB

New Member
Newbie
Joined
Nov 1, 2023
Messages
2
Trophies
0
Age
42
XP
23
Country
Netherlands
No expert here, but browsing through the code and reviewing the commits, I think the error originates in:

gl_model.c line 261
r_model.c line 166

A call to Hunk_Begin() was changed between versions 0.1 and 1.0:
Code:
loadmodel->extradata = Hunk_Begin (0xC00000);
became:
Code:
loadmodel->extradata = Hunk_Begin (0x1000000);

Which changed the amount of memory being allocated from 12MiB to 16MiB, the exact number reported in the Sys_Error.

Hunk_Begin(int maxsize) in sys_ctr.c is the only function containing a Sys_Error call with the line "unable to allocate %d bytes".

I do not have a build environment set up to test whether changing this to a lower value will prevent the error, but maybe someone else has an insight?

Edit:
I now do have the environment set up, but I run into a compile error:

Code:
game/q_shared.h, line 46:

typedef enum {false, true} qboolean
expected identifier before numeric constant

The error points to 'false'.
 
Last edited by MLdB,

Datbo

Active Member
Newcomer
Joined
Jun 18, 2023
Messages
37
Trophies
0
Age
19
XP
302
Country
United States
hopefully this issue can be ironed out later on
Post automatically merged:

if you press start repeadeatly during bootup you can boot the game before the demo plays. The error didnt show up when I did that and the game runs fine
Post automatically merged:

Thank you!
Here's the latest builds, Merry Christmas everyone.
how exactly do you get these to work. Every time I download it and boot it up it just boots me to the normal original story
 
Last edited by Datbo,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    Nyquill with grape juice
  • realtimesave @ realtimesave:
    wow that didn't work lol
  • realtimesave @ realtimesave:
    tried to paste a pic
  • K3Nv2 @ K3Nv2:
    Stop getting your creamy paste all over
    +2
  • impeeza @ impeeza:
    DO NOT WORK FOR ME :(
  • BigOnYa @ BigOnYa:
    I think he has a wedgie, and is afraid to fix it in public.
    +1
  • BigOnYa @ BigOnYa:
    Or else he caught one of those Florida STD's
  • K3Nv2 @ K3Nv2:
    Psis difficulty meter is Stds like how south park made it race color
    +2
  • BakerMan @ BakerMan:
    oh yeah it's skin color for difficulty in south park

    is it, by that logic, blackface to play on the hardest difficulty if you're white?
    +1
  • BigOnYa @ BigOnYa:
    Hey Psi, you ever been on a date and ran into another past date? And how did you handle it? Just curious.
  • K3Nv2 @ K3Nv2:
    He just says this is the neighbor across the block and says sorry their mail got mixed up
  • BakerMan @ BakerMan:
    guys, this sounds unhinged, but someone (i forgot who) saying they'd want to make their left 4 dead team wario, samus, captain falcon and nester gave me the idea for a quick round of fuck marry kill/bed wed behead
    +1
  • BakerMan @ BakerMan:
    fuck marry kill:
    wario, samus, captain falcon
  • BakerMan @ BakerMan:
    i gotta say fuck captain falcon, because he's hot (no homo), marry samus, because she seems like good wife (or as BigOnYa says, wifey) material, and kill wario, because he can't die, so killing him won't really kill him
    +1
  • BakerMan @ BakerMan:
    but uhhh that's just me hehe
    iu
  • impeeza @ impeeza:
    good night guys
    +1
  • BigOnYa @ BigOnYa:
    Nighty night, wise one, thanks for trying to help.
  • Psionic Roshambo @ Psionic Roshambo:
    To sleep perchance to dream!
  • BigOnYa @ BigOnYa:
    My state has put a heavy tax on vape juice, taxing any juice with nicotine by the weight/oz. So to get around the bs, my local vape store only sells 0 nicotine vape juices, then they also sell straight nicotine in tiny bottles, and you mix it yourself, lol
    BigOnYa @ BigOnYa: My state has put a heavy tax on vape juice, taxing any juice with nicotine by the weight/oz. So...