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?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • I’ve worked with teams spread across a few regions, and having a group that actually connects tech, security, and digital assets made things smoother for us, especially during cross‑city projects. I liked how straightforward their setup was, and tapping into their digital assets side helped us speed up a couple of integrations. If you’re scaling across different markets, it might be a handy option to look into.
    • Hello guys, I’m Morientes, owner of the servers you might know: L2Lionna / L2Pandora / L2Ramona / L2ERA / L2Zaken / L2Classic / L2Peri / L2Alice / L2EVA / L2Dragon and more. Over the years I’ve been developing Lineage II projects starting from High Five, then Classic, and later Essence. I started with High Five, which I turned into a very well-tested server with over 100 openings. My peak was around 2800 players online, and the server was stable (no crashes). With every opening there was always something to improve, fix, or optimize, and over time it became more and more stable. I still have all SVN commits from all those years, I can show everything via screen share if needed. The reason I’m selling is not because of the quality. The files are solid and ready to run any type of server (any rates). The problem was on our side;  we didn’t have a good long-term strategy for reopening servers as a team. About Classic: I started from 2.0 (Zaken version) and gradually upgraded it up to 4.7 Kamael. Each chronicle upgrade came with a lot of improvements, especially in terms of stability. About Essence: I started from the very first version and developed it up to High Elf (Protocol 464). Starting from Protocol 286 (Secrets of Empire), I worked with PTS files and extracted a lot of deep fixes. I unpacked AI.obj with full functionality, used official sniffers, and whenever something wasn’t clear, I checked directly on official servers and sniffed packets or data. For every chronicle update, I basically sniffed the entire official server, zones, monsters, events, mechanics, everything. From Chronicle 388, Reborn approached us to buy our files. The current L2Reborn Essence is based on my work! I can prove everything. I also have their updates integrated into my pack. I stopped development after High Elf mainly because my main developer was constantly looking for other opportunities. It became difficult to maintain a stable team, especially with everything going on (including the situation in Ukraine at that time). Eventually, I couldn’t find a reliable dev to continue working on Essence, so I decided to step away from this market last year. Now I’ve decided to sell everything. What I’m selling: All necessary tools (sniffing, geodata build, pack upgrade tools, game client parsers, L2Wiki parser, interfaces etc.) Full SVN repositories with all commits (Essence / Classic / High Five) All edited clients I still have All my data I can also include on sell an official character that is active daily, ranked, end up gear, and has access to end-game zones!!! useful for deep sniffing where normal players don’t have access. If someone wants to buy everything, I prefer a full deal and I will transfer full ownership. If needed, I can also sell parts separately, but honestly I’d prefer to sell everything to one team that can continue this project — this has been my work, my hobby, my baby. Important: I don’t offer further updates. The files are sold exactly as they are. I will, of course, explain everything you need to know to continue working on them. Contact: Telegram: @AlexAlexey Discord: .primsl2
    • Grand Opening: April 11, 2026 Website: https://l2strive.com Discord: https://discord.gg/SsUARZpbkG   🛡️ Server Rates Strive is a High Five Mid-PvP/Craft Server  Experience (XP): x15 Skill Points (SP): x15 Adena: x10 Drop: x15 Spoil: x3 Safe Enchant: +3 Max Enchant: +16 ⚔️ Enhanced Boss Jewelry     ⚔️ Making Bosses Useful Again Let’s be real: usually, Core, Orfen, and Baylor are just placeholder bosses that nobody cares about. We’ve overhauled their jewelry to make them legit end-game gear. We’ve turned these into high-value targets for PvP—if you want these massive percentage boosts, you’re going to have to fight for them.   ⚔️ Enhanced Boss Jewelry   💍 Improved Ring of Core Base Stats: M.Def 48 | HP +445 | MP +21 Offensive: P. Atk +12% | M. Atk +12% Critical: Physical Critical Rate +14 | Magic Critical Rate +2 Utility: Skill Reuse Delay -10% | MP Consumption -5% 🛡️ Improved Earring of Orfen Base Stats: M.Def 71 | MP +31 Defensive: P. Def +15% | M. Def +15% Recovery: Vampiric Rage +4% | Healing Received +6% Resistances: Bleed / Poison / Root / Sleep +20% (Chance & Resistance) 💎 Baylor's Earring Base Stats: M.Def 71 | MP +31 Speed: Atk. Spd +5% | Casting Spd +5% Combat: MP Regeneration +5% Resistances: Stun / Paralyze +30% (Chance & Resistance) 🚀 Core Features Full & Enchanted Buffs: Enjoy 6-hour durations on all standard and enchanted buffs. Premium Buffs: Premium users benefit from extended 9-hour buff durations. 100% Free AutoFarm: Built-in system for seamless progression while away from your PC. Custom Shop: Professional and intuitive UI for all essential equipment and consumables. NPC Buffer: Full scheme support to get you battle-ready instantly. Stability: Dedicated high-performance hardware with professional Anti-DDoS protection.  
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..