techPowerUp! Forums

Go Back   techPowerUp! Forums > Other > World Community Grid (WCG)

Reply
 
Thread Tools
Old Oct 21, 2009, 10:32 PM   #51
Chicken Patty
WCG Team Captain
 
Chicken Patty's Avatar
 
Join Date: Nov 2007
Location: Miami, Florida
Posts: 23,888 (11.92/day)
Thanks: 15,149
Thanked 12,311 Times in 7,776 Posts
Send a message via AIM to Chicken Patty Send a message via MSN to Chicken Patty

System Specs

just ran the latest one, works like a charm. Thanks to everbody who helped out

Thanks to Mindweaver for having this crazyyyyy idea
__________________
Help save lives, CRUNCH and/or FOLD for Team TPU and make a difference!
Crunching with a 2600K, i7-950, FX-8120, Radeon 6850 (2 WU's), Radeon 7770 (4 WU's)

"AlienIsGOD - Awe!!! CP has grown from a small chicken nugget to the IMMENSE PATTY and WCG Team leader he is today"
Chicken Patty is offline  
Crunching for Team TPU
Reply With Quote
The Following User Says Thank You to Chicken Patty For This Useful Post:
Old Oct 21, 2009, 10:39 PM   #52
Mindweaver
Moderato®™
 
Mindweaver's Avatar
 
Join Date: Apr 2009
Location: Statesville, NC
Posts: 3,651 (2.44/day)
Thanks: 4,320
Thanked 2,319 Times in 1,150 Posts

System Specs

Quote:
Originally Posted by Chicken Patty View Post
just ran the latest one, works like a charm. Thanks to everbody who helped out

Thanks to Mindweaver for having this crazyyyyy idea
Thanks bro!
__________________
“As long as I feel the warmth from the sun and breathe precious air…. I must ask questions to feed the Mind!”

Battletag: Mindweaver#1523
Mindweaver is offline  
Crunching for Team TPU
Reply With Quote
Old Oct 21, 2009, 11:39 PM   #53
Chicken Patty
WCG Team Captain
 
Chicken Patty's Avatar
 
Join Date: Nov 2007
Location: Miami, Florida
Posts: 23,888 (11.92/day)
Thanks: 15,149
Thanked 12,311 Times in 7,776 Posts
Send a message via AIM to Chicken Patty Send a message via MSN to Chicken Patty

System Specs

Quote:
Originally Posted by Mindweaver View Post
Thanks bro!
anytime
__________________
Help save lives, CRUNCH and/or FOLD for Team TPU and make a difference!
Crunching with a 2600K, i7-950, FX-8120, Radeon 6850 (2 WU's), Radeon 7770 (4 WU's)

"AlienIsGOD - Awe!!! CP has grown from a small chicken nugget to the IMMENSE PATTY and WCG Team leader he is today"
Chicken Patty is offline  
Crunching for Team TPU
Reply With Quote
Old Oct 22, 2009, 08:01 PM   #54
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,575 (6.29/day)
Thanks: 1,755
Thanked 2,596 Times in 1,960 Posts

System Specs

So, are there any changes I need to make to that exectuable?
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is offline  
Crunching for Team TPU
Reply With Quote
Old Oct 22, 2009, 09:33 PM   #55
Mindweaver
Moderato®™
 
Mindweaver's Avatar
 
Join Date: Apr 2009
Location: Statesville, NC
Posts: 3,651 (2.44/day)
Thanks: 4,320
Thanked 2,319 Times in 1,150 Posts

System Specs

Quote:
Originally Posted by FordGT90Concept View Post
So, are there any changes I need to make to that exectuable?
Sorry bro I've been busy.. hehehe I tested your file with issues my batch file encountered . One scenario, I deleted the content out of the cc_config.xml ,and I received an error (See Error Pic Below). Second scenario, I deleted the cc_config.xml file, and ran your file. It did not create the file or prompt me that it didn't complete successful. Both scenarios tested on Vista x64.

It looks good thought! What software are you using to create the exe?

__________________
“As long as I feel the warmth from the sun and breathe precious air…. I must ask questions to feed the Mind!”

Battletag: Mindweaver#1523
Mindweaver is offline  
Crunching for Team TPU
Reply With Quote
Old Oct 22, 2009, 09:51 PM   #56
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,575 (6.29/day)
Thanks: 1,755
Thanked 2,596 Times in 1,960 Posts

System Specs

Visual Studio 2008

I fixed the first scenario. That may have also fixed the second scenario but, if it didn't, it now displays the default directory. Maybe I have the default directory for Vista wrong.
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }

Last edited by FordGT90Concept; Oct 23, 2009 at 04:20 AM.
FordGT90Concept is offline  
Crunching for Team TPU
Reply With Quote
Old Oct 22, 2009, 09:53 PM   #57
Mindweaver
Moderato®™
 
Mindweaver's Avatar
 
Join Date: Apr 2009
Location: Statesville, NC
Posts: 3,651 (2.44/day)
Thanks: 4,320
Thanked 2,319 Times in 1,150 Posts

System Specs

Quote:
Originally Posted by FordGT90Concept View Post
Visual Studio 2008

I fixed the first scenario. That may have also fixed the second scenario but, if it didn't, it now displays the default directory. Maybe I have the default directory for Vista wrong.
Great! This is the directory "%SYSTEMDRIVE%\ProgramData\BOINC\" for vista.

I think you're starting from the "ProgramData" correct?
__________________
“As long as I feel the warmth from the sun and breathe precious air…. I must ask questions to feed the Mind!”

Battletag: Mindweaver#1523
Mindweaver is offline  
Crunching for Team TPU
Reply With Quote
Old Oct 22, 2009, 09:57 PM   #58
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,575 (6.29/day)
Thanks: 1,755
Thanked 2,596 Times in 1,960 Posts

System Specs

It is using the equivilent of:

%ALLUSERSPROFILE%\BOINC\
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is offline  
Crunching for Team TPU
Reply With Quote
Old Oct 22, 2009, 10:00 PM   #59
Mindweaver
Moderato®™
 
Mindweaver's Avatar
 
Join Date: Apr 2009
Location: Statesville, NC
Posts: 3,651 (2.44/day)
Thanks: 4,320
Thanked 2,319 Times in 1,150 Posts

System Specs

Quote:
Originally Posted by FordGT90Concept View Post
It is using the equivilent of:

%ALLUSERSPROFILE%\BOINC\
Yea, should work then.

I just like painting the whole picture for M$... lol
__________________
“As long as I feel the warmth from the sun and breathe precious air…. I must ask questions to feed the Mind!”

Battletag: Mindweaver#1523
Mindweaver is offline  
Crunching for Team TPU
Reply With Quote
Old Oct 22, 2009, 10:02 PM   #60
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,575 (6.29/day)
Thanks: 1,755
Thanked 2,596 Times in 1,960 Posts

System Specs

Try the beta 2 I uploaded. See if it properly creates the cc_config.xml if it is not present.
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is offline  
Crunching for Team TPU
Reply With Quote
Old Oct 22, 2009, 10:07 PM   #61
Mindweaver
Moderato®™
 
Mindweaver's Avatar
 
Join Date: Apr 2009
Location: Statesville, NC
Posts: 3,651 (2.44/day)
Thanks: 4,320
Thanked 2,319 Times in 1,150 Posts

System Specs

I just tried beta 2. Scenario one is fixed, but two is still an issue.
__________________
“As long as I feel the warmth from the sun and breathe precious air…. I must ask questions to feed the Mind!”

Battletag: Mindweaver#1523
Mindweaver is offline  
Crunching for Team TPU
Reply With Quote
Old Oct 22, 2009, 10:32 PM   #62
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,575 (6.29/day)
Thanks: 1,755
Thanked 2,596 Times in 1,960 Posts

System Specs

What's the path it displays and what is wrong with it?
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is offline  
Crunching for Team TPU
Reply With Quote
Old Oct 23, 2009, 03:09 AM   #63
Mindweaver
Moderato®™
 
Mindweaver's Avatar
 
Join Date: Apr 2009
Location: Statesville, NC
Posts: 3,651 (2.44/day)
Thanks: 4,320
Thanked 2,319 Times in 1,150 Posts

System Specs

"Second scenario, I deleted the cc_config.xml file, and ran your file. It did not create the file or prompt me that it didn't complete successful."

It says update successful.. but when you press any key... I doesn't create the file.
__________________
“As long as I feel the warmth from the sun and breathe precious air…. I must ask questions to feed the Mind!”

Battletag: Mindweaver#1523
Mindweaver is offline  
Crunching for Team TPU
Reply With Quote
Old Oct 23, 2009, 03:13 AM   #64
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,575 (6.29/day)
Thanks: 1,755
Thanked 2,596 Times in 1,960 Posts

System Specs

It should say the full path to the file it created just above that. Is that path correct? If so, is the file sitting where it says it is?
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is offline  
Crunching for Team TPU
Reply With Quote
Old Oct 23, 2009, 03:18 AM   #65
Mindweaver
Moderato®™
 
Mindweaver's Avatar
 
Join Date: Apr 2009
Location: Statesville, NC
Posts: 3,651 (2.44/day)
Thanks: 4,320
Thanked 2,319 Times in 1,150 Posts

System Specs

Ok over looked the path.. It's pointing to C:\Program Files (x86)\BOINC\cc_config.xml. Change that path to "%SYSTEMDRIVE%\ProgramData\BOINC\".
__________________
“As long as I feel the warmth from the sun and breathe precious air…. I must ask questions to feed the Mind!”

Battletag: Mindweaver#1523
Mindweaver is offline  
Crunching for Team TPU
Reply With Quote
Old Oct 23, 2009, 03:26 AM   #66
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,575 (6.29/day)
Thanks: 1,755
Thanked 2,596 Times in 1,960 Posts

System Specs

If it has always been finding that file, it won't create the file in %ALLUSERSPROFILE%.

You can type "echo %ALLUSERSPROFILE%" in cmd if you want to double check that it points to C:\ProgramData
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is offline  
Crunching for Team TPU
Reply With Quote
Old Oct 23, 2009, 03:30 AM   #67
Mindweaver
Moderato®™
 
Mindweaver's Avatar
 
Join Date: Apr 2009
Location: Statesville, NC
Posts: 3,651 (2.44/day)
Thanks: 4,320
Thanked 2,319 Times in 1,150 Posts

System Specs

So, if the user has to uninstall the manager and reinstall. Then run the Ez config it won't update?

Yea i know %allusersprofile% works.. you don't need to echo.

You're pointing to the Programs folder (x86), not the %allusersprofile%. Sorry, not trying to be a smart a$$.. I'm just tired ... Been writing SQL queries... :d
__________________
“As long as I feel the warmth from the sun and breathe precious air…. I must ask questions to feed the Mind!”

Battletag: Mindweaver#1523

Last edited by Mindweaver; Oct 23, 2009 at 03:38 AM.
Mindweaver is offline  
Crunching for Team TPU
Reply With Quote
Old Oct 23, 2009, 03:51 AM   #68
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,575 (6.29/day)
Thanks: 1,755
Thanked 2,596 Times in 1,960 Posts

System Specs

It does impose a problem, yeah, because without knowing the version of BOINC, I don't know where BOINC expects the xml file. I suppose I could always create the file (in %allusersprofile%) even it doesn't exist but that leaves those who have it in the program files high and dry.


Or, maybe I should go with what the registry says?


Edit: 5.# doesn't even have a registry key.
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is offline  
Crunching for Team TPU
Reply With Quote
Old Oct 23, 2009, 03:59 AM   #69
Mindweaver
Moderato®™
 
Mindweaver's Avatar
 
Join Date: Apr 2009
Location: Statesville, NC
Posts: 3,651 (2.44/day)
Thanks: 4,320
Thanked 2,319 Times in 1,150 Posts

System Specs

Quote:
Originally Posted by FordGT90Concept View Post
It does impose a problem, yeah, because without knowing the version of BOINC, I don't know where BOINC expects the xml file. I suppose I could always create the file (in %allusersprofile%) even it doesn't exist but that leaves those who have it in the program files high and dry.


Or, maybe I should go with what the registry says?
I would always use the "%allusersprofile%", because the user may have mult users/family members with different logins. You could use the registry, but we have confirmed it works in XP, Vista, Win7 from the "%allusersprofile%\BOINC\" folder. What do you think?
__________________
“As long as I feel the warmth from the sun and breathe precious air…. I must ask questions to feed the Mind!”

Battletag: Mindweaver#1523
Mindweaver is offline  
Crunching for Team TPU
Reply With Quote
Old Oct 23, 2009, 04:02 AM   #70
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,575 (6.29/day)
Thanks: 1,755
Thanked 2,596 Times in 1,960 Posts

System Specs

I think I will always make it always create it in %allusersprofile%. It will be hit or miss with older versions of WCG but it should always work for 6.1 and newer.
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is offline  
Crunching for Team TPU
Reply With Quote
Old Oct 23, 2009, 04:09 AM   #71
Mindweaver
Moderato®™
 
Mindweaver's Avatar
 
Join Date: Apr 2009
Location: Statesville, NC
Posts: 3,651 (2.44/day)
Thanks: 4,320
Thanked 2,319 Times in 1,150 Posts

System Specs

Sounds good! That's how i left my batch file to work. I thought about it after you told me about 6.0 and under, but I figured if they were using the older file for a server. Then most likely they wouldn't have any problem configuring there cc_config.xml file.

Add the new version and I'll add it to the first of the post with the batch files. Good Job!
__________________
“As long as I feel the warmth from the sun and breathe precious air…. I must ask questions to feed the Mind!”

Battletag: Mindweaver#1523
Mindweaver is offline  
Crunching for Team TPU
Reply With Quote
Old Oct 23, 2009, 04:20 AM   #72
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,575 (6.29/day)
Thanks: 1,755
Thanked 2,596 Times in 1,960 Posts

System Specs

Here it is. I tested and it appears to work...


Edit: I can make it blue/green if you want me to. Or I could add a command in the startup arguments so a shortcut can change the color.

Or maybe a different name?
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }

Last edited by FordGT90Concept; Oct 23, 2009 at 05:37 AM. Reason: Removed attachment
FordGT90Concept is offline  
Crunching for Team TPU
Reply With Quote
Old Oct 23, 2009, 04:40 AM   #73
Mindweaver
Moderato®™
 
Mindweaver's Avatar
 
Join Date: Apr 2009
Location: Statesville, NC
Posts: 3,651 (2.44/day)
Thanks: 4,320
Thanked 2,319 Times in 1,150 Posts

System Specs

Nice! Yea I just tested and it works!

I'm off to bed.... hehehe

I'll upload it tomorrow and add it! Good job!

Edit: Startup arguments would be nice. Let the user pick.
__________________
“As long as I feel the warmth from the sun and breathe precious air…. I must ask questions to feed the Mind!”

Battletag: Mindweaver#1523
Mindweaver is offline  
Crunching for Team TPU
Reply With Quote
Old Oct 23, 2009, 05:36 AM   #74
FordGT90Concept
"I go fast!1!11!1!"
 
FordGT90Concept's Avatar
 
Join Date: Oct 2008
Location: IA, USA
Posts: 10,575 (6.29/day)
Thanks: 1,755
Thanked 2,596 Times in 1,960 Posts

System Specs

I added three commandline arguments (all optional):

-backcolor (color) - Sets the background color.*
-forecolor (color) - Sets the foreground color.*
-dir (directory) - Will create update or create a cc_config.xml in this directory overriding the search algorithms.

* Available colors (capitalization is important):
  • Black
  • DarkBlue
  • DarkGreen
  • DarkCyan
  • DarkRed
  • DarkMagenta
  • DarkYellow
  • Gray
  • DarkGray
  • Blue
  • Green
  • Cyan
  • Red
  • Magenta
  • Yellow
  • White


Command line example:
Code:
-backcolor "Green" -forecolor "White" -dir "C:\Documents and Settings\All Users\Application Data\BOINC"
Attached Files
File Type: zip beta 4.zip (4.7 KB, 139 views)
__________________
Golden Rule of Programming: Never assume.

try { SteamDownload(); }
catch (Steamception ex) { RageQuit(); }
FordGT90Concept is offline  
Crunching for Team TPU
Reply With Quote
Old Oct 23, 2009, 09:14 PM   #75
Mindweaver
Moderato®™
 
Mindweaver's Avatar
 
Join Date: Apr 2009
Location: Statesville, NC
Posts: 3,651 (2.44/day)
Thanks: 4,320
Thanked 2,319 Times in 1,150 Posts

System Specs

Quote:
Originally Posted by FordGT90Concept View Post
I added three commandline arguments (all optional):

-backcolor (color) - Sets the background color.*
-forecolor (color) - Sets the foreground color.*
-dir (directory) - Will create update or create a cc_config.xml in this directory overriding the search algorithms.

* Available colors (capitalization is important):
  • Black
  • DarkBlue
  • DarkGreen
  • DarkCyan
  • DarkRed
  • DarkMagenta
  • DarkYellow
  • Gray
  • DarkGray
  • Blue
  • Green
  • Cyan
  • Red
  • Magenta
  • Yellow
  • White


Command line example:
Code:
-backcolor "Green" -forecolor "White" -dir "C:\Documents and Settings\All Users\Application Data\BOINC"
Cool.. but it kind of takes the easy out of the Easy WCG config..lol
__________________
“As long as I feel the warmth from the sun and breathe precious air…. I must ask questions to feed the Mind!”

Battletag: Mindweaver#1523
Mindweaver is offline  
Crunching for Team TPU
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Case Gallery] Easy CaseMod Dj.Grazy Case Mod Gallery 3 Apr 18, 2010 04:18 AM
Acronis® Migrate Easy 7.0 fafa21 Storage 2 Nov 28, 2008 03:17 PM
easy question accordpower99 Graphics Cards 7 Jan 19, 2008 03:59 AM
Easy 4ghz Processor? diGitaL General Hardware 15 Sep 5, 2004 11:45 PM


All times are GMT. The time now is 10:38 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
no new posts