CS.RIN.RU - Steam Underground Community
http://cs.rin.ru/forum/

Far Cry 3-Deluxe
http://cs.rin.ru/forum/viewtopic.php?f=10&t=62000
Page 161 of 181

Author:  virusek [ Sunday, 17 Mar 2013, 16:45 ]
Post subject:  Re: Far Cry 3-Deluxe

I forgot to change /MD to /MT for final build, and use Windows XP compatible toolset...
Updated, also added version info to file (0.0.0.2 for now).

Attachments:
uplay_namechanger.7z [40.13 KiB]
Downloaded 344 times

Author:  smashly [ Sunday, 17 Mar 2013, 16:47 ]
Post subject:  Re: Far Cry 3-Deluxe

Awesome virusek,
All good so far.

Do you mind if I add your wrapper into my next FC3-SH tool?
Saves the stuff around with name changes and supports more then just v1.04/v1.05 Reloaded game.
Your wrapper just makes name changing compatible on all versions (v1.01 ~ v1.05) and type (Uplay/Reloaded) of the game (not tested on earlier versions yet, so I'm assuming a little).
Which is pretty sweet I must say :)

Author:  virusek [ Monday, 18 Mar 2013, 00:27 ]
Post subject:  Re: Far Cry 3-Deluxe

smashly wrote:
Awesome virusek,
All good so far.

Do mind if I add your wrapper into my FC3-SH tool?
Saves the stuff around with name changes and supports more then just v1.04/v1.05 Reloaded game.
Your wrapper just makes name changing compatible on all versions (v1.01 ~ v1.05) and type (Uplay/Reloaded) of the game (not tested on earlier versions yet, so I'm assuming a little).
Which is pretty sweet I must say :)


Feel free to include it in your tool.

EDIT: Updated name changer. After few hours of debugging, I know how the overlapped structure is handled and emulated it more properly. Pointer pOverlapped (see below) can be saved and compared to first argument of UPLAY_HasOverlappedOperationCompleted and UPLAY_GetOverlappedOperationResult.
Note for RLD - fix your wrapper: UPLAY_USER_GetCredentials(LPSTR lpString, LPVOID pOverlapped), you're missing second argument, this can break stack !
Also added LogToFile option to toggle log creation.

Attachments:
uplay_namechanger.7z [42.18 KiB]
Downloaded 191 times

Author:  machine4578 [ Monday, 18 Mar 2013, 00:30 ]
Post subject:  Re: Far Cry 3-Deluxe

@virusek

I am assuming we should add the GameID=?? line manually to your orbit.ini since its not listed?

Author:  virusek [ Monday, 18 Mar 2013, 00:31 ]
Post subject:  Re: Far Cry 3-Deluxe

This is not a full off-line wrapper, it is only name changer, all functions are passed to _uplay_r1_loader.dll, GameID is not needed for name changing...

PS: Hym, I can make a switch, off-line/on-line (ie. full emulation, as in RLD wrapper or passing to different DLL), but even then, GameID is not needed for uplay_r1_loader.dll.

Author:  machine4578 [ Monday, 18 Mar 2013, 00:34 ]
Post subject:  Re: Far Cry 3-Deluxe

virusek wrote:
machine4578 wrote:
@virusek

I am assuming we should add the GameID=?? line to the orbit.ini since its not listed in your orbit.ini...


This is not a full off-line wrapper, it is only name changer, all functions are passed to _uplay_r1_loader.dll, GameID is not needed for name changing...


I understand, but if we use the RLD crack with the name changer, the RLD crack needs the GameID= in the orbit.ini right?

I just tested your name changer uplar_r1_loader.dll and orbit.ini.. and without the GameID=?? in your orbit.ini the saves cannot be loaded from the normal 46 folder.. it creates a 0 folder(which every game would use if using the RLD uplay crack)
IMO it was easier with the uplay_r1_loader.ini

Author:  virusek [ Monday, 18 Mar 2013, 00:42 ]
Post subject:  Re: Far Cry 3-Deluxe

It seems better to be implement the whole RLD like wrapper (for this file) with pass-trough option, but this need to wait for tomorrow.

Author:  smashly [ Monday, 18 Mar 2013, 03:21 ]
Post subject:  Re: Far Cry 3-Deluxe

machine4578 wrote:
I understand, but if we use the RLD crack with the name changer, the RLD crack needs the GameID= in the orbit.ini right?

I just tested your name changer uplar_r1_loader.dll and orbit.ini.. and without the GameID=?? in your orbit.ini the saves cannot be loaded from the normal 46 folder.. it creates a 0 folder(which every game would use if using the RLD uplay crack)
IMO it was easier with the uplay_r1_loader.ini
To me that was common sense.
Of coarse your going to need GameID=46 if your using RLD game and you want the game to find your saves, since RLD game uses orbit_api.ini.
As I said I prefer the name to be stored in orbit_api.ini as it's just one less file needed when using the loader with RLD crack.
Even DMN32 name changer I recompiled his source and used a short name for his dll (dmn32.dll) and pointed his dll to orbit_api.ini instead for the name.
To be honest most users (not all) here will be using RLD crack in their game due to
1) No uplay needed.
2) There has been no crack to play Multiplayer via uplay since v1.03 update release.
3) Why would anyone want Uplay loading it's interface if they can't play Multiplayer?
The only reason I load a Uplay version of FC3 is because I'm testing stuff for backwards compatibility.
Reality is though if I play the game I don't use that pos drm called Uplay to play single player so I'll always use RLD crack.
So my preference was use orbit_api.ini to store the name, but each their own.

Author:  machine4578 [ Monday, 18 Mar 2013, 03:50 ]
Post subject:  Re: Far Cry 3-Deluxe

smashly wrote:
To me that was common sense.
Of coarse your going to need GameID=46 if your using RLD game and you want the game to find your saves, since RLD game uses orbit_api.ini.
As I said I prefer the name to be stored in orbit_api.ini as it's just one less file needed when using the loader with RLD crack.


common sense or not.. I know it was needed, but I was trying to clear it up so when people copied his orbit.ini in their game folder, they wont be asking what happened to my saves!!
I know you find the orbit_api.ini easier, I don't.. the uplay_r1_loader.ini I feel is better since its meant to work with Legit uplay and RLD uplay emu. the instructions for everyone would be simple.. enter desired name.. done.. where if you use the orbit_api.ini you need to add a line(gameId=??) to the .ini and enter desired name... but my opinion doesn't matter as its up to virusek..

Author:  smashly [ Monday, 18 Mar 2013, 05:27 ]
Post subject:  Re: Far Cry 3-Deluxe

Yep agreed it's up to to virusek on his implementation.
As the whole ini thing is trivial and doesn't really matter at all.

The way I looked at it as time goes by.
I release my next tool and most people won't even be digging in the game directory to edit ini's and gamerprofile.xml or copying different dll versions and types.
Since changing a name in FC3 in most cases will involve saves being decrypted and encrypted with the new name it'll be just as easy to use the gui while your there doing the decrypt/encrypt thing to set name and lockstring.
So my next tool offers the user Encrypt Decrypt, Convert Saves, Name LockString from the gui.
It supports FC3 v1.01 to v1.05 and contains all versions of uplay_r1_loader.dll and ubiorbitapi_r2_loader.dll for RLD or Uplay.
It offers to patch your current FC3.dll or FC3_d3d11.dll to either RLD or Uplay and adding the matching version/type of uplay_r1_loader.dll and ubiorbitapi_r2_loader.dll while handling the ini side of stuff as needed if wanted.
I've been using the tool compiled for the past couple of weeks and it's working reasonably so far.
With virusek addition it's just made the tool more flexible to name changing which is great.

The drawback to my next tool is it weighing in at 2.3MB atm
But that's what I get for trying to keep compatibility between all versions and types of FC3.
18 dll's LZMA/Base64 encoded and embedded in my tool does tend to blow the size out ..lol

Author:  virusek [ Monday, 18 Mar 2013, 13:04 ]
Post subject:  Re: Far Cry 3-Deluxe

With my ownership tool using Uplay is easier, at least for me for me.
I need to re-implement about 51 DLL exports to make full emulator...

PS: version 0.0.0.3 seems to not work properly with RLD wrapper...

EDIT: Hym, works with RLD wrapper from FC3 1.05 release, but does not work with AC3 1.04 ... Someone can confirm this ?

Author:  smashly [ Monday, 18 Mar 2013, 16:24 ]
Post subject:  Re: Far Cry 3-Deluxe

So far testing out your v0.0.0.3 uplay_r1_loader.dll in FC3 only.
Using:
cyrildu31 name/Lockstring
DX11 only
Switching game type between Uplay v2.1.3 and Reloaded, all in offline mode using game v1.01 to v1.05.
Encrypted saves (save and load each time I switch game type and version to see it all works).

All I can say is I'm impressed, your wrapper works great so far using the above scenario.

Author:  virusek [ Monday, 18 Mar 2013, 16:36 ]
Post subject:  Re: Far Cry 3-Deluxe

I decompiled RLD one and they had no clue how struct UPLAY_Overlapped_t is handled. I got this structure name from mangled export: ?UPLAY_WIN_ActionTaken@@YAHPAUUPLAY_WIN_Action_t@@PAUUPLAY_Overlapped_t@@@Z ie. int __cdecl UPLAY_WIN_ActionTaken(struct UPLAY_WIN_Action_t *,struct UPLAY_Overlapped_t *) found in original uplay_r1.dll. Most of this API functions use it to make overlapped (async) i/o operations.

I now working on something like 0.0.1.0. I adding option to specify DLL name to chain to, ie. without it will be working as RLD one (or better :p).

PS: Original uplay_r1_loader.dll is also a wrapper, it loads uplay_r1.dll and make jmp to its functions.

Author:  Stshoc [ Monday, 18 Mar 2013, 20:12 ]
Post subject:  Re: Far Cry 3-Deluxe

Shock time for me.
I re-installed OS, before that all my games work like a charm. But now FC3 cant unlock DLC's ?
AC3 and all other games work very good but FC3 dont.
I did the following : I use steam006 crack and ownership.
I installed the game with v.1.01 and run, then the game started updating up to version 1.05. game start and work good. After that i put two patch files for unlocking DLC's and i put old save.Work fine with my old save but DLC's still dont unlocked ? Then i put Reloaded crack and run the game, save is ok but DLC's not unlocked?
What am I doing wrong ?

Author:  virusek [ Monday, 18 Mar 2013, 20:39 ]
Post subject:  Re: Far Cry 3-Deluxe

Stshoc wrote:
Shock time for me.
I re-installed OS, before that all my games work like a charm. But now FC3 cant unlock DLC's ?
AC3 and all other games work very good but FC3 dont.
I did the following : I use steam006 crack and ownership.
I installed the game with v.1.01 and run, then the game started updating up to version 1.05. game start and work good. After that i put two patch files for unlocking DLC's and i put old save.Work fine with my old save but DLC's still dont unlocked ? Then i put Reloaded crack and run the game, save is ok but DLC's not unlocked?
What am I doing wrong ?


Uplay Lockstring in GamerProfile.xml :p?

Page 161 of 181 All times are UTC + 3 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/