mp_bin


(=>ETK<=Elite) #1

I am somewhat confused on the purpose of the mp_bin file.

In all my experience this method is 100% useless to place any files in the so called mp_bin pak. Some people say as long as mp_bin is done correctly, there is no need to run an unpure server. I will agree that there is no need to run an unpure server to get a mod to load, and as long as everything is done correctly it will automatically find it and load it.

Is it just me having some luck or something and never encountering any problems without ever using an mp_bin file, both on windows and linux (compiling on both, running on both), or is there some clients who can properly use the mod without the mp_bin file and some that cannot?


(jaybird) #2

mp_bin.pk3 is only a name. Most mods will create a pak with only the client bins, plus any assets, and name it according to the mod. The server bin doesn’t need to be bunbled with the client download.


(=>ETK<=Elite) #3

Thanks Jaybird.


(Superdreadnought) #4

using an own pk for the binaries has an advantage if youre changing the binaries frequently, so people wont have to download the assets as well


(=>ETK<=Elite) #5

Ya, this is my layout (makes more sense so the extra skins/models/etc doesn’t have to be downloaded over and over again when it won’t change but the source is updated)

mymod.pk3[ul]cgame.mp.i386.so
cgame.mp.i386.dll
ui.mp.i386.so
ui.mp.i386.dll[/ul]mymod_util.pk3[ul]models/
sounds/
etc…[/ul]

Was just curious moreso because people kept coming and asking me about this, and kept quoting the sticky about getting a mod running in these forums. Says to package the dll/so files inside the mp_bin.pk3, and then a mymod.pk3 with everything including the dll/so files as well, which didn’t make sense to replicate, and on top it just was causing confusion for some. Figured if they do a search in the forums for mp_bin if/when they have probs with it they can’t miss this 1 either.


(Meyerinchains) #6

using an own pk for the binaries has an advantage if youre changing the binaries frequently, so people wont have to download the assets as well

That is what NQ does. Our assets total ~20mb, so redownloading all that just for 1.4mb of binaries that are updated quite frequently is silly.