Saturday, 1 December 2012

The game data is usually compressed and then packed up in pirated copies. The usual rant about a flaw in RIP 4 Games is that it throws up an error as follows,

'Unable to create folder 'NPSWF32\' The system cannot find the path specified.'

This is followed by,

.RipForGames.bat Not Founded

This happens only in Windows Vista/7, its because of an issue with privacy / security settings. The batch file is denied permission to create its own directory, the solution however is easy, if you understand what you are doing obviously.

First of all we need the location that needs permission, let's start by downloading 7-zip (a freeware).

Now, extract and install 7-zip onto your system.

Go to the folder in which the "Setup.exe" for the game is present

Right click on the "Setup.exe"

Select 7-zip -> Extract to "/Setup"

Now you'll find a folder "Setup", open it and you'll find two files and a folder in it

Now double-click the file name ".text" and it should show the "Open With" dialog box

Select "Wordpad" or "Notepad" (Notepad would make the text look very garbled, so I recommend using Wordpad)

Now the file would open, search for "NPSWF32" inside the document, when it is found, look at the entire line, it should contain a directory

Usually, it would be

C:\Windows\WinSxS\WMSET10\wpdmtp\xscan-xp\NPSWF32\ak47.bat

(If yours is the same, then to make it simpler download this, run it as Administrator and it'll do all the command prompt work for you.)

Where C: is the Windows Directory, now this is the directory which the Setup needs, so we have to create it and give access to it.

There are 2 ways to do this,

1. Command Prompt2. Windows Explorer

1. Command Prompt:
This makes use of command prompt in your OS to give the necessary permissions in the required locations.

First we have to take hold of WinSxS folder, so type in,

takeown /f C:\Windows\WinSxS /r /d y

Now after taking ownership, we have give Access Control (Permissions)

so, type this (after the first command has been executed)

icacls C:\Windows\WinSxS /grant administrators:F /t

Next, we have to create a directory named "WMSET10" in it, create it after browsing to "C:\Windows\WinSxS" or using command prompt (md command)

Now that you've created WMSET10, you'll have to create "wpdmtp" in it, this again needs permission, so now type in,

takeown /f C:\Windows\WinSxS\WMSET10 /r /d y

then,

icacls C:\Windows\WinSxS\WMSET10 /grant administrators:F /t
Next we have to create wpdmtp folder, and then we type in the following to grant permission to it,

2. Windows Explorer
This is a lot more easier in my view, it should work if you hold an administrator account. So, now after getting to know the directory which is needed to be created (in my case), that is,

C:\Windows\WinSxS\WMSET10\wpdmtp\xscan-xp\NPSWF32\ak47.bat

Navigate to C:\Windows, now right click on WinSxS, and follow as in screenshots.

Go to Security Tab and then Click on "Edit"

Highlight Users (Computer_Name\Users)

Check "Full Control" in the Permissions for Users and click "Apply" & "Ok"

Now a dialog box should pop up like below,

Click Yes and confirm if needed.

Do the same by creating the consecutive folders, going to their properties, changing the Security/Permission and in the end create the batch file as follows.

To do this, open NotePad (Run Dialog Box, type Notepad)

Go to File -> Save as and Type in Filename as "ak47.bat"
Now in Save As Type select "All Files"

Save it in C:\Windows\WinSxS\wpdmtp\xscan_xp\NPSWF32, that's it.

Now you can install the game, problem fixed!! Any queries? Let me know below in comments or contact me.