Logo

CS.RIN.RU - Steam Underground Community

IRC: #cs.rin.ru at irc.rizon.net
It is currently Friday, 17 Apr 2015, 17:22

English | Русский




Post new topic Reply to topic  [ 919 posts ] 
Author Message

Post Post subject: Re: XLive (aka GFWL) emulator   
Posted: Monday, 07 Oct 2013, 23:33   
Beginner Без звания
Joined: Monday, 05 Nov 2012, 03:16
Posts: 19
@ catspaw

You need to get your bioshock 2 achievements list updated via gfwl client to see all 68 achievements (including ones for minervas den) . To do this you need to log in with your live enabled account (if you do not have any legit gfwl enabled games then download one of free games available like microsoft flight or tinker from xbox.com using their marketplace app). As soon as you log in achievements for all games available on your list will get updated even though you might not have appropriate content (dlc) installed for them.

Keep up the good work mate.


Top
 Profile  

Post Post subject: Re: XLive (aka GFWL) emulator   
Posted: Tuesday, 08 Oct 2013, 22:15   
I live here Три раза сломал клаву :)
User avatar
Joined: Sunday, 25 Sep 2011, 21:50
Posts: 5361
Location: 0100 0011 0101 0011 0101 0010 0100 1001 0100 1110 0101 0010 0101 0101
Nice work virusek! Thanks everybody!

_________________
All-In-One Post about getting Free Steam/Origin/Uplay Keys!
The ACF & Manifests Database - Share and download easily and safe!
Image


Top
 Profile  

Post Post subject: Re: XLive (aka GFWL) emulator   
Posted: Thursday, 10 Oct 2013, 00:38   
Advanced forumer Завсегдатай
Joined: Tuesday, 01 Oct 2013, 19:36
Posts: 175
This is just a tack of virusek work - a sandbox dll that does basic achievements recording to file (ID #s). And maybe reading back also but untested. Multi-DLCs + xlive.ini reading do work now on my hacked testbox.

So far it's adding new cheevos as I gain them for BioShock 2 (+ DLC) - through several play sessions. Hopefully they can be transferred once one of the pros comes up with a real solution.

The rest of you can try it out and see how it works out for you. ;)


Per request, binaries only. Changes will be submitted to the author as discovered. Besides, the added code is complete slop. :lol:
Thanks virusek


@stavros niarchos
Thanks - will try to do that.


Attachments:
xliveless sandbox.7z [51.75 KiB]
Downloaded 42 times
Top
 Profile  

Post Post subject: Re: XLive (aka GFWL) emulator   
Posted: Thursday, 10 Oct 2013, 00:40   
Advanced forumer Завсегдатай
User avatar
Joined: Monday, 04 Aug 2008, 20:17
Posts: 195
Location: Imaginationland
catspaw wrote:
This is just a tack of virusek work - a sandbox dll that does basic achievements recording to file (ID #s). And maybe reading back also but untested. Multi-DLCs + xlive.ini reading do work now on my hacked testbox.

So far it's adding new cheevos as I gain them for BioShock 2 (+ DLC) - through several play sessions. Hopefully they can be transferred once one of the pros comes up with a real solution.

The rest of you can try it out and see how it works out for you. ;)


Per request, binaries only. Changes will be submitted to the author as discovered. Besides, the added code is complete slop. :lol:
Thanks virusek


@stavros niarchos
Thanks - will try to do that.


This is based on old sources so you can release it, only not release new code I send you in PM.


Top
 Profile  

Post Post subject: Re: XLive (aka GFWL) emulator   
Posted: Thursday, 10 Oct 2013, 05:40   
Advanced forumer Завсегдатай
Joined: Tuesday, 01 Oct 2013, 19:36
Posts: 175
Seems rather unpopular so I'll just hang on to the old source for myself. :) Thanks btw for the wip build - helps me understand some things like XNotify. It'll stay closed source, closed talk - anyone will have to ask the 'source' how it works, because it's stuff I'd never figure out on my own. ;)


Was going to test out Batman Arkham Asylum with my 3 DLCs but missing ordinal.

  1.  
  2. Batman AA
  3.  
  4. DWORD WINAPI XLiveLess_5334( int, int )
  5. {
  6.     // ?? one path, other paths do weird stuff
  7.     return 0x4DB;
  8. }
  9.  


Top
 Profile  

Post Post subject: Re: XLive (aka GFWL) emulator   
Posted: Thursday, 10 Oct 2013, 11:31   
Forum ghost Местное привидение
User avatar
Joined: Wednesday, 20 Feb 2013, 23:44
Posts: 254
anyone have this xliveless for arkham city goty version dx9 not dx11 ? please TwT


Top
 Profile  

Post Post subject: Re: XLive (aka GFWL) emulator   
Posted: Thursday, 10 Oct 2013, 12:58   
Advanced forumer Завсегдатай
User avatar
Joined: Monday, 04 Aug 2008, 20:17
Posts: 195
Location: Imaginationland
catspaw wrote:
Seems rather unpopular so I'll just hang on to the old source for myself. :) Thanks btw for the wip build - helps me understand some things like XNotify. It'll stay closed source, closed talk - anyone will have to ask the 'source' how it works, because it's stuff I'd never figure out on my own. ;)


Was going to test out Batman Arkham Asylum with my 3 DLCs but missing ordinal.

  1.  
  2. Batman AA
  3.  
  4. DWORD WINAPI XLiveLess_5334( int, int )
  5. {
  6.     // ?? one path, other paths do weird stuff
  7.     return 0x4DB;
  8. }
  9.  


Here, help file from xbox 360 sdk: http://www.putlocker.com/file/E59BD8E0F7FCDB52
It documents some functions like XNotify etc.
EDIT: Attached xbox.h

PS: Can you check if GFWL uses XOVERLAPPED or Windows OVERLAPPED structure (they are different, in size too) ?


Attachments:
xbox.h [80.83 KiB]
Downloaded 12 times
Top
 Profile  

Post Post subject: Re: XLive (aka GFWL) emulator   
Posted: Thursday, 10 Oct 2013, 16:22   
Moderator
User avatar
Joined: Friday, 06 Jul 2012, 07:00
Posts: 9978
Location: Faster Than Scene
@catspaw
this xlive.dll from a THETA release (Resident Evil Racoon City) works perfect on Batman Arkham Asylum, all DLC is playable in default locations...


cogc_23 wrote:
anyone have this xliveless for arkham city goty version dx9 not dx11 ? please TwT

the xlive JorjVirus has posted on page 1 works fine on Batman Arham City, just make sure you run as Admin.


Attachments:
BAA_XLive.rar [10.77 KiB]
Downloaded 34 times

_________________
Image


Last edited by machine4578 on Thursday, 10 Oct 2013, 16:27, edited 1 time in total.
Top
 Profile  

Post Post subject: Re: XLive (aka GFWL) emulator   
Posted: Thursday, 10 Oct 2013, 16:23   
Advanced forumer Завсегдатай
User avatar
Joined: Monday, 04 Aug 2008, 20:17
Posts: 195
Location: Imaginationland
machine4578 wrote:
@catspaw
this xlive.dll from a THETA release (Resident Evil Racoon City) works perfect on Batman Arkham Asylum, all DLC is playable in default locations...


Because BAA/BAC does not use XLive for DLC handling.


Top
 Profile  

Post Post subject: Re: XLive (aka GFWL) emulator   
Posted: Thursday, 10 Oct 2013, 16:42   
Advanced forumer Завсегдатай
User avatar
Joined: Tuesday, 23 Dec 2008, 19:26
Posts: 187
Development of this project has resumed.


Top
 Profile  

Post Post subject: Re: XLive (aka GFWL) emulator   
Posted: Thursday, 10 Oct 2013, 17:12   
Advanced forumer Завсегдатай
Joined: Tuesday, 01 Oct 2013, 19:36
Posts: 175
Thanks virusek + machine4578 - very useful!


JorjVirus69 wrote:
Development of this project has resumed.


That's wonderful! Although now my motivation is going down. :)



Either way (for us green dev newbies), found this about ReadProfileSettings and Id sizes
http://pastebin.com/raw.php?i=mW3fmvpG

Might be why AA crashes on virusek xliveless. 3 structs = large size? Get different crash messages based on varying sizes.



Quote:
PS: Can you check if GFWL uses XOVERLAPPED or Windows OVERLAPPED structure (they are different, in size too) ?


Take time but I'll try digging up.


Top
 Profile  

Post Post subject: Re: XLive (aka GFWL) emulator   
Posted: Thursday, 10 Oct 2013, 20:36   
I live here Три раза сломал клаву :)
Warnings: 2/3 - Banned
Joined: Tuesday, 31 May 2011, 06:37
Posts: 1809
I reckon this thread is being intently watched by gamers like me ,keep up the excellent work guys.


Top
 Profile  

Post Post subject: Re: XLive (aka GFWL) emulator   
Posted: Friday, 11 Oct 2013, 01:10   
Advanced forumer Завсегдатай
Joined: Tuesday, 01 Oct 2013, 19:36
Posts: 175
@virusek
Batman AA is booting now. But it gets stuck at XLiveInput loop - mouse clicks aren't getting past title screen.


Changes:
- XUSER_READ_PROFILE_SETTING_RESULT (I should debug check this carefully on BAA side)
- Return buffer size (overmax = wrong, catspaw doesn't care atm)
- pSettings ptr

  1.  
  2. // #5331: XUserReadProfileSettings
  3. DWORD WINAPI XUserReadProfileSettings (DWORD dwTitleId, DWORD dwUserIndex, DWORD dwNumSettingIds,
  4.                                        DWORD * pdwSettingIds, DWORD * pcbResults, XUSER_READ_PROFILE_SETTING_RESULT * pResults, LPOVERLAPPED pOverlapped)
  5. {
  6.     TRACE("XUserReadProfileSettings  (TitleId = %d, UserIndex = %d, NumSettingIds = %d, ..., pcbResults = %d)", dwTitleId, dwUserIndex, dwNumSettingIds, *pcbResults);
  7.  
  8.  
  9.     if(pcbResults)
  10.     {
  11.         if (*pcbResults == 0 )
  12.         {
  13.             int size;
  14.  
  15.  
  16.             size = 0;
  17. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for( int lcv = 0; lcv < dwNumSettingIds; lcv++ )
  18. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {
  19. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; WCHAR str[512];
  20. &nbsp;
  21. &nbsp;
  22. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; wsprintf( str, L"- Settings %d: %X &nbsp;(Type = %X, Size = %d", lcv+1,
  23. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pdwSettingIds[lcv],
  24. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ( pdwSettingIds[lcv] >> 28 ) & 0x0F,
  25. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ( pdwSettingIds[lcv] >> 16 ) & 0xFFF );
  26. &nbsp;
  27. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
  28. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; switch( ( pdwSettingIds[lcv] >> 0 ) & 0x3FFF )
  29. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {
  30. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case 0x3FFF: wsprintf( str, L"%s, Id = XPROFILE_TITLE_SPECIFIC1)", str ); break;
  31. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case 0x3FFE: wsprintf( str, L"%s, Id = XPROFILE_TITLE_SPECIFIC2)", str ); break;
  32. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case 0x3FFD: wsprintf( str, L"%s, Id = XPROFILE_TITLE_SPECIFIC3)", str ); break;
  33. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; default: wsprintf( str, L"%s, Id = Unknown)", str ); break;
  34. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }
  35. &nbsp;
  36. &nbsp;
  37. &nbsp;
  38. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TRACE( "%s", str );
  39. &nbsp;
  40. &nbsp;
  41. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; size += ( pdwSettingIds[lcv] >> 16 ) & 0xFFF;
  42. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }
  43. &nbsp;
  44. &nbsp;
  45. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //*pcbResults = size;
  46. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //*pcbResults += dwNumSettingIds * sizeof(XUSER_READ_PROFILE_SETTING_RESULT);
  47. &nbsp;
  48. &nbsp;
  49. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // overmax buffer (la-zy approach)
  50. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *pcbResults = size * 2000;
  51. &nbsp;
  52. &nbsp;
  53. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TRACE("- ERROR_INSUFFICIENT_BUFFER &nbsp;(pcbResults = %d)", *pcbResults);
  54. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return ERROR_INSUFFICIENT_BUFFER;
  55. &nbsp; &nbsp; &nbsp; &nbsp; }
  56. &nbsp;
  57. &nbsp;
  58. &nbsp;
  59. &nbsp; &nbsp; &nbsp; &nbsp; memset (pResults, 0, *pcbResults);
  60. &nbsp;
  61. &nbsp;
  62. &nbsp; &nbsp; &nbsp; &nbsp; pResults->dwSettingsLen = dwNumSettingIds;
  63. &nbsp; &nbsp; &nbsp; &nbsp; pResults->pSettings = (XUSER_PROFILE_SETTING *) ((BYTE *) pResults + sizeof (XUSER_READ_PROFILE_SETTING_RESULT));
  64. &nbsp;
  65. &nbsp;
  66. &nbsp;
  67. &nbsp; &nbsp; &nbsp; &nbsp; BYTE *pData = (BYTE *) pResults->pSettings;
  68. &nbsp; &nbsp; &nbsp; &nbsp; for( int lcv = 0; lcv < dwNumSettingIds; lcv++ )
  69. &nbsp; &nbsp; &nbsp; &nbsp; {
  70. &nbsp; &nbsp; &nbsp; &nbsp; }
  71. &nbsp; &nbsp; }
  72. &nbsp;
  73. &nbsp;
  74. &nbsp; &nbsp; return 0;
  75. }
  76. &nbsp;



Still researching XOVERLAPPED vs OVERLAPPED. So far I think it's right but who knows. :)

-- Edit --

I think I set the ReadProfile buffer too high. So changed this:
  1.  
  2. *pcbResults = size;
  3. *pcbResults += dwNumSettingIds * sizeof(XUSER_PROFILE_SETTING);
  4. *pcbResults += sizeof(XUSER_READ_PROFILE_SETTING_RESULT);
  5.  
  6. ..
  7.  
  8. XUSER_PROFILE_SETTING *ptr = pResults->pSettings;
  9.  
  10.  
  11. // set data N/A
  12. for( int lcv = 0; lcv < dwNumSettingIds; lcv++ )
  13. {
  14.     ptr->source = XSOURCE_NO_VALUE;
  15.     ptr++;
  16. }
  17.  


Settings NO_VALUE causes game to skip to next PROFILE_SETTING entry (0x28 byte structs). So current structs (XUSER_READ_PROFILE_SETTING_RESULT, XUSER_PROFILE_SETTING, XUSER_DATA) seem to pass.


Game plays and I can run around the menus also. Using a mouse only, no keyboard presses work. Looking into other areas like achievements and the BatmanAA DLC DLL.


Top
 Profile  

Post Post subject: Re: XLive (aka GFWL) emulator   
Posted: Friday, 11 Oct 2013, 04:30   
Forum ghost Местное привидение
User avatar
Joined: Wednesday, 20 Feb 2013, 23:44
Posts: 254
machine4578 wrote:
@catspaw
this xlive.dll from a THETA release (Resident Evil Racoon City) works perfect on Batman Arkham Asylum, all DLC is playable in default locations...


cogc_23 wrote:
anyone have this xliveless for arkham city goty version dx9 not dx11 ? please TwT

the xlive JorjVirus has posted on page 1 works fine on Batman Arham City, just make sure you run as Admin.


thanks but i tried before this xlive and not work for the arkham city game of the year editiom in dx9 only work in dx11 i don't know why but i can't playing with the effects of dx11 my laptop only run the game in dx9 full graphics and speed u,u TwT any fix for this ? in dx9 with the xlive.dll not pass the nvidia logo after the logo the game crash


Top
 Profile  

Post Post subject: Re: XLive (aka GFWL) emulator   
Posted: Friday, 11 Oct 2013, 05:50   
Advanced forumer Завсегдатай
Joined: Tuesday, 01 Oct 2013, 19:36
Posts: 175
So far BAA uses XOVERLAPPED ($1c bytes) when doing async method. InternalLow is checked against ERROR_IO_PENDING. Otherwise can't get that to progress.


It's neat how Theta dll is easy to get DLC loading. Not sure why works as they return NO_MORE_FILES error code but still get away with it.


Going to try getting my GFWL saves to work with XLiveless instead for now.

-- Edit --

Quick edit: Theta has uncovered lots of missing DLL names

  1.  
  2. Theta
  3.  
  4. ;XNetGetDebugXnAddr                     @74 NONAME
  5. XNetGetEthernetLinkStatus               @75 NONAME
  6. XNetGetBroadcastVersionStatus           @76 NONAME
  7. XNetQosGetListenStats                   @77 NONAME
  8. XNetStartupEx                           @80 NONAME
  9. XNetReplaceKey                          @81 NONAME
  10. XNetGetXnAddrPlatform                   @82 NONAME
  11. XNetGetSystemLinkPort                   @83 NONAME
  12. XCustomSetAction                        @472    NONAME
  13. XCustomSetDynamicActions                @474    NONAME
  14. XCustomRegisterDynamicActions           @477    NONAME
  15. XCustomUnregisterDynamicActions         @478    NONAME
  16. XCustomGetCurrentGamercard              @479    NONAME
  17. ;XLiveSecureLoadLibraryW                @5028   NONAME
  18. XLiveSecureFreeLibrary                  @5029   NONAME
  19. XShowCustomPlayerListUI                 @5212   NONAME
  20. ;XLocatorServerAdvertise                @5230   NONAME
  21. ;XLocatorServerUnAdvertise              @5231   NONAME
  22. ;XLocatorGetServiceProperty             @5233   NONAME
  23. ;XLocatorCreateServerEnumerator         @5234   NONAME
  24. ;XLocatorServiceInitialize              @5236   NONAME
  25. ;XLocatorCreateKey                      @5238   NONAME
  26. XShowAchievementsUI                     @5250   NONAME
  27. XLiveSignout                            @5258   NONAME
  28. XShowMessageBoxUI                       @5266   NONAME
  29. XUserAwardGamerPicture                  @5274   NONAME
  30. XUserReadAchievementPicture             @5279   NONAME
  31. ;XUserReadGamerPicture                  @5282   NONAME
  32. ;XUserGetReputationStars                @5290   NONAME
  33. ;XStorageUploadFromMemoryGetProgress    @5304   NONAME
  34. ;XStorageDownloadToMemoryGetProgress    @5307   NONAME
  35. ;XStorageDelete                         @5308   NONAME
  36. XStorageBuildServerPathByXuid           @5309   NONAME
  37. XPresenceInitialize                     @5313   NONAME
  38. XOnlineGetServiceInfo                   @5334   NONAME
  39. XContentCreatePackage                   @5356   NONAME
  40. ;XMarketplaceDoesContentIdMatch         @5362   NONAME
  41. ;XShowMarketplaceDownloadItemsUI        @5366   NONAME
  42. XContentGetMarketplaceCounts            @5367   NONAME
  43. ;XMarketplaceGetDownloadStatus          @5374   NONAME
  44. ;XMarketplaceGetImageUrl            @5375   NONAME
  45. XMarketplaceCreateOfferEnumeratorByOffering     @5376   NONAME
  46.  


Top
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 919 posts ]  Go to page Previous  1 ... 17, 18, 19, 20, 21, 22, 23 ... 62  Next


Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Google Adsense [Bot], M2A13 and 19 guests


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum




Powered by phpBB® Forum Software © phpBB Group