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

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-03-2013, 00:09
Joe Forster/STA's Avatar
Joe Forster/STA Joe Forster/STA is offline
Senior forum member
 
Join Date: Nov 2000
Location: Hungary
Posts: 9,836
Thanks: 20
Thanked 342 Times in 224 Posts
Joe Forster/STA is on a distinguished road
Quote:
Originally Posted by mausschieber View Post
my videocard has 4GB

bsp://================= Videocard =================//
VidRam:=GetVidMemLocal/1000000;
Good question! This function returns an Integer which is, probably, 32 bit unsigned (max. 4GB - 1) or, even more probably, 31 bit signed (min. -2GB, max. 2GB - 1). I think you'd have problems even with a 2 GB vieo card as this function will return 0 (or a negative value?) for them.

Try to print the return value of the GetVidMemLocal function onto the screen. I think you'll get zero. Perhaps, adding this as the first condition:

Code:
if VidRam=0 then vr:=1024
else [...]
would help as all video cards have video RAM (onboard or system shared) anyway so zero is never a valid value.
__________________
Joe Forster/STA
For more information, see the FileForums forum rules and the PC Games forum FAQ!
Don't contact me via E-mail or PM to ask for help with anything other than patches (or software in general) done by me, otherwise your request may be deleted without any reply!
Homepage: http://sta.c64.org, E-mail: [email protected]; for attachments, send compressed (ZIP or RAR) files only, otherwise your E-mail will bounce back!
The Following User Says Thank You to Joe Forster/STA For This Useful Post:
mausschieber (05-03-2013)
Sponsored Links
Closed Thread

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
INNO TROUBLESHOOT - Questions Here REV0 Conversion Tutorials 1565 29-11-2024 09:51
Inno Setup: Additional Libraries altef_4 Conversion Tutorials 50 21-10-2020 09:59
INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup REV0 Conversion Tutorials 51 26-03-2015 06:57
Help- How to extract a .bin file compressed by a code ? Adonix Conversion Tutorials 22 22-03-2015 15:02
yener90's older Inno Project Source Codes THADEADMAN2011 PC Games - CD/DVD Conversions 0 16-06-2012 03:40



All times are GMT -7. The time now is 09:59.


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