L2.EXE Updater

Luan

Выдающийся
VIP
Сообщения
51
Розыгрыши
0
Репутация
4
Реакции
56
Баллы
1 353
If I’m in the wrong area or have spelling mistakes, sorry.

This L2.EXE was made in Python, based on the L2.EXE in C posted on GitHub.
What does it do?

It checks files inside and outside the system.
SHA1 verification.
Downloads and launches Lineage 2.

You can use it as a Launcher or even an L2.EXE.

It’s functional but can definitely be improved.
It was made using GPT and Grok.

Python used:
Python 3.12.8

You can use the requirements.txt to install the necessary things, if something is missing, google it =D

Screenshot_776.webp


Edit*
In config.json is where you can edit some things.

the url for the json file is in
"update_json_url":


JSON example​
JSON:
{
  "ip": "YOUR_IP_SERVER_DONT_NEED_L2INI",
  "system_paths": [
    "System_en",
    "System_ru",
    "System"
  ],
  "external_paths": [
    "SysTextures",
    "Textures",
    "L2text",
    "Maps",
    "Sounds",
    "music",
    "StaticMeshes",
    "L2text_classic",
    "Animations"
  ],
  "files": [
    {
      "fileName": "System_en\\l2.bin",
      "SHA1": "4df67848a41fffc7d12d3cbaf053dad17bf9f986",
      "URL_LINK": "YOUR_URL_TO_FILE/L2.bin"
    },
    {
      "fileName": "System_en\\l2.ini",
      "SHA1": "a04dee57b3d9abb1c9d84c427832fc94acfe344c",
      "URL_LINK": "YOUR_URL_TO_FILE/L2.ini"
    },
    {
      "fileName": "System_en\\Interface.u",
      "SHA1": "d869473736a7be73328771c38e984e84071368db",
      "URL_LINK": "YOUR_URL_TO_FILE/Interface.u"
    },
    {
      "fileName": "System_en\\Interface.xdat",
      "SHA1": "94c08864ebbe173c019481c04a7f392670667059",
      "URL_LINK": "YOUR_URL_TO_FILE/Interface.xdat"
    },
    {
      "fileName": "System_en\\InterfaceClassic.u",
      "SHA1": "853a2c16e3bf2bcafb1dfcdb1999743ff670b096",
      "URL_LINK": "YOUR_URL_TO_FILE/Interface.u"
    },
    {
      "fileName": "System_en\\InterfaceClassic.xdat",
      "SHA1": "567c8e0092fd30089971c104d73c745d43c05c69",
      "URL_LINK": "YOUR_URL_TO_FILE/InterfaceClassic.xdat"
    }
  ],
  "full_system_url": "YOUR_FULL_URL_JSON"
}

========== UPDATE POST =============

Config.json editor.
To help configure it, move the image, some texts, etc.
Needs improvements.

Screenshot_779.webp



================ PATCH EDITOR ===============

Screenshot_780.webp

Place your files inside their respective folders System, Systextures etc...

Click on Gerar sem Compactar (without compressing files) or
Gerar Compactado com Zips) (To generate compressed with Zip)
There is an option for those who use Cloudflare R2 (buckets) to just remove the selected box.


 
Последнее редактирование:

Тыкнул лайк и ничего не появилось в хайд блоке, что я делаю не так?
 
Интересно как алгоритм SHA1 по скорости. :Coffee:
 
Se eu estiver na área errada ou tiver erros de ortografia, desculpe.

Este L2.EXE foi criado em Python, com base no L2.EXE em C postado no GitHub.
O que ele faz?

Ele verifica arquivos dentro e fora do sistema.
Verificação SHA1.
Baixa e inicia o Lineage 2.

Você pode usá-lo como um Launcher ou até mesmo um L2.EXE.

É funcional, mas definitivamente pode ser melhorado.
Foi feito usando GPT e Grok.

Python usado:
Python 3.12.8

Você pode usar o requirements.txt para instalar as coisas necessárias, se algo estiver faltando, pesquise no Google =D

Посмотреть вложение 87598

*** Texto oculto não pode ser citado. ***

Editar*
No config.json é onde você pode editar algumas coisas.

a url do arquivo json está em
"update_json_url":


Exemplo JSON​
[CÓDIGO=json]{
"ip": "SEU_SERVIDOR_IP_NÃO_PRECISA_DE_L2INI",
"caminhos_do_sistema": [
"Sistema_en",
"Sistema_ru",
"Sistema"
],
"caminhos_externos": [
"Texturas de Sistema",
"Texturas",
"Texto L2",
"Mapas",
"Sons",
"música",
"Malhas Estáticas",
"L2text_classic",
"Animações"
],
"arquivos": [
{
"fileName": "System_en\\l2.bin",
"SHA1": "4df67848a41fffc7d12d3cbaf053dad17bf9f986",
"URL_LINK": "SUA_URL_PARA_ARQUIVO/L2.bin"
},
{
"fileName": "System_en\\l2.ini",
"SHA1": "a04dee57b3d9abb1c9d84c427832fc94acfe344c",
"URL_LINK": "SUA_URL_PARA_ARQUIVO/L2.ini"
},
{
"fileName": "System_en\\Interface.u",
"SHA1": "d869473736a7be73328771c38e984e84071368db",
"URL_LINK": "SUA_URL_PARA_ARQUIVO/Interface.u"
},
{
"fileName": "System_en\\Interface.xdat",
"SHA1": "94c08864ebbe173c019481c04a7f392670667059",
"URL_LINK": "SUA_URL_PARA_ARQUIVO/Interface.xdat"
},
{
"fileName": "System_en\\InterfaceClassic.u",
"SHA1": "853a2c16e3bf2bcafb1dfcdb1999743ff670b096",
"URL_LINK": "SUA_URL_PARA_ARQUIVO/Interface.u"
},
{
"fileName": "System_en\\InterfaceClassic.xdat",
"SHA1": "567c8e0092fd30089971c104d73c745d43c05c69",
"URL_LINK": "SUA_URL_PARA_ARQUIVO/InterfaceClassic.xdat"
}
],
"full_system_url": "SEU_URL_COMPLETO_JSON"
}[/CÓDIGO]
good job
 
Назад
Сверху