Distribution & Packaging - HaxeFoundation/hashlink GitHub Wiki
In order to package and distribute a HashLink application, you need to the following files (on Windows):
hl.exe
which can safely be renamed toYourGame.exe
libhl.dll
for the HL runtimemsvcr120.dll
(for the later use eitherWindows/System32
for HL 64 bits orWindows/SysWOW64
for HL 32)yourgame.hl
(compiled bytecode) to rename tohlboot.dat
so it's automatically executed byhl.exe
- the
.hdll
files you are usingfmt.hdll
for PNG/JPG/ZIP/etc. supportssl.hdll
for HTTPs support- some others (see below)
Other dependencies:
- if you are using Heaps you need
openal.hdll
ui.hdll
uv.hdll
as well asOpenAL32.dll
(from OpenAL Soft) - if you are using SDL support (
-lib hlsdl
) you needsdl.hdll
andSDL2.dll
- if you are using DirectX support (
-lib hldx
) you needdirectx.hdll
andd3dcompiler_47.dll
(version 6.3, since version 10.x that comes with Windows 10 also requires Universal CRT) - if you are using Steam support you need
steam.hdll
steam_api.dll
(from steamworks sdk) andmsvcp120.dll
(see remarks regarding msvcr120)
You can change the exe icon using rcedit with the following command rcedit YourGame.exe --set-icon myicon.ico