The Mugen Fighters Guild

Help => M.U.G.E.N Configuration Help => Topic started by: evilloso on January 09, 2018, 07:24:16 pm

Title: Is it possible to put the 'chars' folder outside of the mugen folder
Post by: evilloso on January 09, 2018, 07:24:16 pm
ive been looking over google and i cant seem to find the answer if its even possible

Is it possible to put the 'chars' folder a level up, outside of the folder where it normally resides?

Im doing this because i have many mugen screen packs that im messing with but i have to copy every character folder that belongs to that pack, in this case there will be many duplicate folders which will take up space.

It would be nice if there was a Main 'chars' Folder outside the Screen packs as a universal character folder for all packs. And just select which character you want in the pack through the 'select.def' file

for example
currently in 'select.def'

[Characters]
kfm, stages/Niceland.def  *kfm residing in D:/mugen 1.1/chars/kfm

want to do something like

[Characters]
D:/chars/kfm, stages/Niceland.def *where character folders are D:/chars

---
ive tried
.../chars/kfm, stages/Niceland.def
~/chars/kfm, stages/Niceland.def
D:/chars/kfm, stages/Niceland.def


nothing seems to work.
is this possible?

Title: Re: Is it possible to put the 'chars' folder outside of the mugen folder
Post by: Thedge on January 09, 2018, 08:16:00 pm
When you do that, you have to specify the def file too.
Something like this:

[Characters]
D:\chars\kfm\kfm.def, stages/Niceland.def
Title: Re: Is it possible to put the 'chars' folder outside of the mugen folder
Post by: evilloso on January 09, 2018, 08:31:01 pm
That is awesome. It works. Thank you very much AerosMugen
Title: Re: Is it possible to put the 'chars' folder outside of the mugen folder
Post by: Foobs on January 09, 2018, 08:58:08 pm
Quote
Im doing this because i have many mugen screen packs that im messing with but i have to copy every character folder that belongs to that pack, in this case there will be many duplicate folders which will take up space.
Why are you trying to reinvent the wheel here?

You can have multiple screenpacks in their own folders. It's much easier to have multiple folders in a single mugen install instead of having multiple mugen folders referencing an external chars folder.
Title: Re: Is it possible to put the 'chars' folder outside of the mugen folder
Post by: evilloso on January 09, 2018, 11:51:24 pm
I wasnt aware that was possible? How does the mugen.exe reference which screen pack youre wanting to use?
Title: Re: Is it possible to put the 'chars' folder outside of the mugen folder
Post by: Speedpreacher on January 10, 2018, 12:22:19 am
You make a batch (.bat) file for the specific screenpack.
Title: Re: Is it possible to put the 'chars' folder outside of the mugen folder
Post by: Foobs on January 10, 2018, 01:59:52 am
I wasnt aware that was possible? How does the mugen.exe reference which screen pack youre wanting to use?
in the data folder there's a file called mugen.cfg (same file you use to change the screen resolution, difficulty and game speed). Open it up and look for this:
Code:
; Set the motif to use.
; Motifs are themes that define the look and feel of MUGEN.
; This is not accessible in options screen.
; Note: If you install a motif that overwrites system files (not recommended)
; you may need to set the motif line to use data/system.def instead.
; motif = data/system.def  ;Use this line if using a motif that overwrites system files.
motif = data/system.def

Next time you want to change a screenpack keep it its own folder instead of overwriting the files in data and change mugen.cfg to this

Code:
motif = data/whatever_you_call_your_new_screenpack_folder/system.def

alternatively

You make a batch (.bat) file for the specific screenpack.


I don't mean to toot my own horn, but if you want an example of how to make this work, I tried to make this screenpack's (http://mugenguild.com/forum/topics/the-last-blade-2-screenpack-lifebars-171396.0.html) installation foolproof.
Title: Re: Is it possible to put the 'chars' folder outside of the mugen folder
Post by: evilloso on January 10, 2018, 09:51:37 am
this is great information, thank you for bring this to light Foobs Sese and explaining it well. I checked out your code from your screen pack you supplied, it all makes sense