Go Back   FileForums > Games > General Gaming
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 28-03-2010, 03:13
Cowsheep Cowsheep is offline
Registered User
 
Join Date: Oct 2009
Location: Near OEP;)
Posts: 352
Thanks: 0
Thanked 13 Times in 4 Posts
Cowsheep is on a distinguished road
Just Cause 2 and Win XP

Offically not supported, i want to care about it.
The imports to the dx 10 dlls are taken via delayed imports.

At first, there is a VerifyVersionInfoA.
Xp fails, so eax is 0, Jnz after Test eax, eax is not taken -> Bad boy msg: Newer version of windows needed.
Ok, patched it.

Then, the error "Not enough storage is available to complete this operation" appears.
Why?
CocreateInstance (ole32.dll) fails with error_sxs_key_not_found, That leads directly to the error msg.

Inside that function (in ole32.dll) GetCurrentThread is called followed by OpenTreadToken.
It fails with ERROR_NO_TOKEN.

Till that point, loading a dx10 dll was not tried.


Can i break in Olly on a specific LastErr?

Last edited by Cowsheep; 28-03-2010 at 10:07.
Reply With Quote
Sponsored Links
  #2  
Old 30-03-2010, 11:57
Cowsheep Cowsheep is offline
Registered User
 
Join Date: Oct 2009
Location: Near OEP;)
Posts: 352
Thanks: 0
Thanked 13 Times in 4 Posts
Cowsheep is on a distinguished road
The error is caused by the failure of loading the file dxgi.dll. Its Vista and 7 exclusive, but i collected all substitute dlls. Nothing red in Dependency Walker anymore.

The game exe fails loading this dll with ERROR_ACCESS_DENIED, loading the dll with Olly results in "Failed to load dll" and ERROR_INVALID_NAME.

How to make the Win7 dlls loadable in XP? (All 81 substitute dlls are there, no missing function according to Dependency Walker.)
Reply With Quote
  #3  
Old 07-04-2010, 06:27
Cowsheep Cowsheep is offline
Registered User
 
Join Date: Oct 2009
Location: Near OEP;)
Posts: 352
Thanks: 0
Thanked 13 Times in 4 Posts
Cowsheep is on a distinguished road
Another attemp:
I copied all dlls from my win 7 pc to on my xp pc and added the path of the dlls to the PATH variable.

Now the game accesses the dxgi.dll from C:\JC2Dlls, but that dll tries to load all substitute dlls from C:\WinXp\System32 (and not from C:\JC2Dlls)

How to stop that?
Reply With Quote
  #4  
Old 26-08-2010, 06:00
ReLoaDeR ReLoaDeR is offline
Registered User
 
Join Date: Aug 2010
Location: United States
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
ReLoaDeR is on a distinguished road
there's a way to make just cause 2 work on xp?!! plz tell me how!!! if you have get to the not enough blah blah error then it's already a good step... sorry for my bad english
Reply With Quote
  #5  
Old 26-08-2010, 06:53
Cowsheep Cowsheep is offline
Registered User
 
Join Date: Oct 2009
Location: Near OEP;)
Posts: 352
Thanks: 0
Thanked 13 Times in 4 Posts
Cowsheep is on a distinguished road
No, i failed
Reply With Quote
  #6  
Old 26-08-2010, 06:55
ReLoaDeR ReLoaDeR is offline
Registered User
 
Join Date: Aug 2010
Location: United States
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
ReLoaDeR is on a distinguished road
come on i cant wait to play this game... and i would not upgrade to win7 just to play it... this is sucks
there's a way to make justcause2.exe load the dlls from windows 7?

Last edited by ReLoaDeR; 26-08-2010 at 16:55.
Reply With Quote
  #7  
Old 27-08-2010, 21:41
ShadowDuke ShadowDuke is offline
Registered User
 
Join Date: May 2005
Location: Germany
Posts: 392
Thanks: 3
Thanked 6 Times in 6 Posts
ShadowDuke is on a distinguished road
If it's that simple...

Win7 is good, why don't want to upgrade?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump



All times are GMT -7. The time now is 07:42.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com