Cross-platform Rust implementation of ASUS' Windows-only BIOS renamer utility.
Modern ASUS motherboards expect BIOS updates to have a specific name; however, ASUS uses more descriptive, but incompatible, file names in their official downloads. To resolve this, they also provide a small tool which will rename the file to match what the target motherboard expects.
Unfortunately, the official tool from ASUS is Windows-only. If, for example, the target motherboard is being used for a Linux server, and one’s other computers are Macs or Linux-based, then the official tool cannot be used to prepare BIOS updates.
That's where this tool comes in! Utilizing Rust and a platform-agnostic design, it can be built and ran on Windows, macOS, and Linux; providing the exact same functionality as the official tool regardless of OS.
Before you can use this, you need to compile the code to create an executable.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Once you install Rust, you will have the build toolchain. You can confirm that by running these commands.
cargo --version
# cargo 1.66.0 (d65d197ad 2022-11-15)
rustc --version
# rustc 1.66.0 (69f9c33d7 2022-12-12)
Go to the root of this repo and run cargo build
cd bios_renamer_for_asus
cargo build
Drag the BIOS file to be renamed onto the application icon. The application will automatically rename the file.
- Navigate to the project directory
- Execute the program by running
cargo run -- <BIOS_FILE>
where<BIOS_FILE>
is the path to the target file. - The file will be renamed and can be found in the project directory. Run
cargo run -- --help
to find out how to control this behavior.