[C++] How to embed files into exe

Hello, I want embed 2 folders(in this folder I have all data client), This files are located in these folders
*.lua eg: https://github.com/edubart/otclient/blob/master/modules/game_viplist/viplist.lua
*.otmod https://github.com/edubart/otclient/blob/master/modules/game_viplist/viplist.otmod
*.otuihttps://github.com/edubart/otclient/blob/master/modules/game_viplist/addvip.otui
and many PNG.

Can someone tell me how to "pack" this folder into exe?
Last edited on
At thr end of EXE itself or packed and stored somwhere as a static unsigned char array. In that last case, data must be available at compile time and its size must be known.
I don't understand, can you give example?
Topic archived. No new replies allowed.