Giter Club home page Giter Club logo

refrain69 / krkrextract Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xmoezzz/krkrextract

0.0 0.0 0.0 286.81 MB

A tool that can extract and pack krkr2 and krkrz's xp3 files

Shell 0.71% C++ 47.19% Python 0.05% Perl 0.24% C 31.63% Common Lisp 0.01% C# 0.15% Assembly 0.42% CSS 0.01% Pawn 0.02% SourcePawn 1.86% Makefile 0.29% HTML 0.06% CMake 0.04% Batchfile 0.01% DIGITAL Command Language 0.13% Yacc 0.04% POV-Ray SDL 16.95% Roff 0.02% Starlark 0.20%

krkrextract's Introduction

KrkrExtract

A tool can extract and pack krkr2 and krkrz's xp3 files (32Bit & 64Bit)

Try this

⚠️ Not Under Maintain

中文说明

  • 我平时很忙,本工程开源并且可以编译,遇到问题应该先自己解决,然后提交PR。
  • wiki还在建设中,不知道什么时候能完成。
  • 受保护的程序一律不支持,支持就是打开潘多拉魔盒,你得保证各类bypass不冲突。
  • krkr2打包请直接使用UI上的封包功能
  • krkrz打包请直接使用Universal Patch功能
  • 转发本工具请附上本README

Universal Dumper!!

  • Only valid for krkrz target
  • Just click !!Dump!! and wait
  • warning!! : may extremely slow on low performance platform
  • warning!! : may run out of memory on low performance platform

New Universal Patch

  • Using KrkrExtract to automatically generate KrkrExtract.db
  • Copy KrkrExtract.db to your game dir
  • Universal Patch will read info from KrkrExtract.db firstly
  • now, Universal Patch is able to override top level script!
    override sample

Build

  • vs2019
  • Win10 SDK (10.0.17763.0)
  • Only Release build is supported

Build with debug version

  • require vs2019

  • This method requires kirikiri engine built with address sanitizer (asan) support

  • Asan will siglificently slow down debugee and impacts memory allocation behaviour

  • Bug & vulnerability feedback : any RPs are welcomed

  • Install required packages for visual studio installer

    override sample

  • Select krkrExtract.Core project

    override sample

  • Retarget project to v142

    override sample

    override sample

  • Enable address sanitizer (aka asan)

    override sample

Improvement & New feature

  • PRs are welcomed. Since I'm very busy with my work, I almostly have no time to develop this project.
  • KrkrExtract will NEVER support custom kirikiri version (if it's not widely used)
  • Make sure executable binaries are not being protected

Bug report

  • screenshot (stack trace, ...)
  • BUT please strip game information from your screenshots

The Next Generation of KrkrExtract

KrkrzExtract Website

OpenSource License

Files

All source code files are licensed under GNU General Public License v3 (GPLv3).

Note

Since I have no time on this project, KrkrExtract will only focus on xp3-like archive unpack.
KrkrExtract will not foucs on modified krkr engines.
If you have any needs, pls develop by yourself.

Encrypted(protected) executable file

Actually, If I add some bypass supports in this project, It's very difficult to support make sure they will not conflict with other parts.
So you're sure that the executable file is protected, pls remove the protection or just patch the binary and then use KrkrExtract to unpack archives.

Separated tools

I provide many separated tools to you.
If krkrExtract is not able to process some files corrently, you should try seperated tools first.

More English docs?

I'm trying to do this.
Since I almostly have no time on open source project, I'm not sure when can I upload more docs about my tools.

Any differences between krkr2 and krkrz?

My answer is NO DIFFERECES.
krkrz supports msvc while krkr2 can only built by bcb.
Some companies modified krkrz so we need more steps to unpack archives.

Why universal patch not compatible with krkr2?

krkr2 use bcb(C++ Builder, legacy version...) as default compiler.
bcb will make code more complex so sometimes it's more difficult to analyze code automatically, plus, KrkrExtract can pack archives for krkr2.

How to use & How to ...

I know maybe have many questions about KrkrExtract, Pls see the website below firstly.
KrkrExtract Website

Any problem about repack?

Why not try to use universal patch?

Other krkr Project

AlphaMovie Decoder:
AlphaMovie Decoder Project

64Bit Version

useless:)
I've removed all source codes about 64bit version.
I don't think any company will use 64bit version.

Website

KrkrExtract Website

krkrextract's People

Contributors

fengberd avatar ichisadashioko avatar statementreply avatar xmoezzz 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.