View Full Version : SysInfo plugin v0.1.2.9
Groucho2004
11th August 2020, 20:08
Does that take into account current user allowed Disk Quota ?Don't know. I used the IOCTL APIs (DeviceIoControl(), GetDiskFreeSpaceEx(), GetVolumeInformation(), ...). I'll try to find out more.
StainlessS
11th August 2020, 20:20
Thanks GG, just thought it might be worth mentioning.
(It is quite likely that most non admin users in a domain based network have a quota/limit on disk space EDIT: On a file server, or non admin on non network machine)
Groucho2004
11th August 2020, 21:41
Does that take into account current user allowed Disk Quota ?OK, I read up on it and since I'm using the "pTotalNumberOfFreeBytes" parameter of GetDiskFreeSpaceEx(), user quota is taken into account as far as I can see.
StainlessS
11th August 2020, 21:59
Thanks GG.
Groucho2004
9th March 2021, 16:28
v0.1.2.8
- Updated libcpuid (Intel Whiskey Lake-U CPUs, AMD Ryzen Cezanne)
- Updated AVS header files
Groucho2004
31st March 2021, 18:36
v0.1.2.9
- Updated libcpuid (Intel Rocket Lake, AMD Ryzen Milan)
screamingtrees
1st April 2022, 22:00
Is there still a download somewhere of the older (1.1.5) version that works with StainlessS' avsinit.avsi? I keep getting the "i don't know what AvsPlusVersionNumber means" error when trying to use Srestore.
StainlessS
1st April 2022, 22:20
Here is output from my AvsInit on x64, [similar-ish for x86]
00000157 22:12:54 AvsInit:
00000158 22:12:54 AvsInit: Auto load plugins script ENTRY
00000159 22:12:54 AvsInit:
00000160 22:12:54 AvsInit_ShowInfo:
00000161 22:12:54 AvsInit_ShowInfo: AvsInit_Version = 1.10
00000162 22:12:54 AvsInit_ShowInfo: GScript Available = AVS+
00000163 22:12:54 AvsInit_ShowInfo: RT_Stats Version = 2.00Beta13
00000164 22:12:54 AvsInit_ShowInfo: SysInfo Version = 0.129000
00000165 22:12:54 AvsInit_ShowInfo: SysInfo.dll DIR = C:\VideoTools\AvisynthRepository\AVSPLUS372_x64\plugins
00000166 22:12:54 AvsInit_ShowInfo: VersionString = AviSynth+ 3.7.2 (r3642, master, x86_64)
00000167 22:12:54 AvsInit_ShowInfo: SetMemoryMax = 4096
00000168 22:12:54 AvsInit_ShowInfo: Avisynth Bitness = 64
00000169 22:12:54 AvsInit_ShowInfo: WorkingDir = C:\VideoTools\AvisynthRepository\AVSPLUS372_x64\plugins\
00000170 22:12:54 AvsInit_ShowInfo: ProcessName = C:\NON-INSTALL\VDUB\VDUB2\VirtualDub64.exe
00000171 22:12:54 AvsInit_ShowInfo: ParentProcessName = explorer.exe
00000172 22:12:54 AvsInit_ShowInfo: OSVersionString = Windows 10 (x64) (Build 18363)
00000173 22:12:54 AvsInit_ShowInfo: OSVersionNumber = 10.000000
00000174 22:12:54 AvsInit_ShowInfo: OS Bitness = 64
00000175 22:12:54 AvsInit_ShowInfo: CPUName = Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz / Coffee Lake (Core i7)
00000176 22:12:54 AvsInit_ShowInfo: Cores = 06:12 (Phy:Log)
00000177 22:12:54 AvsInit_ShowInfo: CPU Extensions = MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, FMA3, RDSEED, ADX, AVX, AVX2
00000178 22:12:54 AvsInit_ShowInfo: Total Memory = 32620MB
00000179 22:12:54 AvsInit_ShowInfo: Avail Memory = 28436MB'
00000180 22:12:54 AvsInit_ShowInfo: Screen Res = 3840x2160
00000181 22:12:54 AvsInit_ShowInfo: Screen BitsPerPixel = 32
00000182 22:12:54 AvsInit_ShowInfo: Time = Friday 01 April 2022 22:12:54[GMT Summer Time]
00000183 22:12:54 AvsInit_ShowInfo: User TEMP Dir = C:\Users\steve\AppData\Local\Temp
00000184 22:12:54 AvsInit_ShowInfo: ComSpec = C:\Windows\system32\cmd.exe
00000185 22:12:54 AvsInit_ShowInfo: Computer Name = OMEN-W10P5
00000186 22:12:54 AvsInit_ShowInfo: User Name = steve
Get DebugView here if you dont have it.
https://docs.microsoft.com/en-us/sysinternals/downloads/debugview
EDIT:
And a little bit of AvsInit.avsi v1.10
Function SystemInfoVersion() { try{v=SysInfoVersion}catch(msg){v=-1.0} return v } # v = -1.0, SysInfo not installed
Function RT_StatsVersion() { try{v=RT_Version}catch(msg){v=-1.0} return v } # v = -1.0, RT_Stats not installed
Function GScriptExists() { Return RT_FunctionExist("GScript") }
Function FuncNameExists(String Fn) { Return RT_FunctionExist(fn) }
Function IsAvs26() { Return AI_IsAvs26 }
Function IsAvsPlus() { Return AI_IsAvsPlus||FindStr(VersionString," Neo")!=0 }
Function SystemEnvTemp() { Return SI_GetEnvVar("TEMP") } # Path to USER System environment TEMP folder
Function SystemEnvComSpec() { Return SI_GetEnvVar("COMSPEC") } # Path to Cmd.exe, eg "C:\Windows\system32\cmd.exe"
Function SystemEnvComputerName() { Return SI_GetEnvVar("COMPUTERNAME") } # System environment Commputer Name eg "Colossus"
Function SystemEnvUserName() { Return SI_GetEnvVar("USERNAME") } # System environment User Name eg "God".
Function PlusBuildNumber() { Return AI_AvsPlusBuildNumber }
Function AvsPlusVersionNumber() { Return AI_AvsPlusBuildNumber } # Suggest Deprecated. Same as PlusBuildNumber
Function IsAvsNeo() { Return FindStr(VersionString," Neo")!=0} # Suggest Deprecated.
If DebugView outputs nothing like above, then AvsInit.avsi may not be working ... or something ???
screamingtrees
1st April 2022, 23:20
How do I load the script into DebugView?
StainlessS
1st April 2022, 23:34
Just run debugview in background,
open any avs script in eg vdub2.
EDIT:
Well any script that uses any external plugin.
eg
BlankClip.RT_subtitle("Hello World")
screamingtrees
1st April 2022, 23:40
I did as you said. Nothing shows up in the debugview window. I'm trying to use 32-bit everything on 64-bit windows. Avisynth+ v2772. I used avsrepo to update my dlls.
StainlessS
1st April 2022, 23:42
see previous edit
ie
EDIT:
Well any script that uses any external plugin.
eg
BlankClip.RT_subtitle("Hello World")
EDIT: I dont use AvsRepo, no idea what it does, maybe ChaosKing could comment.
screamingtrees
1st April 2022, 23:51
I used your code and still I get nothing in DebugView (but at least I know RT_stats is working now since the Hello World code worked in Vdub)
StainlessS
1st April 2022, 23:54
Well wherever your plugins directory is, does it contain "AvsInit.avsi" ?
EDIT:
eg VDub2 x86, uses x86 plugins , Vdub2 x64 uses x64 plugins,
you need AvsInit.avsi, and appriopriate SysInfo64.dll or SysInfo32.dll and RT_Stats.dll (x86 or x64), as bare minimum in each of x86 or x64 plugins.
EDIT:
And a check on Debugview working,
V=RT_VersionString
RT_DebugF("RT_Stats Version = %s",V,name="Screamingtrees_Test: ")
BlankClip.RT_subtitle("Hello World RT_Stats " + V)
return Last
screamingtrees
2nd April 2022, 00:01
https://i.imgur.com/RUrD44Z.png
-see the path in the title bar.
https://i.imgur.com/0vdzBmx.png
-avisynth plugin directory
Thanks for your help :confused:
StainlessS
2nd April 2022, 00:15
What about this here thingy
V=RT_VersionString
Bits = SI_ProcessBitness # 32 or 64
RT_DebugF("RT_Stats Version = %s : Bits = %d",V,Bits,name="Screamingtrees_Test: ")
BlankClip.RT_subtitle("Hello World RT_Stats %s : bits = %d",V,bits)
return Last
screamingtrees
2nd April 2022, 00:19
V=RT_VersionString
RT_DebugF("RT_Stats Version = %s",V,name="Screamingtrees_Test: ")
BlankClip.RT_subtitle("Hello World RT_Stats " + V)
return Last
Yeah that printed out "[3616] Screamingtrees_Test: RT_Stats Version = 1.43" in debugview.
StainlessS
2nd April 2022, 00:22
You are better off with v2.0Beta13:- https://www.mediafire.com/file/xa3t1wx234gyzfq/RT_Stats_25%252626_x86_x64_dll_v2.00Beta13_20201229.zip/file
And a bit more
V=RT_VersionString
Bits = SI_ProcessBitness # 32 or 64
SI_Path = SI_ModulePath
RT_DebugF("RT_Stats Version = %s\nBits = %d\nSI_Path=%s",V,Bits,SI_Path,name="Screamingtrees_Test: ")
BlankClip(width=1024).RT_subtitle("Hello World RT_Stats %s\nbits = %d\nSI_Path=%s",V,bits,SI_Path)
return Last
Mine says [yours should be for x86, mine is x64]
00001390 00:21:19 Screamingtrees_Test: RT_Stats Version = 2.00Beta13
00001391 00:21:19 Screamingtrees_Test: Bits = 64
00001392 00:21:19 Screamingtrees_Test: SI_Path=C:\VideoTools\AvisynthRepository\AVSPLUS372_x64\plugins
screamingtrees
2nd April 2022, 00:36
00000001 0.00000000 [9916] Screamingtrees_Test: RT_Stats Version = 2.00Beta13
00000002 0.00002490 [9916] Screamingtrees_Test: Bits = 32
00000003 0.00004660 [9916] Screamingtrees_Test: SI_Path=%USERPROFILE%\Downloads\UniversalAvisynthInstaller_20210119\AvisynthRepository\AVSPLUS010_x86\plugins
real.finder
2nd April 2022, 00:37
Is there still a download somewhere of the older (1.1.5) version that works with StainlessS' avsinit.avsi? I keep getting the "i don't know what AvsPlusVersionNumber means" error when trying to use Srestore.
just use https://github.com/realfinder/AVS-Stuff/blob/master/avs%202.5%20and%20up/Zs_RF_Shared.avsi
StainlessS
2nd April 2022, 00:42
R.F. post should fix it, if you have no use for AvsInit.
I note that AVSPLUS101_x86 is VERY old version AVS+.
Current version a LOT better.
00001822 00:36:56 AvsInit_ShowInfo:
00001823 00:36:56 AvsInit_ShowInfo: AvsInit_Version = 1.10
00001824 00:36:56 AvsInit_ShowInfo: GScript Available = AVS+
00001825 00:36:56 AvsInit_ShowInfo: RT_Stats Version = 2.00Beta13
00001826 00:36:56 AvsInit_ShowInfo: SysInfo Version = 0.129000
00001827 00:36:56 AvsInit_ShowInfo: SysInfo.dll DIR = C:\VideoTools\AvisynthRepository\AVSPLUS372_x64\plugins
00001828 00:36:56 AvsInit_ShowInfo: VersionString = AviSynth+ 3.7.2 (r3642, master, x86_64)
00001829 00:36:56 AvsInit_ShowInfo: SetMemoryMax = 4096
00001830 00:36:56 AvsInit_ShowInfo: Avisynth Bitness = 64
00001831 00:36:56 AvsInit_ShowInfo: WorkingDir = C:\VideoTools\AvisynthRepository\AVSPLUS372_x64\plugins\
00001832 00:36:56 AvsInit_ShowInfo: ProcessName = C:\NON-INSTALL\MeGUI_x64\tools\ffmpeg\ffmpeg.exe
00001833 00:36:56 AvsInit_ShowInfo: ParentProcessName = cmd.exe
00001834 00:36:56 AvsInit_ShowInfo: OSVersionString = Windows 10 (x64) (Build 18363)
00001835 00:36:56 AvsInit_ShowInfo: OSVersionNumber = 10.000000
00001836 00:36:56 AvsInit_ShowInfo: OS Bitness = 64
00001837 00:36:56 AvsInit_ShowInfo: CPUName = Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz / Coffee Lake (Core i7)
00001838 00:36:56 AvsInit_ShowInfo: Cores = 06:12 (Phy:Log)
00001839 00:36:56 AvsInit_ShowInfo: CPU Extensions = MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, FMA3, RDSEED, ADX, AVX, AVX2
00001840 00:36:56 AvsInit_ShowInfo: Total Memory = 32620MB
00001841 00:36:56 AvsInit_ShowInfo: Avail Memory = 28134MB'
00001842 00:36:56 AvsInit_ShowInfo: Screen Res = 2560x1440
00001843 00:36:56 AvsInit_ShowInfo: Screen BitsPerPixel = 32
00001844 00:36:56 AvsInit_ShowInfo: Time = Saturday 02 April 2022 00:36:56[GMT Summer Time]
00001845 00:36:56 AvsInit_ShowInfo: User TEMP Dir = C:\Users\steve\AppData\Local\Temp
00001846 00:36:56 AvsInit_ShowInfo: ComSpec = C:\Windows\system32\cmd.exe
00001847 00:36:56 AvsInit_ShowInfo: Computer Name = OMEN-W10P5
00001848 00:36:56 AvsInit_ShowInfo: User Name = steve
EDIT:
Return Version # mine is x64
https://i.postimg.cc/8czhK5N4/t-00.jpg (https://postimages.org/)
OR x86
https://i.postimg.cc/gjy2ZyfB/t-01.jpg (https://postimages.org/)
screamingtrees
2nd April 2022, 00:43
just use https://github.com/realfinder/AVS-Stuff/blob/master/avs%202.5%20and%20up/Zs_RF_Shared.avsi
With that I get an Gscriptclip error. I'm using Avisynth+, should I install Gscript?
screamingtrees
2nd April 2022, 00:45
Current version a LOT better.
I'll try updating avisynth+ in a bit...
StainlessS
2nd April 2022, 01:10
This is what my (slightly modified) Universal Installer dir looks like
https://i.postimg.cc/50StHScK/D0.jpg (https://postimages.org/)
This is whats inside each of those directories
https://i.postimg.cc/xTCdCm6g/D1.jpg (https://postimages.org/)
Get latest dlls from, files only:- https://github.com/AviSynth/AviSynthPlus/releases
Choose the highest version folders in YOUR Universal Installer setup (mine are AVSPLUS372_x64 and AVSPLUS372_x86)
and copy the appropriate avisynth dlls into those folders.
Copy appropriate Avisynth.dll and DevIL.dll to your chosen folders [might as well setup x86 and x64 both, if you can].
Then Execute as Administrtor, "setavs.cmd",
and choose the versions as per folder names you chose and setup dlls in.
(version numbers shown will likely be wrong, but should be last two options for x64 and x86).
Move your dlls and avsi scripts into the Plugins directories in those chosen folders.
Hope you can follow that.
OR,
just install one of the other Avisynth Installer options from above link [might be easier]
real.finder
2nd April 2022, 13:09
With that I get an Gscriptclip error. I'm using Avisynth+, should I install Gscript?
it's GRunT IIRC, also yes it required
screamingtrees
2nd April 2022, 15:19
It's working now after installing GRunT. After that I updated my avisynth+ to the latest.
LeXXuz
13th September 2022, 09:47
I can't get this to run on my Windows 11 machine. It works on both my Windows 10 machines. Same installation, same Avisynth+ version 3.7.2, r3661.
Error message:
"Cannot load file '...\SysInfo64.dll'. Platform returned code 126: Module not found."
Is there any dependancy I may be missing?
kedautinh12
13th September 2022, 13:26
I can't get this to run on my Windows 11 machine. It works on both my Windows 10 machines. Same installation, same Avisynth+ version 3.7.2, r3661.
Error message:
"Cannot load file '...\SysInfo64.dll'. Platform returned code 126: Module not found."
Is there any dependancy I may be missing?
You can check with this app
https://github.com/lucasg/Dependencies/releases
Julek
13th September 2022, 13:40
I can't get this to run on my Windows 11 machine. It works on both my Windows 10 machines. Same installation, same Avisynth+ version 3.7.2, r3661.
Error message:
"Cannot load file '...\SysInfo64.dll'. Platform returned code 126: Module not found."
Is there any dependancy I may be missing?
https://github.com/abbodi1406/vcredist/releases
Emulgator
15th January 2023, 20:40
sysinfo needs Microsoft VisualStudio 2010 to run.
sysinfo64.dll wants msvcr100.dll 10.0.30319.1 (18.03.2010 809KB) in system32
Later versions will not work !
Thanks kedautinh12 for the link to Dependencies.
LeXXuz
15th January 2023, 22:44
That may be the cause. I have 10.0.40219.325
Any trustworthy source where to get the correct version?
I don't trust all those sites offering dll downloads. :rolleyes:
Reel.Deel
15th January 2023, 23:05
Here's the official 2010 Redistributable Package: https://www.microsoft.com/en-us/download/details.aspx?id=26999
However, the AIO package is highly recommended: https://github.com/abbodi1406/vcredist/releases
LeXXuz
16th January 2023, 12:16
Here's the official 2010 Redistributable Package: https://www.microsoft.com/en-us/download/details.aspx?id=26999
I'll give that a try. :thanks:
kedautinh12
16th January 2023, 12:25
I'll give that a try. :thanks:
Why you don't use this package?? I seen you had many error and i hadn't like you with this package
https://github.com/abbodi1406/vcredist/releases
StainlessS
16th January 2023, 23:56
abbodi1406's All-In-One package cuts out a lot of the "housekeeping" files supplied with each runtime installer,
only needs 1 set for the whole lot of runtimes, and so is quite a lot smaller in size.
I've never had any problems at all with them.
And very regularly updated (a few days after M$ updates, maybe monthly).
Emulgator
18th January 2023, 12:23
Just copying the .dll to system32 will do.
IIRC, I got mine from a choice of shady sites too. I compared, tried the reasonable and it worked.
(Dependecies/walkers will help a bit here, too)
What Abbodi has in its recent package, maybe you just run it and see, it should report before making changes.
BTW, I remember certain later versions of .net 3.5 being a big culprit of incompatibility with (then Sony) Vegas and siblings.
Shit !!!
Just now I ran abbodi 0.64 to test for you guys and it starts all MS installers without asking.
I tried to cancel and stop the modern ones, but in this very moment the old installers run and run and I can not stop them.
Damn. I am fucked. All that countless hours of handmatching those pesky .dlls.
Damage done. Never again, Abbodi. I will hate my helpfulness after I reboot...
Now rstrui to the rescue...Fortunately there are 34 restorepoints, in 11 minutes.
Rolling back as we speak...
LeXXuz
18th January 2023, 12:38
Same here. In my desperation I also tried that installer and it installed a shitload of redists I didn't want. Now several other programs and filters stopped working on my system. :mad:
Emulgator
18th January 2023, 12:46
Writing from my second system now.
LeXXuz, you may try Win+r -> rstrui.
I hope that you can find good restore points.
I went a week back to be safe. Still running---
Once I am back and running I shall post that .dll somewhere for you guys.
And which was the nice runtime installer that reported via GUI what it had found,
and what it offered, and gave room for interaction ?
Sereby, IIRC. Or did earlier Abbodi have a GUI ?
Emulgator
18th January 2023, 13:13
I am screwed deeper than I thought. The rollback did not undo the damage.
Of 3 scripts CQTGMC, QTGMC, QTGMCp I had working: none started, all failed.
Reinstalling the Groucho did not help.
Worse: I am locked out of my Vegas 14, it can not start up anymore. Vegas 13 does.
Not trying all my SWs now...,I am down to my knees...
Reversing the rollback now and trying later restore points...
kedautinh12
18th January 2023, 14:07
If you want install abbodi build clean. First install need unistall all vc++ already in computer via program -> unistall. After first install abbodi build, second and after abbodi build don't need do it again
Emulgator
18th January 2023, 15:39
After first install abbodi build, second and after abbodi build don't need do it again
I fail to see how this suggested sequence could help getting the old matching locks back into their doors...
ked, abbodi just installs the newest builds over the older ones by uninstalling the older ones.
And "undo" is definitely not working as expected, I am still searching for the remnants,
rstrui brings only shiny latest versions up, I can not find my version 10.0.30319.1
Are these destroyed ?
What leaves me with often incompatible versions, all painstakingly matched relations are gone.
I had let in the new locksmith by suggestion, so without further asking he unmounted the old locks from their doors,
took them away
I am left with new locks, old keys, and these old keys can not be updated, because the old locksmith is gone.
LeXXuz
18th January 2023, 15:43
I fail to see how this suggested sequence could help getting the old matching locks back into their doors...
ked, abbodi just installs the newest builds over the older ones by uninstalling the older ones.
What leaves me with often incompatible versions, all painstakingly matched relations are gone.
Old locks unmounted from their doors, taken away by the new locksmith and destroyed.
I am left with new locks, old keys, and these old keys can not be updated, because the old locksmith is gone.
Well said.
Dogway
18th January 2023, 19:13
@Emulgator, do you keep backups? Check what VC++ you had before and install back one by one (CCleaner or Geek might keep registries). Another option is to run Everything and check for "vc_redist", often these files are stored along the installed programs, so you can reinstall them back.
On the bright side, think what favor you did to all of us, I was wondering if that package was useful or not, now I know ^^
Emulgator
18th January 2023, 20:16
Yes, I have backups of almost everything.
All rstrui attempts did not bring back the structure i had.
So uninstalled all runtimes manually, then let Abbodi 0.64 do its ....rrrrr....work again.
manually copied only x64 10.0.30319.1 into system32.
Got some S/W up (Avisynth and so) and running again,
but Vegas 14 still refuses to start up, tells me Error -59 before splash screen and "You have no license..."
(sheesh, I bought everything from 8 to 16) and won't offer inputting my license data anymore, just closes after that message.
Tonight, tonight, ♫♪♬♩ and I won't eat...
StainlessS
18th January 2023, 20:18
Just copying the .dll to system32 will do.
IIRC, I got mine from a choice of shady sites too. I compared, tried the reasonable and it worked.
(Dependecies/walkers will help a bit here, too)
What Abbodi has in its recent package, maybe you just run it and see, it should report before making changes.
BTW, I remember certain later versions of .net 3.5 being a big culprit of incompatibility with (then Sony) Vegas and siblings.
Only update C Runtimes, + VB Runtimes if necessary and Office Runtimes too, no DotNet.
Emulgator
28th January 2023, 20:02
Solved.
1. Shift Vegas 14 installations folder somewhere else.
2. Find the Vegas 14 Installer regkey (different for every language it seems), export somewhere else, then delete in Registry.
3. System control -> Programs -> Vegas 14 -> Uninstall -> Ofc. "Could not find installation", but Windows finally deletes orphaned entry.
4. Now a Vegas 14 reinstall is possible.
5. Start Vegas 14: still blocked.
6. Uninstall Vegas 14 as in 3, now successful.
7. Reinstall Vegas 14 again.
8. Vegas finally comes up with License screen.
9. Input License -> accepted, starting to work.
10. Fortunately my settings were still there, no need to copy installation folder content back.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.