X-Blades Retail & Demo (solved)

Having trouble playing a game, post here

X-Blades Retail & Demo (solved)

PostPosted by OldBoy2k » Sat Mar 14, 2009 1:20 am

Here's the updated Win2k fix for X-Blades:

MISSING EXPORTS
user32.dll - GetRawInputData,(*)GetRegisteredRawInputDevices,RegisterRawInputDevices
Shell32.dll - SHGetFolderPathAndSubDirA
xinput1_3.dll - TraceMessage
HID.dll - HidD_GetInputReport
Kernel32.dll

(*)GetRegisteredRawInputDevices = now alpha fixed

The updated Fix:
1) install the game
2) for user32.dll and Kernel32.dll you will need the updated Wrapper files: http://www.sendspace.com/file/9rcm78
copy those with the renamed system Kernel32_org.dll and User32_ORG.dll to the binaries directory.
3) for shell32.dll you will need the wrapper pack 1.08:
click here to download Wrapper pack
and add it together with the renamed Win2k system shell32_org.dll to the binaries game directory.
4) copy the v1.08 Wrapper.ini (rename it to win2k_xp_kernel32.ini) to the binaries directory and change line
[win2k_xp_user32]
UseDirectInput=1
in Notepad editor and save it.
2) download X3Daudio driver:click: download Win2k X3Daudio driver copy the xinput1_3.dll to the game binaries directory (other xinputxx.dlls are not needed)
3) download HID.dll click here: download HID.DLL @dlldump.com and copy it to the game binaries directory.

update info: This fix should work for the retail and demo.
OldBoy2k
 
Posts: 1351
Joined: Fri Feb 15, 2008 5:10 pm

Re: X-Blades Retail

PostPosted by Tom » Sat May 23, 2009 5:24 pm

Hello,

I have installed the Demo Version of X-Blades and the Wrapper Pack V1.8 and the xinpu1_3.dll.
I get the error Message: GetRegisteredRawInputDevices not found in User32.dll.
I don't know what's wrong ?
Is there a special entry in the win2k_xp_kernel32.ini ?
In the Readme.txt of the Wrapper Pack V1.8 user32.dll ist no entry about the GetRegisteredRawInputDevices.
Is there a newer Version of the Wrapper Pack ?

Thank a lot
Tom
 
Posts: 2
Joined: Sat May 23, 2009 12:33 pm

Re: X-Blades Retail

PostPosted by OldBoy2k » Sun May 24, 2009 3:03 am

Hello Tom,

welcome to Win2kgaming forum.I have to say because of being short on time i misread "GetRegisteredRawInputDevices" and thought it was covered already by Wrapper pack 1.8 but it isn't.Sorry for the confusion and trouble.That function will most likely be wrapped with the next release of the Wrapper pack.
OldBoy2k
 
Posts: 1351
Joined: Fri Feb 15, 2008 5:10 pm

Re: X-Blades Retail

PostPosted by Tom » Sun May 24, 2009 7:32 pm

Hello OldBoy2k,

thank you for the quick answer and your greetings.
I am glad to read that i don't make a mistake.
Tom
 
Posts: 2
Joined: Sat May 23, 2009 12:33 pm

Re: X-Blades Retail

PostPosted by OldCigarette » Tue May 26, 2009 5:55 pm

This looks like a pretty simple API, I'll see if I can get it added.
OldCigarette
 
Posts: 208
Joined: Sun Feb 03, 2008 6:35 am
Location: Qo`nos

Re: X-Blades Retail

PostPosted by JH2k » Sun Oct 11, 2009 3:28 am

I was going to run the game and the GetRegisteredRawInputDevices "problem".

But as no new wrapper version :/ I think I'll have to give it a try on XP.

And looks OldCigarette wasn't active since July either :/
JH2k
 
Posts: 140
Joined: Sat Nov 29, 2008 9:23 pm

Re: X-Blades Retail

PostPosted by OldBoy2k » Sun Oct 11, 2009 11:20 am

Hiya JH2k,

i know and that frustrates but you have to realise we are doing this on non-profit base and spend quite a lot of spare and night time into this project helping Win2k fellas out.OldCigarette started a new job this year and he's hasn't found the time to add this and some other important functions yet.

Because OldCigarette's Win2k Wrapper is not the only Wrapper project, there's a corresponding equivalent KDW Wrapper project from BlackWingCat going on, i advise to also check the Info&Tools section for the KDW post:

Info&Tools KDW Wrapper

Anyway, i will do my best to come up with a solution for you shortly!Please stay tuned.

greets

Edit:
You should be able to play X-Blades with KDW since all missing exports are covered by the KDW Wrapper:
KDW function list :wink: don't forget to install the x3d audiodriver
OldBoy2k
 
Posts: 1351
Joined: Fri Feb 15, 2008 5:10 pm

Re: X-Blades Retail

PostPosted by BlackWingCat » Sun Oct 11, 2009 2:30 pm

Hi.
Could I help you ?

GetRegisteredRawInputDevices is used by Japanese Drawing soft http://www.illuststudio.net/(Illust studio).

I used following only dummy code in KDW's user32.dll.

DWORD WINAPI d_GetRegisteredRawInputDevices(PRAWINPUTDEVICE pRawInputDevices,DWORD *puiNumDevices,DWORD cbSize){
// PRAWINPUTDEVICE d;
if(pRawInputDevices){
if(*puiNumDevices < 0) {
*puiNumDevices = 0;
SetLastError(ERROR_INSUFFICIENT_BUFFER);
return 0xffffffff;
}
}
*puiNumDevices = 0;
return 0;
}

I think that I must related on RegisteredRawInputDevice this function. :(
But Illust studio works well.

# I'll release KDW 0.79, has new strong functions in msvcrt.dll wrapper . For example Windows 7 usp10.dll can work on Windows 2000 !
BlackWingCat
 
Posts: 75
Joined: Sat Mar 07, 2009 7:20 am
Location: Kanagawa, Japan

Re: X-Blades Retail

PostPosted by JH2k » Sun Oct 11, 2009 3:45 pm

OldBoy2k wrote:Hiya JH2k,

i know and that frustrates but you have to realise we are doing this on non-profit base and spend quite a lot of spare and night time into this project helping Win2k fellas out.OldCigarette started a new job this year and he's hasn't found the time to add this and some other important functions yet.

Edit:
You should be able to play X-Blades with KDW since all missing exports are covered by the KDW Wrapper:
KDW function list :wink: don't forget to install the x3d audiodriver


Sorry so much, really don't get my post wrong. I didn't know he was starting a new job (that happens because I didn't read it if he posted :S, sorry).

Thanks for the KDW wrapper (another thread I lost :S). Thanks for that advices too, "BlackWingCat". I'll try to make it work :).

I tried the game today and what I find annoying (in the game, nothing else), is that if you use a gamepad, the camera doesn't center on your "path" automatically, but the game is entertaining :)

Again sorry for lost that threads and act bad in consequence :S.


EDIT: It works, but the game reaches the first logo/presentation screen and then, exits :/
Last edited by JH2k on Sun Oct 11, 2009 6:44 pm, edited 1 time in total.
JH2k
 
Posts: 140
Joined: Sat Nov 29, 2008 9:23 pm

Re: X-Blades Retail

PostPosted by OldBoy2k » Sun Oct 11, 2009 5:18 pm

To help i need to take a look at the dependencywalker log.Please run the game in "Start-> Start Profiling" environment.

Thanks
OldBoy2k
 
Posts: 1351
Joined: Fri Feb 15, 2008 5:10 pm

Re: X-Blades Retail

PostPosted by JH2k » Sun Oct 11, 2009 6:32 pm

I never did a log with this app, show I checked everything, except full paths option.

Log txt file
JH2k
 
Posts: 140
Joined: Sat Nov 29, 2008 9:23 pm

Re: X-Blades Retail

PostPosted by OldBoy2k » Sun Oct 11, 2009 8:44 pm

JH2k wrote:I never did a log with this app, show I checked everything, except full paths option.


Dependencywalker howto

Download and install the application,then -> File -> open -> select the game executable.Click away error message and the go for Profile -> Start Profiling and let the game start.When it crashs, don't close the Dependencywalker but save File -> save as ".dwi.Please upload this file again.I will take a closer look what could cause this crash.

Thanks
OldBoy2k
 
Posts: 1351
Joined: Fri Feb 15, 2008 5:10 pm

Re: X-Blades Retail

PostPosted by JH2k » Sun Oct 11, 2009 9:50 pm

Oh, ok, I thought about the dwi but... I thought you wanted the log in the window, ok, ok. Anyway, there you have if you need too :)

Now I'm on XP playing and doing some other tasks I left time ago. I'll post during the course of this night (UTC+2 time).


EDIT:

Here the DWI
http://www.megaupload.com/?d=2IRCKTY2
JH2k
 
Posts: 140
Joined: Sat Nov 29, 2008 9:23 pm

Re: X-Blades Retail

PostPosted by BlackWingCat » Mon Oct 12, 2009 4:33 am

Hi.
I think it not related with kernel32.dll

JH2k's DWI wrote:"Second chance exception 0xC0000094 (Integer Divide by Zero) occurred in "XBLADES.EXE" at address 0x00572B52."


00572B30 8903 mov [ebx],eax
00572B32 8186A800000000800100 add dword ptr [esi+000000A8h],00018000h
00572B3C 8B8EA8000000 mov ecx,[esi+000000A8h]
00572B42 8B4618 mov eax,[esi+18h]
00572B45 3BC8 cmp ecx,eax
00572B47 7E14 jle L00572B5D
00572B49 8B4E20 mov ecx,[esi+20h]
00572B4C 8D4401FF lea eax,[ecx+eax-01h]
00572B50 33D2 xor edx,edx
00572B52 F7F1 div ecx        <- Crash Here!
00572B54 0FAFC1 imul eax,ecx
00572B57 8986A8000000 mov [esi+000000A8h],eax


It seems to crash on using GetRegisteredRawInputDevices Parameters.

If this instruction is skipped, it loops infinity.
BlackWingCat
 
Posts: 75
Joined: Sat Mar 07, 2009 7:20 am
Location: Kanagawa, Japan

Re: X-Blades Retail

PostPosted by OldBoy2k » Mon Oct 12, 2009 11:13 am

@JH2k: From examining the log it seems the x3daudio driver was not installed,maybe only partly.Can you please download the x3daudio driver and copy the following files to the binaries (game) directory:

from the "copy_to_bin" directory:
xinput1_3.dll
faultrep.dll
ws2_32.dll

Copy all the other files from the x3daudio driver package stored in "copy_to_system32" directory to your ->windows 2k\system32\ directory and install the driver by running the register Win2k X3DAudio.bat.It could be a infinite loop,BlackWingCat mentioned,caused by a DINPUT device glitch.

In the meantime i will download the demo and do a test after lunch....
OldBoy2k
 
Posts: 1351
Joined: Fri Feb 15, 2008 5:10 pm

Next

Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 1 guest