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}"

Posts

  • AoM avatar
    AoM username pic Joined 12y ago
    Ripe Supporter AC:NL Manager UT2k4 Manager SN Manager Admin
    Likely Asleep
    36,121 points Ranked 114th
    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
    5mo
    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.
  • AoM avatar
    AoM username pic Joined 12y ago
    Ripe Supporter AC:NL Manager UT2k4 Manager SN Manager Admin
    Likely Asleep
    36,121 points Ranked 114th
    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
    5mo
    There are no file types unique between maps and characters?
    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
919 points Ranked 5634th
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
919 points Ranked 5634th
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+

Stats

  • 473 Views
  • 3 Posts
  • 6mo Submitted
  • 4mo Modified

Scores

  • Not yet rated
Sign up to access this!

More from Submitter

WiPs by Submitter

bcp.crwdcntrl.net tracking pixel