Journal #8717

Posted 7 years ago2016-07-02 23:32:02 UTC
I've had an itch to get back to mapping and to stick with it recently. I wanted to dissect Half-life maps and see how certain things worked so i could hopefully be a more competent mapper among other things. I decided to use the steam Half-Life SDK with Hammer Editor 3.4 that it comes with for reasons I might get to later in this post. I also went to Botman's site and picked up a couple of tools I found convenient for my purposes.

In the config I set up my directories and build programs directories, wad file paths, and so on. For the build programs I used the valve proprietary compile tools. During the mapping process I used custom 1024x1024 (~1mb) textures made with bsp_slicer.exe to rebuild the basic map geometry (perfect practice for mapping) cause, you know... decompilers don't do a very great job they like to carve the whole map from a single brush block and is a huge mess.

I couldn't use the textures at first cause I could not simply select it from the browser and then press apply in the texture tool. Instead I had to awkwardly replace the gaben trigger texture with the 1024x1024 ones. Then I could use them normally... weird... I also had to have the whole brush selected as well because how the replace feature worked differently when a single face was selected(don't remember the exact details).

So the math is a 1024x1024 texture applied to 6 sides of a brush is 6 megabytes, which is 3 times over the texture memory limit (~2mb). This is the best I can figure as to why I was getting the compile error MAX_MAP_MIPTEX. Looked up this error and it said that I was using to many textures which exceeded the alotted memory limit. Well that didn't make any sense because I had the minimal amout of brushes to create a working map and not that many textures.
That's when I realized, of course, it had to be the massive texture size I was using.

I didn't want to break them down because I thought it would take to much time (later on I found you can do it really
quickly with photoshop cs3). So I had also read you can pass the command option -texdata 4020 to qcsg.exe to increase the memory limit to ~4mb. When I tried to compile again I got a diferrent error which was: Windows gave the error "Access Denied". Orignally I thought windows didn't like me modifying a tool set to read only or didn't have
Administrative rights, or UAC was causing this, or my configuration paths were somehow wrong.

Come to find out when running an elevated console and compiling my .rmf file directly with qcsg.exe plus the command
option -texdata that qcsg.exe doesnt recognize that command and I later find out that command was for Zoner's version of the compile tools. So naturally decided to use Zoner's tools, but to make a already long story short, the tools made bsp files that GoldSrc Steam Half-Life didn't like because it would crash with a fatal read error.

So I've decided to stick with the tools that came with Hammer Editor. I see it as a challenge and dicipline to make
these maps with the quake compile tools(I'm a bit of purist anyway). The whole point of this post really is to talk about the Access Deinied error because there isn't much information on it at all. So I hope that this gives a little
more light on this error.

6 Comments

Commented 7 years ago2016-07-04 04:12:16 UTC Comment #67616
Why are you using default compile tools when there are 15 years newer ones, and why in the name of all thats holy are you using textures of size 1024x1024? It is impossible for HL engine to process these textures the conventional way and there is absolutely no need no matter what you think for a beginner to use such texture size.
Commented 7 years ago2016-07-04 18:09:07 UTC Comment #67613
if you spread peanut butter on bread then you can bite it but dont forget to brush your teeth amen

also if you go to a shopping mall and buy a coca-cola you can go home and pull a vertice then do some carve and stuff then go sleep
Commented 7 years ago2016-07-04 19:58:16 UTC Comment #67617
Wha... Are you ok, Bruce?
Commented 7 years ago2016-07-04 21:10:42 UTC Comment #67614
Can I hollow a baguette around the coca cola ?
Commented 7 years ago2016-07-05 07:57:39 UTC Comment #67615
if the edge of the cordon you'll forget the raf
Commented 7 years ago2016-07-09 02:09:18 UTC Comment #67618
Why are you using default compile tools when there are 15 years newer ones, and why in the name of all thats holy are you using textures of size 1024x1024? It is impossible for HL engine to process these textures the conventional way and there is absolutely no need no matter what you think for a beginner to use such texture size.
This post was the first post i made on here and much, much, later i decided to archive it as a journal for future reference as to not repeat my mistakes.

why do i use the old compile tools? because i dont like new things. For example i would never be caught dead playing half-life or a mod there of with the HD models turned on.

Does it make sense that i use them? nope. it doesn't. So i understand where your coming from.

Why the heck would I use a texture size of 1024x1024? I wouldn't and I was testing to see what would happen if i did. I know now the max texture size usable is 512x512 max.

You must log in to post a comment. You can login or register a new account.