X-Blades Retail & Demo (solved)

Having trouble playing a game, post here

Re: X-Blades Retail (not yet solved starting crash)

PostPosted by OldBoy2k » Wed Oct 21, 2009 7:57 pm

I must say i'm quite amazed that the game works under these driver conditions.Found a info in some X-Blades FAQ that Windows Media Player 11 is required if those kind of Logo crashes occur :lol: And also that it works withhout the latest forceware drivers...on the otherhand its a good info because now we know its a system library issue.
OldBoy2k
 
Posts: 1351
Joined: Fri Feb 15, 2008 5:10 pm

Re: X-Blades Retail (not yet solved starting crash)

PostPosted by OldBoy2k » Thu Oct 22, 2009 12:15 am

Okay, now the good part.I managed to get it loaded pass the logo to the menu without adding any other files than mentioned in the fix.If you use Application Verifier v2.50 and select all features and run the xblades.exe the game loads.One bad sideffect is that mouse and keyboard control don't work.I guess the problem is related the xinput but i'm not 100% sure on that.We do know now, that the game loads up and that no special drivers are needed...the bad news is, we still don't know what causes this behavour.
OldBoy2k
 
Posts: 1351
Joined: Fri Feb 15, 2008 5:10 pm

Re: X-Blades Retail (not yet solved starting crash)

PostPosted by OldBoy2k » Thu Oct 22, 2009 12:35 am

Important-Update:
I reduced the settings which the game needs to start to the following two:
- PageHeap - Detect heap related errors (uses guard pages)
- MiscProgrammingErorrs - Checks for common programming issues (1.2)

...so the error is related these two programming issues!
OldBoy2k
 
Posts: 1351
Joined: Fri Feb 15, 2008 5:10 pm

Re: X-Blades Retail (we are getting closer to the problem!)

PostPosted by JH2k » Thu Oct 22, 2009 1:19 am

:-?

Tell me, you are really enjoying capturing the error :lol: (I'm totally lost).

It's interesting what google shows as the first result to the PageHeap term http://support.microsoft.com/?scid=kb%3 ... 70&x=4&y=2
JH2k
 
Posts: 140
Joined: Sat Nov 29, 2008 9:23 pm

Re: X-Blades Retail (we are getting closer to the problem!)

PostPosted by OldBoy2k » Thu Oct 22, 2009 1:30 am

Yes,because i love Win2k and i know its not producing the error.
OldBoy2k
 
Posts: 1351
Joined: Fri Feb 15, 2008 5:10 pm

Re: X-Blades Retail (we are getting closer to the problem!)

PostPosted by OldCigarette » Fri Oct 23, 2009 4:42 am

Hey guys I got the demo working.

There was some problems in the user32 keyboard rawinput code and GetDiskFreeSpace operates differently on win2k from xp (I guess ERROR_DIR_NOT_ROOT is not thrown on XP and it just translates to the root.) I will try to get this patch out soon, but I've got to get some sleep right now ;)
OldCigarette
 
Posts: 208
Joined: Sun Feb 03, 2008 6:35 am
Location: Qo`nos

Re: X-Blades Retail (we are getting closer to the problem!)

PostPosted by OldCigarette » Sat Oct 24, 2009 12:54 am

Here is an updated kernel32 and user32 wrapper dlls. If you try them out please report back here how it went!

http://www.sendspace.com/file/9rcm78
OldCigarette
 
Posts: 208
Joined: Sun Feb 03, 2008 6:35 am
Location: Qo`nos

Re: X-Blades Retail (we are getting closer to the problem!)

PostPosted by JH2k » Sat Oct 24, 2009 2:52 am

Works!, nice job guys!

Ok, this ends like this. Needed files:

- the new user32 and kernel32 you made, OldCigarette
- the shell32 from the 1.8 version wrapper***
- xinput1_3.dll

*** this is needed for launcher.exe and to be able to select the game language and configuration of the graphics and sound.

The strange thing I found with this game is that, maybe only happens to me, but happened two times, the icons of the dll files are changed to this one until new reboot:
Image

Thanks guys, thank you for all your time and work to make possible to play this game on Windows 2000 :)
JH2k
 
Posts: 140
Joined: Sat Nov 29, 2008 9:23 pm

Re: X-Blades Retail (we are getting closer to the problem!)

PostPosted by JH2k » Sat Oct 24, 2009 5:40 pm

Curious mouse problem :/

I searched a little and happens to some people with this game.

To me, on XP doesn't happen but on 2K yes, and others on others OSs: you can't turn around with the mouse :S

Looking ahead, you can turn, for example, to left, 180º (or less...), and then it locks. Now (you are looking from you came), you turn to the right, and you can turn 360º (or less...), but no more, locked again.

Maybe this is related with all the problems it has this game with controls :S

I use mainly the gamepad plus center camera button to move, but it's annoying you can't use the mouse (sometimes it's useful).

Strange game and buggy :lol: But I love it :lol: and I love more to play it on Windows 2000 :mrgreen:
JH2k
 
Posts: 140
Joined: Sat Nov 29, 2008 9:23 pm

Re: X-Blades Retail (first working Alpha Fix)

PostPosted by OldCigarette » Sat Oct 24, 2009 11:08 pm

You might try this in your win2k_xp_kernel32.ini, no idea if it will help

Code: Select all
[win2k_xp_user32]
UseDirectInput=1
OldCigarette
 
Posts: 208
Joined: Sun Feb 03, 2008 6:35 am
Location: Qo`nos

Re: X-Blades Retail (first working Alpha Fix)

PostPosted by JH2k » Sat Oct 24, 2009 11:55 pm

OldCigarette wrote:You might try this in your win2k_xp_kernel32.ini, no idea if it will help

Code: Select all
[win2k_xp_user32]
UseDirectInput=1

Yes, that did the trick.

Maybe I should knew, but I didn't. I'll have to sit someday and read the wrapper thread and try to learn about the ini options for the next time :)
JH2k
 
Posts: 140
Joined: Sat Nov 29, 2008 9:23 pm

Re: X-Blades Retail (first working Alpha Fix)

PostPosted by OldBoy2k » Mon Oct 26, 2009 9:04 pm

Updated the retail version fix description.Now the retail game and demo should work fine.
OldBoy2k
 
Posts: 1351
Joined: Fri Feb 15, 2008 5:10 pm

Re: X-Blades Retail (we are getting closer to the problem!)

PostPosted by BlackWingCat » Mon Dec 14, 2009 8:59 am

OldCigarette wrote:Hey guys I got the demo working.

There was some problems in the user32 keyboard rawinput code and GetDiskFreeSpace operates differently on win2k from xp (I guess ERROR_DIR_NOT_ROOT is not thrown on XP and it just translates to the root.) I will try to get this patch out soon, but I've got to get some sleep right now ;)


Hi,
I think the following code is better.(it's KDW code)
it doesn't translates to the root but Selected folder root.

__declspec( dllexport ) int WINAPI d_GetDiskFreeSpaceA(char *a,DWORD *b,DWORD *c,DWORD *d,DWORD *e) {
int z;
char tmppath[260];
lstrcpy(tmppath,a);
do{
z=GetDiskFreeSpaceA(tmppath,b,c,d,e);
if(z)return z;
else if(GetLastError()!=ERROR_DIR_NOT_ROOT){
return 0;
}
do{
z=lstrlen(tmppath)-1;
tmppath[z]=0;
}while(tmppath[z-1]!='\\'&&z);
}while(z);
return 0;
}
BlackWingCat
 
Posts: 75
Joined: Sat Mar 07, 2009 7:20 am
Location: Kanagawa, Japan

Previous

Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 0 guests

cron