Author [EN] [PL] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: How to extract lifebars from Screenpacks?  (Read 379 times)

Offline The Fabulous Mr. A

  • ******
  • Posts: 1385
  • CVG Supporter / Head of MSHvsSF2 project
  • Referrals: 0
How to extract lifebars from Screenpacks?
« on: January 05, 2010, 10:58:40 PM »
Exactly what the title asks.

"The Question" aka Mr. A

Offline YD

  • ******
  • Posts: 3085
  • Country: 00
  • Referrals: 0
Re: How to extract lifebars from Screenpacks?
« Reply #1 on: January 06, 2010, 06:55:45 PM »
Open up the fight.def in the "data" folder of the SP that you want the life bars from and look for this portion of  code:

;Directories are checked in this order:
;1. current directory fight.def is in
;2. data/
;3. your MUGEN directory

;ݒt@C
[Files]
sff = fight.sff
snd = fight.snd
font1 = font/hokuto_jg.fnt
font2 = font/hokuto_num.fnt
font3 = font/hokuto_name.fnt
font4 = font/hokuto_hit.fnt
font5 = font/hokuto_gauge.fnt
fightfx.sff = fightfx.sff
fightfx.air = fightfx.air
common.snd = common.snd


Now all the files listed in orange are the files you will need to extract/copy&paste.  Next, take these files  along with a copy of the fight.def file itself and place them into the "data" folder of the SP that you want these lifebars in and make sure to overwrite any existing files with the same name and that should do it.


If you want to make the SP a duel life bar capable SP then the files that were extracted/C&P take them and place them into a new folder named whatever you like then place that into the "data" folder and then go to the system.def of the SP in the "data" folder and look for this portion of code:

;----------------------------
[Files]
spr = data/system.sff            ;Filename of sprite data
snd = data/system.snd            ;Filename of sound data
logo.storyboard = logo.def ;MUGEN_Intro.def  ;Logo storyboard definition (optional) *2001.04.01 NEW*
intro.storyboard =       ;Intro storyboard definition (optional) *2001.04.01 NEW*
select = select.def         ;Character and stage selection list
fight = fight.def          ;Fight definition filename
font1 = font/f-4x6.fnt      ;System fonts
font2 = font/f-6x9.fnt      ;System fonts
font3 = font/jg.fnt         ;System fonts
font4 = font/qoh_big.fnt
font5 = font/qoh_sm~1.fnt
font6 = font/DJV-CUSTOM.fnt
font7 = font/DJV-END.fnt


and add a line exactly like the one in orange but change the name of fight.def to data/(name of folder)/fight.def and place a ( ; ) in front of this line like this:

;----------------------------
[Files]
spr = data/system.sff            ;Filename of sprite data
snd = data/system.snd            ;Filename of sound data
logo.storyboard = logo.def ;MUGEN_Intro.def  ;Logo storyboard definition (optional) *2001.04.01 NEW*
intro.storyboard =       ;Intro storyboard definition (optional) *2001.04.01 NEW*
select = select.def         ;Character and stage selection list
fight = fight.def          ;Fight definition filename
;fight = data/(name of folder)/ fight.def          ;Fight definition filename

font1 = font/f-4x6.fnt      ;System fonts
font2 = font/f-6x9.fnt      ;System fonts
font3 = font/jg.fnt         ;System fonts
font4 = font/qoh_big.fnt
font5 = font/qoh_sm~1.fnt
font6 = font/DJV-CUSTOM.fnt
font7 = font/DJV-END.fnt


Finally place the fight.def of the SP that you extracted/C&P the life bar files from and place it into the folder that you just made and named. Then when you want to use the life bars you like, just swap the ( ; ) of this portion of code:

From this:
fight = fight.def          ;Fight definition filename
;fight = data/(name of folder)/ fight.def          ;Fight definition filename


To this:
;fight = fight.def          ;Fight definition filename
fight = data/(name of folder)/ fight.def          ;Fight definition filename


And that's all Folks. :watchmen:
« Last Edit: January 07, 2010, 03:39:44 AM by YoungDragun »

Offline The Fabulous Mr. A

  • ******
  • Posts: 1385
  • CVG Supporter / Head of MSHvsSF2 project
  • Referrals: 0
Re: How to extract lifebars from Screenpacks?
« Reply #2 on: January 06, 2010, 11:32:38 PM »
thanks

"The Question" aka Mr. A