Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[Attention Zune Users] It Isn't Zune software its zunemarket

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Mon Aug 27, 2007 6:13 pm    Post subject: [Attention Zune Users] It Isn't Zune software its zunemarket Reply with quote

i hate zune marketplace

it sucks. out loud

so why do i want my computer eating all the cpu power when i could just skip it and have a 10x faster zune software experience

so i made this program

simple, easy.

1 to enable
2 to disable

-this assumes zune is at C:\Program Files\Zune\

it renames the marketplace .dll to marketplace1.dll

no error message even...microsoft sure is DUMB1!1!



The Extension 'rar' was deactivated by an board admin, therefore this Attachment is not displayed.


_________________
Back to top
View user's profile Send private message
Lorrenzo
Moderator
Reputation: 4

Joined: 02 Jun 2006
Posts: 3744

PostPosted: Mon Aug 27, 2007 6:22 pm    Post subject: Reply with quote

Wth is a zune






haha jk, I don't have one tho..

_________________
LAWLrrenzolicious
Back to top
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Mon Aug 27, 2007 6:29 pm    Post subject: Reply with quote

They're not dumb, it's graceful error handling. Also, don't hardcode paths, get them dynamically. Here is an example of retrieving the path to program files.

Code:

#include <windows.h>
#include <shlobj.h>
#include <stdio.h>

int main( int argc, char* argv[])
{
    char ProgramFiles[MAX_PATH]; LPITEMIDLIST li;
   
    if (SUCCEEDED(SHGetSpecialFolderLocation(NULL, CSIDL_PROGRAM_FILES, &li))) {
        if (SHGetPathFromIDListA(li, ProgramFiles)) {               
            printf("Path to program files is %s", ProgramFiles);
        }       
        CoTaskMemFree(&li);
    }

    return EXIT_SUCCESS;
}
Back to top
View user's profile Send private message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Mon Aug 27, 2007 6:32 pm    Post subject: Reply with quote

you cant CHOOSE where zune is dl'ed too

microsoft does it automatically >.>

_________________
Back to top
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Mon Aug 27, 2007 6:35 pm    Post subject: Reply with quote

blankrider wrote:
you cant CHOOSE where zune is dl'ed too

microsoft does it automatically >.>


How does this justify your hard-coding?
Back to top
View user's profile Send private message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Mon Aug 27, 2007 6:37 pm    Post subject: Reply with quote

because it willl be there 98% of the time and if the person doesn't have it there, they have to brains to disable it?

and lazy

_________________
Back to top
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Mon Aug 27, 2007 6:41 pm    Post subject: Reply with quote

Many people don't have Windows installed on C:\. Just because it works for you doesn't mean it'll work for other people.
Back to top
View user's profile Send private message
nog_lorp
Grandmaster Cheater
Reputation: 0

Joined: 26 Feb 2006
Posts: 743

PostPosted: Mon Aug 27, 2007 6:50 pm    Post subject: Reply with quote

A compromise between laziness and (erm) working-ness, would be to use %ProgramFiles%\Zune
_________________
Mutilated lips give a kiss on the wrist of the worm-like tips of tentacles expanding in my mind
I'm fine accepting only fresh brine you can get another drop of this yeah you wish
Back to top
View user's profile Send private message
lurc
Grandmaster Cheater Supreme
Reputation: 2

Joined: 13 Nov 2006
Posts: 1900

PostPosted: Mon Aug 27, 2007 7:04 pm    Post subject: Reply with quote

Edit: Only for managed C++, my bad if this is CLR, or Win32
Edit2: damn, its CLR, o well, u get the idea on how to make a GUI version of this.

u could also make someone choose there destination...

using the switch function to use default or to use ur own destination


Managed C++ Only :: Lurc wrote:
y dont u do something like this

make a textBox for the Destination.

and a check box that sais "Default (C:\Program Files\Zune)"

now instead of stating where zune is placed

use this

Code:
char oldname[] = textBox1->Text + "\\Zunemarketpace.dll";
char newname[] = textBox1->Text + "\\zunemarketplace1.dll";


code snippet:

Code:
if(checkBox1->Checked == true) {
   textBox1->Disabled = true;
   char oldname[] = "C:\\Program Files\\Zune\\zunemarketplace.dll";
   char newname[] = "C:\\Program Files\\Zune\\zunemarketplace1.dll";
}
else if (checkBox1->Checked == false) {
   textBox1->Diabled = false;
   char oldname[] = textBox1->Text + "\\zunemarketplace.dll";
   char newname[] = textBox1->Text + "\\zunemarketplace1.dll";
}

_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites