out of memory loading solid crash

Viemärirotta

sniffer
aa
Feb 5, 2016
1,013
590
Google is love, Google is life.

Anyways, that happens when you try to load a map with invalid solid structures, the only way to fix this issue and save the map file is either using an autosave or the best option, which the bloody thing. Open up a text editor, (Notepad for example) then find the line that Hammer specified when you tried opening that file, then after tracing the right line, delete the entire solid class in it.
 

Viemärirotta

sniffer
aa
Feb 5, 2016
1,013
590
where can i find it?

Same place, where you saved the vmf. It has the exact same name as the vmf file, but is a vmx file. After you fix it, you can create a copy of it and rename the end part to vmf. Basically the vmf is the file you can interact and access a lot with, when the vmx is sorta like the code responsible for the geometry you made with the vmf.
 

Billo

aa
Feb 8, 2016
920
397
ok so i see
}
solid
{
"id" "3"
side
{
"id" "2333"
"plane" "(-292.688 -169.52 -285) (-292.688 -141.523 -285) (-3.43295 -141.52 -391.276)"
"material" "MEDIEVAL/WOODTRIM001"
"uaxis" "[1 0 0 0] 0.25"
"vaxis" "[0 -1 0 0] 0.25"
"rotation" "0"
"lightmapscale" "16"
"smoothing_groups" "0"
}
side
{
"id" "2332"
"plane" "(-293.59 -141.52 -286.842) (-293.59 -169.52 -286.842) (-4.33621 -169.52 -393.119)"
"material" "MEDIEVAL/WOODTRIM001"
"uaxis" "[1 0 0 0] 0.25"
"vaxis" "[0 -1 0 0] 0.25"
"rotation" "0"
"lightmapscale" "16"
"smoothing_groups" "0"
}
side
{
"id" "2331"
"plane" "(-293.591 -169.52 -286.841) (-293.591 -141.523 -286.841) (-292.688 -141.52 -285)"
"material" "MEDIEVAL/WOODTRIM001"
"uaxis" "[0 1 0 0] 0.25"
"vaxis" "[0 0 -1 0] 0.25"
"rotation" "0"
"lightmapscale" "16"
"smoothing_groups" "0"
}
side
{
"id" "2330"
"plane" "(-4.33466 -141.52 -393.118) (-4.33466 -169.52 -393.118) (-3.43259 -169.52 -391.279)"
"material" "MEDIEVAL/WOODTRIM001"
"uaxis" "[0 1 0 0] 0.25"
"vaxis" "[0 0 -1 0] 0.25"
"rotation" "0"
"lightmapscale" "16"
"smoothing_groups" "0"
}
side
{
"id" "2329"
"plane" "(-293.594 -141.52 -286.842) (-4.3371 -141.52 -393.121) (-3.43359 -141.52 -391.277)"
"material" "MEDIEVAL/WOODTRIM001"
"uaxis" "[1 0 0 0] 0.25"
"vaxis" "[0 0 -1 0] 0.25"
"rotation" "0"
"lightmapscale" "16"
"smoothing_groups" "0"
}
side
{
"id" "2328"
"plane" "(-4.33984 -169.52 -393.119) (-293.59 -169.52 -286.842) (-292.68 -169.52 -285)"
"material" "MEDIEVAL/WOODTRIM001"
"uaxis" "[1 0 0 0] 0.25"
"vaxis" "[0 0 -1 0] 0.25"
"rotation" "0"
"lightmapscale" "16"
"smoothing_groups" "0"
}
editor
{

so i see all those i should delete everything where Says
from

solid
}


}
editor
{
 

killohurtz

Distinction in Applied Carving
aa
Feb 22, 2014
1,016
1,277
That solid is fine. The ones you're looking for have coordinates represented by 1.#QNAN or -1.#IND, which are fancy ways of saying "not a number." See this example:

Code:
    solid
    {
        "id" "134"
        side
        {
            "id" "308"
            "plane" "(-1.#IND -1.#IND -1.#IND) (-1.#IND -1.#IND -1.#IND) (-1.#IND -1.#IND -1.#IND)"
            "material" "SKYBOX/SKY_DUSTBOWL_01UP"
            "uaxis" "[1 0 0 132] 0.25"
            "vaxis" "[0 -1 0 123.104] 0.25"
            "rotation" "0"
            "lightmapscale" "16"
            "smoothing_groups" "0"
        }
        side
        {
            "id" "307"
            "plane" "(-1.#IND -1.#IND -1.#IND) (-1.#IND -1.#IND -1.#IND) (-1.#IND -1.#IND -1.#IND)"
            "material" "SKYBOX/SKY_DUSTBOWL_01UP"
            "uaxis" "[1 0 0 132] 0.25"
            "vaxis" "[0 -1 0 123.104] 0.25"
            "rotation" "0"
            "lightmapscale" "16"
            "smoothing_groups" "0"
        }
        side
        {
            "id" "306"
            "plane" "(-1.#IND -1.#IND -1.#IND) (-1.#IND -1.#IND -1.#IND) (-1.#IND -1.#IND -1.#IND)"
            "material" "SKYBOX/SKY_DUSTBOWL_01UP"
            "uaxis" "[0 1 0 -123.104] 0.25"
            "vaxis" "[0 0 -1 0] 0.25"
            "rotation" "0"
            "lightmapscale" "16"
            "smoothing_groups" "0"
        }
        side
        {
            "id" "305"
            "plane" "(-1.#IND -1.#IND -1.#IND) (-1.#IND -1.#IND -1.#IND) (-1.#IND -1.#IND -1.#IND)"
            "material" "SKYBOX/SKY_DUSTBOWL_01UP"
            "uaxis" "[0 1 0 -123.104] 0.25"
            "vaxis" "[0 0 -1 0] 0.25"
            "rotation" "0"
            "lightmapscale" "16"
            "smoothing_groups" "0"
        }
        side
        {
            "id" "304"
            "plane" "(-1.#IND -1.#IND -1.#IND) (-1.#IND -1.#IND -1.#IND) (-1.#IND -1.#IND -1.#IND)"
            "material" "SKYBOX/SKY_DUSTBOWL_01UP"
            "uaxis" "[1 0 0 132] 0.25"
            "vaxis" "[0 0 -1 0] 0.25"
            "rotation" "0"
            "lightmapscale" "16"
            "smoothing_groups" "0"
        }
        side
        {
            "id" "303"
            "plane" "(-1.#IND -1.#IND -1.#IND) (-1.#IND -1.#IND -1.#IND) (-1.#IND -1.#IND -1.#IND)"
            "material" "SKYBOX/SKY_DUSTBOWL_01UP"
            "uaxis" "[1 0 0 132] 0.25"
            "vaxis" "[0 0 -1 0] 0.25"
            "rotation" "0"
            "lightmapscale" "16"
            "smoothing_groups" "0"
        }
        editor
        {
            "color" "0 205 194"
            "visgroupshown" "1"
            "visgroupautoshown" "1"
        }
    }

Make sure you take out this entire solid class, or Hammer still won't be able to read the file.

If you're not comfortable doing this yourself, feel free to post the VMF and I'll fix it for you.
 

Billo

aa
Feb 8, 2016
920
397
thanks very much so i should make a new download a send it to you?
because i dont want to do anything that can destroy the map
 

killohurtz

Distinction in Applied Carving
aa
Feb 22, 2014
1,016
1,277
You can just attach the vmf to a post with the "Upload a File" button. Of course, since this is just simple text editing, you can back up your map by making a copy of it. Then you have something to roll back to if you make a mistake.
 

killohurtz

Distinction in Applied Carving
aa
Feb 22, 2014
1,016
1,277
The 2 affected brushes will be missing somewhere, so all you need to do is remake them.
 

Attachments

  • koth_sky_fortress_.vmf
    1.9 MB · Views: 179

Billo

aa
Feb 8, 2016
920
397
if it is a lot of trouble i have a copy of the map saved thats 2 days ago
but that means a quite of work will be lost
 

killohurtz

Distinction in Applied Carving
aa
Feb 22, 2014
1,016
1,277
I'm no longer at my computer, but I did check that it loaded successfully before sending it back. Are you opening the right one?
 

Billo

aa
Feb 8, 2016
920
397
anyway we can't seem to find the solution so i am going to add everything again for the past 2 days that should be ok also thanks a lot man for your time! i really appreciate your help i hope you have a fantastic day
 

killohurtz

Distinction in Applied Carving
aa
Feb 22, 2014
1,016
1,277
The fixed file I attached has an extra underscore at the end so it doesn't overwrite your own copy. Did you accidentally reopen your corrupted copy instead of the fixed one?