Steam

A Config Script for GameBanana

Updates

ScriptParentSubmitterStats
  • Overhaul Fixed RegEx.
  • BugFix Fixed Filepaths.

Additional Notes
Revision 2 5mo
Stats
  • Optimization Changed all '{MATCHED_FILE_PATH}/{FILE}' to just '{MATCHED_FILE_PATH}' as they function identically.
  • Addition Added 'tenfoot' Sound modding support.
Revision 1 6mo
Stats
51 lines | 2 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
---
# YAML Steam Config
Constants
:
 "{GAME_NAME}"
: Steam
Setup
:
- Command
: Prompt
  Parameters
:
   Type
: Dir
   AliasName
: "{STEAM_PATH}"
   DisplayName
: Where is your {GAME_NAME} folder?
   DefaultPaths
:
  - Program Files (x86)/Steam
   - Program Files/Steam
  ErrorMessage
: "The {GAME_NAME} folder you specified could not be accessed"
- Command
: CheckExists
  Parameters
:
   Path
: "{STEAM_PATH}/Steam.exe"
  ErrorMessage
: "The {GAME_NAME} folder you specified is invalid"
- Command
: ChangeDir
  Parameters
:
   Path
: "{STEAM_PATH}"
  ErrorMessage
: "Access was denied to your {GAME_NAME} folder"
FileRules
:
# Steam Skins
 GUIs
:
 - DenyExtension
: "/^txt$/i"
 - AcceptFilePath
: "/(friends|graphics|resource|html5app|public|servers|steam|tenfoot)\\/.+\\.(res|tga|png|bmp|ico|layout|styles|menu)$/i"
   DestinationFile
: "skins/{ARCHIVE_FILE_NAME}/{MATCHED_FILE_PATH}"
 - AcceptExtension
: "/^(res|tga|ico|ini|layout|menu|styles|jpg)$/i"
   DestinationFile
: "skins/{ARCHIVE_FILE_NAME}/{FILE}"
 Sounds
:
 - DenyExtension
: "/^txt$/i"
# For those who properly organise their mod packs :)
 - AcceptFilePath
: "/friends\\/.+\\.wav$/i"
   DestinationFile
: "{MATCHED_FILE_PATH}"
 - AcceptFilePath
: "/resource\\/.+\\.wav$/i"
   DestinationFile
: "{MATCHED_FILE_PATH}"
 - AcceptFilePath
: "/tenfoot\\/.+\\.(wav|mp3)$/i"
   DestinationFile
: "{MATCHED_FILE_PATH}"
# To compensate for unorganised sound packs. Please don't do this.
 - AcceptFilePath
: "/(camera1|voice_busy|voice_dialing|voice_ringing|warning).*\\.wav$/i"
   DestinationFile
: "resource/{MATCHED_FILE_PATH}"
 - AcceptFilePath
: "/(friend_join|friend_online|message|voice_hang_up).*\\.wav$/i"
   DestinationFile
: "friends/{MATCHED_FILE_PATH}"
 - AcceptFilePath
: "/game_ready.*\\.wav$/i"
   DestinationFile
: "servers/{MATCHED_FILE_PATH}"
 - AcceptFilePath
: "/(activation|add_favorite|focus|page|txting|volume_change|zoom_in).*\\.wav$/i"
   DestinationFile
: "tenfoot/resource/sounds/{MATCHED_FILE_PATH}"
 - AcceptFilePath
: "/amb.*\\.wav$/i"
   DestinationFile
: "tenfoot/resource/sounds/ambient/{MATCHED_FILE_PATH}"
# And if sounds are things like "'cool sound.wav' just rename to the right thing:)" then they're DOOMED!

Posts

None found

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
931 points Ranked 5604th
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
Main Config
AoM avatar
AoM username pic Joined 12y ago
Ripe Supporter AC:NL Manager UT2k4 Manager SN Manager Admin
Offline
36,172 points Ranked 113rd
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
Adding further GUI config

Submitter

Northern3D avatar
Northern3D username pic Joined 3y ago
PROBABLY DEAD
US Games Flag Affiliation: US Games
931 points Ranked 5604th
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

  • 714 Views
  • 0 Posts
  • 6mo Submitted
  • 4mo Modified
  • 5mo Updated

Scores

  • Not yet rated
Sign up to access this!

More from Submitter

WiPs by Submitter

bcp.crwdcntrl.net tracking pixel