Sonic World

A Config Script for GameBanana

34 lines | 1 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
---
# YAML Sonic World Config
Constants
:
 "{GAME_NAME}"
: "Sonic World"
Setup
:
- Command
: Prompt
  Parameters
:
   Type
: Dir
   AliasName
: "{SONICWORLD_PATH}"
   DisplayName
: "Where is your {GAME_NAME} install folder?"
- Command
: CheckExists
  Parameters
:
   Path
: "{SONICWORLD_PATH}/Sonic World.exe"
  ErrorMessage
: "The {GAME_NAME} install folder you specified is invalid"
- Command
: ChangeDir
  Parameters
:
   Path
: "{SONICWORLD_PATH}"
  ErrorMessage
: "Access was denied to your {GAME_NAME} folder"
FileRules
:
 Maps
:
 - DenyExtension
: "/^cache$/i"
 - DenyFile
: "/^thumbs\\.db/i"
 - AcceptExtension
: "/^(xml|mp3|png|mtl|obj|b3d|skb|skp|x|jpg|ogg)$/i"
   DestinationFile
: "Stages/{MATCHED_FILE_PATH}"
 Skins
:
 - DenyExtension
: "/^cache$/i"
 - DenyFile
: "/^thumbs\\.db/i"
 - AcceptExtension
: "/^(xml|mp3|png|mtl|obj|b3d|skb|skp|x|jpg|ogg)$/i"
   DestinationFile
: "Mods/Characters/{MATCHED_FILE_PATH}"
 GUIs
:
 - DenyExtension
: "/^cache$/i"
 - DenyFile
: "/^thumbs\\.db/i"
 - AcceptExtension
: "/^(png|ogg)$/i"
   DestinationFile
: "Mods/MenuThemes/{ARCHIVE_FILE_NAME}/{FILE}"
Sign up to access this!
  • AoM avatar
    AoM username pic Joined 12y ago
    Ripe Supporter AC:NL Manager UT2k4 Manager SN Manager Admin
    Likely Asleep
    41,894 points Ranked 96th
    43 medals 5 legendary 10 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
    8mo
    Fixed a typo you had in the DisplayName line of the prompt (said SONICWORLD_NAME rather than GAME_NAME. Also, be advised that I don't think MATCHED_FILE_PATH will work if you're not accepting a file path on the first part of that entry. When accepting just a extension, you're only matching a file, so you'd have to use FILE.
    Thar be snow. avatar
    Mantra
    Thar be snow.
    URL to post:
  • AoM avatar
    AoM username pic Joined 12y ago
    Ripe Supporter AC:NL Manager UT2k4 Manager SN Manager Admin
    Likely Asleep
    41,894 points Ranked 96th
    43 medals 5 legendary 10 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
    8mo
    There are no file types unique between maps and characters?
    Thar be snow. avatar
    Mantra
    Thar be snow.
    URL to post:

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,725 points Ranked 3076th
19 medals 2 rare
  • 10 submissions featured Medal icon
  • Returned 1000 times 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

Submitter

Northern3D avatar
Northern3D username pic Joined 3y ago
PROBABLY DEAD
US Games Flag Affiliation: US Games
1,725 points Ranked 3076th
19 medals 2 rare
  • 10 submissions featured Medal icon
  • Returned 1000 times 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

Northern3D avatar
Northern3D

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

Game

Sign up to access this!

Category

Sub-category
Game Configs
Super-category
Modboy

License

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+
  • 571 Views
  • 3 Posts
  • 8moSubmitted
  • 1moModified

Scores

  • Not yet rated
Sign up to access this!

More from Submitter

WiPs by Submitter

More Game Configs Scripts

bcp.crwdcntrl.net tracking pixel