Skip to content

Instantly share code, notes, and snippets.

@7cc
Created February 24, 2020 07:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 7cc/b4c21bac517e166312eb716af28db58e to your computer and use it in GitHub Desktop.
Save 7cc/b4c21bac517e166312eb716af28db58e to your computer and use it in GitHub Desktop.
amd switchable graphics, amdapfxx.exe
amdapfxx [-k] [-s filename] [-p pathname] [-v version number] [-r] -b filename
-k To sign or resign the AMD binary file
- Optionally use -o to specify binary name
-s filename of the XML content
- Can be used with -p -k and -o
- Use this parameter multiple times to merge XML Files.
- Use this parameter exactly once if -r is specified.
-b filename of the file to contain the Binary content.
- Required in all cases except system/oem binary to xml conversion.
-l filename of the progress log.
-p to include all .XML files in the specified directory
- may be used with "-s"
-r to reverse the conversion, Binary to XML, instead of the default, XML to Binary.
-sys used with -r option, convert system database to XML.
-oem used with -r option, convert oem database to XML.
-user used with -r option, convert user database to XML.
-ph used with -r option, print placeholder entries.
-v to print version string from the binary file
-u to specify this is a user XML file
-o to dump blob content to log file, need to specify blob file name with "-b"
-c specify Version string to use for blob file. Used with string following option: - "-c 8.77"
Usage:
To convert User XML File(s) into a User Binary File, use: -
atiapfxx -u -s file1 [-s file2 ...] -b fileX
To convert AMD XML File(s) into an Unsigned AMD Binary File, use: -
atiapfxx -s file1 [-s file2 ...] -b fileX
To convert AMD XML File(s) into a Signed AMD Binary File, use: -
atiapfxx -k -s file1 [-s file2 ...] -b fileX
To Sign or Re-Sign an AMD Binary File, use: -
atiapfxx -k -b fileX
To convert a Binary File to an XML File, use: -
atiapfxx -r -sys -s file1
To convert all files in the current directory, use: -
atiapfxx -p filepath -b fileX
atiapfxx -r -sys -s Sys.xml
atiapfxx -k -s Sys.xml -b Sys.blb
atiapfxx -r -user -s User.xml
atiapfxx -u -s User.xml -b User.blb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment