1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
|
<!DOCTYPE html>
<head>
<title>Nem's Tools [Miscellaneous - HLLib - HLLib]</title>
<link rel="shortcut icon" href="../../favicon.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="../../css/default.css">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta name="author" content="Ryan Gregg">
<meta name="description" content="Nem's Half-Life and Half-Life 2 editing tools.">
</head>
<body>
<div class="banner" onclick="location.href='https://nemstools.github.io/'"> </div>
<div class="archived">This is archived copy of currently unavailable <a href="http://nemesis.thewavelength.net">Nem's
Tools website</a>, restored from <a
href="https://web.archive.org/web/20191202151405/http://www.nemesis.thewavelength.net/">Web Archive</a>. <br>
Download section now provides links to both Web Archive and to this unofficial Github mirror.
</div>
<div class="main">
<div class="group">
<div class="separator"></div>
<div class="heading2 menu">
<a href="../../index.html" class="menuitem">Home</a>
<a href="../../pages/GCFScape.html" class="menuitem">GCFScape</a>
<a href="../../pages/Crafty.html" class="menuitem">Crafty</a>
<a href="../../pages/VTFLib.html" class="menuitem">VTFLib</a>
<a href="../../pages/Batch_Compiler.html" class="menuitem">Batch Compiler</a>
<a href="../../pages/Terrain_Generator.html" class="menuitem">Terrain Generator</a>
<a href="../../pages/BSP_Viewer.html" class="menuitem">BSP Viewer</a>
<a href="../../pages/MAP_Viewer.html" class="menuitem">MAP Viewer</a>
<a href="../../pages/virtuAMP.html" class="menuitem">virtuAMP</a>
<a href="../../pages/Miscellaneous.html" class="menuitem">Miscellaneous</a>
</div>
<div class="separator"></div>
<div class="content">
<div class="main_area">
<div class="space"></div>
<div class="main_content">
<div class="group">
<div class="heading1">
<div class="space"></div><span class="left"><a name="p108" href="#p108">HLLib</a>
- <a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?a=1">Nem</a></span><span
class="right">Posted: May 23rd, 2005 - 6:32:20 pm</span>
<div class="space"></div>
</div>
<div class="content"><b>About:</b>
<p>HLLib is a package library for Half-Life that abstracts several package formats and provides a simple
interface for all of them. HLLib is written in native C++ but exposes both a C and C++ interface which
can be used in any C or C++ application (additional languages may also use the library with standard C
imports). HLLib works natively in both Windows (x86 and x64) and Linux. BSP, GCF, NCF, PAK, VPK, WAD,
XZP and uncompressed ZIP package formats are supported.</p>
<p>HLLib is an open source library licensed under the LGPL. It comes with the source code and binaries
necessary to use it. An example application called HLExtract, which is licensed under the GPL, is also
included. HLExtract is a command line utility written in C that can load all HLLib supported packages
and extract multiple items from them while maintaining their directory structure. Also included is a
C# HLExtract port called HLExtract.Net.</p>
<b>Download from Web Archive:</b>
<ul>
<li><a
href="https://web.archive.org/web/20171114194253/http://nemesis.thewavelength.net/files/files/hllib246.zip">HLLib
v2.4.6 Archive (411 KB)</a></li>
<li><a
href="https://web.archive.org/web/20171114194253/http://nemesis.thewavelength.net/files/files/hllib118.zip">HLLib
v1.1.8 Archive (186 KB)</a></li>
</ul>
<b>Download from unofficial Github mirror:</b>
<ul>
<li><a href="http://nemstools.github.io/files/hllib246.zip">HLLib
v2.4.6 Archive (411 KB)</a></li>
<li><a href="http://nemstools.github.io/files/hllib118.zip">HLLib
v1.1.8 Archive (186 KB)</a></li>
</ul>
<b>GridMount:</b>
<p>A <a href="http://code.google.com/p/macfuse/">MacFUSE</a>
file system handler called <a
href="https://macdownload.informer.com/gridmount/download/">GridMount</a>
is available for those looking to run HLLib on a Mac.</p>
<b>Java Wrapper:</b>
<p>A Java wrapper is available for those looking to use HLLib in Java. It can be found on <a
href="http://sourceforge.net/projects/jhllib/">SourceForge</a>.
</p>
<b>Revision History:</b>
<br><br>
v2.4.6
<ul>
<li>Modified VPF file support to handle the removal of a null terminator from the end of the
directory.</li>
</ul>
v2.4.5
<ul>
<li>Added support for new SGA file format (v6).</li>
<li>Added support for new SGA file format (v7).</li>
</ul>
v2.4.4
<ul>
<li>Fixed support for VPK file format (v1).</li>
</ul>
v2.4.3
<ul>
<li>Added support for new VPK file format (v2).
</li>
<li>Added SGA file support.
</li>
<li>Added ZIP deflate support.
</li>
</ul>
v2.4.2
<ul>
<li>Fixed crash when opening VBSP files with no pak file lump.
</li>
</ul>
v2.4.1
<ul>
<li>Fixed crash in CProcStream.
</li>
<li>Fixed VPK signature check.
</li>
<li>Workaround for crash in .Net wrapper.
</li>
</ul>
v2.4.0
<ul>
<li>Added support for GCF files larger than 4 GB.
</li>
</ul>
v2.3.0
<ul>
<li>Added support for x64.
</li>
<li>Added Visual Studio 2010 solution.
</li>
<li>Added Visual Studio 2008 solution..
</li>
<li>Removed Visual Studio 2003 solution.
</li>
</ul>
v2.2.0
<ul>
<li>Added support for packages larger than 4 GB.
</li>
</ul>
v2.1.2
<ul>
<li>Added support for new VBSP file format.
</li>
</ul>
v2.1.1
<ul>
<li>Added support for new VPK file format.
</li>
<li>Added VPK file validation.
</li>
<li>Fixed crash when closing VPK files.
</li>
</ul>
v2.1.0
<ul>
<li>Added VPK file support.
</li>
</ul>
v2.0.11
<ul>
<li>Added VBSP .lmp support.
</li>
<li>Fixed support for files over 2 GB.
</li>
</ul>
v2.0.10
<ul>
<li>Added Last Version Played attribute to NCF file.
</li>
<li>Fixed change to directory entry folder terminator.
</li>
</ul>
v2.0.9
<ul>
<li>Added Last Version Played attribute to GCF file.
</li>
</ul>
v2.0.8
<ul>
<li>Improved GCF version check.
</li>
<li>Fixed fragmentation header checksum after defragment.
</li>
</ul>
v2.0.7
<ul>
<li>Added different search string comparisons.
</li>
<li>Added Visual Studio 2005 solution.
</li>
<li>Improved package type tests.
</li>
</ul>
v2.0.6
<ul>
<li>Added generic write support to mapping interface.
</li>
<li>Added no recurse option to FindFirst()/FindNext().
</li>
<li>Improved package item attribute consistency.
</li>
<li>Fixed GCC visibility support.
</li>
<li>Fixed unnecessary GCF bounds check.
</li>
<li>Fixed BSP unused lump check.</li>
</ul>
v2.0.5
<ul>
<li>Added Linux support.
</li>
<li>Fixed near infinite find next recursion.
</li>
</ul>
v2.0.4
<ul>
<li>Fixed bug in GCF file defragmentation progress.
</li>
</ul>
v2.0.3
<ul>
<li>Added NCF file support.
</li>
</ul>
v2.0.2
<ul>
<li>Added GCF file defragmentation.
</li>
<li>Added fragmentation property to GCF files.
</li>
<li>Added Dark Messiah VBSP support.
</li>
<li>Fixed hlPackageCreateStream() bug.
</li>
<li>Fixed CMapping::GetTotalMemoryUsed() calculation.
</li>
<li>Fixed PAK file path parsing.
</li>
<li>Improved error messages.
</li>
<li>Improved file mapping performance.
</li>
</ul>
v2.0.1
<ul>
<li>Added memory tracking.
</li>
<li>Improved view management.
</li>
<li>Fixed memory mapping bug.
</li>
<li>Fixed user data bug in proc reader.
</li>
<li>Fixed WAD file GetImageData() bug.
</li>
<li>Fixed default mapping stream view size.
</li>
<li>Fixed a minor memory leak.
</li>
</ul>
v2.0.0
<ul>
<li>Rewrote entire library.</li>
<li>Open packages from anywhere (files, memory, abstract streams).</li>
<li>Get package and item attributes.</li>
<li>Stream package data.</li>
<li>Validate package data.</li>
<li>Added a C wrapper.</li>
<li>Improved and optimized package loading code.</li>
<li>Improved package detection.</li>
</ul>
v1.1.8
<ul>
<li>Added XZP file support.</li>
</ul>
v1.1.7
<ul>
<li>Added Source engine BSP support.</li>
</ul>
v1.1.6
<ul>
<li>Added mipmap level option to CWADFile.</li>
</ul>
v1.1.5
<ul>
<li>Improved WAD file support.</li>
</ul>
v1.1.4
<ul>
<li>Improved detection of corrupt packages.</li>
</ul>
v1.1.3
<ul>
<li>Extended CGCFFile.</li>
<li>Extended CFileMapping and CPrimitiveFileMapping to allow for volatile access.</li>
<li>Fixed CPackageUtility::Extract() bug caused by illegal characters.</li>
<li>Files of size 0 B are now treated as valid files.</li>
</ul>
v1.1.2
<ul>
<li>Extended CPackage.</li>
<li>Extended CMappedPackage.</li>
<li>Improved error messages for system calls.</li>
</ul>
v1.1.1
<ul>
<li>Fixed last error not being set in CMappedPackage::Open().</li>
</ul>
v1.1.0
<ul>
<li>Rewrote mapping code to be more flexible.</li>
<li>Packages located on disk or in memory can now be loaded.</li>
<li>Optimized file mapping.</li>
<li>Fixed CPackage::Root bug.</li>
<li>Fixed CGCFFile::GetFileSizeOnDisk() bug.</li>
</ul>
v1.0.4
<ul>
<li>Fixed CPackage memory leak.</li>
<li>Fixed CMappedPackage initialization bug.</li>
<li>Fixed CMappedPackage deinitialization bug.</li>
<li>Changed CDirectoryItem::Parent to a CDirectoryFolder.</li>
<li>Extended CWADFile.</li>
<li>Added CBSPFile which acts like CWADFile on a BSP's textures.</li>
</ul>
v1.0.3
<ul>
<li>Extended CWADFile.</li>
<li>Changed GetFileSizeEx() to GetFileSize() (Not all versions of Windows supported the former).</li>
</ul>
v1.0.2
<ul>
<li>Extended CPackage.</li>
<li>Extended CGCFFile.</li>
<li>Converted from bool to BOOL.</li>
<li>HLLib now used by GCFScape.</li>
</ul>
v1.0.1
<ul>
<li>Added callback functionality to CPackageUtility::Extract().</li>
<li>Extended CGCFFile.</li>
<li>Minor bug fixes.</li>
</ul>
v1.0.0
<ul>
<li>Original build.</li>
</ul>
</div>
<div class="heading1">
<div class="space"></div><span class="left">Modified: Jan 22nd, 2017 - 6:09:30 pm</span><span
class="right">[ 72146 Views ]</span>
<div class="space"></div>
</div>
</div><br>
<div class="offsets">[ 1 <a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?c=108&o=15#p108">2</a>
<a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?c=108&o=30#p108">3</a>
]</div><br>
<div class="group">
<div class="heading2">
<div class="space"></div><span class="left"><span class="title">1.</span> <a name="c961"
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?a=795">Da_FileServer</a></span><span
class="right">Posted: Sep 5th, 2004 - 12:05:16 am</span>
<div class="space"></div>
</div>
<div class="content"><br>
Well, this looks like a pretty spiffy library... but you should create dsw and dsp files for people who
are jacked with VC++6. But I'm not one of them (I have neither--I compile them all by hand using .NET
toolkit and lots of microsoft SDK's <img src="../../images/emotes/happy.gif" width="32" height="32"
alt="happy">).<br>
</div>
</div><br>
<div class="group">
<div class="heading2">
<div class="space"></div><span class="left"><span class="title">2.</span> <a name="c962"
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?a=1">Nem</a></span><span
class="right">Posted: Sep 5th, 2004 - 8:37:03 am</span>
<div class="space"></div>
</div>
<div class="content"><br>If I had Visual Studio 6.0 I would have but I don't. That said, there is no
reason to need to compile the library (as the binaries are included) unless you want to make changes to
it and if a Visual Studio 6.0 user does want to make changes, it is not to hard for them to convert (or
recreate) the project files.<br><br>Visual Studio 6.0 users might also be interested in the free build
of <a
href="https://web.archive.org/web/20171108021509/http://lab.msdn.microsoft.com/express/visualc/">Visual
C++ .NET 2005 Express Beta</a> from Microsoft.<br>
</div>
</div><br>
<div class="group">
<div class="heading2">
<div class="space"></div><span class="left"><span class="title">3.</span> <a name="c1798"
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?a=1360">Varsity</a></span><span
class="right">Posted: Dec 31st, 2005 - 2:37:21 pm</span>
<div class="space"></div>
</div>
<div class="content">Will I be able to use HLLib in a C# Express project?</div>
</div><br>
<div class="group">
<div class="heading2">
<div class="space"></div><span class="left"><span class="title">4.</span> <a name="c1799"
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?a=1">Nem</a></span><span
class="right">Posted: Dec 31st, 2005 - 3:26:48 pm</span>
<div class="space"></div>
</div>
<div class="content">If you wrote a C++ .NET wrapper.</div>
</div><br>
<div class="group">
<div class="heading2">
<div class="space"></div><span class="left"><span class="title">5.</span> <a name="c1800"
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?a=1360">Varsity</a></span><span
class="right">Posted: Jan 4th, 2006 - 10:09:02 am</span>
<div class="space"></div>
</div>
<div class="content">.NET allows different languages to coexsist in the same project, or something along
those lines. Wouldn't simply compiling HLLib into C++ .NET do the trick?</div>
</div><br>
<div class="group">
<div class="heading2">
<div class="space"></div><span class="left"><span class="title">6.</span> <a name="c1801"
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?a=1824">the-copy</a></span><span
class="right">Posted: Jan 4th, 2006 - 11:44:09 am</span>
<div class="space"></div>
</div>
<div class="content">What is a C++ .NET wrapper and how can i do it? <img
src="../../images/emotes/apple.gif" width="32" height="32" alt="apple"></div>
</div><br>
<div class="group">
<div class="heading2">
<div class="space"></div><span class="left"><span class="title">7.</span> <a name="c1803"
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?a=1">Nem</a></span><span
class="right">Modified: Jan 4th, 2006 - 3:04:05 pm</span>
<div class="space"></div>
</div>
<div class="content">C++ .NET is an extension of C++ and is managed in the same way that C# and VB code is
managed. However, C++ .NET still allows for native C++ code. If you want to use native C++ in a .NET
language other than C++ .NET you need to write a managed class that has the same structure as its
equivalent unmanaged class that performs the necessary conversions, eg:<br><br>
<div class="vbtitle">Code:</div>
<div class="vbcode"><br>// Original class<br>class CExample<br>{<br>public:<br> CExample()<br> {<br>
string = 0;<br> }<br><br> ~CExample()<br> {<br> delete []string;<br> }<br><br> char *GetString()<br>
{<br> return string;<br> }<br><br> void SetString(const char *newString)<br> {<br> delete
[]string;<br> string = new char[strlen(newString) + 1];<br> strcpy(string, newString);<br>
}<br><br>private:<br> char *string;<br>};<br><br>using namespace
System::Runtime::InteropServices;<br><br>// Wrapper class<br>__gc class Example<br>{<br>public:<br>
System::String *GetString()<br> {<br> return new System::String(example.GetString());<br> }<br><br>
void SetString(System::String *newString)<br> {<br> char *string = (char
*)(Marshal::StringToHGlobalAnsi(newString)).ToPointer();<br> example.SetString(string);<br>
Marshal::FreeHGlobal((System::IntPtr)string);<br> }<br><br>private:<br> CExample example;<br>};<br>
</div><br>
However, I will be completing HLLib 2.0 soon which will have a C wrapper which you should be able to
directly import into any C# project (in fact almost any project in any language).
</div>
</div><br>
<div class="group">
<div class="heading2">
<div class="space"></div><span class="left"><span class="title">8.</span> <a name="c1805"
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?a=1824">the-copy</a></span><span
class="right">Posted: Jan 5th, 2006 - 6:31:48 am</span>
<div class="space"></div>
</div>
<div class="content">
<div class="vbtitle">Nem:</div>
<div class="vbquote">However, I will be completing HLLib 2.0 soon which will have a C wrapper which you
should be able to directly import into any C# project (in fact almost any project in any language).
</div><br>
Oh thats great :D<br>
</div>
</div><br>
<div class="group">
<div class="heading2">
<div class="space"></div><span class="left"><span class="title">9.</span> <a name="c3255"
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?a=3881">ultradude25</a></span><span
class="right">Modified: Sep 16th, 2009 - 11:03:22 am</span>
<div class="space"></div>
</div>
<div class="content">When I use HLExtract to defrag my GCF's I get this error on one of them:<br><br><img
src="./Nem's Tools [Miscellaneous - HLLib - HLLib]_files2/ss20090917015835.png" alt=""
border="0"><br>
<br>
Is there anything I can do to fix this? <br>
<br>
Oh and all the other GCF's defragged fine.</div>
</div><br>
<div class="group">
<div class="heading2">
<div class="space"></div><span class="left"><span class="title">10.</span> <a name="c3261"
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?a=3889">etam</a></span><span
class="right">Posted: Sep 29th, 2009 - 10:11:50 am</span>
<div class="space"></div>
</div>
<div class="content">Open Source FTW!<br>I created rpm packages for openSuSE 11.1 (and 11.0)<br><br>here
are repos: <a
href="https://web.archive.org/web/20171108021509/http://download.opensuse.org/repositories/home:/etamPL/">http://download.opensuse.org/repositories/home:/etamPL/</a><br>
<br>
I separated this in 3 packages: libhl2, libhl2-devel, HLExtract</div>
</div><br>
<div class="group">
<div class="heading2">
<div class="space"></div><span class="left"><span class="title">11.</span> <a name="c3267"
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?a=3898">szwip</a></span><span
class="right">Modified: Oct 15th, 2009 - 7:43:05 am</span>
<div class="space"></div>
</div>
<div class="content">Hi<br><br>I try to use HLLib with MinGW compiler, but I have this
error:<br>C:\...\HLLib.h|740|error: 'HANDLE' does not name a type<br><br>Where is normally defined
HANDLE ?<br><br><b>EDIT 1</b>: I have added this lines at the begin of HLLib.h, and now HANDLE is
ok:<br>#ifdef _WIN32<br># include <windows.h><br>#endif<br><br><br><b>EDIT 2</b>: Now I've several
error with linker such as:<br>undefined reference to `HLLib::CPackage::GetRoot()'<br><br>The linker
finds HLLib.lib, but the c++ function are unknown (I use directly the c++ class and
functions)<br><br><b>EDIT 3</b>: A solution, but it's ugly, it's to include all files from source in my
project. It compiles and links correctly :)<br>
============================================<br>
<br>
Another problem : in the main.c of HLExtract, it's hl.h that is included (line 20), but it doesn't
exist. What is hl.h ?<br>
<br>
Thank.</div>
</div><br>
<div class="group">
<div class="heading2">
<div class="space"></div><span class="left"><span class="title">12.</span> <a name="c3268"
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?a=1">Nem</a></span><span
class="right">Posted: Oct 16th, 2009 - 12:35:53 am</span>
<div class="space"></div>
</div>
<div class="content">You need to include ..\lib\HLLib.h not <hl.h> in Main.c; the latter is for the
Linux environment. The top should probably read:<br><br>
<div class="vbtitle">Code:</div>
<div class="vbcode">#ifdef _WIN32<br># include "..\lib\HLLib.h"<br># ifdef _MSC_VER<br># pragma
comment(lib, "../../../lib/HLLib.lib")<br># endif<br>#else<br># include <hl.h><br>#endif</div>
<br>
Including Windows.h before HLLib.h should work fine without modifying any HLLib files.<br>
<br>
If you aren't using Visual Studio, you should build your own .lib and .dll.
</div>
</div><br>
<div class="group">
<div class="heading2">
<div class="space"></div><span class="left"><span class="title">13.</span> <a name="c3309"
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?a=3960">Funsize</a></span><span
class="right">Posted: Dec 22nd, 2009 - 6:19:50 am</span>
<div class="space"></div>
</div>
<div class="content">Just noticed that the link <b>HLLib v2.2.0 Archive (338 KB)</b> links to the
non-existent file <a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/files/files/hllib212.zip">http://nemesis.thewavelength.net/files/files/hllib212.zip</a>
rather than <a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/files/files/hllib220.zip">http://nemesis.thewavelength.net/files/files/hllib220.zip</a>
which is what it should be.</div>
</div><br>
<div class="group">
<div class="heading2">
<div class="space"></div><span class="left"><span class="title">14.</span> <a name="c3314"
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?a=1">Nem</a></span><span
class="right">Posted: Dec 28th, 2009 - 11:37:12 am</span>
<div class="space"></div>
</div>
<div class="content">Thanks, fixed. <img src="../../images/emotes/free.gif" width="32" height="32"
alt="free"></div>
</div><br>
<div class="group">
<div class="heading2">
<div class="space"></div><span class="left"><span class="title">15.</span> <a name="c3316"
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?a=3966">MadJawa</a></span><span
class="right">Posted: Dec 29th, 2009 - 3:12:02 pm</span>
<div class="space"></div>
</div>
<div class="content">Hey, I just downloaded the sources and tried to compile them on Linux, and I got
errors about functions like "strlen", etc. I had to include <string.h> in 2 or 3 files in HLLib to
be able to compile it.</div>
</div><br>
<div class="offsets">[ 1 <a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?c=108&o=15#p108">2</a>
<a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?c=108&o=30#p108">3</a>
]</div><br>
</div>
<div class="main_sidebar">
<div class="group">
<div class="heading1"><span class="title">Miscellaneous</span></div>
<div class="content"><span class="title">» <a
href="../../pages/Miscellaneous-HLLib.html">HLLib</a></span><br>
<span class="title">» <a href="../../pages/Miscellaneous-PS_VTF_Plug-In.html">PS
VTF Plug-In</a></span><br>
<span class="title">» <a href="../../pages/Miscellaneous-PDN_VTF_Plug-In.html">PDN
VTF Plug-In</a></span><br>
<span class="title">» <a href="../../pages/Miscellaneous-Open_Now.html">Open
Now!</a></span><br>
<span class="title">» <a href="../../pages/Miscellaneous-wad2bmp.html">wad2bmp</a></span><br>
<span class="title">» <a href="../../pages/Miscellaneous-Auto_Seamer.html">Auto
Seamer</a></span><br>
<span class="title">» <a href="../../pages/Miscellaneous-BSP_View.html">BSP
View</a></span><br></div>
</div><br>
<div class="group">
<div class="heading1"><span class="title">Login</span></div>
<div class="content">
<form name="loginform" method="post"
action="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?c=108&o=0">
<div class="label">Username:</div>
<div><input type="text" name="username" class="textbox" autocomplete="off"
style="background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAAAXNSR0IArs4c6QAAAPhJREFUOBHlU70KgzAQPlMhEvoQTg6OPoOjT+JWOnRqkUKHgqWP4OQbOPokTk6OTkVULNSLVc62oJmbIdzd95NcuGjX2/3YVI/Ts+t0WLE2ut5xsQ0O+90F6UxFjAI8qNcEGONia08e6MNONYwCS7EQAizLmtGUDEzTBNd1fxsYhjEBnHPQNG3KKTYV34F8ec/zwHEciOMYyrIE3/ehKAqIoggo9inGXKmFXwbyBkmSQJqmUNe15IRhCG3byphitm1/eUzDM4qR0TTNjEixGdAnSi3keS5vSk2UDKqqgizLqB4YzvassiKhGtZ/jDMtLOnHz7TE+yf8BaDZXA509yeBAAAAAElFTkSuQmCC"); background-repeat: no-repeat; background-attachment: scroll; background-size: contain; background-position: 98% 50%;">
</div>
<div class="label">Password:</div>
<div><input type="password" name="password" class="textbox" autocomplete="off"
style="background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAAAXNSR0IArs4c6QAAAPhJREFUOBHlU70KgzAQPlMhEvoQTg6OPoOjT+JWOnRqkUKHgqWP4OQbOPokTk6OTkVULNSLVc62oJmbIdzd95NcuGjX2/3YVI/Ts+t0WLE2ut5xsQ0O+90F6UxFjAI8qNcEGONia08e6MNONYwCS7EQAizLmtGUDEzTBNd1fxsYhjEBnHPQNG3KKTYV34F8ec/zwHEciOMYyrIE3/ehKAqIoggo9inGXKmFXwbyBkmSQJqmUNe15IRhCG3byphitm1/eUzDM4qR0TTNjEixGdAnSi3keS5vSk2UDKqqgizLqB4YzvassiKhGtZ/jDMtLOnHz7TE+yf8BaDZXA509yeBAAAAAElFTkSuQmCC"); background-repeat: no-repeat; background-attachment: scroll; background-size: contain; background-position: 98% 50%;">
</div>
<div class="label"><input type="checkbox" name="storepassword" class="checkbox"
checked="checked">Store Password</div>
<div><input name="login" type="submit" value="Login" class="button"></div>
</form>
</div>
</div>
<br>
<div class="group">
<div class="heading1"><span class="title">New Users</span></div>
<div class="content">
<span class="title">» <a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?action=directory">Directory</a></span><br>
<span class="title">» <a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?c=108&o=0&action=addauthor">Register</a></span><br>
<span class="title">» <a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?c=108&o=0&action=retrievepassword">Retrieve
Password</a></span><br>
</div>
</div>
<br>
<div class="group">
<div class="heading1"><span class="title">Latest Comments</span></div>
<div class="content"><span class="title">» <a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?c=178&o=105#c4044">VTFEdit
v1.2.5 Full</a> (<a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?a=13322">iipa</a>)</span><br><span
class="title">» <a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?c=213&o=45#c4039">Crafty
FAQ</a> (<a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?a=13268">steve0503</a>)</span><br><span
class="title">» <a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?c=277&o=0#c4038">GCFScape
v1.8.6</a> (<a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?a=13282">imgsrc17</a>)</span><br><span
class="title">» <a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?c=205&o=210#c4037">About
Crafty</a> (<a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?a=13231">Paynamia</a>)</span><br><span
class="title">» <a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?c=169&o=90#c4036">GCFScape
v1.8.6 Full</a> (<a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?a=13277">liaoyia</a>)</span><br>
</div>
</div><br>
<div class="group">
<div class="heading1"><span class="title">Latest Articles</span></div>
<div class="content"><span class="title">» <a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?c=277#p277">GCFScape
v1.8.6</a></span><br><span class="title">» <a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?c=276#p276">GCFScape
v1.8.5</a></span><br><span class="title">» <a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?c=275#p275">GCFScape
v1.8.4</a></span><br><span class="title">» <a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?c=274#p274">GCFScape
v1.8.3</a></span><br><span class="title">» <a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?c=273#p273">VTFLib
v1.3.2</a></span><br></div>
</div><br>
<div class="group">
<div class="heading1"><span class="title">Most Popular Articles</span></div>
<div class="content"><span class="title">» <a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?c=178#p178">VTFEdit
v1.2.5 Full</a></span><br><span class="title">» <a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?c=76#p76">GCFScape
v1.3.1 Full</a></span><br><span class="title">» <a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?c=238#p238">VTFEdit
v1.3.3 Full</a></span><br><span class="title">» <a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?c=154#p154">VTF
Plug-In for Photoshop</a></span><br><span class="title">» <a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?c=169#p169">GCFScape
v1.8.6 Full</a></span><br></div>
</div><br>
<div class="group">
<div class="heading1"><span class="title">Newest Member</span></div>
<div class="content"><span class="title">» <a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?a=13323">Galina38</a></span><br>
</div>
</div><br>
<div class="group">
<div class="heading1"><span class="title">Elite Spammers</span></div>
<div class="content"><span class="title">» <a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?a=1">Nem</a></span><br><span
class="title">» <a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?a=376">Bluefang</a></span><br><span
class="title">» <a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?a=708">NoBody</a></span><br><span
class="title">» <a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?a=7">Slackiller</a></span><br><span
class="title">» <a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/index.php?a=385">Keloran</a></span><br>
</div>
</div>
<br>
<div class="group">
<div class="heading1"><span class="title">Feeds</span></div>
<div class="content">
<span class="title">» <a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/rss/?page=1">RSS
2.0 (News)</a></span><br>
<span class="title">» <a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/rss/">RSS 2.0
(Entire Site)</a></span><br>
<span class="title">» <a
href="https://web.archive.org/web/20171108021509/http://nemesis.thewavelength.net/rss/?comments&limit=15">RSS
2.0 (Comments)</a></span><br>
</div>
</div>
</div>
<div class="space"></div>
</div>
</div>
<div class="separator"></div>
<div class="heading2 center"><span class="note">Nem's Tools v2.0 © 2006 <a
href="mailto:[email protected]">Ryan Gregg</a>.<br>Execution
time: 0.07963s; Queries: 14.<br>
</span></div>
</div>
</div>
</body>
</html>
|