Jump to content

Version Number in SERUM.dll


jarr3

Recommended Posts

Posted

Hi,

 

I am thinking on implementing some kind of information toolset, to be able to extract version information from all the exe's and dll's we have today. (dll hell 😀)

 

Currently I am just doing a little shell scripting (or bat filing)

 

This little script runs through all *.exe and *.dll when you put it in folder and double click.

 

@echo off
echo Evaluating directory %CD% > versions.txt

powershell -NoLogo -NoProfile -Command "Get-ChildItem -Recurse "*.dll", "*.exe" | Foreach-Object {[PSCustomObject]@{Filename=$_| Resolve-Path -Relative ;ProductVersion=$_.VersionInfo.ProductVersion;FileVersion=$_.VersionInfo.FileVersion}}" >> versions.txt

echo check file versions.txt
pause

 

When run in a folder with serum and other files, I see serum does not have the information needed.

 

Quote

Evaluating directory C:\Projects\vpinball 

Filename                                                                                ProductVersion  FileVersion
--------                                                                                --------------  -----------
.\B2SBackglassServer.dll                                                                2.0.3-a23c952   2.0.3      
.\B2SServerPluginInterface.dll                                                          1.0.0.0-a23c952 1.0.0.0    
.\Bass.dll                                                                                              2.4.17     
.\DmdDevice.dll                                                                         2.1.2           2.1.2.0    
.\DmdDevice64.dll                                                                       1.10.3-SNAPSHOT 1.10.3.0   
.\FreeImage.dll                                                                         3, 17, 0, 0     3, 17, 0, 0
.\libusbK.dll                                                                           3.0.7.0         3.0.7.0    
.\libusbK64.dll                                                                         3.0.7.0         3.0.7.0    
.\openvr_api.dll                                                                        1.14.15         1.14.15    
.\pin2color.dll                                                                         1.1.0.0         1.1.0.0    
.\pin2color64.dll                                                                       1.1.0.0         1.1.0.0    
.\SciLexerVP.dll                                                                        4.4.4           4.4.4      
.\SDL2.dll                                                                              2, 26, 5, 0     2, 26, 5, 0
.\SDL2_ttf.dll                                                                          2, 20, 2, 0     2, 20, 2, 0
.\serum.dll                                                                                                        
.\serum64.dll                                                                                                      

 

Or if you look on a single file:

 

image.png.2075bf1b736eb83af417a5f2b0c5978b.png

 

Would it be possible to add it somehow? I guess it will become easier going forward to see that we have all compatible files in use...

 

/Jarr3

 

 

 

Posted
1 hour ago, outhere said:

Files no longer used
serum.dll
serum64.dll

Ok, interesting. Which are the files used nowadays?

Posted
41 minutes ago, jarr3 said:

Ok, interesting. Which are the files used nowadays?

Serum's dlls are now plug ins in both Freezy's and Luckys dmddevice.dll's

Posted

Cool, then still it is possible to use my little bat file to extract which versions of the dlls/exe's are used...

 

Maybe it can help with finding problems with PUP & DMD's?

  • Content Provider
Posted

In fact, it is embedded, but not always up-to-date as there is not a dmdext release everytime there is a serum dll update. Getting the latest version from here https://github.com/zesinger/libserum/releases and copy/unblock the DLLs (serum.dll and serum64.dll) may be interesting as the dll in VPinMame takes precedence on the embedded ones.

You can get the version of serum[64].dll calling the ` const char* Serum_GetVersion()` function returning the version as a char* string like "1.5.1"

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...