brtnrdr
2004.08.28, 03:39 PM
hey,
i saw there was another post like this already, but my problem's a little bit different. I am also basing my loader off of the gametutorials stuff, however when i run the program, i get "malloc vm_allocate errors" saying that the memory couldn't be allocated. it wants to allocat like 2200 megs for face data. someone brought up the question is my hard drive full, no it is not. i haven't tried endian swapping, but i did go through the trouble of downloading radiant, a quake level editor and just making a simple room and compiled it as a bsp file, and the program still doesn't work. i still get the same allocation error. mind you, this is a c++ program and i'm using new in it, so that's probably why the program is terminating when the memory can't be allocated (a point someone else brought up about malloc returning a null pointer). If anyone has gotten a bsp loader working on the mac, and can enlighten me as to what files will work and whatnot, what i'd have to do to compile them so they'll work on the mac, anything. i'm really stuck.
thank you.
i saw there was another post like this already, but my problem's a little bit different. I am also basing my loader off of the gametutorials stuff, however when i run the program, i get "malloc vm_allocate errors" saying that the memory couldn't be allocated. it wants to allocat like 2200 megs for face data. someone brought up the question is my hard drive full, no it is not. i haven't tried endian swapping, but i did go through the trouble of downloading radiant, a quake level editor and just making a simple room and compiled it as a bsp file, and the program still doesn't work. i still get the same allocation error. mind you, this is a c++ program and i'm using new in it, so that's probably why the program is terminating when the memory can't be allocated (a point someone else brought up about malloc returning a null pointer). If anyone has gotten a bsp loader working on the mac, and can enlighten me as to what files will work and whatnot, what i'd have to do to compile them so they'll work on the mac, anything. i'm really stuck.
thank you.