Little Fighter Empire - Forums
Mod Loader 2.0 - Printable Version

+- Little Fighter Empire - Forums (https://lf-empire.de/forum)
+-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7)
+--- Forum: [2.0] Exe Editing (https://lf-empire.de/forum/forumdisplay.php?fid=43)
+--- Thread: Mod Loader 2.0 (/showthread.php?tid=1748)

Pages: 1 2


Mod Loader 2.0 - Boop - 12-23-2008

[Image: rij8dgtrtvkvk56scykh.jpg]

Woo, a thing which kept me busy for a long time is finally ready for alpha/beta release.

Download : http://www.mediafire.com/?00ohc0ymmnt

Mods which work with it:
http://www.mediafire.com/?sharekey=9672182d8c4bf6bdab1eab3e9fa335caa609f21dc4696781
http://www.mediafire.com/download.php?30l2i0z5gvq

Instructions:

*Download the mod loader, extract the exe and dll into your main lf2 folder.
*Make a new folder called "mods" in your lf2 directory.
*Download a mod.
*Extract the mod into the mod folder
*Vote on the poll!!!!!

Enjoy! Looking for feedback pls:p

Credits:


Me (Silva): doing some stuff
RaMMicHaeL: wrote some code to list directories and such, helped me make his code work(it is harder than you people think... damn unicode)
Steve8x(Hak 5 Forums): wrote the bulk of the code :D.
YinYin: doing some stuff


RE: Mod Loader 2.0 - zero_legends - 12-24-2008

Works great voted for first option. Oh and ahaha........... the option in poll " Didn't try cause I'm a lazy ******* " is a bad option and should be changed into " Didn't try cause I'm lasy and don't care " . Just a suggestion but IMOP should be my suggestion. Badwords don't suit.....


RE: Mod Loader 2.0 - Boop - 12-24-2008

Oh sorry, I never considered bas....... a bad word... Maybe it is just the way I was raised :D.


RE: Mod Loader 2.0 - tgquan67 - 12-24-2008

Aha, good idea! But will all the mods work with it? And the links
Quote:Mods which work with it:
http://www.mediafire.com/?sharekey=96721...1dc4696781
http://www.mediafire.com/download.php?30l2i0z5gvq
are not available? Can u check it?


RE: Mod Loader 2.0 - Boop - 12-24-2008

Darn it.... Now we have to wait for YinYin to upload the mods :(. Mods have to be altered slightly to work. Since they sit in the mods folder, so lots of stuff happens basically :D.


RE: Mod Loader 2.0 - tgquan67 - 12-27-2008

Is it easy for everyone to edit a mod to make it works in your mods loader? I'm fond of programming, so can u explain it brightly?


RE: Mod Loader 2.0 - Boop - 12-27-2008

Here is an example mod(probably has some bugs because its not the final release, only yinyin has the final ones):

http://www.mediafire.com/?ystmvomm5db

Basically what the mod loader does, is replace the data\data.txt and data\stage.dat path inside the exe with:
mods\MOD_NAME\cfg.txt and mods\MOD_NAME\stg.dat (cfg.txt = data.txt and stg.dat = stage.dat).

Then all the paths have to be changed inside the files:
mods\RN\deep.txt

Now the reason it is "mods\RN\deep.txt" and not "mods\RN\data\deep.txt" is because we discovered that there is a maximum path length inside the exe. Therefor all the files are in the root of the MOD_NAME directory.

Files are .txt because we(YinYin and I) are to lazy to manually convert them all back to .dat :p . Probably should do it though, because I think the ram usage increases when you use .txt...

Stage.dat has to be edited by adding survival mode for compatibility with 2.0 .

I think thats everything, YinYin did most of the work converting mods because I'm lazy, so I might've missed some of the things he did.


RE: Mod Loader 2.0 - hkmnhkmn - 12-27-2008

WOW cool~~
Thank you so much Silva:)
how to use it???
when i download it and extract the mod
nothing happend
is it something like a data reader ??
i though it was something to let us create a new mode firstly


RE: Mod Loader 2.0 - Boop - 12-27-2008

Did you make a new directory called "mods" in your lf2 directory and then extract the mod into it? Your lf2 directory should look something like;
[Image: directorystructureki5.jpg]

If you have, then when you press "Load mod" and the new window appears, you select "mods\RN" and press okay. Now the RN mod is loaded :D.


RE: Mod Loader 2.0 - hkmnhkmn - 12-27-2008

Oh!!!
So it`s like a thing that let one LF2.exe to run different data
So cool!!!
You are awesome!!!cool