Thanks. I am running gentoo linux though. :-) I can be patient though.Originally Posted by NoPistonPC
Thanks,
--Craig
I was able to use a mediacar skin 800x600 that was designed to "stretch". It worked perfectly.Originally Posted by NoPistonPC
Thanks. I am running gentoo linux though. :-) I can be patient though.Originally Posted by NoPistonPC
Thanks,
--Craig
Some of it is under /proc, the rest is available via the lm_sensors package. http://freshmeat.net/projects/lm_sensors/Originally Posted by NoPistonPC
--Craig
I run gentoo too, as well, also.Originally Posted by millec
Anyway, the linux version is ready. You can grab the latest sources from CVS. Make sure you do a "cvs update -d" since the skins directory structure has changed. In fact, you may just want to delete everything and get the whole tree again...
1994 RX-7, EPIA P4-ITX w/ Celeron 2.4 Ghz, Arise PSU, Xenarc 700TSV (new model)
I implemented the change into headunit so that if either the on or down files are missing, it uses the off file. But, I just realized that I didn't even need to do that. If you don't want to make 4 different image files, just make the off and the empty ones and specify the off image for down and on in your skin file. For example, in Audio_Player.skin, change the third line from:Originally Posted by CdRsKuLL
audio_player_empty.jpg,audio_player_off.jpg,audio_ player_on.jpg,audio_player_dow
n.jpg
to:
audio_player_empty.jpg,audio_player_off.jpg,audio_ player_off.jpg,audio_player_off.jpg
This should work with the original MediaCar program too.
1994 RX-7, EPIA P4-ITX w/ Celeron 2.4 Ghz, Arise PSU, Xenarc 700TSV (new model)
good point, I never thought of doing that.. on the cpu stats and stuff I have included a file that I use on IRC.. I'm unsure if it will be any good, but it does include a .dll which you may be able to use. Sorry if this is no good, but I think its better to mention it just incase it does help.
CdR
just added a more upto date version of moo.dll
just tried the 2nd released version of headunit (win32).. its looking good :-) I know theres still alot to do on it, but its certainly grown. I was wondering how you have mapped the volume. It doesnt seem like its mapped to master volume, when I click up/down my slider doesnt move, although the sound does increase. But my master is always set to around 10%, which means I dont start hearing music till HU is showing 60% if you know what I mean. Thats my only question at the mo.. hope the moo.dll file comes in handy, if you view one of the files with it, you can see how the dll will return values you need, from graphics cards to temps :-)
cheers
CdR
cdr, thanks for the moo.dll file. I'm not sure if I can use it directly without any sort of API information, but I'll look into it. Also, you're right, the volume buttons only control the "local" volume of the headunit program. I'll change it so it controls the master volume.
1994 RX-7, EPIA P4-ITX w/ Celeron 2.4 Ghz, Arise PSU, Xenarc 700TSV (new model)
I was playing around with it a little today and got access to the functions in the dll. Just a matter of pasting it into headunit and finding a good spot to report the info. Here's the typedef for the functions:
typedef int (__stdcall *TMooDll)(HWND,HWND,char*,char*,BOOL,BOOL);
It exports functions connection, cpuinfo, diskcapacity, gfxinfo, interfaceinfo, mbm5info, mbm5version, meminfo, netcapacity, osinfo, rambar, screeninfo, uptime and version. The char parameters are really the ones of use. The window handles are for the mirc window, first char * is for data, second is for parameters into the dll function. The return type tells you what(if any) data is valid. For example, a return of 3 means the 3rd parameter passed has data(the first char *).
I've got a VS project that reads the values from the function if you want me to pass it over. Otherwise, whoever gets to it first gets it into headunit.
The mbm5 functions are the ones dealing with the sensors on the motherboard.
knobby, nice work.I just checked in some more new code into the CVS tree so you can go ahead and add in the sensor stuff if you want.
Meanwhile, I just finished adding in support for ID3 tags and album art. (Just use the link to headunit-0.2.exe in my first post to try it out). To use album art, just put a .jpg file containing the picture into the directory containing your album tracks. As long as the file end in ".jpg" it will automatically be used as the album cover. I am storing them in the database as well, so if you change an album cover, be sure to re-sync the database.
I'll try to do the video code in the next couple of days. After that, I'm going to get started on embedding iGuidance.
1994 RX-7, EPIA P4-ITX w/ Celeron 2.4 Ghz, Arise PSU, Xenarc 700TSV (new model)
Bookmarks