Loading...

Script Viewer 1.3.2

Download
pongo1231
5083eb gta5 mkc3xhbdxa

4.285

Script Viewer lets you easily view, pause and kill game scripts through an user interface (powered by ImGui) along with offering you the ability to start new scripts.

Mainly intended for toying around but it can also be used for debugging and educational purposes. :p

Might get extended to do more neat stuff in the future.

Installation:
Make sure you have ScriptHookV installed!
After that it's as simple as dragging the ScriptViewer.asi into your GTA directory.

Usage:
Simply press CTRL + O once you are in-game to toggle the overlay.
The game will stop running and all mouse and keyboard inputs will be redirected to the mod while the overlay is open (as long as the corresponding options are turned on).

Known issues:
  • Script reloading is borked for now, unloading the mod WILL cause a crash (unless recompiled with RELOADABLE macro set)


Potential future additions:
  • Ability to view and edit global / local values


Changelog:
1.3.2
  • Attempt to fix mod crashing on some setups

1.3.1
  • Added compatibility with latest game build (b2944)

1.3
  • Added the ability to record execution times of each script (along with the ability to see the instruction pointer's state for each trace for every non-asi script as a bonus)
  • Moved to table items (from the previously used list item) for a cleaner presentation
  • Added a component view and splitted mod options to their own component

1.2.1
  • Updated WndProc hook to improve compatibility with specific platforms (hopefully fixes the mod for "Rage Plugin Hook" users)
  • Added option to see stack size of each (non-asi) script
  • Added option to toggle visibility of execution times, off by default

1.2
  • Added pausing and profiling support for asi scripts
  • Added option to switch between highest and average execution time profiling
  • Fixed pausing / killing of script threads also affecting other threads with the same name

1.1.1
  • Fixed a crash when minimizing the game with the overlay open
  • Fixed scripts marked as "killed" not actually getting killed until the overlay was closed
  • Fixed script execution times being displayed in "ns" (when they're actually measured in "ms")
  • Fixed more race conditions which could occur when pausing a script


1.1
  • Added simple profiling! It'll show you the highest execution time of a script within a specific timeframe (and regularly refresh it), doesn't work for asi scripts (yet)
  • Added options to not block the game / keyboard inputs while the overlay is open
  • Fixed resizing of the main window not working
  • Fixed a potential crash when trying to kill an asi script
  • Fixed a race condition when pausing / unpausing a script


The mod is open-source and licensed with the MIT license.
Github

Feel free to do whatever you want with it (and definitely don't hesitate to contact me for any remarks / questions / whatever you have about the mod!)
Show Full Description

First Uploaded: Xoves 29 de Abril de 2021
Last Updated: Xoves 3 de Agosto de 2023
Last Downloaded: 1 día

All Versions

 1.3.2 (current)

1.325 downloads , 300 KB
Xoves 3 de Agosto de 2023

 1.3.1

54 downloads , 200 KB
Mércores 2 de Agosto de 2023

 1.3

1.872 downloads , 200 KB
Sábado 22 de Maio de 2021

 1.2.1

312 downloads , 200 KB
Domingo 9 de Maio de 2021

 1.2

162 downloads , 200 KB
Mércores 5 de Maio de 2021

 1.1.1

198 downloads , 200 KB
Domingo 2 de Maio de 2021

 1.1

141 downloads , 200 KB
Xoves 29 de Abril de 2021

 1.0

219 downloads , 200 KB
Xoves 29 de Abril de 2021

62 Comments