I need help with my mod Created 10 months ago2023-05-22 19:12:51 UTC by Yeye Yeye

Created 10 months ago2023-05-22 19:12:51 UTC by Yeye Yeye

Posted 10 months ago2023-05-22 19:12:51 UTC Post #347540
Hi ! im new in the modding community, i want to create a half life mod but i still have a error when i want to open the first map its says:

LoadLibrary failed on `� (126)
Host_Error: Couldn't get DLL API from `�!

pls, can somebody help me ?
Posted 10 months ago2023-05-22 19:26:08 UTC Post #347542
Welcome to TWHL!

What does your liblist.gam look like and what two game DLLs are you using and where are they located?
Posted 10 months ago2023-05-22 19:40:07 UTC Post #347543
liblist:
// Valve Game Info file
// These are key/value pairs. Certain mods will use different settings.
//
game "Prueba"
startmap "2022_firstmap"
trainmap "t0a0"
mpentity "info_player_deathmatch"
gamedll "..\valve\dll\hl.dll"
gamedll_linux "dlls/hl.so"
gamedll_osx "dlls/hl.dylib"
secure "1"
type "singleplayer_only"

and im using the Dlls from half life but they arent in my mod folder
Posted 10 months ago2023-05-22 20:49:13 UTC Post #347545
Replace \dll\ with \dlls\ and it should hopefully work :)
Also, replacing
gamedll_linux "dlls/hl.so"
gamedll_osx "dlls/hl.dylib"
with
gamedll_linux "../valve/dlls/hl.so"
gamedll_osx "../valve/dlls/hl.dylib"
should make your mod playable on Linux and MacOS.
Posted 10 months ago2023-05-22 21:29:14 UTC Post #347546
Oh god, thank you i was so pissed with the game hahaha, i will post about my mod here if i can, thanks again
Posted 10 months ago2023-05-22 21:49:46 UTC Post #347547
Happy to help
Posted 10 months ago2023-05-26 16:51:45 UTC Post #347562
Compatibility with MacOS is futile, Apple pulled 32-bit support years ago. I suppose if you have an older Mac it would still work, but who does?
CaptainQuirk26 CaptainQuirk26Lord Fruglmeister, El Dorito, etc.
Posted 10 months ago2023-05-27 10:43:57 UTC Post #347565
They're likely using Windows
Posted 10 months ago2023-05-30 20:27:04 UTC Post #347568
now im using windows haha, im still learning but i have some ideas like my mod name, thanks everyone.
Now i want to know how to make a new voice line for a scientist and the barneys
Posted 10 months ago2023-05-31 02:01:33 UTC Post #347570
Take a look at the sentences.txt file in valve/sound. This a reference file for all of the dialogue in the game and is referred to when making NPCs speak. You can record your own audio and reference it in a copy of this sentences.txt which you save in your mod's own sound directory (don't overwrite valve's)

You can the use a scripted_sentence entity in your level to make an NPC speak your lines. :)
monster_urby monster_urbyGoldsourcerer
Posted 10 months ago2023-06-07 19:47:19 UTC Post #347590
thanks ! im still creating my mod, im trying to make a barney just pose in front of a door like that barney that wont let go through until he is dead (in the beginning of half life 1) im still learning and i cant find tutorials on youtube hahaha
Posted 10 months ago2023-06-07 23:30:48 UTC Post #347591
Now im really confuse haha, im trying to compile the second map of my mod, but JACK shows me this:
** Executing...
** Command: E:/jack+/J.A.C.K/halflife/hlrad.exe
** Parameters: "E:\steam\steamapps\common\Half-Life\Prueba\maps\c1.2"
hlrad v3.4 VL33 (Feb 2 2014)
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 (vluzacn@163.com)
----- BEGIN hlrad -----
Command line: E:/jack+/J.A.C.K/halflife/hlrad.exe E:\steam\steamapps\common\Half-Life\Prueba\maps\c1.2
Arguments: E:\steam\steamapps\common\Half-Life\Prueba\maps\c1.2 -low
There was a problem compiling the map.
Check the file E:\steam\steamapps\common\Half-Life\Prueba\maps\c1.log for the cause.
----- END hlrad -----

when i look at the c1log it shows me this:
hlrad v3.4 VL33 (Feb 2 2014)
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 (vluzacn@163.com)
----- BEGIN hlrad -----
Command line: E:/jack+/J.A.C.K/halflife/hlrad.exe E:\steam\steamapps\common\Half-Life\Prueba\maps\c1.2
Arguments: E:\steam\steamapps\common\Half-Life\Prueba\maps\c1.2 -low
There was a problem compiling the map.
Check the file E:\steam\steamapps\common\Half-Life\Prueba\maps\c1.log for the cause.
----- END hlrad -----

im confuse because the map im compeling is c1.2 not c1 (that´s the first map) and i don{t know if i have a leak or something like that (i dont think is a leak because a looked all the map and there isnt any leak)
Posted 10 months ago2023-06-08 02:04:12 UTC Post #347592
Just a wild guess, but try renaming it, maybe the compiler doesn't handle the dot
Posted 10 months ago2023-06-08 18:34:51 UTC Post #347593
Yup, that's the most likely culprit. You can't have a . in a filename.
monster_urby monster_urbyGoldsourcerer
Posted 10 months ago2023-06-10 00:50:25 UTC Post #347594
i change the name, but it doesn´t work aaaaaaaaaa
Posted 10 months ago2023-06-10 18:39:35 UTC Post #347595
If the log tells you nothing you could try taking out things from your map until it compiles to see what's breaking it. Or make a new map with a big cubic room and copy things into it until it breaks.
Posted 10 months ago2023-06-10 19:39:41 UTC Post #347596
i made a new map, now the error is this:
Command line: E:/jack+/J.A.C.K/halflife/hlvis.exe E:\steam\steamapps\common\Half-Life\Prueba\maps\c1a0
Arguments: E:\steam\steamapps\common\Half-Life\Prueba\maps\c1a0 -low
Error: Portal file 'E:\steam\steamapps\common\Half-Life\Prueba\maps\c1a0.prt' does not exist, cannot vis the map

im laughing of how difficult this is haha
Posted 10 months ago2023-06-11 08:03:32 UTC Post #347599
That makes me think that there is a problem earlier in the compile log. Can you post the whole thing?

Also I would suggest not using map names which match the original Half-Life campaign such as c1a0. Not exactly sure what the effect might be, but it could have issues when falling back to the map/node files in /valve/maps.
monster_urby monster_urbyGoldsourcerer
You must be logged in to post a response.