Not logged in
Register | Login

Menu:

Game Maker Extensions Menu:

av. 7/10 | Who rated

Credit to cdm319/Chris Matthews

Downloads: 941

Tags:

Get a refer button for this extension!

BBcode

html [example]
download
[download]

CDM Extension

Posted by cdm319 on July 06, 2007

An extension which returns basic system information to GM. Still a work in progress.


» Add a Screenshot


Functions:

get_computer_name()

No arguments. Returns the computer's name.

Returns computer name

get_country()

No arguments.

Returns the user's country name

get_cpu_number()



Returns number of cpus

get_date_format()



Returns date format

get_directx_version()



Returns directx version

get_external_ip



Returns the real ip

get_ie_serial()



Returns the Internet Explorer product id

get_ie_version()



Returns version of Internet Explorer installed

get_internal_ip()



Returns the current ip

get_language()



Returns the user's language

get_online_status()



Returns whether the user is online

get_powerscheme()



Returns the current powerscheme

get_processor_name()



Returns the default processor's name

get_screen_res()



Returns the screen resolution

get_screensaver()



Returns the screensaver file in use

get_system_dir()



Returns the location of the system directory

get_time_format()



Returns the time format

get_timezone_dyt()



Returns the user's daylight savings timezone

get_timezone_std()



Returns the user's standard timezone

get_username()



Returns the username currently in use

get_wallpaper()



Returns the location of the current wallpaper file

get_windows_dir()



Returns the location of the WINDOWS directory

get_windows_serial()



Returns the operating system product id

cdm_get_os()



Returns the operating system in use

cdm_ram_total()



Returns the total amount of RAM on the system

cdm_ram_avail()



Returns the available amount of RAM

cdm_ram_percent()



Returns the percentage use of RAM

cdm_page_total()



Returns the total size of the page file

cdm_page_avail()



Returns the amount of page file available

cdm_virtual_total()



Returns the total amount of virtual memory

cdm_virtual_avail()



Returns the available amount of virtual memory

cdm_ac_status()



Returns the status of the mains power supply

cdm_battery_status()



Returns the status of the system battery

cdm_battery_percent()



Returns the percentage of battery life remaining

cdm_battery_life()



Returns the total amount of time the battery can work for in seconds

cdm_battery_life_remaining()



Returns the remaining battery life, in seconds

get_drivetype(drive)



Returns the drivetype of the drive specified in argument0





You not logged on! It is recommended you logon before commenting so we can tell who you are!

Comments:

9:31am, 6 Jul 2007
Jonah

SWEET! You even filled in the functions! You actually didn't have to put the periods in the description though...

g2g, won't be back for a while

6:00pm, 13 Jul 2007
leif902

Very nice, can't beleive you filled out all those functions :) great idea! You could add 'get_num_progs_running()' (there is a registry key for this)

- Leif

12:51pm, 4 Nov 2007
Guest

Looks awesome. I might use it!

1:04pm, 4 Nov 2007
Guest

what about get hard drive space
hard drive space remaining.
CPU speed
3d card type
3d card ram
get firefox version


but anyway looks awesome.
I can think of some uses for it. (like warning the person to save when they only have a few minutes of battery life left)
9.5/10