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:
2) Created an ini file with the ID and the name of the games that i own so far (named sample.ini
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:
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!
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"
And here is the final result of my current project:
BCUS98229_God Of War Collection
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
BLES00773_BATTLEFIELD - Bad Company 2
BLES00875_3D DOT GAME HEROES
BLES00887_Grand Theft Auto - Episodes from Liberty City
BLES00949_Need for Speed - Hot Pursuit
BLES01031_Call of Duty - Black Ops
BLUS30192_Call of Duty - World at War
BLUS30442_Midnight Club - Los Angeles
BLUS30517_BATTLEFIELD - Bad Company 2
BLUS30527_Test Drive Unlimited 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!