Page 17 of 33 FirstFirst ... 789101112131415161718192021222324252627 ... LastLast
Results 161 to 170 of 322

Thread: Headunit (Linux/Windows CarPC frontend) + initial screenshots

  1. #161
    VENDOR - SpatialMinds millec's Avatar
    Join Date
    Dec 2002
    Location
    Mt. Vernon, WA
    Posts
    204
    Quote Originally Posted by NoPistonPC
    Great! Thanks for the link. Now, I just need to buy an XMPCR.



    The current size is hardwired to 800x480, but I will add the width and height as an option in the Configuration dialog so you can use any sized skin. Thanks for reminding me.
    I was able to use a mediacar skin 800x600 that was designed to "stretch". It worked perfectly.

  2. #162
    VENDOR - SpatialMinds millec's Avatar
    Join Date
    Dec 2002
    Location
    Mt. Vernon, WA
    Posts
    204
    Quote Originally Posted by NoPistonPC

    millec, the volume and other state information (current song, etc...) are now saved and restored properly. Also, all of your configuration problems should be addressed by this new config dialog.
    Thanks. I am running gentoo linux though. :-) I can be patient though.

    Thanks,
    --Craig

  3. #163
    VENDOR - SpatialMinds millec's Avatar
    Join Date
    Dec 2002
    Location
    Mt. Vernon, WA
    Posts
    204
    Quote Originally Posted by NoPistonPC
    Does anyone have info on how to get access to this information on windows and/or linux?
    Some of it is under /proc, the rest is available via the lm_sensors package. http://freshmeat.net/projects/lm_sensors/

    --Craig

  4. #164
    Variable Bitrate NoPistonPC's Avatar
    Join Date
    Apr 2004
    Location
    Boston
    Posts
    360
    Quote Originally Posted by millec
    Thanks. I am running gentoo linux though. :-) I can be patient though.

    Thanks,
    --Craig
    I run gentoo too, as well, also.

    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)

  5. #165
    Variable Bitrate NoPistonPC's Avatar
    Join Date
    Apr 2004
    Location
    Boston
    Posts
    360
    Quote Originally Posted by CdRsKuLL
    Also one of the main pains with mediacar when doing skins was there are 4 to do for each menu. If its possible to cut these down to just off and on, this would save loads of time for skinners.. ok you would lose your hover action, but if you are using a touchscreen this wouldnt really matter.
    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:

    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)

  6. #166
    FreeDrive Creator CdRsKuLL's Avatar
    Join Date
    Feb 2004
    Location
    Manchester
    Posts
    3,469
    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
    Attached Files Attached Files

  7. #167
    FreeDrive Creator CdRsKuLL's Avatar
    Join Date
    Feb 2004
    Location
    Manchester
    Posts
    3,469
    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

  8. #168
    Variable Bitrate NoPistonPC's Avatar
    Join Date
    Apr 2004
    Location
    Boston
    Posts
    360
    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)

  9. #169
    Newbie
    Join Date
    Apr 2004
    Posts
    1
    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.

  10. #170
    Variable Bitrate NoPistonPC's Avatar
    Join Date
    Apr 2004
    Location
    Boston
    Posts
    360
    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)

Similar Threads

  1. Replies: 40
    Last Post: 07-03-2006, 06:38 AM
  2. More Fuel to the Fire (New Frontend Software Screenshots)
    By qjones in forum Other Cool Front Ends
    Replies: 82
    Last Post: 10-20-2005, 03:38 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •