jarr3 Posted May 30, 2023 Share Posted May 30, 2023 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:   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 More sharing options...
outhere Posted May 30, 2023 Share Posted May 30, 2023 Files no longer used serum.dll serum64.dll Link to comment Share on other sites More sharing options...
jarr3 Posted May 30, 2023 Author Share Posted May 30, 2023 1 hour ago, outhere said: Files no longer used serum.dll serum64.dll Ok, interesting. Which are the files used nowadays? Link to comment Share on other sites More sharing options...
Cliffy Posted May 30, 2023 Share Posted May 30, 2023 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 Link to comment Share on other sites More sharing options...
jarr3 Posted May 31, 2023 Author Share Posted May 31, 2023 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? Link to comment Share on other sites More sharing options...
Content Provider zedrummer Posted May 31, 2023 Content Provider Share Posted May 31, 2023 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now