The size of the game fused
The size of the game fused
I was wondering this but i never asked, packing the .zip file with the .exe file on Window increase the exe file size? I mean, i was wondering this because i read that when you do like dynamic libraries to load in an executable file, it descreases the exe file size and the load time (idk if its true), so instead of linking a lot of static libraries on the executable, you export them as dynamic and then makes the executable open more faster. So, packing the zip file with it, will not make the executable more slower? or i'm just wasting my time thinking about this?
Re: The size of the game fused
DLL hell exists on Windows, so better just statically link everything you could, and if you couldn't link it statically, you carry your own .dll file with the program.
Now, not the whole file is loaded into memory, only the segments that were compiled to be loaded. The rest of the file may contain anything and it's never will be loaded unless the program will read its own file past the assembly program data section and load it, it practically no different from using folder for this except it's compressed and the whole thing is a single file.
Now, not the whole file is loaded into memory, only the segments that were compiled to be loaded. The rest of the file may contain anything and it's never will be loaded unless the program will read its own file past the assembly program data section and load it, it practically no different from using folder for this except it's compressed and the whole thing is a single file.
- slime
- Solid Snayke
- Posts: 3172
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: The size of the game fused
When you fuse the zip to the executable, the zip and executable portions of the file behave essentially completely independently. It won't affect performance or file size.khofez wrote:So, packing the zip file with it, will not make the executable more slower? or i'm just wasting my time thinking about this?
- zorg
- Party member
- Posts: 3470
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: The size of the game fused
I'd also want to point out that for löve, you combine the contents of your project folder with love.exe to make it fused.
That covers assets like music and image files, and lua source code, usually nothing else.
Any dll-s löve.exe itself uses is still besides it, and not in any zip you combined with the executable.
That covers assets like music and image files, and lua source code, usually nothing else.
Any dll-s löve.exe itself uses is still besides it, and not in any zip you combined with the executable.
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Re: The size of the game fused
thanks you guys !
Who is online
Users browsing this forum: No registered users and 10 guests