Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-06-2024, 00:28
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,077
Thanks: 1,826
Thanked 2,310 Times in 789 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by Lord.Freddy View Post
alright thanks.


well i modified the GetOSName function to work with GetVersionEx api, should work correctly now.


that`s not possible because the GetPhysicallyInstalledSystemMemory api function will only one work with Int64 type.


well done, i hope this release should work as expected, and also if you have windows 11, please test this release on that machine to see if every things work`s well or no.

Edit: i also modified the GetCPUArchitecture function to work with GetNativeSystemInfo and IsWow64Process api function.
INFO:
- Contains a MsgBox in the module's GetCPUArchitecture function.
- Keeps returning "Windows Interprise".
- You cannot use "RoundUp(Round(GetGPUVRAM))" in the example.
You can use RoundUp only after converting to MB.
RoundUp rounds the values ​​to a multiple of 64, because for example if you get 493 MB it would return 512 MB (Which would be a multiple of 64).
You can change the example script to:
Code:
+ 'GPU VRAM: ' + ConvertUnitFormat(GetGPUVRAM, In_Bytes, In_MegaBytes, 0, False) + #13#10
Attached is a solution for compatibility with Inno Setup 5.51.ee2
Attached Files
File Type: rar GetMemory.rar (504 Bytes, 3 views)
File Type: rar GetOSName.rar (1.0 KB, 3 views)

Last edited by Cesar82; 06-06-2024 at 01:12.
Reply With Quote
The Following User Says Thank You to Cesar82 For This Useful Post:
Lord.Freddy (06-06-2024)
Sponsored Links
  #2  
Old 06-06-2024, 13:22
Lord.Freddy's Avatar
Lord.Freddy Lord.Freddy is offline
Registered User
 
Join Date: Apr 2022
Location: ...
Posts: 54
Thanks: 222
Thanked 41 Times in 25 Posts
Lord.Freddy is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
INFO:
- Contains a MsgBox in the module's GetCPUArchitecture function.
- Keeps returning "Windows Interprise".
- You cannot use "RoundUp(Round(GetGPUVRAM))" in the example.
You can use RoundUp only after converting to MB.
RoundUp rounds the values ​​to a multiple of 64, because for example if you get 493 MB it would return 512 MB (Which would be a multiple of 64).
You can change the example script to:
Code:
+ 'GPU VRAM: ' + ConvertUnitFormat(GetGPUVRAM, In_Bytes, In_MegaBytes, 0, False) + #13#10
Attached is a solution for compatibility with Inno Setup 5.51.ee2
Thank you for helping me improve this module
Attached Images
File Type: jpg EX.JPG (40.9 KB, 165 views)
File Type: jpg EXGUI.JPG (43.2 KB, 162 views)
Attached Files
File Type: zip ISSystemInfo_v0.5.zip (9.5 KB, 7 views)
__________________
¤ Life good be a Dream ¤

Last edited by Lord.Freddy; 12-06-2024 at 07:30. Reason: Updated to version 0.5 (Code optimization and cleanup + GUI Example).
Reply With Quote
The Following 3 Users Say Thank You to Lord.Freddy For This Useful Post:
BLACKFIRE69 (06-06-2024), Gehrman (22-07-2024), ScOOt3r (06-06-2024)
Reply

Tags
asis, ciu, inno, installer, ultraarc

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Help] need Advanced Installer script with Razor1911's UltraArc module rez3vil Conversion Tutorials 3 15-04-2024 02:24
Ultimate Conversion Compressor (UCC) vollachr Conversion Tutorials 55 26-04-2021 09:27
INDEX - Conversion Tutorial Index Razor12911 Conversion Tutorials 5 11-06-2020 02:05
How many forum members does it take to change a light bulb? rms2001 XBox Games 6 12-01-2004 05:31



All times are GMT -7. The time now is 16:55.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com