Coder Social home page Coder Social logo

mkct's Introduction

MKCTDLL

Author: monoliths
This project can change file head to miku web registration date

Environment

  • C++ version
    • C++17 standard
  • JAVA version
    • Openjdk >= 1.8

Change header to 20 15 12 27

Mikuclub.com web registration date: December 27, 2015
Hex data: { 32, 21, 18, 39 }

Main function

  • char* _getMKFileHeader(const wchar_t* file)
  • char* _getFileHeader(const wchar_t* file)
  • errno_t _pushLastBytes(const wchar_t* file, const char* bytes)
  • char* _popLatsBytes(const wchar_t* file)
  • void _bytesToHexString(char* bytes, int bytelength): change byte data to hex
  • errno_t _changeHeaderTo(const wchar_t* file): copy head append to end, use MK_HEAD replease head
  • errno_t _changeHeaderBack(const wchar_t* file): get last 4 bytes data and replease to first, resize to file size - 4

Return last error value.
Value: https://docs.microsoft.com/en-us/cpp/c-runtime-library/errno-constants?view=msvc-160

Version

  • 1.1
    • added char* _getMKFileHeader(const wchar_t* file) function.
    • added char* _getFileHeader(const wchar_t* file).
    • resolve string to char* codec error.
    • change argvs type char* to wchar_t*, use Unicode file name.
  • 1.2
    • added java version of MKCT
    • added new two function
    • use constexpr to initialize some const data
    • solve header cover 4 to 8 bytes error

mkct's People

Contributors

diam2023 avatar

Watchers

 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.