YesNoOk
avatar

Is it possible to put the 'chars' folder outside of the mugen folder (Read 9106 times)

Started by evilloso, January 09, 2018, 07:24:16 pm
Share this topic:
Is it possible to put the 'chars' folder outside of the mugen folder
#1  January 09, 2018, 07:24:16 pm
  • avatar
    • USA
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?

Re: Is it possible to put the 'chars' folder outside of the mugen folder
#2  January 09, 2018, 08:16:00 pm
  • *****
  • Lazy spriter
  • Demon in heaven gotta carry a knife
    • Bolivia
    • network.mugenguild.com/thedge/
When you do that, you have to specify the def file too.
Something like this:

[Characters]
D:\chars\kfm\kfm.def, stages/Niceland.def
That’s when I thought, “good grief”
Just ain’t my belief
Until I saw the holes
Inside his hand
Re: Is it possible to put the 'chars' folder outside of the mugen folder
#3  January 09, 2018, 08:31:01 pm
  • avatar
    • USA
That is awesome. It works. Thank you very much AerosMugen
Re: Is it possible to put the 'chars' folder outside of the mugen folder
#4  January 09, 2018, 08:58:08 pm
  • ******
  • 90's Kawaii
  • :thinking:
    • Guatemala
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.
Re: Is it possible to put the 'chars' folder outside of the mugen folder
#5  January 09, 2018, 11:51:24 pm
  • avatar
    • USA
I wasnt aware that was possible? How does the mugen.exe reference which screen pack youre wanting to use?
Re: Is it possible to put the 'chars' folder outside of the mugen folder
#6  January 10, 2018, 12:22:19 am
  • *****
  • The story begins with who's gonna win
    • USA
You make a batch (.bat) file for the specific screenpack.
Nevermind, there's nothing I can do
Bet your life there's something killing you
It's a shame we have to die, my dear
No one's getting out of here alive
This time
What a way to go, but have no fear
No one's getting out of here alive
This time
It's a shame we have to disappear
No one's getting out of here alive
This time, this time, this time
Re: Is it possible to put the 'chars' folder outside of the mugen folder
#7  January 10, 2018, 01:59:52 am
  • ******
  • 90's Kawaii
  • :thinking:
    • Guatemala
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.

  • Open notepad or any other text editor
  • type: mugen -r whatever_you_call_your_new_screenpack_folder
  • Save it as whatever.bat in your mugen folder (it's very important it doesn't have another extension like .txt)
  • Double click it and it'll launch your screenpack instantaneously

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 installation foolproof.
Last Edit: January 10, 2018, 02:08:57 am by Foobs Sese Seko Nkuku Ngben...
Re: Is it possible to put the 'chars' folder outside of the mugen folder
#8  January 10, 2018, 09:51:37 am
  • avatar
    • USA
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