VOGONS

Common searches


First post, by BEEN_Nath_58

User metadata
Rank l33t
Rank
l33t

Although the Steam Condition Zero works fine, I am trying to play the 2004 original release of CZ with the VNG crack. However the game seems to crash when using the monitor resolution 1440x900 or 1920x1080 with a

Cache_TryAlloc: 2331984 is greater then free hunk.

Was there really a resolution limit in the game like this?

previously known as Discrete_BOB_058

Reply 2 of 18, by BEEN_Nath_58

User metadata
Rank l33t
Rank
l33t
Hezus wrote on 2024-05-02, 08:24:

The engine should be able to handle that.

If I recall correctly there is a rule on this forum not to ask for support on cracked software, though.

Problem is probably not with the crack, since I had to use it since upgrading to Win10 with no DVD drive. I did indeed check on WinXP now and it crashes at 1080p.

Not sure what's wrong considering all the 3 PCs have the same result

Edit: I am referring to SOFTWARE mode

previously known as Discrete_BOB_058

Reply 4 of 18, by BEEN_Nath_58

User metadata
Rank l33t
Rank
l33t
Hezus wrote on 2024-05-02, 21:27:

Try loading with the parameter:
-heapsize 2331984

Bad luck here

Edii: i consider everyone else to know better than me with the game commands. The game issues a "No masters loaded, using default master", usually before level loads. But on my machines it happens mid match, causing it to freeze. Do you know how to make this master load before I start a round

Attachments

  • memalloc.png
    Filename
    memalloc.png
    File size
    4.53 KiB
    Views
    467 views
    File license
    Public domain

previously known as Discrete_BOB_058

Reply 5 of 18, by myne

User metadata
Rank Member
Rank
Member

A negative number would suggest a signed integer/float overflow.

Eg if a value was 8 bits, and it was signed (ie it can have a SIGN showing +/-), then it would be effectively 7 bits. -127 to +127
If you then gave it an 8 bit number, say 157 it would hit +127, tick over to -127 and add 19 to that, resulting in -108.

It looks like that's what's happening there.
Try a lower heap size, and see how the number changes.

On the resolution thing, you have to realise 1440x900x32bit= 41,472,000‬ bytes = ~39mbytes - PER FRAME.
This might be beyond some arbitrary memory limit.
One possible workaround would be to try changing it to 16bit colour. This would obviously halve the memory used per frame, and might allow higher resolutions with minimal noticable difference.

Things I built:
Mechwarrior 2 installer for Windows 10/11 Re: A comprehensive guide to install and play MechWarrior 2 on new versions on Windows.
Dos+Windows 3.11 auto-install iso template (for vmware)

Reply 6 of 18, by BEEN_Nath_58

User metadata
Rank l33t
Rank
l33t
myne wrote on 2024-05-03, 07:52:
A negative number would suggest a signed integer/float overflow. […]
Show full quote

A negative number would suggest a signed integer/float overflow.

Eg if a value was 8 bits, and it was signed (ie it can have a SIGN showing +/-), then it would be effectively 7 bits. -127 to +127
If you then gave it an 8 bit number, say 157 it would hit +127, tick over to -127 and add 19 to that, resulting in -108.

It looks like that's what's happening there.
Try a lower heap size, and see how the number changes.

On the resolution thing, you have to realise 1440x900x32bit= 41,472,000‬ bytes = ~39mbytes - PER FRAME.
This might be beyond some arbitrary memory limit.
One possible workaround would be to try changing it to 16bit colour. This would obviously halve the memory used per frame, and might allow higher resolutions with minimal noticable difference.

I am using 16-bit colors alreayd. Putting -heapsize 11111111111:

Attachments

  • soft1080p.png
    Filename
    soft1080p.png
    File size
    66.18 KiB
    Views
    428 views
    File license
    Public domain

previously known as Discrete_BOB_058

Reply 7 of 18, by myne

User metadata
Rank Member
Rank
Member

11gb is probably a tad high for a probably 32bit game that can only address 4gb Max.

Try something less silly like 2gb
2,147,483,648

Things I built:
Mechwarrior 2 installer for Windows 10/11 Re: A comprehensive guide to install and play MechWarrior 2 on new versions on Windows.
Dos+Windows 3.11 auto-install iso template (for vmware)

Reply 8 of 18, by BEEN_Nath_58

User metadata
Rank l33t
Rank
l33t
myne wrote on 2024-05-03, 10:41:

11gb is probably a tad high for a probably 32bit game that can only address 4gb Max.

Try something less silly like 2gb
2,147,483,648

2,147,483,648 gives that it cant allocate 88 bytes.
2,147,483,649 gives that it can't allocated 2048942 bytes
2,147,483,647 gives that it can't allocate -0.00 MB

Edit: -heapsize 214748364 works, but now back to the original error in the first post

previously known as Discrete_BOB_058

Reply 9 of 18, by myne

User metadata
Rank Member
Rank
Member

I assume you've tried all the compatibility modes, and patches, so I'm out of ideas

Things I built:
Mechwarrior 2 installer for Windows 10/11 Re: A comprehensive guide to install and play MechWarrior 2 on new versions on Windows.
Dos+Windows 3.11 auto-install iso template (for vmware)

Reply 10 of 18, by BEEN_Nath_58

User metadata
Rank l33t
Rank
l33t
myne wrote on 2024-05-04, 07:09:

I assume you've tried all the compatibility modes, and patches, so I'm out of ideas

Neither helped, nor XP, so I am going to assume it was an actual engine limit back then

previously known as Discrete_BOB_058

Reply 11 of 18, by UCyborg

User metadata
Rank Member
Rank
Member

What about OpenGL mode? I remember old versions of the engine having issues with strange (for the time) resolutions in software mode. Not sure about -heapsize, but I'm sure there was a lot of advice written for games in general regarding various tweaks by people that didn't have the actual technical know-how.

Arthur Schopenhauer wrote:

A man can be himself only so long as he is alone; and if he does not love solitude, he will not love freedom; for it is only when he is alone that he is really free.

Reply 12 of 18, by BEEN_Nath_58

User metadata
Rank l33t
Rank
l33t
UCyborg wrote on 2024-05-04, 13:12:

What about OpenGL mode? I remember old versions of the engine having issues with strange (for the time) resolutions in software mode. Not sure about -heapsize, but I'm sure there was a lot of advice written for games in general regarding various tweaks by people that didn't have the actual technical know-how.

OpenGL works fine, and so does Direct3D

previously known as Discrete_BOB_058

Reply 14 of 18, by myne

User metadata
Rank Member
Rank
Member

I had a quick look.
CZ =counterstrike =half life =quake 2 derived
Correct?

I find it hard to believe carmack had limits like that.
It might be worth looking into cs/hl/Q2 limits for some hints

Things I built:
Mechwarrior 2 installer for Windows 10/11 Re: A comprehensive guide to install and play MechWarrior 2 on new versions on Windows.
Dos+Windows 3.11 auto-install iso template (for vmware)

Reply 15 of 18, by BEEN_Nath_58

User metadata
Rank l33t
Rank
l33t
myne wrote on 2024-05-05, 09:04:
I had a quick look. CZ =counterstrike =half life =quake 2 derived Correct? […]
Show full quote

I had a quick look.
CZ =counterstrike =half life =quake 2 derived
Correct?

I find it hard to believe carmack had limits like that.
It might be worth looking into cs/hl/Q2 limits for some hints

Although I will need to check, I think Q2 and HL (WON) didn't have widescreen support either. HL 2006 steam build crashes in the same manner, and so does CS1.6 of around the same time

previously known as Discrete_BOB_058

Reply 17 of 18, by Nicknine

User metadata
Rank Newbie
Rank
Newbie
BEEN_Nath_58 wrote on 2024-05-03, 04:50:
Hezus wrote on 2024-05-02, 21:27:

Try loading with the parameter:
-heapsize 2331984

Bad luck here

Edii: i consider everyone else to know better than me with the game commands. The game issues a "No masters loaded, using default master", usually before level loads. But on my machines it happens mid match, causing it to freeze. Do you know how to make this master load before I start a round

Run the game with -nomaster parameter. The game tries to fetch master server list from old Steam servers that are long dead hence the freeze as it tries to fruitlessly reach them. I never tried running old GoldSource builds at high resolutions so can't comment on that.

Last edited by Nicknine on 2024-05-15, 16:36. Edited 1 time in total.

Reply 18 of 18, by BEEN_Nath_58

User metadata
Rank l33t
Rank
l33t
Nicknine wrote on 2024-05-15, 14:59:
BEEN_Nath_58 wrote on 2024-05-03, 04:50:
Hezus wrote on 2024-05-02, 21:27:

Try loading with the parameter:
-heapsize 2331984

Bad luck here

Edii: i consider everyone else to know better than me with the game commands. The game issues a "No masters loaded, using default master", usually before level loads. But on my machines it happens mid match, causing it to freeze. Do you know how to make this master load before I start a round

Run the game with -nomaster parameter. The game tries to fetch master server list from old Steam servers that are long dead hence the freeze as it tries to fruitless reach them. I never tried running old GoldSource builds at high resolutions so can't comment on that.

I can't believe it. That actually worked. Thank you so much!

previously known as Discrete_BOB_058