Login

russian armor

Help With Archive.exe To Change Keybinds

10 May 2022, 09:42 AM
#1
avatar of Natustell

Posts: 9

I need to change the keybinds and I don't want to use AHK. I extracted Data.sga and made the necessary changes to keydefaults.lua. I believe that Archive.exe is the only way to alter the existing Data.sga or create a new one.

The following information is given when it produces an error:


Archive.exe Usage:

Archive.exe -a <archivefile> [-v] [-c <buildfile> -r <rootpath> [-m <version>] | -s <signkey> | -l | -w <wildcard> | -t | -e <location>]

Required Arguments

-a <archivefile> - Specify the name of the archive to operate on.

Optional Arguments, at least one required

-c <buildfile> - Create an archive <archivefile> using the <buildfile> input file.

-r <rootpath> - Use the <rootpath> as the source folder to locate files listed in the <buildfile>. (required when -c used)

-s <signkey> - Resign the archive <archivefile> using key <signkey>.

-l - List the contents of the archive <archivefile>.

-w <wildcard> - List the contents of the archive <archivefile> using wildcard <wildcard>.

-t - Test the archive File, Check the CRC of each file.

-e <extract location> - Extract the archive contents to the folder <extract location>.

-v - Verbose output log all warnings/errors.

-p <platform> - i32|x32 Specify platform intel32 or xenon32. Defaults to current platform.

-m <version> - Specify the archive version to create. Defaults to latest version.

e.g.:

archive -c d:\projects\coh2\Tools\Archive\filestoadd.txt -a d:\projects\coh2\Tools\Archive\archive.sga -r d:\projects\coh2\Tools\Archive


I think that the arguments -a, -c, and -r can be used to add files to an existing SGA archive. This is what is shown in the example given.

Does anyone know how "filestoadd.txt" should be formatted?
1 user is browsing this thread: 1 guest
Diversity Cup Grand Final
Event in Progress

Ladders Top 10

  • #
    Steam Alias
    W
    L
    %
    Streak
Data provided by Relic Relic Entertainment

Replay highlight

VS
  • U.S. Forces flag shadics ARG.
  • U.S. Forces flag TüMe
  • Ostheer flag The101stAirBorne
  • Ostheer flag Clororaa
uploaded by TüMe

Board Info

221 users are online: 221 guests
10 posts in the last 24h
111 posts in the last week
495 posts in the last month
Registered members: 36422
Welcome our newest member, maxie4
Most online: 1221 users on 25 Feb 2020, 12:03 PM