/p = This is used when a game can’t load properly when it is loading AGTH from it’s launch. This is usually needed for games that are loading off of two .exe files (like Studio E.go!/Blue Impact games) or ones that may be making some sort of a protection check at launch.
This is how to use it:
1. Create a shortcut of the agth.exe file, instead of a shortcut of the game.exe file.
2. Load the game up normally.
3. Now that the game is running, you need to find its process ID. Do Ctrl+Alt+Del and click the Process tab. Go to View > Select Columns and put a check next to “PID”. Look for the process of your game .exe running, and find out the PID number next to it (it’ll probably be 3 or 4 digits long).
4. Go to your shortcut agth.exe file. Right click > Properties, and in the Target: line add to the end /c /p#### . The #’s represent the PID number you found. So if your game had a PID of 3862, you will have /c /p3862.
5. Load the shortcut agth.exe. It’ll now automatically hook itself to the game file you already have running. Use it now as you normally would. You can also add other parameters to the agth.exe Target: line if needed. Remember, everytime you load the game the ID number will change, so you will have to check it and change it in the agth.exe shortcut’s Target: line each time you load the game.
/pn = As of AGTH Ver. 2007.5.2, now you may also use the process name to attach to a game after it is running, instead of the process ID number. This way you don’t have to change the process ID number every time. Use /pn followed directly by the process name. Example: /pngame.exe
Make a shortcut of the agth.exe (I suggest putting this shortcut file in the game folder). Right click on the shortcut to agth.exe and add at the end of the target line /c /pngame.exe and any other parameters you may need. Load your game without AGTH. After it is running, then run your agth shortcut.