Bug 1034 - ArmyOps for MacOS 1.9 to 2.0 patcher fails when trying to delete System/pb/dll directory
Status: RESOLVED WONTFIX
Alias: None
Product: America's Army
Classification: Unclassified
Component: Graphical Client
Version: unspecified
Hardware: Macintosh MacOS X
: P2 blocker
Assignee: Ryan C. Gordon
QA Contact:
URL:
: 1072
Depends on:
Blocks:
 
Reported: 2003-11-25 22:47 EST by Shawn Erickson
Modified: 2004-01-15 09:16:20 EST
1 user (show)

See Also:



Description Shawn Erickson 2003-11-25 22:47:17 EST
The patchers fires up and runs most of the way thru its tasks but aborts due to a failure attempting 
to remove the System/pb/dll directory (inside of the applications package). At this point the 
patcher tools quits out (after showing a few error dialogs) and leaves the game in an unusable 
state.

I have repeated the patch process with a reinstall of the game from an an archive but no luck.

Before the patcher begins I find the following files in the patch the dll directory...
ma001319.mac
ma001311.mac
mc001044.mac

After the patcher hits the error only the following items remain...
ma001319.mac
mc001044.mac
Comment 1 Shawn Erickson 2003-11-25 23:14:24 EST
The following is an fs_usage of stuff related to the "dll" directory. Errno of 66 implies directory not 
empty.

[G5:~] shawnce% sudo fs_usage -w | grep dll
20:03:22.456  stat 	System/pb/dll/ma001311.mac	0.000061   mojopatch           
20:03:22.456  stat 	System/pb/dll/ma001311.mac	0.000005   mojopatch           
20:03:22.456  lstat 	System/pb/dll/ma001311.mac 	0.000005   mojopatch           
20:03:22.456  unlink	 System/pb/dll/ma001311.mac	0.000134   mojopatch           
20:03:22.458  stat 	System/pb/dll	0.000025   mojopatch           
20:03:22.458  stat 	System/pb/dll	0.000005   mojopatch           
20:03:22.459  rmdir [ 66] 	System/pb/dll	0.000052   mojopatch
Comment 2 Shawn Erickson 2003-11-25 23:33:18 EST
After manually removing the directory from a clean install (dragged it out of the package) and 
running the patcher things completed. So far the game appears to functioning but...
Comment 3 Ryan C. Gordon 2003-11-26 01:23:21 EST
MojoPatch will continue on if you fix a problem (i.e. - it couldn't remove a
directory, so you remove it manually...next time through, it'll notice that
everything up to that point is patched correctly and the directory it wanted to
delete is already gone, and continue the patching process normally).

Removing a non-empty directory was an unforeseen issue in the patching process.
My apologies.

--ryan.

Comment 4 Ryan C. Gordon 2003-11-26 01:35:27 EST
Oh, I should also say that you don't need to delete the directory when patching
from a clean (never been used) 1.9 installation...the problem is that PunkBuster
is adding files to the installation that MojoPatch doesn't account for.

To summarize for those coming here for info:
1) Right-click/ctrl-click the Army Operations 1.9 icon.
2) Click "Show Package Contents" on the popup menu.
3) In the newly-opened folder, find the "System" folder.
4) In "System", find the "pb" folder.
5) In "pb", DELETE the "dll" folder (drag it to the trash).
6) Close all these folders, run the patch program.

Alternately, install 2.0 from the full package, or (if you've got the 1.9
installer around) delete your 1.9 install, reinstall 1.9 and apply the 2.0 patch
before playing.

Nothing ever works smoothly on the first try, I swear.  :)

--ryan.

Comment 5 Shawn Erickson 2003-11-26 04:06:14 EST
"MojoPatch will continue on if you fix a problem (i.e. - it couldn't remove a
directory, so you remove it manually...next time through, it'll notice that
everything up to that point is patched correctly and the directory it wanted to
delete is already gone, and continue the patching process normally)"

Actually it aborts out of the patching reporting that you are already at 2.0.
Comment 6 Ryan C. Gordon 2004-01-15 09:16:20 EST
*** Bug 1072 has been marked as a duplicate of this bug. ***