Git Product home page Git Product logo

honokamiku's Introduction

HonokaMiku

Universal Love Live! School Idol Festival game files decrypter.

GitHub Actions

This is original implementation of HonokaMiku following C++03 standard. The source code is located in src folder.
The code is designed to be cross-platform as possible, so it should compile under Windows, Linux (incl. Android), Mac OS X, and other platforms.

Basically it allows decryption of LL!SIF game files so that it can be opened without using LL!SIF.

Due to an incident that breaks LL!SIF, this decrypter is no longer updated!

How to compile

As of 22nd October 2018, CMake is now used to build the project.

File decryption support

HonokaMiku supports decryption of SIF EN/WW, JP, TW, and CN game files, from version 1 encryption format to version 4 encryption format.

It is also possible to decrypt Playground game files not from LL!SIF if you have the MD5 prefix key by using the API.

Documentation

Documentation? doxygen

Embedding in Application

HonokaMiku is designed as an API at first, so embedding should be easy and straightforward.

Just add DecrypterContext.h, md5.h, VersionInfo.rc.in, and all *.cc (except HonokaMiku.cc) files in src folder to your project and you're done.

If you want to build the executable instead, using CMake is strongly recommended.

Implementation In Other Languages

Did you rewrite HonokaMiku to other languages? Send me your work and I'll add it in here.

honokamiku's People

Contributors

mikuauahdark avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

honokamiku's Issues

Compiling on Mac

I am an OS X user. The default Makefile doesn't works as OS X offers Clang as g++ command.

I would suggest change the g++ commands to $(CC).

Besides, what are the compiler options -Wl,-E used for? If I remove it, the compiling succeeds, but if not, the compiler says:

mkdir -p bin/honokamiku
g++-4.8 -O3  -fPIC -pie -o bin/honokamiku/HonokaMiku   JP_Decrypter.o V2_Decrypter.o Helper.o HonokaMiku.o  -Wl,-E
ld: unknown option: -E
collect2: error: ld returned 1 exit status
make: *** [honokamiku] Error 1

Can't decrypt some JP V3 files that are ABLE to read by official client

Here are some files generated by my encrypt script
(link removed)
Official 4.1 engine is able to read them
but HonokaMiku and SIF_Win32 can't

$ ./HonokaMiku.exe lives/moment_ring_ex/clear.ogg
HonokaMiku. Universal LL!SIF game files decrypter
Auto-detecting: JP (Version 3) game file
Error: Name sum counter doesn't match

Nonexistant lua folder

I quote from the readme:

Lua implementation of EN & JP decryption routines located in lua folder.

However, there is no such lua folder anywhere to be found.

Might want to fix that.

Cannot decrypt: Cannot find suitable decryption method

After compiling on Ubuntu 15.10, for any file I try to decrypt (from the built-in assets included in the app), I get the following error:

htcg@htcg-tp11e ~/Documents/klab $ HonokaMiku start.lua 
HonokaMiku. Universal LL!SIF game files decrypter
Auto detecting: Unknown
Cannot decrypt start.lua: Cannot find suitable decryption method

I have tried decrypting assets from the iOS EN version (you can't get the JP version without a Japanese Apple ID - thanks, Apple), the Android EN version, and the Android JP version of the game.

Here's the start.lua file from the iOS version of the app: link (mirror)

EN V4 Encryption method

With the latest update Klab changed their encryption method to V4. Is it possible to add this to the project?

Linking fails on Linux/GCC6, due to missing -fPIC for object files

[0] [akari@navi] [main ← /home/akari/git/HonokaMiku]
 % make 
g++ -c -O3   src/JP_Decrypter.cc
g++ -c -O3   src/V2_Decrypter.cc
g++ -c -O3   src/Helper.cc
g++ -c -O3   src/HonokaMiku.cc
mkdir -p bin/honokamiku
g++ -O3  -fPIC -pie -o bin/honokamiku/HonokaMiku   JP_Decrypter.o V2_Decrypter.o Helper.o HonokaMiku.o  -Wl,-E
/usr/bin/ld: JP_Decrypter.o: relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
JP_Decrypter.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
make: *** [Makefile:67: honokamiku] Error 1

[2] [akari@navi] [?main ← /home/akari/git/HonokaMiku]
 % uname -a
Linux navi 4.6.2-1-ARCH #1 SMP PREEMPT Wed Jun 8 08:40:59 CEST 2016 x86_64 GNU/Linux

[0] [akari@navi] [?main ← /home/akari/git/HonokaMiku]
 % g++ --version
g++ (GCC) 6.1.1 20160602
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


[0] [akari@navi] [?main ← /home/akari/git/HonokaMiku]
 % make clean
rm: cannot remove 'JP_Decrypter.obj': No such file or directory
rm: cannot remove 'V2_Decrypter.obj': No such file or directory
rm: cannot remove 'Helper.obj': No such file or directory
rm: cannot remove 'HonokaMiku.obj': No such file or directory
rm: cannot remove 'VersionInfo.res': No such file or directory
make: [Makefile:92: clean] Error 1 (ignored)
rm: cannot remove 'obj': No such file or directory
make: [Makefile:93: clean] Error 1 (ignored)
rm: cannot remove 'libs': No such file or directory
make: [Makefile:94: clean] Error 1 (ignored)

[0] [akari@navi] [main ← /home/akari/git/HonokaMiku]
 % CXXFLAGS=-fPIC make
g++ -c -O3  -fPIC src/JP_Decrypter.cc
g++ -c -O3  -fPIC src/V2_Decrypter.cc
g++ -c -O3  -fPIC src/Helper.cc
g++ -c -O3  -fPIC src/HonokaMiku.cc
mkdir -p bin/honokamiku
g++ -O3  -fPIC -pie -o bin/honokamiku/HonokaMiku -fPIC  JP_Decrypter.o V2_Decrypter.o Helper.o HonokaMiku.o  -Wl,-E
rm JP_Decrypter.o V2_Decrypter.o Helper.o HonokaMiku.o 

[0] [akari@navi] [main ← /home/akari/git/HonokaMiku]
 % bin/honokamiku/HonokaMiku --version
HonokaMiku. Universal LL!SIF game files decrypter
Version 2.4.0
Build at Jul  6 2016 09:57:58
Compiled using gcc-6.1.1 20160602


[0] [akari@navi] [main ← /home/akari/git/HonokaMiku]
 % 

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.