Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

including data and assets in .exe

A topic by yzhk instruments created Mar 14, 2024 Views: 128 Replies: 2
Viewing posts 1 to 3
Submitted

its too late now lol, but those of you in the jam who compiled your own games. what is your solution for including the assets inside the exe? I ended up having to include the exe and the assets in the same directory zipped together. 

I use pyinstaller and i thought this would allow me to include it all in one file so the user didnt have to see all the behind the scenes stuff, but i couldn't get it to work right.

Submitted

I used Zig for my programming language, which has a convenient function called @embedFile that will put the file into the exe.

For python though, I have no idea how one could do that. There might be some way to create a virtual file system, but my knowledge ends there.

Submitted

I just made a custom file archive format in my engine for this sort of stuff.