Forum: PS3 General Discussion - The PS3 General Discussion forum is where you can discuss anything and everything related to the Sony Playstation 3. Discuss your favorite PS3 games, mods or Sony Scene news and share your thoughts with the PSX-Scene community.


The above video goes away if you are a member and logged in, so log in now!




 
Would you like to get all the new info from
PSX-Scene in your email each day?




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!

 


User Tag List

Thread: [Project] PS3 Game Organizer
  

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
  1. #1 [Project] PS3 Game Organizer 
    zylor is offline Hack3rs pwned Son¥
    Join Date
    Oct 2010
    Posts
    461
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    5
    Likes Received
    0
    Update1:
    So i started to learn visual basic but since i don't master anything yet and i'm still learning i've done a couple of things so far in BATCH files:

    1) Create a list of the folders inside my GAMEZ dir:
    Code:
    BLES00319
    BLES00604
    BLES00917
    BLES00759
    BLES00659
    BLUS30442
    BLUS30517
    BLES00135
    BLES00949
    BLES00673
    BLES00887
    BLES01031
    BCAS20107
    BLES00914
    BLUS30527
    BLES00682
    BLES00517
    BLES00176
    BLUS30192
    BCUS98229
    BLES00697
    BLES00820
    BLES00875
    BLES00683
    BLES00464
    BLES00962
    BLES00237
    BLES00773
    BLUS30631
    BLES01134
    BLES00073
    2) Created an ini file with the ID and the name of the games that i own so far (named sample.ini):
    Code:
    [Section1]
    BLES00319 = Brothers in Arms - Hells Highway
    BLES00604 = Kane and Lynch 2 - Dog Days
    BLES00917 = F1 2010
    BLES00659 = Army of TWO - The 40th Day
    BLUS30442 = Midnight Club - Los Angeles
    BLES00759 = Blur
    BLUS30517 = BATTLEFIELD - Bad Company 2
    BLES00135 = Stuntman - Ignition
    BLES00949 = Need for Speed - Hot Pursuit
    BLES00673 = Colin McRae - DiRT 2
    BLES00887 = Grand Theft Auto - Episodes from Liberty City
    BLES01031 = Call of Duty - Black Ops
    BCAS20107 = HEAVY RAIN
    BLES00914 = nail-d 
    BLUS30527 = Test Drive Unlimited 2
    BLES00682 = Need for Speed SHIFT
    BLES00517 = Just Cause 2
    BLES00176 = Need for Speed ProStreet
    BLUS30192 = Call of Duty - World at War
    BCUS98229 = God Of War Collection
    BLES00697 = Borderlands
    BLES00820 = BLAZBLUE
    BLES00875 = 3D DOT GAME HEROES
    BLES00683 = Modern Warfare 2
    BLES00464 = FEAR 2 - Project Origin
    BLES00962 = Homefront
    BLES00237 = Tom Clancys Rainbow Six Vegas 2
    BLES00773 = BATTLEFIELD - Bad Company 2
    BLUS30631 = Crysis 2
    BLES01134 = Bulletstorm
    BLES00073 = Burnout Paradise
    And finally for those who want something like this, i created a file with the name:
    Rename folders to correct name.bat
    With this code inside it:
    Code:
    @echo off
    pushd "C:\Users\zylor\Desktop\testar renomear"
    for /d %%a in (*) do (
        for /f "tokens=1* delims== " %%b in (' find "%%~na" ^< "sample.ini" ') do (
            if /i "%%b"=="%%~na" (
                echo ren "%%~na" "%%~na_%%c"
            )
        )
    )
    popd
    pause
    Updated the code to case sensitive in folders!

    (For this to work correctly you need to put this BATCH file inside your GAMEZ dir and create the database by hand)

    When you run this file it will rename all the folders inside GAMEZ to the correct names!

    And here is the final result of my current project:
    Code:
    BCAS20107_HEAVY RAIN
    BCUS98229_God Of War Collection
    BLES00073_Burnout Paradise
    BLES00135_Stuntman - Ignition
    BLES00176_Need for Speed ProStreet
    BLES00237_Tom Clancys Rainbow Six Vegas 2
    BLES00319_Brothers in Arms - Hells Highway
    BLES00464_FEAR 2 - Project Origin
    BLES00517_Just Cause 2
    BLES00604_Kane and Lynch 2 - Dog Days
    BLES00659_Army of TWO - The 40th Day
    BLES00673_Colin McRae - DiRT 2
    BLES00682_Need for Speed SHIFT
    BLES00683_Modern Warfare 2
    BLES00697_Borderlands
    BLES00759_Blur
    BLES00773_BATTLEFIELD - Bad Company 2
    BLES00820_BLAZBLUE
    BLES00875_3D DOT GAME HEROES
    BLES00887_Grand Theft Auto - Episodes from Liberty City
    BLES00914_nail-d
    BLES00917_F1 2010
    BLES00949_Need for Speed - Hot Pursuit
    BLES00962_Homefront
    BLES01031_Call of Duty - Black Ops
    BLES01134_Bulletstorm
    BLUS30192_Call of Duty - World at War
    BLUS30442_Midnight Club - Los Angeles
    BLUS30517_BATTLEFIELD - Bad Company 2
    BLUS30527_Test Drive Unlimited 2
    BLUS30631_Crysis 2
    Future developments and ToDo's:
    - Create the database automatically without the need of creating it by hand!

    I would like to hear opinions to this project!

    Everyone's opinion is welcome!

    I think i made a cool work so far!

    At least we should be able to maintain our games ordered and organized!
    OLD POST:
    Ok i'm a newbie regarding python,c,c++,VB
    I started a new project to organize our games inside GAMEZ folder
    Âll i managed to do so far is this:

    I have the following game ID folders inside my GAMEZ folder:
    Code:
    BLES00319
    BLES00604
    And i got a SAMPLE.INI with this info inside it:
    Code:
    [Section1]
    BLES00319 = Brothers in Arms - Hells Highway
    BLES00604 = Kane and Lynch 2 - Dog Days
    And i've written this batch file:
    Code:
    @echo off
    setlocal enableextensions
    for /f "tokens=2 delims==" %%? in (
    'find /i "BLES00319" ^< sample.ini') do set ID=%%?
    if "%ID:~0,1%" equ " " set ID=%ID:~1%
    REN BLES00319 %ID%_BLES00319
    setlocal enableextensions
    for /f "tokens=2 delims==" %%? in (
    'find /i "BLES00604" ^< sample.ini') do set ID=%%?
    if "%ID:~0,1%" equ " " set ID=%ID:~1%
    ren BLES00604 %ID%_BLES00604
    echo.
    Echo ----------------------------------------
    echo All folders completed!
    echo ----------------------------------------
    pause
    But rename doesn't work with this syntax... and i think this way is a no go... since it does manually involve editing the sample.ini file with the GAME ID = NAME OF THE GAME format!

    Could anyone help me?

    All i wanted was a APP to automatically read from param.sfo the GAMEID and the name of the game and rename this way for example:
    BLES00319-[Brothers in Arms - Hells Highway]

    Could anyone help me? Please? Thanks!

    Edit:

    I'm asking for help to start learning!
    Last edited by zylor; 03-25-2011 at 11:13 PM.
    PS3 FAT 80Gb CECHL-03 Rebug CFW 3.55.2 (update 0.3) with OTHEROS++ & MultiMAN 2.05.05 Many thanks all scene hackers involved !
    Reply With Quote  

  2. #2  
    zylor is offline Hack3rs pwned Son¥
    Join Date
    Oct 2010
    Posts
    461
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    5
    Likes Received
    0
    Anyone?
    PS3 FAT 80Gb CECHL-03 Rebug CFW 3.55.2 (update 0.3) with OTHEROS++ & MultiMAN 2.05.05 Many thanks all scene hackers involved !
    Reply With Quote  

  3. #3  
    chesh's Avatar
    chesh is online now New Moderator on the block
    Join Date
    Sep 2006
    Location
    Spokane
    Posts
    5,197
    Downloads
    1
    Uploads
    0
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    33
    Likes Received
    124
    Looks like you need to encode your ID's with " around the name (Ex: "Brothers in Arms - Hells Highway_BLES00319").
    Reply With Quote  

  4. #4  
    zylor is offline Hack3rs pwned Son¥
    Join Date
    Oct 2010
    Posts
    461
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    5
    Likes Received
    0
    Quote Originally Posted by chesh View Post
    Looks like you need to encode your ID's with " around the name (Ex: "Brothers in Arms - Hells Highway_BLES00319").
    chesh thanks for the help and it did indeed work! I'll make a basic programming in batch and will read the directories inside GAMEZ folder and will use that as a referance for naming to correct format!

    Anyway i did install cygwin but i just wanna know.. is it hard to program in it? Or should i do a program in QT framework?

    Thanks for response

    Edit: Downloading Qt framework so i can start learning something and help the community
    PS3 FAT 80Gb CECHL-03 Rebug CFW 3.55.2 (update 0.3) with OTHEROS++ & MultiMAN 2.05.05 Many thanks all scene hackers involved !
    Reply With Quote  

  5. #5  
    chesh's Avatar
    chesh is online now New Moderator on the block
    Join Date
    Sep 2006
    Location
    Spokane
    Posts
    5,197
    Downloads
    1
    Uploads
    0
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    33
    Likes Received
    124
    Cygwin is pretty much just a *nix emulator for windows. You can program in a vast amount of languages inside of it. Grep/awk/perl/c/etc... Really just depends on what you're looking at doing.
    Reply With Quote  

  6. #6  
    zylor is offline Hack3rs pwned Son¥
    Join Date
    Oct 2010
    Posts
    461
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    5
    Likes Received
    0
    Quote Originally Posted by chesh View Post
    Cygwin is pretty much just a *nix emulator for windows. You can program in a vast amount of languages inside of it. Grep/awk/perl/c/etc... Really just depends on what you're looking at doing.
    QT framework i think does the job!

    All i want is to create an app that checks if the dirs inside GAMEZ are in format:
    [<game name>]_[<gameid]

    If they aren't the app will fix the name and put it in the right format!

    A simple app but will make me learn something!

    Just a thing that i don't know... how do i read a param.sfo? To extract info for example like this:
    GAMEID: BLES12345
    GAME NAME: EXAMPLE NAME!
    ?
    I'm just asking that because i searched google and never found a solution for this and all i want it to put those values in variables when being read
    PS3 FAT 80Gb CECHL-03 Rebug CFW 3.55.2 (update 0.3) with OTHEROS++ & MultiMAN 2.05.05 Many thanks all scene hackers involved !
    Reply With Quote  

  7. #7  
    chesh's Avatar
    chesh is online now New Moderator on the block
    Join Date
    Sep 2006
    Location
    Spokane
    Posts
    5,197
    Downloads
    1
    Uploads
    0
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    33
    Likes Received
    124
    You're probably better off using cat on PS3_DISK.SFB and looking for the titleID in there.
    Reply With Quote  

  8. #8  
    zylor is offline Hack3rs pwned Son¥
    Join Date
    Oct 2010
    Posts
    461
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    5
    Likes Received
    0
    Quote Originally Posted by chesh View Post
    You're probably better off using cat on PS3_DISK.SFB and looking for the titleID in there.
    Never thought on that! I'm still downloading qt framework!

    All the programming i did so far is a little visual basic and pascal!

    Qt framework is basically visual basic plus c++ right?

    I'm going for this and will reply on this topic if i have any doubt

    Could you subscrive to this topic chesh? So you can help me? I won't do much questions since i wanna learn by myself
    PS3 FAT 80Gb CECHL-03 Rebug CFW 3.55.2 (update 0.3) with OTHEROS++ & MultiMAN 2.05.05 Many thanks all scene hackers involved !
    Reply With Quote  

  9. #9  
    chesh's Avatar
    chesh is online now New Moderator on the block
    Join Date
    Sep 2006
    Location
    Spokane
    Posts
    5,197
    Downloads
    1
    Uploads
    0
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    33
    Likes Received
    124
    I'm pretty sure that's all Qt is. I'm not really a programmer, but I can read source code and generally figure out what's wrong, if that makes any sense. I've been using linux for 10-15yrs, so it kind of comes with the territory. I'll try to help as much as I can though
    Reply With Quote  

  10. #10  
    zylor is offline Hack3rs pwned Son¥
    Join Date
    Oct 2010
    Posts
    461
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    5
    Likes Received
    0
    Well i started with linux about a year ago and i love it!
    I've bought a Nokia N900 and since it is based on linux (maemo) i love the possibilities that i have with linux eheheh

    I'll share my source code with you!

    Thanks for being cooperative
    PS3 FAT 80Gb CECHL-03 Rebug CFW 3.55.2 (update 0.3) with OTHEROS++ & MultiMAN 2.05.05 Many thanks all scene hackers involved !
    Reply With Quote  

Page 1 of 2 1 2 LastLast
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •