A Windows performance and usability improvement project for oldschool users and enthusiasts
Go to file
Fierelier 8d923b8d89 Take precautions so set-perms.bat and unset-perms.bat are not ran as TrustedInstaller 2022-06-28 08:55:02 +02:00
api Allow running multiple instances of script 2022-06-28 08:37:43 +02:00
docgen Add """markdown""" docs 2022-01-02 20:07:01 +01:00
docs Update docs 2022-06-22 07:30:11 +02:00
mods Expand "disable file open warnings" 2022-06-24 20:18:10 +02:00
mods-online Add description to mods-online 2022-06-22 07:29:50 +02:00
mods-trustedInstaller Add documentation 2022-01-02 19:59:57 +01:00
path Example file in path\, so the folder is added. 2021-03-22 00:24:28 +01:00
.gitignore Allow running multiple instances of script 2022-06-28 08:37:43 +02:00
README.md Allow running multiple instances of script 2022-06-28 08:37:43 +02:00
run-online.bat Update run batch scripts to no longer depend on advancedrun 2022-06-28 08:11:28 +02:00
run-wim.bat Rename run.bat to run-wim.bat 2022-06-28 08:11:51 +02:00
run.py Allow running multiple instances of script 2022-06-28 08:37:43 +02:00
set-perms.bat Take precautions so set-perms.bat and unset-perms.bat are not ran as TrustedInstaller 2022-06-28 08:55:02 +02:00
ti-shell.bat Take precautions so set-perms.bat and unset-perms.bat are not ran as TrustedInstaller 2022-06-28 08:55:02 +02:00
unset-perms.bat Take precautions so set-perms.bat and unset-perms.bat are not ran as TrustedInstaller 2022-06-28 08:55:02 +02:00

README.md

Opus-NT

A windows homebrew kit and collection of mods. Can mod .WIM (this is where main-support is) and offline windows installations. Mods are written for 7 and up, but are likely to work with Vista and up. Certain parts are still untested, so bear with me.

Mods

View mod documentation - Can also be viewed locally, in a browser (index.html).

Prerequisites

How to use - Simple (Online)

Drag run-online.bat into ti-shell.bat. It will use RunAsTI to execute run.py, and apply all mods to your currently running system. If you want to know how it works, edit the .bat file.

How to use - Simple (.WIM)

Extract wimlib to Path\ (the folder is only added to %path% if you use ti-shell.bat). wimlib-imagex.exe should be in the main Path\ folder, alongside their libraries.

Drag run-wim.bat into ti-shell.bat. It will use RunAsTI to execute run.py, and apply all mods to your wished for wim file. If you want to know how it works, edit the .bat file.

If Python shows no exceptions, the script likely ran successfully.

If you want to edit offline media, or batch-process .WIMs, move on to How to use - Advanced.

Arguments:

run-wim.bat "wimpath" 1

Replace wimpath with the path to your .wim, and 1 with the index you want to modify, * for all. Both arguments are optional, though you cannot define an index without a wim. If you run the batch without any arguments, you will be asked for some.

How to use - Advanced

Execute ti-shell.bat to elevate to TrustedInstaller. Now execute run.py with some arguments, as SYSTEM or TrustedInstaller. Arguments work like this: arg="value". If working with .WIMs, make sure wimlib is in your %path%.

Arguments - .WIM:

  • wim: Point to a wim file (required)
  • index: Choose the index to apply to. Starts at 1, use * for all (required)
  • tmp: Set temporary folder

Example: run.py wim="E:\sources\install.wim" index=* - Applies tweaks to all indexes of E:\sources\install.wim.

Arguments - Offline media:

  • path: Point to a Windows install, likely a drive with a Windows folder (required)

Example: run.py path="D:" - Applies tweaks to D:\.

Arguments - Online:

None.

Example: run.py online

Arguments - General:

  • modpath: Folder to source mods from.

Example: run.py modpath="mods-trustedInstaller" wim="E:\sources\install.wim" index=* - Apply mods that require to be executed by TrustedInstaller to all indexes of E:\sources\install.wim.