Script Viewer 1.3.2
4.292
100
4.292
100
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:
Potential future additions:
Changelog:
1.3.2
1.3.1
1.3
1.2.1
1.2
1.1.1
1.1
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!)
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!)
Poprvé nahráno: 29. duben 2021
Poslední aktulizace: 03. srpen 2023
Last Downloaded: před jedním dnem
All Versions
62 Komentářů
More mods by pongo1231:
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:
Potential future additions:
Changelog:
1.3.2
1.3.1
1.3
1.2.1
1.2
1.1.1
1.1
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!)
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!)
Poprvé nahráno: 29. duben 2021
Poslední aktulizace: 03. srpen 2023
Last Downloaded: před jedním dnem
Buttons not response... VER_1_0_2944_0
Doesn't seem to be working for me either, also on 2944. This is my scriptviewerlog.txt:
[z:/media/hdd/projects/V.ScriptViewer/ScriptViewer/Lib/fwTimer.cpp] Found rage::fwTimer::sm_bUserPause
[z:/media/hdd/projects/V.ScriptViewer/ScriptViewer/Lib/scrThread.cpp] Found rage::scrThread::sm_Threads
[z:/media/hdd/projects/V.ScriptViewer/ScriptViewer/Lib/scrThread.cpp] Found rage::scrThread::_sm_cwThreads
[z:/media/hdd/projects/V.ScriptViewer/ScriptViewer/Lib/scrThread.cpp] Found rage::scrThread::sm_Stacks
[z:/media/hdd/projects/V.ScriptViewer/ScriptViewer/Lib/scrThread.cpp] Found rage::scrThread::_sm_cwStacks
[z:/media/hdd/projects/V.ScriptViewer/ScriptViewer/Memory/Hwnd.cpp] Found hWnd
[z:/media/hdd/projects/V.ScriptViewer/ScriptViewer/Memory/ScriptRoutineTracer.cpp] Hooked rage::scrThread::_RunInstr
[z:/media/hdd/projects/V.ScriptViewer/ScriptViewer/Memory/ScriptRoutineTracer.cpp] Found ENTER instruction byte to trap in rage::scrThread::_RunInstr
[z:/media/hdd/projects/V.ScriptViewer/ScriptViewer/Memory/ScriptRoutineTracer.cpp] Found LEAVE instruction byte to trap in rage::scrThread::_RunInstr
[z:/media/hdd/projects/V.ScriptViewer/ScriptViewer/Main.cpp] Hooked WndProc
[z:/media/hdd/projects/V.ScriptViewer/ScriptViewer/Main.cpp] Hooked rage::scrThread::Update
[z:/media/hdd/projects/V.ScriptViewer/ScriptViewer/Main.cpp] Swap Chain was invalid, aborting!
@Hydraxonn @BOPOHua @ogremagi Odd, give the newest version a try (should be up in a short bit)
@pongo1231 Same problem, unfortunately.
[fwTimer.cpp] Found rage::fwTimer::sm_bUserPause
[scrThread.cpp] Found rage::scrThread::sm_Threads
[scrThread.cpp] Found rage::scrThread::_sm_cwThreads
[scrThread.cpp] Found rage::scrThread::sm_Stacks
[scrThread.cpp] Found rage::scrThread::_sm_cwStacks
[ScriptRoutineTracer.cpp] Hooked rage::scrThread::_RunInstr
[ScriptRoutineTracer.cpp] Found ENTER instruction byte to trap in rage::scrThread::_RunInstr
[ScriptRoutineTracer.cpp] Found LEAVE instruction byte to trap in rage::scrThread::_RunInstr
[Hwnd.cpp] Found hWnd
[Main.cpp] Hooked WndProc
[Main.cpp] Hooked rage::scrThread::Update
[Main.cpp] Swap Chain was invalid, aborting!
@pongo1231 Still happening, checked serveral versions all got this bug. Didn't install other mods. Maybe it's because my localization settings?
@Hydraxonn Do you have any other mods installed? Are you running the game in fullscreen mode? Also did you set the DirectX version to 10/10.1 or 11 in the graphics settings? Can you upload your asiloader.log and scripthook.log files to pastebin and link them?
@ogremagi Same as above, please upload your asiloader.log and scripthook.log files. Is your game set to another language? If so, try temporarily starting the game up with english and see if the mod loads up that way.
I have many, many other mods installed. I'll link screenshots of my ASIs and scripts folder. I'm on DX11, you have to be to use NVE. The game is running in fullscreen. Here's my ASILoader.log:https://pastebin.com/trMJrNTX
here's my scripthookv.log: https://pastebin.com/mMXuqgsM
and here are my game files:https://imgur.com/a/R0h4Hj2
Thanks for looking into this!
@Hydraxonn Would it be possible to try running the mod without NVE? I suspect that might be the culprit. Otherwise it's likely one of the other mods causing the conflict, making the mod crash the game. I'll see if I can make it more compatible with other mods.
@pongo1231 I did some troubleshooting and I believe I isolated what causes the crash (at least on my machine). If I load into storymode with "fullscreen" enabled in graphics settings, it crashes. If I load into storymode with "windowed" or "windowed borderless" mode enabled, it does not crash. This occurs regardless of directx version as well as any other mods installed (I tried directx 10 and 11 as well as a stock game folder). The weird part is that if I load into storymode in "windowed" or "windowed borderless" mode, and then switch to "fullscreen" mode after storymode loads, the mod works with no problem. So it seems the mod works perfectly fine in "fullscreen" mode, but it must not be enabled as the mod loads (which I assume occurs after the player presses the storymode button in the menu). I am playing on Epic Games Store by the way, so people on Steam or other launchers might not be able to change their graphics settings before they load into storymode as a temporary solution.
@slav_exe Interesting, I don't run the game at fullscreen so that could very well be the cause. I'll take a shot at fixing it later. Thanks for into it!
@Pongo1231 for some reason my mouse is stuck in position when the UI is open, using game version 2944, in windowed mode
My log shows this:
[fwTimer.cpp] Found rage::fwTimer::sm_bUserPause
[scrThread.cpp] Found rage::scrThread::sm_Threads
[scrThread.cpp] Found rage::scrThread::_sm_cwThreads
[scrThread.cpp] Found rage::scrThread::sm_Stacks
[scrThread.cpp] Found rage::scrThread::_sm_cwStacks
[ScriptRoutineTracer.cpp] Hooked rage::scrThread::_RunInstr
[ScriptRoutineTracer.cpp] Found ENTER instruction byte to trap in rage::scrThread::_RunInstr
[ScriptRoutineTracer.cpp] Found LEAVE instruction byte to trap in rage::scrThread::_RunInstr
[Hwnd.cpp] Found hWnd
[Main.cpp] Hooked WndProc
[Memory.cpp] Couldn't find pattern "48 89 5C 24 08 48 89 74 24 10 57 48 83 EC 20 80 B9 46 01 00 00 00"
@HKH191 Not sure what's causing that to occur on some setups. Are you running any other mods by any chance? I can't replicate it unfortunately.
@B1gstinker Is that on the newest game build? Also do you have any other mods running?
@pongo1231 yeah mainly running my own mods, but i dont think that would be the cause, but ill try to find the cause in any case
@HKH191 Mine is running fine, version 2944
I'm running fine, but it makes my trainer script cursor move very fast, can this be fixed?
@JoyLucien Sorry for the late response, which trainer are you using? Would be great to replicate and looking into it.
@pongo1231 menyoo and a trainer made by people from my own country. It will also make the trainer's font bold. If I use num4, 6, 8, 2 to move the cursor, it is normal, but using small arrows will become very fast.
@pongo1231 Also getting error
[06:49:44] CORE: An exception occurred while executing 'ScriptViewer.asi' (0x00007FFE7B892AF0), id 55
I also get an error window that pops up when pressing Ctrl + O