Game distribution question
-
- Prole
- Posts: 6
- Joined: Wed Sep 04, 2019 5:15 pm
Game distribution question
Hi! What are pros and cons fusing game over shipping with .love file, aside compatibility with previous versions? I tried to search some info about that on wiki or forum but no luck.
Re: Game distribution question
I guess shipping your game in .love, to play by someone, not testing staff or something, archive is bad way to do so since to play user should download love somewhere just to play your gameVanBandama wrote: ↑Wed Oct 27, 2021 11:21 am Hi! What are pros and cons fusing game over shipping with .love file, aside compatibility with previous versions? I tried to search some info about that on wiki or forum but no luck.
It's annoying
If i want to play game, i better just download ready out-of-box game, click something like Game.exe and start playing, rather then download archive with game, download love, install game and love and only after that play
If you just want to pass it to someone for testing("hey, man, i know you work with love; can you check what i done?"), showcasing or on forums for helping with bugs/problems/etc i guess it's fine
Re: Game distribution question
What about protecting LOVE2D source code from code stealers? Love2D source code can be accessed in about 10 seconds. That's a con.
Last project:
https://togfox.itch.io/hwarang
A card game that brings sword fighting to life.
Current project:
Turn-based PBEM horse stable (racing) management sim: https://togfox.itch.io/horse-stable-manager
https://discord.gg/HeHgwE5nsZ
https://togfox.itch.io/hwarang
A card game that brings sword fighting to life.
Current project:
Turn-based PBEM horse stable (racing) management sim: https://togfox.itch.io/horse-stable-manager
https://discord.gg/HeHgwE5nsZ
Re: Game distribution question
Is that considered as con?
-
- Prole
- Posts: 6
- Joined: Wed Sep 04, 2019 5:15 pm
Re: Game distribution question
For me the key is performance. Is there some notable differences?
And I'm not a big fan putting everything into exe. I know that's how love2d works but seeing huge exe file is a big red flag of poor optimization and messy code. I was wondering if it's possible to put assets and logic into .dat/ .bin file or stick to .love and ship it with exe.
And I'm not a big fan putting everything into exe. I know that's how love2d works but seeing huge exe file is a big red flag of poor optimization and messy code. I was wondering if it's possible to put assets and logic into .dat/ .bin file or stick to .love and ship it with exe.
Re: Game distribution question
There is probably nothing to worry about performance-wise. It's not like the fused exe is loaded into memory at once. The difference between fused exe and external love file is probably negligible.
Define "huge". AAA titles have exe files hundreds of MB large. Nobody gives a shit.VanBandama wrote: ↑Wed Oct 27, 2021 12:36 pm seeing huge exe file is a big red flag of poor optimization and messy code.
Why not, you just need some kind of launcher then, even if it's just a batch file or smth, because otherwise you have a love.exe that only shows a nogame screen. Or maybe fuse just a tiny .love file to the exe that runs your game's acual main.lua from the filesystem.I was wondering if it's possible to put assets and logic into .dat/ .bin file or stick to .love and ship it with exe.
- zorg
- Party member
- Posts: 3465
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: Game distribution question
You mean between a .love and a combined .exe? Not really; the latter just has the executable mounts itself (its tail, actually, where the zip footer is, at the very end) to the virtual filesystem and then runs like that.VanBandama wrote: ↑Wed Oct 27, 2021 12:36 pm For me the key is performance. Is there some notable differences?
Besides the reality grump dumped on you, there is a way in fused mode to load assets/scripts/whatever from the folder containing the .exe file itself: love.filesystem.getSourceBaseDirectoryVanBandama wrote: ↑Wed Oct 27, 2021 12:36 pm And I'm not a big fan putting everything into exe. I know that's how love2d works but seeing huge exe file is a big red flag of poor optimization and messy code. I was wondering if it's possible to put assets and logic into .dat/ .bin file or stick to .love and ship it with exe.
It can also be accessed if you just rename the combined exe to have a .zip at the end... or, not even that, just open it with your favorite (un)archiver and be amazed... also, i invite you to check this post and the one below it out: https://love2d.org/forums/viewtopic.php ... 62#p223862
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.
- Gunroar:Cannon()
- Party member
- Posts: 1139
- Joined: Thu Dec 10, 2020 1:57 am
Re: Game distribution question
Use a license. You can get the assets and code out of , like , all games (romhacks, not even nintendo is safe). The only difference is the difficulty in doing it. But what makes people want ton"steal" an idea successfully is lack of license (what's to stop me from using an Alan Walker song I downloaded in a game I make for example?) . Maybe if you still really want I think there's something like code encryption.
-
- Prole
- Posts: 6
- Joined: Wed Sep 04, 2019 5:15 pm
Re: Game distribution question
Exactly as you said 100+ MB it's big. I know today nobody gives a damn how huge game is. I want everyone who downloads my game, to easily access to soundtrack folder (as a bonus - and as GVovkiv mentioned earlier player don't want to be annoyed)
Something like this i.e:
D:/MyGame :
-/soundtrack/ - audio tracks going here, also game will load it from here
-myGame.exe
-/GFX/ - here are all spritesheets and tileset in .dat file format
-lua51.dll
-mpg123.dll
-OpenAl.dll
-SDL2.dll
-msvcp120.dll
-msvcr120.dll
I know that structure can be achieved with .love file, just curious how it can affect performance and stability
*update:
I wrote it same time zorg and Gunroar:Cannon()'s explanation and didn't see that. But thanks for clarification
Something like this i.e:
D:/MyGame :
-/soundtrack/ - audio tracks going here, also game will load it from here
-myGame.exe
-/GFX/ - here are all spritesheets and tileset in .dat file format
-lua51.dll
-mpg123.dll
-OpenAl.dll
-SDL2.dll
-msvcp120.dll
-msvcr120.dll
I know that structure can be achieved with .love file, just curious how it can affect performance and stability
*update:
I wrote it same time zorg and Gunroar:Cannon()'s explanation and didn't see that. But thanks for clarification
Last edited by VanBandama on Wed Oct 27, 2021 2:24 pm, edited 1 time in total.
Re: Game distribution question
Or, probably, other language/engine/framework
Who is online
Users browsing this forum: No registered users and 3 guests