PDA

View Full Version : [RELEASE] PCMonitor Alpha (View PC CPU, RAM and Network Usage on your PSP)



gamefreak199101
February 21st, 2008, 11:16
http://imageiso.com/out.php/i15161_PCMonitorscreen2.jpg
http://imageiso.com/out.php/i15160_PCMonitorscreen1.jpg

This project allows you to view your computers CPU, RAM and Network Usage on your PSP graphically.
You are required to run a small server application on the PC which you wish to monitor, the PSP then connects to this over WiFi and displays the info.
The server is written in VB6, while the PSP code is in C++

Notes

- Although the WiFi connection screen only use the debug text, the rest of the application is graphical
- PSP is clocked down to 111Mhz when using the application to extend battery life.
- Server only tested on Windows XP SP2 (may not work on anything below SP1 as some network usage monitoring code relies on it)
- Requires 3.XX Kernel (Tested on 3.90 M33-2 only) so make sure it is in the GAME folder (if it is set to 3.XX kernel) or GAME3XX
- Allows WPA WiFi Access :)

Usage
! The IP Address of the server must be set in "wifi.cfg" (in the format address=xxx.xxx.xxx.xxx) NO SPACES!!!
1. The "PCMonitor" folder must be copied to either the GAME folder (if it is set to 3.XX kernel) or the GAME3XX folder on the PSP
2. To use this application the server (PCMonitor.exe, Located in the "PC Server" directory) MUST be running
3. Open the application on the PSP and connect to the network
Home will allow you to exit the application.

Misc
- If the PSP is no longer in the application and the server reads state 7, then you will need to reset the server to use it again.
- The PSP will ONLY connect in when the server is in state 2

Known Bugs
- If the PSP drops the connection (low signal, server reset, server closed, wifi switched off, etc.), it will not try to reconnect, it will just show a set of static values but the application may be exited by the home button still (This will be corrected in the next release)
- If the IP Address is incorrect in the config ("wifi.cfg"), the application will just sit on a blank screen but the application may be exited by the home button still (This will be corrected in the next release)
- The square and cirle symbols are messed up on the first screen

Acknowledgements
PSP Wifi Code from "WiFiController v0.4.4" by David Rudie
PC CPU Usage Code from "Get the System Total CPU Usage using API" by Jason Hensley
PC RAM Usage Code from "Get Performance Info Example" by Jason Hensley
PC NET Usage Code from http://www.himarticles.com
Alpha Tester "Wildboy99" from QJ Forums

This is my first C++ project so please be nice! It has quite a few bugs to iron out, so please no bug reports till the next release as I plan to rewrite it as this was more of a proof of concept. Any other questions/comments are encouraged :)

Download and Give Feedback via Comments

Nikolaos
February 21st, 2008, 20:17
This is effin awesome lol, ima test it out.

crazyhare
February 21st, 2008, 21:21
Cool - gonna try this out, it's got potential.

If it can be done with PC stats - who knows what else could be done - a prog that enables you to display the aircraft panels in FS2004/FSX on your psp, instead of on your main monitor would be the ultimate :).

hokk
February 21st, 2008, 22:00
Seems to be a nice app.

Just one problem, when I open the PC Server I get this message "Networking Libraries Not Installed, Application Will Not Function Unti They Are Installed".. I can press "Install Network" but then i get Project1 Run-time error '76': Path not found.

P.s I have Windows Vista (32-bit).

gamefreak199101
February 21st, 2008, 23:33
this has only been tested on xp sp2. i dont know about vista

osgeld
February 22nd, 2008, 02:56
looks cool, yet another reason to fix my wifi switch

anthonywales
February 22nd, 2008, 07:40
They need to allow you to minimise it auto-matically at startup.

hokk
February 22nd, 2008, 08:54
this has only been tested on xp sp2. i dont know about vistaTested it on XP SP2, same problem there :/

darksaboteur
February 22nd, 2008, 09:15
Hey,
I do not have vista and hence cannot test it, I have updated the application to version 3 which mainly includes server improvements to attempt to fix the network library problem. The latest version will always be available at here (http://forums.qj.net/f-psp-development-forum-11/t-release-pcmonitor-alpha-view-pc-cpu-ram-and-network-usage-on-your-psp-135490.html)

-Xandu-
February 22nd, 2008, 10:40
Am I the only one who sees this application useless? You can already do that with Windows Task Manager, can't you?

Good job for a first time project though.

darksaboteur
February 22nd, 2008, 12:07
Am I the only one who sees this application useless? You can already do that with Windows Task Manager, can't you?.

The idea behind this program is to make it easy to monitor basic system resources while in game, where the task manager would most surely get you killed :P

hokk
February 22nd, 2008, 12:51
Hey,
I do not have vista and hence cannot test it, I have updated the application to version 3 which mainly includes server improvements to attempt to fix the network library problem. The latest version will always be available at here (http://forums.qj.net/f-psp-development-forum-11/t-release-pcmonitor-alpha-view-pc-cpu-ram-and-network-usage-on-your-psp-135490.html)Thank you great work! This version worked perfectly with vista :)

It would be very nice if you could monitor the temperature with this app too!

PaulMacC
February 22nd, 2008, 14:11
Nice dude for a frst project!

brasssmunky
February 23rd, 2008, 03:15
ZOMYGOD ZOMYGOD ZOMYGOD!!!
i need to get my psp now.
i was just gettin ready to dump over 100 bucks into a LCD panel for my PC for this !!!!!
amazing, purely amazing.

darksaboteur
February 24th, 2008, 08:12
Just letting everyone know that alpha v4 is out and available here (http://forums.qj.net/f-psp-development-forum-11/t-release-pcmonitor-alpha-view-pc-cpu-ram-and-network-usage-on-your-psp-135490.html) and it should fix the overflow '6' error and also adds a start minimized option

crona
February 24th, 2008, 19:57
can someone who understands help me out? i don't understand what to do at the wifi.cfg part.

wildboy99
February 25th, 2008, 03:14
can someone who understands help me out? i don't understand what to do at the wifi.cfg part.
open it with notepad or wordpad and after the = enter your ip address that your computer gets from the modem which is found under either "Local Area Connection" or "Wireless Network Connection" status then under the tab support. Save it to the same directory that the eboot is in and run the program with the server in state 2(listening). If done correctly it will connect without any problems

darksaboteur
February 26th, 2008, 11:44
Alpha v5 is out and available here (http://forums.qj.net/f-psp-development-forum-11/t-release-pcmonitor-alpha-view-pc-cpu-ram-and-network-usage-on-your-psp-135490.html) and it should actually fix the overflow '6' error

darksaboteur
March 5th, 2008, 10:28
Alpha v7 is out and available here (http://forums.qj.net/f-psp-development-forum-11/t-release-pcmonitor-alpha-view-pc-cpu-ram-and-network-usage-on-your-psp-135490.html) and it should actually fix the overflow '6' error (again) and v6 add ths ability to control windows media player from the PSP