Jump to content

Version Number in SERUM.dll


jarr3

Recommended Posts

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

 

 

 

Link to comment
Share on other sites

  • Content Provider

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"

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...