Git Product home page Git Product logo

ro-origin-language-decrypter's Introduction

Ragnarok Origin Language Decrypter

This is the tool we are using back then when we first released the Ragnarok Origin Language Patcher. Now its a scrapped project and we are happy to share it with anyone.

Usage:

To decrypt file:

  1. Create a main.py file together with the engine.py file.
  2. Open main.py and put these contents:
import engine

# Decrypt the file
decrypt_language = engine.database_read("2226754682.robytes");

# Read the decrypted data
with open("dump.tsv", "w", encoding="utf-8") as fh:
   for item in decrypt_language:
        id = item['_id_']
        name = item['text'].replace("\n","\\n")
        fh.write(f"{id}\t{name}\t\n")

To encrypt file:

  1. Create a main.py file together with the engine.py file.
  2. Open main.py and put these contents:
import engine

# Create a dictionary with ID as key and the translated text as the value.
my_translation = {
	"ID1": "This is my translation",
	"ID2": "This is another translation",
}

# Build the robyte file
build_language = database_build_up(my_translation)

# Write the content to a file
with open("2226754682_custom.robytes", "wb") as fp:
    fp.write(build_language)

ro-origin-language-decrypter's People

Contributors

psycho-neon avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.