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

Livestreams

Germany 0

Ladders Top 10

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

Replay highlight

VS
  • U.S. Forces flag cblanco ★
  • The British Forces flag 보드카 중대
  • Oberkommando West flag VonManteuffel
  • Ostheer flag Heartless Jäger
uploaded by XXxxHeartlessxxXX

Board Info

661 users are online: 661 guests
3 posts in the last 24h
6 posts in the last week
38 posts in the last month
Registered members: 49058
Welcome our newest member, greveling99nl
Most online: 2043 users on 29 Oct 2023, 01:04 AM