PDA

View Full Version : Warbirds SysInfo


-term-
03-29-2006, 01:51 PM
Hi all,

Guys - I am trying to sell idea to TARGET that he should gather information about computers hardware on which WarBirds is running. I think that it is important for making design decisions.
I have small utility program which will display only important information about PC what is important for WarBirds:

In my computer it displays:

I:\Projects\SysInfoImre\Release>sysinfo
value 0 - 'AMD Athlon(tm) XP 2500+, MMX, 3DNow, ~1.8GHz'
value 1 - '1535 MB'
value 2 - '4.09.0000.0904'
value 3 - 'RADEON 9800 PRO AGP (0x4E48)'
value 4 - '128.0 MB'

And yes it is not spyware - if you want code - here it is too.
Unfortunately it works only on PC ... not on Mac.

In Release folder there is SysInfo.exe. Run command prompt and execute SysInfo.exe in Command prompt.

It should display your PC sysinfo like mine was ...

Please try if it works on your system.

To download the file go to:

http://www.war-birds.org/forum/viewtopic.php?t=335&sid=9fafd84664bfc79fa9b998aee45fe003

<S>

v-i-c-
03-31-2006, 11:05 AM
do you mean that people should report their system specs with this tool? or do you want to see it included in warbirds so that wb can send the sysinfo to the ien servers?

i think most people know what hardware they have or am i wrong? :confused:

anyway something like this is integrated in mac os x so there is no need for an extra tool on the mac:

http://www.macattack.org/bilder/systemprofiler.jpg

-term-
04-03-2006, 12:53 PM
Hi,

I want to see it included in warbirds so that wb can send the sysinfo to the ien servers.

That's the whole point. I am sure that usual Warbirds player knows nothing about his PC.
It is much easier to make one button to WB client or even hide this code to Warbirds UI and info will be sent to IEN.
Though last possibility is not so good ...

Can you produce C++ source code for IEN that can get info from Mac-s and write a text file for example ?
And give can you give this code to IEN without any rights :) ?

We need:

value 0 - 'Processor'
value 1 - 'RAM'
value 2 - 'OpenGL version'
value 3 - 'Graphics card'
value 4 - 'Graphics card memory '

<S>

-term-
04-06-2006, 12:59 AM
Hi,

Denada-s answer:
-----------------------------------------------------------
Thinking about this some more, I realize that Mac users need all the help they can get, and if I can help a little, then why not. It's pretty easy to get system information from a Mac using 'popen' and 'system_profiler'. popen gives you a bidirectional pipe to a shell. system_profiler gives you a lot of info, probably more than you need. You can do 'system_profiler SPDisplaysDataType' to get graphics info. To get CPU/memory info you can use 'hostinfo' or 'system_profiler SPHardwareDataType'.

Here's what happens on my machine.

Code:

%system_profiler SPHardwareDataType

Hardware:

Hardware Overview:

Machine Name: PowerBook G4 15"
Machine Model: PowerBook5,4
CPU Type: PowerPC G4 (1.1)
Number Of CPUs: 1
CPU Speed: 1.5 GHz
L2 Cache (per CPU): 512 KB
Memory: 2 GB
Bus Speed: 167 MHz
Boot ROM Version: 4.8.6f0
Serial Number: W84374YGQHY

%system_profiler SPDisplaysDataType

ATI Mobility Radeon 9700:

Chipset Model: ATY,RV360M11
Type: Display
Bus: AGP
VRAM (Total): 64 MB
Vendor: ATI (0x1002)
Device ID: 0x4e50
Revision ID: 0x0000
ROM Revision: 113-xxxxx-134
Displays:
??? LCD:
Display Type: LCD
Resolution: 1280 x 854
Depth: 32-bit Color
Built-In: Yes
Core Image: Supported
Main Display: Yes
Mirror: Off
Online: Yes
Quartz Extreme: Supported
Display:
Status: No display connected
----------------------------------------------------------

vic - do you have development tools to try to make this small program ?