The Game Modding Community - Since 2001

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}"
Although GameBanana has (Fangame) in the title, the script just refers to it as 'Sonic World' simply. - Fixed :)
Promotional Content

Posts

  • 9d
    AoM avatar
    AoM username pic Joined 12y ago
    Ripe Supporter AC:NL Manager UT2k4 Manager SN Manager Admin
    Likely Asleep
    28,347 points Ranked 152nd
    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
    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.
  • 13d
    AoM avatar
    AoM username pic Joined 12y ago
    Ripe Supporter AC:NL Manager UT2k4 Manager SN Manager Admin
    Likely Asleep
    28,347 points Ranked 152nd
    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
    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
1,142 points Ranked 4404th
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,142 points Ranked 4404th
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

  • 164 Views
  • 3 Posts
  • 18d Submitted
  • 9d Modified

Scores

  • Not yet rated
Sign up to access this!

Yo, buddy. 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.

Stop Lurking! Sign up now!

Already a Bananite? Login

WiPs by Submitter

bcp.crwdcntrl.net tracking pixel