So how about this:
Code:
bool FileLoader::IsFilePresent(std::string input)
{
File::SetCurrentDir(USERDATA_DIR DIR_SEP LOAD_FILES_DIR);
if(File::Exists(input))
{
return true;
}
return false;
}
I set up D_LOADFILES_IDX too. It successfully creates the directory after I added your line in Main.cpp.
More double posts

I have 2 questions:
1)In which variable (I'm hoping for an std:

tring) is the GameID of the currently running game stored in, and in which header file is that?
2) I've just created a Dolphin clone on GoogleCode, but where do you enter the password that GoogleCode gives you into Git Extensions? (Or anywhere, for that matter) I can commit fine, but when I push to my clone I get a wrong username/password error.
(01-20-2012, 11:36 AM)HawaiianPunch Wrote: [ -> ]More double posts 
I have 2 questions:
1)In which variable (I'm hoping for an std:
tring) is the GameID of the currently running game stored in, and in which header file is that?
2) I've just created a Dolphin clone on GoogleCode, but where do you enter the password that GoogleCode gives you into Git Extensions? (Or anywhere, for that matter) I can commit fine, but when I push to my clone I get a wrong username/password error.
1) Check ISOFile.h or whatever it's called (should be in DolphinWX)
2) Check your Google profile settings
3) About the code above: Just use if(File::Exists(File::GetUserPath(D_LOADFILES_IDX) + input)) instead of your helper function...
Hmm, my Google settings seem fine. What do the devs use to commit? I have the password I need, I just don't know where to put it. Should I use a different program besides Git Extensions?
(Also, what is the specific object name that holds the playing ISO in the GameListItem class? There seem to be quite a few and I don't know what each is for.)
EDIT: Figured out the first one. I just downloaded Tortoise Git and it prompted me for my username and password, then successfully pushed. I still don't know why Git Extensions didn't do this, and if anyone has an idea please post because I'd rather use Git Extensions.
for git extensions you need to setup your %userprofile%\_netrc file instructions are on the checkout page for a project or clone that you have commit access
But I don't know how to create that _netrc file on Windows.
Open Notepad and type
machine code.google.com
login replacewithyouemail
password Replacewithyougcodepassword
save as C:\Users\HawaiianPunch\_netrc
choose all files so that it doesnt add the .txt extension and change hawaiianPunch in the path with your windows username
Wow. Didn't realize it was that easy. Thanks. I do wish GoogleCode provided more information for non-Linux users, though.
Using passwords sucks anyway, and should be replaced by private keys. ;P