The Game Modding Community - Since 2001

Super Smash Bros. Crusade

A Config Script for GameBanana

Updates

Revision 2
  • Overhaul Fixed RegEx
Northern3D avatar
Northern3D username pic Joined 3y ago
PROBABLY DEAD
US Games Flag Affiliation: US Games
1,118 points Ranked 4489th
15 medals 1 rare
  • 10 submissions featured Medal icon
  • Became a Club Leader Medal icon
  • One month a member Medal icon
  • 6 months a member Medal icon
  • 1 year a member Medal icon
  • Returned 100 times Medal icon
Northern3D avatar
Northern3D
6d
Revision 1
  • Addition Added Stage Specific Music modding support.
Northern3D avatar
Northern3D username pic Joined 3y ago
PROBABLY DEAD
US Games Flag Affiliation: US Games
1,118 points Ranked 4489th
15 medals 1 rare
  • 10 submissions featured Medal icon
  • Became a Club Leader Medal icon
  • One month a member Medal icon
  • 6 months a member Medal icon
  • 1 year a member Medal icon
  • Returned 100 times Medal icon
Northern3D avatar
Northern3D
12d
131 lines | 6 kb | Raw Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
---
# YAML Super Smash Bros. Crusade Config
Constants
:
 "{GAME_NAME}"
: Super Smash Bros. Crusade
Setup
:
- Command
: Prompt
  Parameters
:
   Type
: Dir
   AliasName
: "{SSBC_PATH}"
   DisplayName
: Where is your {GAME_NAME} folder?
- Command
: CheckExists
  Parameters
:
   Path
: "{SSBC_PATH}/ssbc.exe"
  ErrorMessage
: "The {GAME_NAME} folder you specified is invalid"
- Command
: ChangeDir
  Parameters
:
   Path
: "{SSBC_PATH}"
  ErrorMessage
: "Access was denied to your {GAME_NAME} folder"
FileRules
:
 GUIs
:
 - AcceptFilePath
: "/gfx\\/.+\\.png$/i"
   DestinationFile
: "{MATCHED_FILE_PATH}"
 - AcceptFilePath
: "/(abust|bust|cbust|challenger|classic|common|css|mbg|menu|mugs|online|results|seriesicon|sss|stgicons|stgprevs|stock|title)\\/.+\\.png$/i"
   DestinationFile
: "gfx/{MATCHED_FILE_PATH}"
# Busts
 - AcceptExtension
: "/^png$/i"
   DestinationFile
: "gfx/bust/{FILE}"
 Skins
:
 - DenyExtension
: "/^jpg$/i"
 - DenyFile
: "/^readme.+/i"
 - DenyFile
: "/^thumbs.db/i"
# generic fighter image catch-all (requires character's folder inside fighter folder)
 - AcceptFilePath
: "/figher\\/.+\\/.+\\.png$/i"
   DestinationFile
: "{MATCHED_FILE_PATH}"
# generic fighter sound catch-all
 - AcceptFilePath
: "/fighter\\/.+\\.wav$/i"
   DestinationFile
: "sfx/{MATCHED_FILE_PATH}"
# Another horrible line by yours truly, Northern3D
 - AcceptFilePath
: "/(ashley|bomber|bowser|chunli|climbers|clink|crash|dhd|dk|drmario|evil|falco|falcon|fox|ganon|geno|goku|gooey|hand|kirby|klonoa|knux|krystal|link|lucario|lucas|luigi|mac|mach|mario|marth|mega|metaknight|mew2|mrgw|nega|ness|olimar|pacman|peach|petey|pichu|pika|porky|purin|rayman|ridley|ristar|rob|ryu|saki|samus|shadow|shantae|snake|snivy|sonic|tails|tingle|toad|waluigi|wario|weegee|wright|yoshi|zsamus)\\/.+\\.png$/i"
   DestinationFile
: "fighter/{MATCHED_FILE_PATH}"
 - AcceptExtension
: "/^bin$/i"
   DestinationFile
: "fighter/{FILE}"
# Busts
 - AcceptFilePath
: "/(abust|bust|cbust|stock|mugs|seriesicon)\\/.+\\.png$/i"
   DestinationFile
: "gfx/{MATCHED_FILE_PATH}"
# Recolors?
 - AcceptExtension
: "/^dat$/i"
   DestinationFile
: "data/{FILE}"
# Items
 - AcceptFilePath
: "/item\\/.+\\.(png|txt)$/i"
   DestinationFile
: "{MATCHED_FILE_PATH}"
 - AcceptExtension
: "/list.*\\.png$/i"
   DestinationFile
: "item/{FILE}"
# Assists
 - AcceptFilePath
: "/assist\\/.+\\.(png|txt|wav)$/i"
   DestinationFile
: "{MATCHED_FILE_PATH}"
 - AcceptFilePath
: "/(_cloyster|_espeon|_gengar|_mew|_porygon2|_psyduck|_shaymin|_snivy|_snorlax|_staryu|_steelix|_unown)\\/.+\\.(png|txt|wav)$/i"
   DestinationFile
: "assist/{MATCHED_FILE_PATH}"
# A lot of mods are just the pallate files in root. It's impossible to organise them, so they're incompatible.
 Sounds
:
 - DenyExtension
: "/^txt$/i"
 - DenyFile
: "/^readme.+/i"
# SFX
 - AcceptFilePath
: "/sfx\\/.+\\.wav$/i"
   DestinationFile
: "{MATCHED_FILE_PATH}"
# Combo
 - AcceptExtension
: "/(0|1|2).*\\.wav$/i"
   DestinationFile
: "sfx/announcer/combo/{FILE}"
# Fighter names
 - AcceptFilePath
: "/fighter\\/.+\\.wav$/i"
   DestinationFile
: "sfx/{MATCHED_FILE_PATH}"
# Narration
 - AcceptExtension
: "/nar.*\\.wav$/i"
   DestinationFile
: "sfx/announcer/{FILE}"
# Crowd Reactions
 - AcceptExtension
: "/(clap|disappointment|joy|suprise).*\\.wav$/i"
   DestinationFile
: "sfx/crowd/{FILE}"
# Menu
 - AcceptExtension
: "/(back|char|deselectchar|disabled|ok|ready4nextmatch|selectchar|swap).*\\.wav$/i"
   DestinationFile
: "sfx/menu/{FILE}"
# Peach has her own folder for some reason
 - AcceptFilePath
: "/peach\\/.+\\.wav$/i"
   DestinationFile
: "sfx/{MATCHED_FILE_PATH}"
# As does Ryu
 - AcceptFilePath
: "/ryu\\/.+\\.wav$/i"
   DestinationFile
: "sfx/{MATCHED_FILE_PATH}"
# Aaaaand Snake.
 - AcceptFilePath
: "/snake\\/.+\\.wav$/i"
   DestinationFile
: "sfx/{MATCHED_FILE_PATH}"
# The rest are normal SFX
 - AcceptExtension
: "/^wav$/i"
   DestinationFile
: "sfx/{FILE}"
# GENERIC MUSIC
 - AcceptFilePath
: "/music\\/.+\\.ogg$/i"
   DestinationFile
: "{MATCHED_FILE_PATH}"
 - AcceptExtension
: "/Michael.*Bonus Stage.*\\.ogg$/i"
   DestinationFile
: "music/bonus/{FILE}"
 - AcceptExtension
: "/Michael.*Game Clear.*\\.ogg$/i"
   DestinationFile
: "music/classicclear/{FILE}"
 - AcceptExtension
: "/Super.*Master Hand.*\\.ogg$/i"
   DestinationFile
: "music/masterhand/{FILE}"
 - AcceptExtension
: "/SSBC.*Main Theme.*\\.ogg$/i"
   DestinationFile
: "music/menu/{FILE}"
 - AcceptExtension
: "/Super.*Metal Battle.*\\.ogg$/i"
   DestinationFile
: "music/metal/{FILE}"
 - AcceptExtension
: "/Nyx.*Fighting Polygon Team.*\\.ogg$/i"
   DestinationFile
: "music/multiman/{FILE}"
 - AcceptExtension
: "/SSBC.*No Contest.*\\.ogg$/i"
   DestinationFile
: "music/nocontest/{FILE}"
 - AcceptExtension
: "/Disco Train.*\\.ogg$/i"
   DestinationFile
: "music/online/{FILE}"
 - AcceptExtension
: "/SSBC.*Online Menu.*\\.ogg$/i"
   DestinationFile
: "music/online/{FILE}"
# STAGE SPECIFIC MUSIC
 - AcceptFilePath
: "/(asteroids|balloon|battlefield|BC|burned|casinon|cutman|distortion|district|excitebike|fieldofglory|final|flatzone3|ghz|hcastle64|hyperbolic|icecap|kongo|mansion|metacrystal|mushroom|pac|pilotwings|qbert|saffron64|sectorz|suzaku|tetris)\\/.+\\.ogg$/i"
   DestinationFile
: "music/stage{MATCHED_FILE_PATH}"
# Other
 - AcceptExtension
: "/(challenger|classic|unlock).*\\.ogg$/i"
   DestinationFile
: "music/other/{FILE}"
#
 - AcceptExtension
: "/SSBC.*Results.*\\.ogg$/i"
   DestinationFile
: "music/results/{FILE}"
# Stage
 - AcceptFilePath
: "/stage\\/.+\\.ogg$/i"
   DestinationFile
: "music/{MATCHED_FILE_PATH}"
#  
 - AcceptFilePath
: "/versus\\/.+\\.ogg$/i"
   DestinationFile
: "music/{MATCHED_FILE_PATH}"
# Victory
 - AcceptFilePath
: "/victory\\/.+\\.ogg$/i"
   DestinationFile
: "music/victory/{MATCHED_FILE_PATH}"
This is probably the most complex Modboy config that exists.
Promotional Content

Posts

  • 5dEdited 5d
    AoM avatar
    AoM username pic Joined 12y ago
    Ripe Supporter AC:NL Manager UT2k4 Manager SN Manager Admin
    Likely Asleep
    28,083 points Ranked 154th
    39 medals 5 legendary 8 rare
    • 10 years a member Medal icon
    • Created a Mod Installer Medal icon
    • Achieved Admin clearance Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
    • Became a Ripe Supporter Medal icon
    • 6 years a member Medal icon
    AoM avatar
    AoM
    Modboy Dev
    I've cleaned it up a bit more for you.

    I've also added a segment to cover situations where the person uploading includes the fighter directory. (It makes sure there's a folder in-between the fighter folder and the actual images). I've duplicated the Regex you had for fighter sounds into the skin section for the situation where people include the fighter sounds with the skin.

    Are the bin files in the fighter directory not particular to characters?

    Is there an example of assist skins you could link me to or a screenshot of one of their folders you could show me? It just seems odd that they would all have an underscore at the beginning, but that may be correct.

    There are a few places where you had .* that I'm not sure if you meant to put \\. instead. If you could check over the diff here and see if you meant to make that AcceptFilePath rather than AcceptExtension, that would be appreciated.
    Thar be snow. avatar
    Mantra
    Thar be snow.
  • 9d
    AoM avatar
    AoM username pic Joined 12y ago
    Ripe Supporter AC:NL Manager UT2k4 Manager SN Manager Admin
    Likely Asleep
    28,083 points Ranked 154th
    39 medals 5 legendary 8 rare
    • 10 years a member Medal icon
    • Created a Mod Installer Medal icon
    • Achieved Admin clearance Medal icon
    • 15+ Entries! GameBanana’s Christmas Giveaway 2017 Medal icon
    • Became a Ripe Supporter Medal icon
    • 6 years a member Medal icon
    AoM avatar
    AoM
    Modboy Dev
    A couple things:

    • I think you need to do a bit more reading on Regex. You have a bunch of unnecessary stuff in there, like parenthesizing something when you only have one possible value.
    • I'm not sure what your trying to match with things like "/SSBC^Main Theme^ogg$/i", but I can tell you that you're not really going to match anything, since you have two ^'s and neither is at the beginning of the string. They're intended to be used to say your path begins with that.

    You have to get these right, because I won't be adding configs that I think will cause issues.
    Thar be snow. avatar
    Mantra
    Thar be snow.

Embed

Share banner
Image URL:
HTML embed code:
BB embed code:
Markdown embed code:

Credits

Key Authors
Northern3D avatar
Northern3D username pic Joined 3y ago
Offline
US Games Flag Affiliation: US Games
1,118 points Ranked 4489th
15 medals 1 rare
  • 10 submissions featured Medal icon
  • Became a Club Leader Medal icon
  • One month a member Medal icon
  • 6 months a member Medal icon
  • 1 year a member Medal icon
  • Returned 100 times Medal icon

Submitter

Northern3D avatar
Northern3D username pic Joined 3y ago
PROBABLY DEAD
US Games Flag Affiliation: US Games
1,118 points Ranked 4489th
15 medals 1 rare
  • 10 submissions featured Medal icon
  • Became a Club Leader Medal icon
  • One month a member Medal icon
  • 6 months a member Medal icon
  • 1 year a member Medal icon
  • Returned 100 times Medal icon

Northern3D avatar
Northern3D

Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!
Sign up to access this!

Category

Sub-category
Game Configs
Super-category
Modboy

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+

Stats

  • 117 Views
  • 3 Posts
  • 12d Submitted
  • 5d Modified
  • 6d Updated

Scores

  • Not yet rated
Sign up to access this!

SEX! Ok, we got your attention. Mascot

GameBanana is one of the oldest mod sites on the net. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation - send modders points.
  • Post: Give modders your thoughts on their work.
  • Vote: Help your favorite modders win monthly awards.
  • Rate: Rate mods and help them stand out.
  • Flag: Alert moderators and warn members of problems with mods.
  • Watch: Get notified when mods are updated.

Resistance is futile... Sign up now!

Already a Bananite? Login

WiPs by Submitter

bcp.crwdcntrl.net tracking pixel