Jump to content

Recommended Posts

Posted (edited)

I share this guide with you to be able to use the Smart Crypt Decrypt code that is used to decrypt the client's files (utx, ukx and u).
The programs that you will need is Microsoft Visual Studio (in my case I will use the 2013 version, you can use other versions) and CFF Explorer.
Microsoft Visual Studio 2013: https://www.youtube.com/watch?v=VWYLqKtAXzU
CFF Explorer: https://ntcore.com/?page_id=388

Smart Crypt Decryptor Code: https://pastebin.com/Shgmywrs
Once they have these programs installed, let's continue.
First of all we open the Microsoft Visual Studio and let's FILE> New> Project or in another faster way  Ctrl + Shift + N It will show us the following We

Xjn2Eky.jpg

select Visual C ++ thenWin32 Console Application and we end withOK the name is put or not, the only thing it will do is give a name to the solution, that is, if you put "juanito" when compiling the DLL it will have a name of "juanito.dll"

 

x9RkpPV.jpg

Then another window does not appear we give Next we select DLL and we mark Empty project and Finish

RnWvpOg.jpg

 

It should show us the following:

 

aDOCSMF.jpeg

 

We right click on Header Files> Add> New item ...
Another window appears, with two optionsC ++ File (.cpp) and Header File (.h) select C ++ File and then OK] in this case the name is also optional to add, we are not creating a NASA program to worry about references and / or names.
We copy the code that you leave above https://pastebin.com/Shgmywrs and save it (it is also optional, I usually do it)
Once done, with Ctrl + Shift + B we compile the project
We should get the following message
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
That says everything went well.
We go to where the projects are saved by default, in my case:
c: \ users \ user \ documents \ visual studio 2013 \ Projects
inside a folder was created with the default name or the one that we add in my case is ConsoleApplication1  we go inside and then to the Debug folder and our DLL  ConsoleApplication1.dll should be We copy and paste it into the system and we are done with this.
Then we go to l2.exe(before we make a copy of the exe) right click, and if they installed the CFF Explorer, Open With CFF Explorer should appear and if not, they go to the program and open it from there.
They go to the Import Adder part then Add and we look for the dll that we create and copy into the system. Once the DLL has been added, the following appears: We

 

egGs1Ei.jpg

 

select _DllMain @ 12 >> Import By Name and then Rebuild Import Table . There is no sign saying Import Table correctly rebuilt. and we finish saving the l2.exe with the changes made. Then it is only to open the L2 and within the system "Interface.decrypted.u" will be created
for you. To be able to decrypt other files (ukx or utx) you will have to change something in the code and it is the following

 

appLoadFileToArray(TArray, L"..\\System\\Interface.u", *((int *)GetProcAddress(GetModuleHandleA("Core.dll"), "?GFileManager@@3PAVFFileManager@@A")));
appSaveArrayToFile(TArray, L"..\\System\\Interface.decrypted.u", *((int *)GetProcAddress(GetModuleHandleA("Core.dll"), "?GFileManager@@3PAVFFileManager@@A")));

 

for example, if you want to decrypt a texture, copy the .utx into the system, changing the extension to .u (I think it's not necessary, but never try) and in the code change the following:

 

appLoadFileToArray(TArray, L"..\\System\\Textura_que_quiero_desencryptar.u", *((int *)GetProcAddress(GetModuleHandleA("Core.dll"), "?GFileManager@@3PAVFFileManager@@A")));
[background=#2a2e31]appSaveArrayToFile(TArray, L"..\\System\\Textura_que_quiero_desencryptar.decrypted.u", *((int *)GetProcAddress(GetModuleHandleA("Core.dll"), "?GFileManager@@3PAVFFileManager@@A")));

 

compile the dll again and copy it into the system and voila, open l2 and create the Texture_que_want_desencryptar.decrypted.u then with the umodel you can extract the textures.

 

Decryptor for * u files encrypted by Smart Crypt of early revisions.
By default, for Interface.u, however, using the source below and the C / C ++ compiler,
you can use this method for other files as well.

 

 

  • Place decrypt files in the System folder
  • Place encrypted files in the System folder interface.u )
  • Run L2.exe
    Now there are decrypted files in the System folder Interface.decrypted.u )

 

Our portal is not the developer of this program and does not provide advice on its work.
Source is in the public domain and provided below.

 

 

Smart Crypt Decrypt code: 

#include <windows.h>
 
void DumpFile()
{
typedef void (__cdecl *f_appLoadFileToArray)(char *, wchar_t *, int);
typedef void (__cdecl *f_appSaveArrayToFile)(char *, wchar_t *, int);
 
f_appLoadFileToArray appLoadFileToArray = (f_appLoadFileToArray)GetProcAddress(GetModuleHandleA("Core.dll"), "?appLoadFileToArray@@YAHAAV?$TArray@E@@PBGPAVFFileManager@@@Z");
f_appSaveArrayToFile appSaveArrayToFile = (f_appSaveArrayToFile)GetProcAddress(GetModuleHandleA("Core.dll"), "?appSaveArrayToFile@@YAHABV?$TArray@E@@PBGPAVFFileManager@@@Z");
 
char TArray[0x14];
memset(TArray,0,0x14);
 
appLoadFileToArray(TArray, L"..\\System\\Interface.u", *((int *)GetProcAddress(GetModuleHandleA("Core.dll"), "?GFileManager@@3PAVFFileManager@@A")));
appSaveArrayToFile(TArray, L"..\\System\\Interface.decrypted.u", *((int *)GetProcAddress(GetModuleHandleA("Core.dll"), "?GFileManager@@3PAVFFileManager@@A")));
}
bool dumped = false;
void StartCheck()
{
// wait until WinDrv is loaded just so we know everything we need is initialized correctly
if (GetModuleHandleA("WinDrv.dll") != NULL) {
if (!dumped) {
DumpFile();
dumped = true;
}
}
}
__declspec(dllexport) BOOL APIENTRY DllMain( HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved )
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
case DLL_THREAD_ATTACH:
StartCheck();
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}

 

 

Downloads: https://drive.google.com/file/d/12Ea_0L7GuZEXeXtBalzJG72GgDrXTn44/view

Password:

This is the hidden content, please

Edited by Celestine
  • Like 5
  • Thanks 1
  • Upvote 2
Posted
57 minutes ago, Vision said:

What do you mean lol.

he mean only VIP members are allowed to see topic, without privilegies are hidden.

 

Hidden Content. You need to become VIP Member in order to view this.

 

 

  • 1 month later...
  • 1 year later...
  • 2 weeks later...
Posted
3 hours ago, alwx said:

It's not entirely clear what the files in the archive with a password are for?

 

probably in order to support the forum - buy vip status from maxtor / celestine

and then you will be able to see the password from the author of the topic in this topic.

😇

  • 1 year later...
Posted

Hello!!! I could do everything and it goes without error, but after launching l2.exe It opens as usual, but nothing happens, the decrypted interface.u is not created

any help?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • Good luck with your g/o 😃
    • You're talking complete nonsense. The source code of SphereAPI, which handles all requests, is closed and has never been published anywhere.     That return $this doesn't affect anything, PHP just ignores it. Why are you showing it?     Yes, of course I want that, and I’m asking you — go ahead and hack it, I’d even be thankful. The most you can probably do is launch a DDoS attack, but that’s not hacking. The IP you see is just a public one, used by default to handle requests. There are many other IPs involved, which aren’t disclosed for privacy reasons. So, when should I expect your hacker attack? If you fail, it means you talked big for nothing. I hope you're not all talk and can actually back up your words. UPD: To make your task easier, I have disabled limits on incorrect and failed requests, so your site/IP won't get blocked.
    • Lineage2Dex Interlude+ x50 Server launches TODAY!       The wait is over – the Lineage2Dex Interlude+ x50 Server launches TODAY! Grand Opening - April 26 at 19:00 (UTC+3) Over 10,000 registered accounts are ready to dive in! Beta with massive activity over, thx all who participate on it! It's time to begin your real Jorney! 👉 Read full roadmap 👉 Full server description 👉 Download and registration The server will be split into 3 stages, each featuring multiple content episodes. Stage 1: April 26 – May 18 Welcome to the Classic Interlude Phase. This stage is built with minimal custom content, focused on delivering that pure Interlude experience. It’s perfect for both new players unfamiliar with our project and veterans who enjoy a traditional start. Expect a smooth and nostalgic journey with familiar mechanics. Stage 2: May 19 – June 22 Time to expand the world! As most Interlude content gets completed, we gradually introduce new elements. Hellbound will open first, followed by weekly content updates. Midway through this stage, the Isle of Prayer will become available — a new zone featuring Dynasty Gear and fresh challenges. Stage 3: From June 23 Welcome to full content access! Some location become to High-level location, offering great reward! Once this phase concludes, a full merge with Union server will take place — and yes, all your characters and items will carry over safely. We wish everyone a smooth start, fair play, and tons of fun on the new x50 server! See you in-game!
    • Hello everyone! I'm offering professional L2J development services, specialized for aCis projects.   🔹 What I offer: Ready-to-implement existing systems (events, features, gameplay improvements). Custom development: I can create new systems based on your specific requests and ideas. Bug fixing, optimization, and enhancement of your server's code. Professional, clean, and organized Java coding. Support after delivery to ensure smooth integration.   🔹 Some examples of available systems: PvP and PvE Mini-Events (fully automated). Custom Raid Boss Events. Advanced Clan Utilities (regroup features, clan ranking, etc). Reward Systems (based on kills, damage, objectives, etc). Achievements Subscription system Arena Fights (1v1 tournament, scratch made). Advanced event engine (12 events, many features). multi-client aCis project, progressive gameplay C4 to C6   🔹 Why work with me? Years of experience working directly with aCis pack. Fast, reliable communication. I care about performance and long-term stability. I can adjust the systems to fit your server's style and balance.   🔹 Pricing: Flexible depending on the complexity (fixed price per project or per system). Discounts for multiple systems or long-term collaboration.   🔹 Contact: MaxCheaters PM Discord: @Luminous   Serious and passionate about your project? Let's make your server unique!
  • Topics

×
×
  • Create New...