Welcome to Astra
================

Astra is a Luau workspace for Vortex.

Getting started
---------------
1. Create a new folder and add it to your Windows Security exclusions.
2. Extract the entire ZIP into the folder. Do not run it from
   inside the ZIP.
3. Start Vortex and run .\Loader.exe. If Vortex needs patching, the loader
   will ask before closing it, patching Vortex.exe, and reopening it.
4. To patch manually, close Vortex, open a terminal in the extracted Astra
   folder, and run:
   .\Loader.exe "C:\path\to\Vortex.exe"
   Replace the example with the full path to Vortex.exe. Keep the path in
   quotation marks, especially if any folder name contains spaces.
5. After manual patching, start Vortex and run .\Loader.exe again.
6. Wait for Astra to report Ready, then join a game. Press Insert
   to open the internal editor and execute a script.
   If the editor does not appear, resize the Vortex window once and try again.

The patch is reapplied after each Vortex update.

Default shortcuts
-----------------
Insert  Internal editor and settings
F9      Developer console
F10     Packet viewer

Shortcuts can be changed in the internal settings.

Included folders
----------------
Astra.dll The Astra library paired with this Loader.exe build. Keep both files
          from the same download; Loader.exe checks the library before use.
Bin       Settings, fonts, icons, shaders, UI library, and decompiler.
Scripts   Scripts available in the internal editor's Scripts tab.
Autoexec  Scripts to run automatically after you join a game.

Scripts and diagnostics
-----------------------
The Scripts tab includes loaders for Infinite Yield, UnnamedESP, Dex, and other
utilities. Add your own scripts to Scripts.

Use the developer console to inspect script errors and output.

You can save any Vortex game and open it in Vortex Studio with saveinstance(). The result will be in Workspace. 

Troubleshooting
---------------
- If Vortex reports an update, close it and patch the new Vortex.exe again.
- Add the extracted Astra folder to exclusions.
- Report a bug in the Astra Discord, include everything in the Astra Logs folder, along with %localappdata%\Vortex\logs\crash.log (or most recent log if there is no crash)

Downloads and support
---------------------
Latest Vortex downloads: https://getastra.win/download/vortex
Vortex documentation:   https://getastra.win/docs/vortex
Discord:                https://discord.gg/Xb7dNvpVgt
