Error: File read failure


Kehldon
05-08-2003, 12:50 AM
Im having this error when I compile my newest map.

I first thought it was to many wads ( I used 23 wads at the time) so I repaced all the offical 1.0 wads into 1 huge (72Mb) so I only had 8 wads. Now this didnt do the job. :(

Here is what the log sais:

hlcsg v2.5.3 rel Custom Build 1.7 (Dec 9 2002)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (merlinis@bigpond.net.au)
----- BEGIN hlcsg -----
Command line: C:\mapping\zhlt\hlcsg.exe -nowadtextures C:\mapping\rmf\Lighthouse.map
Entering C:\mapping\rmf\Lighthouse.map

Current hlcsg Settings
Name | Setting | Default
---------------------|-----------|-------------------------
threads [ 1 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ off ] [ off ]
estimate [ off ] [ off ]
max texture memory [ 4194304 ] [ 4194304 ]
priority [ Normal ] [ Normal ]

noclip [ off ] [ off ]
null texture stripping[ on ] [ on ]
clipnode economy mode [ on ] [ on ]
onlyents [ off ] [ off ]
wadtextures [ off ] [ on ]
skyclip [ on ] [ on ]
hullfile [ None ] [ None ]
min surface area [ 0.500 ] [ 0.500 ]
brush union threshold [ 0.000 ] [ 0.000 ]

Using mapfile wad configuration
Wadinclude list :
[zhlt.wad]

12 brushes (totalling 71 sides) discarded from clipping hulls
CreateBrush:
(42.93 seconds)
SetModelCenters:
(0.01 seconds)
CSGBrush:
(25.58 seconds)

Using Wadfile: \program files\sierra\half-life\valve\liquids.wad
- Contains 1 used texture, 1.09 percent of map (32 textures in wad)
Using Wadfile: \program files\sierra\half-life\valve\halflife.wad
- Contains 15 used textures, 16.30 percent of map (3116 textures in wad)
Using Wadfile: \mapping\wads\classic_kleineh_dod.wad
- Contains 10 used textures, 10.87 percent of map (156 textures in wad)
Using Wadfile: \mapping\wads\kami-platinum.wad
- Warning: Larger than expected texture (348972 bytes): '{K_TREE4'
- Contains 16 used textures, 17.39 percent of map (774 textures in wad)
Using Wadfile: \mapping\wads\xerent.wad
- Warning: Larger than expected texture (218412 bytes): '{X_TREE12A'
- Contains 14 used textures, 15.22 percent of map (170 textures in wad)
Using Wadfile: \mapping\wads\zillafinal.wad
- Warning: Larger than expected texture (348972 bytes): 'MZ_5BUILD_1'
- Warning: Larger than expected texture (348972 bytes): 'MZ_5BUILD_2'
- Contains 8 used textures, 8.70 percent of map (268 textures in wad)
Using Wadfile: \mapping\wads\dodforum.wad
- Contains 8 used textures, 8.70 percent of map (235 textures in wad)
Using Wadfile: \mapping\wads\dodoffical.wad
- Contains 20 used textures, 21.74 percent of map (1466 textures in wad)

Error: File read failure

----- END hlcsg -----


Reading Tommy14's error page it only states:
There is a problem reading the file. The possible causes and possible solutions vary so much I cannot list them ALL here, but for a HL/mod game a few are:
1 corrupt bsp, needs replacing
2 corrupt MOD or HL program needs replacing - a virus?
3 corrupt sprite/wav/model/wad
4 a bad HardDrive sector that is not reading well or at all
5 a program is interfering with the game program
6 and many others are possible.


From what I can se the wads I use are all working...

Anyone have any idea what file its refering to in this case ?

Gorbachev
05-08-2003, 12:58 AM
maybe try less wads, even 8 is pushing it sometimes. I use 5 at most, and just adding the newer wads into my old ones as I go along.

Kehldon
05-08-2003, 01:34 AM
After reinstalling DoD 1.0 and working around with my wads reducing them to 6, I get another, more understandable error.

MAX_MAP_MIPTEX

So i used -texdata 8192 ( 8 Mb) and it works fine..

Now I remember from the old board there was some kind of limit for the max size that should be used, but I dont remember the exact number. I guess everyone has atleast 8Mb video memory today...

Gorbachev
05-08-2003, 01:49 AM
I use an 8MB limit as well, but I generally try to keep my usage at 4MB or so. So did my suggestion help you? or was it solved by some other coincidence?

Kehldon
05-08-2003, 03:47 AM
It might have been that...not sure though... I reduced my wads from 8 to 6 and reinstalled DoD... after that the problem was gone..

Its strange if the to many wads warning sais max 8 wads and then causes a "file not found" error message... but who knows ?!

xerent
05-08-2003, 09:30 AM
The limit for official maps is 5MB of texture memory. Any higheer than that and things start crashing in software mode.

tommy14
05-08-2003, 04:38 PM
FYI: http://www.slackiller.com/tommy14/errors.htm#miptex

The limits for -texdate can go as high as the mem of the video cards you expect to encounter. For older Voodoo 2 cards it goes up to 8 meg (8192 KB) or 12 meg. If you KNOW your level is only going to be used on a local LAN where everyone has 64M vid cards, then you can set the -texdata to 64000 KB! But for public distribution you will already lose software mode players above -texdata 4096, and old vid card players above -textdata 8192. The higher you go above that, the less folks can play it!

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.