PSX-SCENE Forum Discussion for Sony PlayStation/PsOne/PS2/PS3/PSP/PS VITA
  • Ps3 CFW Folder Check + Source Code Included

    The developer behind the Ps3Wizard, as well as several other works, PsDev brings us a new application to use on our PCs that checks to see if you have everything setup correctly on your USB to install CFW. Now no one should have any problems not being able to put the CFW onto their USB drive.


    As my first contest entry-
    I was bored, so I whipped up an application that checks to see if the folders that you have to setup for you to be able to install the CFW on the ps3 are named and correct so you never have to wonder why the ps3 could not find the update. Source code is included

    Took me 5 min to develop

    How to: Just place the .exe file in your flash drive where you have your folders and cfw setup run it and it will tell you if there is a typo, the foldername correct, the pup name correct and then if so it tell you your ready to go. THE PROGRAM HAS TO BE RIGHT WHERE THE FOLDERS ARE REMEMBER

    Pictures:

    With everything correct-


    it should look like that ^^^^^

    WITH A ERROR like wrong spelled folder


    Source code:
    Code:
    #include <Windows.h>
    #include <direct.h>
    #include <iostream>
    #include <fstream>
    #include <string>
    
    #pragma comment(lib, "shlwapi.lib")
    #include <shlwapi.h>
    
    using namespace std;
    typedef unsigned int u32;
    
    /*******************************************************************************
     * Check if a file or a folder exists
     ******************************************************************************/
    bool Exists(string Path)
    {
    	return GetFileAttributes(Path.c_str()) != INVALID_FILE_ATTRIBUTES;
    }
    
    /*******************************************************************************
     * Quit the application with a message
     ******************************************************************************/
    void Quit(string Message)
    {
    	cout << Message.c_str() << "\r\nPress any key to continue...";
    	cin.get();
    	exit(0);
    }
    
    /*******************************************************************************
     * Entry Point
     ******************************************************************************/
    int main(int argc, char* argv[])
    {
    	// - Show banner
    	cout << "*****************************************************\r\n";
    	cout << "**\r\n";
    	cout << "** \tCFW Checker\r\n";
    	cout << "**\tFollow me on twitter @ RealPsDev\r\n";
    	cout << "**\tI was bored made in 5min\r\n";
    	cout << "**\r\n";
    	cout << "*****************************************************\r\n\r\n";
    
    	// - Get CFW Path
    	char ExePath[MAX_PATH];
    	GetModuleFileName(NULL, ExePath, MAX_PATH);
    
    	string SourcePath = string(ExePath);
    	SourcePath.erase(SourcePath.rfind("\\"));
    
    	// - Verify 'Cfw' folder
    	SourcePath += "\\PS3\\UPDATE\\PS3UPDAT.PUP";
    	cout << "- Checking see if Folders For CFW are correct" << endl;
    
    	if (!Exists(SourcePath))
    		Quit("Error: Folders are not correct(" + SourcePath + ")\r\n");
    
    	
    	Quit("\r\nYou are now ready to the USB into the ps3!\r\n");
    	return 0;
    }
    Download: Ps3 CFW Folder checker.rar

    [You can VOTE FOR THE ENTRY, in PSX-Scene's Monthly Contest]
    Comments 24 Comments
    1. tthousand's Avatar
      tthousand -
      Neat app! This will be a great help for those troubleshooting!
    1. digidolcymru's Avatar
      digidolcymru -
      all we need now is cfw for it lol
    1. Minuz's Avatar
      Minuz -
      Frontpage news!
    1. krytonic's Avatar
      krytonic -
      Quote Originally Posted by digidolcymru View Post
      all we need now is cfw for it lol
      There is loads of CFW out there to use for it.
    1. Molotov's Avatar
      Molotov -
      new cfw lol
    1. ch13696's Avatar
      ch13696 -
      You should add on information on what folders they would need if they were to receive on error.
    1. BahumatLord's Avatar
      BahumatLord -
      If it is a simple matter of misspelled file names or folders eg: all lowercase instead of all uppercase, couldn't you add a script to correct the name as long as it is the correct name, just not correct case? Also integrate an md5 checksum that will read the correct md5 for various ofw and cfw from a specific file and compare that to the tested firmware. I see alot of room for growth for this project. Hope you're not shelving it
    1. SwordOfWar's Avatar
      SwordOfWar -
      Seriously....

      If your competent enough to put a .exe file on your flash drive, shouldn't you know how to create a folder and correctly type it's name?

      *USB Drive*PS3/UPDATE/UPDAT.PUP is all you need to know to put an update on a flash drive.

      If that wasn't good enough for you, I'm sure sony's official update page gives instructions for putting updates on your flash drive as well.

      If you can't figure that much out, you will probably screw your PS3 up anyway with CFW.

      Completely unnecessary app....
    1. mihaiolimpiu's Avatar
      mihaiolimpiu -
      this could be done with a .bat ... even the uppercase thing...
    1. yoshi314's Avatar
      yoshi314 -
      5 minute hack, that could be done with a batch script. and it makes a front page.

      i think that reflects best on current state of things on psx-scene.
    1. One2thr456svn's Avatar
      One2thr456svn -
      Quote Originally Posted by SwordOfWar View Post
      Seriously....

      If your competent enough to put a .exe file on your flash drive, shouldn't you know how to create a folder and correctly type it's name?

      *USB Drive*PS3/UPDATE/UPDAT.PUP is all you need to know to put an update on a flash drive.

      If that wasn't good enough for you, I'm sure sony's official update page gives instructions for putting updates on your flash drive as well.

      If you can't figure that much out, you will probably screw your PS3 up anyway with CFW.

      Completely unnecessary app....
      Completely unnecessary post, If they want to make anything, it should be supported. If you do not want to use then you have that option not to, but when people post these kind of post about someones work it may temp them not to make anything, then we will be left with what you made with is....?
    1. indecks's Avatar
      indecks -
      Quote Originally Posted by krytonic View Post
      There is loads of CFW out there to use for it.

      Um.. yeah, we know. Everyone already used it. This WOULD come in handy if there were a need to update to new CFW. But as it stands, the application is useless.

      "HEY GUYS, HURR DURR I MADE A PROGGIE TO MAKE SURE YOUR MOUSE IS PLUGGED IN. JUST CLICK HERE TO USE IT. HURRRRR"
    1. PsDev's Avatar
      PsDev -
      Quote Originally Posted by indecks View Post
      Um.. yeah, we know. Everyone already used it. This WOULD come in handy if there were a need to update to new CFW. But as it stands, the application is useless.

      "HEY GUYS, HURR DURR I MADE A PROGGIE TO MAKE SURE YOUR MOUSE IS PLUGGED IN. JUST CLICK HERE TO USE IT. HURRRRR"
      Honestly as it stands your useless.
    1. indecks's Avatar
      indecks -
      Quote Originally Posted by PsDev View Post
      Honestly as it stands your useless.
      As is 'your' grammar and spelling.
    1. PsDev's Avatar
      PsDev -
      Quote Originally Posted by indecks View Post
      As is 'your' grammar and spelling.
      have you found out how to dump the lv0? Don't think so.
    1. uber's Avatar
      uber -
      Quote Originally Posted by PsDev View Post
      have you found out how to dump the lv0? Don't think so.
      Have you?
    1. BahumatLord's Avatar
      BahumatLord -
      Yes, it is pretty basic script, and it has room for improvement to make it a real checker that might actually verify and identify your firmware (official or custom) version and to do the md5 checksum to make sure your download was successful before you screw up your ps3. I didn't do the md5 when I upgraded to Rebug and I paid the price for it by having to format my 1TB hard drive and starting from scratch when I got black screened in the install process. Every project has to start somewhere but all in all it's not a bad idea to idiot proof every aspect of playing around with your system. There are a lot of people just starting out and every little bit helps. I wouldn't call this front page news, but I do see potential in it. It seems obvious, but so was the trick to getting PSX backup games to work which everyone overlooked for how long? It is usually the most simple ideas that when worked on turn out to be some of the better ones. Instead of talking about how "useless" it is, let's talk about how to improve it. There are enough of us out there that if we put our heads together we could actually make real progress in the scene if we just stop bitching when someone releases something that you might not understand or have a use for.
    1. cannibal20's Avatar
      cannibal20 -
      okay but one thing this should also do is check if the drive is fat32, as ntfs wont work
    1. Caide's Avatar
      Caide -
      This is frontpage news? Are you ****ing kidding me?
    1. Jay-Jay's Avatar
      Jay-Jay -
      Nice work!
  • Daily Digest


    Want to receive the latest PSX info in your email?

    Sign up for our Daily Digest!



    Want to learn more about the team keeping you up to date with the latest scene news?

    Read about them now!

    Check out our Developer bios, too!

  • Recent Threads

    smokie1313

    serious issue here PLZ HELP

    Thread Starter: smokie1313

    okay here it goes
    i got 4 ps3 cech-3001a/b that shut off 2 secs after trying to power up
    red green then no lights at all

    Last Post By: atreyu187 Today, 03:29 AM Go to last post
    sparker781

    Sleeping Dogs Add-Ons

    Thread Starter: sparker781

    Hey All

    Thanks for stopping by. Essentially I can get the add-ons with no problem...But am not sure if I am doing something wrong cause

    Last Post By: BahumatLord Yesterday, 11:17 PM Go to last post
    rvuy9645

    Looking for: PS2 network adapter [EUR]

    Thread Starter: rvuy9645

    Hello,

    Looking for a network adaptor in Europe.
    I'm living in Belgium.
    Want to upgrade my fat PS2 with a HDD.
    Anybody

    Last Post By: rvuy9645 Yesterday, 06:18 PM Go to last post
    SonyUSA

    iPod Touch 5th Gen Digitizer Replacement Guide !

    Thread Starter: SonyUSA

    Welcome to SonyUSA's Totally Amazing Digitizer Only iPod Touch 5th Generation Replacement Guide! V. 1.2!
    *trumpets!*

    Guide made for

    Last Post By: wartutor Today, 12:32 AM Go to last post
    PS456

    Weird Fragmentation problem

    Thread Starter: PS456

    Okay, a couple months ago i used Opl for my backups constantly. Eventually i grew bored, and got rid of all the backups and formatted my usb. Now i tried

    Last Post By: SP193 Today, 03:01 AM Go to last post
    ANTZ7

    About fight night champion

    Thread Starter: ANTZ7

    Has anybody managed to successfully resisgn
    Fight night champ I can't resign the save file to another user name I done a few games but just can

    Last Post By: worrorfight Yesterday, 05:50 PM Go to last post
  • Recent Comments

    alzaabi

    BwE NOR Validator v1.30

    thank you very much but does this really patch Nor Dumps ?
    or just validate it ? Go to last post

    alzaabi Today 04:03 AM
    TheShadowRunner

    PS2 Controller Remapper v1.00 - by pelvicthrustman

    Woah totally awesome app, pelvicthrustman!
    A suggestion, could you extend the functionality for... Go to last post

    TheShadowRunner Today 02:32 AM
    coldlm

    PS2 Controller Remapper v1.00 - by pelvicthrustman

    how about making the PS2 controller vibrate on PS3! Go to last post

    coldlm Today 12:43 AM
    worrorfight

    Comedy on Demand: Laugh Factory on PS3 Updated

    Should be free service. :) Go to last post

    worrorfight Yesterday 09:54 PM
    worrorfight

    BwE NOR Validator v1.30

    Great update BwE I like this a lot! Go to last post

    worrorfight Yesterday 09:48 PM
    worrorfight

    PS2 Controller Remapper v1.00 - by pelvicthrustman

    Very cool indeed. Go to last post

    worrorfight Yesterday 09:47 PM
    atreyu187

    3K3Y -- PS3 Blu Ray ODD Emulator

    It was done by checksums when people use the on screen display to load games instead of manually... Go to last post

    atreyu187 Yesterday 09:39 PM
    FrogDR

    3K3Y -- PS3 Blu Ray ODD Emulator

    could you show a links to the info with M$ and way to detect x360key users ? Go to last post

    FrogDR Yesterday 07:40 PM
    diegsmoran

    PS2 Controller Remapper v1.00 - by pelvicthrustman

    Wow, this is way cool. Definatly useful for JP games using the X button to select! or changing some... Go to last post

    diegsmoran Yesterday 05:21 PM
    elmaki

    [GTA IV] Major Distribution Mod Loader by ICECOLDKILLAH

    good gooodddd Go to last post

    elmaki Yesterday 04:34 PM