The Game Modding Community - Since 2001

Just Cause 2

A Config Script for GameBanana

Updates

Revision 2
  • Optimization Changed all '{MATCHED_FILE_PATH}/{FILE}' to just '{MATCHED_FILE_PATH}' as they function identically.
Northern3D avatar
Northern3D username pic Joined 3y ago
PROBABLY DEAD
US Games Flag Affiliation: US Games
1,356 points Ranked 3810th
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
4mo
Revision 1
  • Addition Added DLC modding support.
Northern3D avatar
Northern3D username pic Joined 3y ago
PROBABLY DEAD
US Games Flag Affiliation: US Games
1,356 points Ranked 3810th
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
4mo
53 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
52
53
---
# YAML Just Cause 2 Config
Constants
:
 "{GAME_NAME}"
: Just Cause 2
Setup
:
# Game install
- Command
: Prompt
  Parameters
:
   Type
: Dir
   AliasName
: "{JUSTCAUSE2_PATH}"
   DisplayName
: Where is your {JUSTCAUSE2_NAME} folder?
   DefaultPaths
:
- Program Files (x86)/Steam/steamapps/common/Just Cause 2
   - Program Files/Steam/steamapps/common/Just Cause 2
  ErrorMessage
: "The {GAME_NAME} folder you specified could not be accessed"
- Command
: CheckExists
  Parameters
:
   Path
: "{JUSTCAUSE2_PATH}/JustCause2.exe"
  ErrorMessage
: "The {GAME_NAME} folder you specified is invalid"
- Command
: ChangeDir
  Parameters
:
   Path
: "{JUSTCAUSE2_PATH}"
  ErrorMessage
: "Access was denied to your {GAME_NAME} folder"
FileRules
:
 Game files
:
 - DenyExtension
: "/^exe$/i"
 - DenyExtension
: "/^txt$/i"
# Find mods that already follow the valid structure for 'archives_win32' mods.
 - AcceptFilePath
: "/archives_win32\\/.+\\.(arc|tab|bin|blz|eez|dds|rbm)$/i"
   DestinationFile
: "{MATCHED_FILE_PATH}"
# Find mods that already follow the valid structure for 'dropzone' mods.
 - AcceptFilePath
: "/dropzone\\/.+\\.(arc|tab|bin|blz|eez|dds|rbm)$/i"
   DestinationFile
: "{MATCHED_FILE_PATH}"
# Find mods that already follow the valid structure for 'DLC' mods.
 - AcceptFilePath
: "/DLC\\/.+\\.(arc|tab|bin|blz|eez|dds|rbm)$/i"
   DestinationFile
: "{MATCHED_FILE_PATH}"
# If no specific directory is listed, it's most likely for dropzone.
 - AcceptExtension
: "/^(arc|tab|bin|blz|eez|dds|rbm)$/i"
   DestinationFile
: "dropzone/{MATCHED_FILE_PATH}"
 Skins
:
 - DenyExtension
: "/^exe$/i"
 - DenyExtension
: "/^txt$/i"
# Find mods that already follow the valid structure for 'archives_win32' mods.
 - AcceptFilePath
: "/archives_win32\\/.+\\.(arc|tab|bin|blz|eez|dds|rbm)$/i"
   DestinationFile
: "{MATCHED_FILE_PATH}"
# Find mods that already follow the valid structure for 'dropzone' mods.
 - AcceptFilePath
: "/dropzone\\/.+\\.(arc|tab|bin|blz|eez|dds|rbm)$/i"
   DestinationFile
: "{MATCHED_FILE_PATH}"
# Find mods that already follow the valid structure for 'DLC' mods.
 - AcceptFilePath
: "/DLC\\/.+\\.(arc|tab|bin|blz|eez|dds|rbm)$/i"
# If no specific directory is listed, it's most likely for dropzone.
 - AcceptExtension
: "/^(arc|tab|bin|blz|eez|dds|rbm)$/i"
   DestinationFile
: "dropzone/{MATCHED_FILE_PATH}"

Posts

  • 4mo
    AoM avatar
    AoM username pic Joined 12y ago
    Ripe Supporter AC:NL Manager UT2k4 Manager SN Manager Admin
    Likely Asleep
    33,039 points Ranked 127th
    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
    You shouldn't need to do {MATCHED_FILE_PATH}/{FILE}
    {MATCHED_FILE_PATH} already includes the file name.
    Thar be snow. avatar
    Mantra
    Thar be snow.
  • 4mo
    AoM avatar
    AoM username pic Joined 12y ago
    Ripe Supporter AC:NL Manager UT2k4 Manager SN Manager Admin
    Likely Asleep
    33,039 points Ranked 127th
    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 don't know that the userprofile part of the config is going to work as intended. Also, you do multiple directory changes, which I'd have to double check.
    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,356 points Ranked 3810th
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,356 points Ranked 3810th
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!
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

  • 428 Views
  • 4 Posts
  • 4mo Submitted
  • 2mo Modified
  • 4mo 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.

Interested? Sign up now!

Already a Bananite? Login

WiPs by Submitter

bcp.crwdcntrl.net tracking pixel