Giter Club home page Giter Club logo

mishiro's Introduction

mishiro

Github All Releases GitHub release Electron GitHub repo size in bytes

Build

中文 README

Download

Note:

  • Do not install mishiro in a path which includes Chinese or Japanese characters.

  • If you have trouble to launch or experience any error, try to install the latest version.

Screenshot

screenshot.png

Feature

  • Support language: Chinese / Japanese / English.
  • [ HOME ] Get game resources. (unity3d, acb, bdb, mdb)
  • [ IDOL ] Search idol card, get card background png / character voice.
  • [ COMMU ] Producer searching.
  • [ LIVE ] Get BGM / live songs, view live score, play.
  • [ MENU ] Event PT calculator, options...

Score viewer demo: https://toyobayashi.github.io/mishiro-score-viewer/
Repo: mishiro-score-viewer

Development & Building

Windows Require

  • Windows 7+
  • Node.js 18+
  • Python 3
  • Visual Studio 2022 with C++ Desktop workload installed
  • .NET & Powershell

Linux Require

  • Node.js 18+
  • Python 3
  • gcc & g++
  • make
  • zip & unzip

MacOS Require (This part is not tested)

  • Node.js 18+
  • Python 3
  • Xcode (install Command Line Tools by running xcode-select --install in your terminal)

Quick Start

  1. Clone / Pull

    $ git clone https://github.com/toyobayashi/mishiro.git
    
    $ git pull

    NOTE: Due to C++ native addon compilation must match correct Electron / Node.js version, when electron version in package.json changed, please remove the following folders manually then run npm install again.

    • /app/node_modules/mishiro-core
    • /app/node_modules/sqlite3
    • /app/node_modules/hca-decoder
    • /app/node_modules/spdlog
    • /app/node_modules/usm-decrypter

    You can also just run npm run rm to do this.

  2. Install

    • Windows

      > cd mishiro/app
      
      > npm install -g node-gyp
      
      REM install electron's node C++ header
      > for /f "delims=" %P in ('node -p "require('./package.json').devDependencies.electron"') do node-gyp install --target=%P --dist-url=https://electronjs.org/headers
      
      REM install dependencies
      > npm install
      REM get external resources
      > npm run get
    • Linux / MacOS

      $ cd mishiro/app
      
      $ npm install -g node-gyp
      $ node-gyp install --target=$(node -p require\(\'./package.json\'\).devDependencies.electron) --dist-url=https://electronjs.org/headers
      
      $ npm install
      $ npm run get # get external resources

    If run npm install error, remove package-lock.json then try again.

  • Develop

    Recommend VSCode.

    # ~/mishiro/app$ code .
    $ npm run dev
    
    # or
    $ npm run serve
    # then launch mishiro by vscode debug mode
  • Build

    # bundle code for production
    $ npm run build
  • Launch

    # launch mishiro in production mode
    $ npm start
  • Pack

    $ npm run pack:x64 # x64 
    $ npm run pack:ia32 # Windows x86

Reference

Special thanks:

Copyright

The copyright of CGSS and its related content is held by BANDAI NAMCO Entertainment Inc.

mishiro's People

Contributors

dependabot[bot] avatar toyobayashi 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

mishiro's Issues

Error

Screenshot (34)

Hello, I've this error when load mishiro
any fix or suggestion??

there arent all the stages files up to download?

i really want the stage kawai make my day stage it only have the meshes and the textures but it doesnt have the animator? why? its listed in your program but it cant be downloaded, can you help me with this please?

Compression(?) issue

Hi, I have a small but minor issue with your mishiro program. In the previous versions of your program, when I download unity3d meshes, I think they were decompressed/unpacked. But in the newer version of the program all the files seem to be packed/compressed and I'm unable to open the unity3d files in other programs because of it. Is there a way you can make it so the unity3d files are uncompressed like in your previous versions? Thank you so much for reading!

Error

Hi! When I download the newest version of your program (the one you uploaded 14 hours ago), I get an error that says "Error: read ECONNRESET", and nothing will load after that. I can't get in ;__;
error

Download All produces unopenable files

Downloading the files manually via the home screen produces extract able files when opened in AssetStudio. However, when the same files are downloaded using the Download All function, the files cannot be opened.

個人連絡ですみません。

お忙しいところ恐縮ですが、
返信で 7/22 と 7/28 にメールを送信しています。
確認頂けたでしょうか。

无法解码

下载完毕后无法解码,CPU占用维持高水平,但长时间无法输出文件
2

一括ダウンロード・エラー

一括ダウンロードでエラーが発生した場合にダウンロードが中断されてしまいます。
エラーが発生した場合でもそのまま継続してダウンロードを行い、
最後にエラーが発生したファイル名を列挙すればいいと思います。

複数選択などの要望

Liveなどの検索結果で、
Ctrl+やShiftを押しながら複数選択できるようにして欲しいです。
Liveの場合は複数ファイルのデコードを行います。
複数ファイルの場合は進行バーに[現在/選択個数]
と表示し、×ボタンを表示。

オプションで音の変換形式を選べるようにしてほしい。
wav,mp3,aac
aacは160kbps(ファイルサイズが展開済みacbと同等)

歌詞はlrcファイルにする。
https://ja.wikipedia.org/wiki/LRC_(file_format)

下载列表的问题

请问,有没有让搜索列表只显示未下载文件的方法?
每次都要为了新文件翻好几百页,感觉手快要撑不住了

cgss新版本资源解包相关

cgss更新了unity版本(unity2020.3.8f1),用UABE无法读取文件。UABE已经很久没更新了,所以能考虑下mishiro增加解包资源功能么(现在只能选择卡片编号解出对应的卡片图)?

曲ループ処理

再生とエンコードの際にループ構造の処理。
ループ再生が設定されているファイルの場合、ループをそのファイル基準にする。
書き出す場合はループ回数、ループ後のフェードアウト秒数。

Movie extraction

According to #28 and great thanks @SysVR providing source code to usm decryption.

Nodejs binding is working in progress here.

This will be added in next minor version of mishiro-core. (builtin ffmpeg convertion is not in plan

顯示SSR的動畫

可以支援顯示或下載SSR的2D動畫效果嗎?就是遊戲中在抽卡頁面或首頁時,如果背景是SSR且支援的話會有動畫效果,例如卡片編號100785就有頭髮擺動的動畫效果。

OneShin Solos

Hello! So a new feature was just added that allows you to mix solo versions of Onegai! Cinderella so that each voiced girl on stage will be actually singing her part in the Grand MV. I wanted to get the solo voice files for all of the girls, and it seems like two files are needed for each solo, a .acb file and a .awb file. The problem is is that I can't download the .awb ones through mishiro, and attempting to manually decode the .acb files seems like it can't be done without the .awb file. The same problem happens if I try to download it through the LIVE screen on mishiro; the files are unable to decode and I only get the .acb downloaded.

I hope there is a fix for this; I'd love to hear their solos from the Grand version.

How can I decode SE on acb files?

Hello, Thanks to provide this project.

I want sound effects on this game, but I cannot find how to use acb decode function.
I searched files with keywords "s/se" and downloaded acb files. And I cannot find a way to decode these acb files.

When I entered Live tab, It only provides songs and bgm. How can I use acb decoder separately?

谱面问题

能不能在 看谱面和live的界面显示一下时间
设置那做个开关 需要的打开 不需要的关闭
谢谢

关于自定义下载功能BUG说明和短期优化方案的建议

最近抓紧在学U3D,试图建模中。想到以前玩了CGSS的U3D模型,想弄个上去,最终想要实现的效果类似于如下的链接视频:

https://www.bilibili.com/video/av40528658

那么,利用mishiro来下载,是妥当的。然而CGSS开服到现在,究竟出了多少模型,这谁也不知道。但唯一可以清楚的是:所有的3D模,都是基于unity3D实现的。只要获取相应的资源包,就能进行应用处理。

依据去年9月的历史issue #8 (图),可以得出以下的结论:
image
1.用mishiro做searcher和Downloader的方案是可行的;
2.搜索关键词是unity3d,以集中下载*.unity3d资源包,最后在unity中进行解包重构;
3.找个虚拟机下一个完整游戏数据库,用DB Browser for SQLite建立数据库结构,用mishiro按需下载。

在按照结论执行后,我发现了几个关键的bug使得我无法进行批量下载。在这里要说明一下:
首先,上图:
按照我的想法,大致操作是这样的:

111
你可以发现unity资源有6429页,进行下载的时候每次只能下载一页。全选的按钮只能控制当前页面。如果我要全部打包下载的话得一页一页翻过去。。。。。。。显然有些不现实。

=============================================================
就这一点,包括自定义搜索下载,请允许我提出一些建议,看看是否可以后续版本中慢慢考虑实现:

1.设置批量下载的功能,允许下载全部的自定义搜索结果文件;(不用一页一页的下,写个for循环?这个我比较急着用,应该好实现,增加一个“全部下载”按钮?)
2.设置全部数据的下载功能,完整数据直接全部下载到本地后,使用增量更新。由用户自行决定需要提取的数据。
(现在下载是:用户提出需求->mishiro去搜索、解包后呈现->用户确认下载->下载到本地)
(建议是,增加一个新的下载策略,可供用户选择:
i.经用户同意后,mishiro先无条件在后台下载当前完整数据包
ii.用户通过系统资源管理器浏览或提取他想要的东西,同时,mishiro也优先从本地解密资源
iii.mishiro默认工作模式还是现行的状态(在线浏览+本地缓存优先)
iv.配合使用更新检测机制(数据包版本号校验)、增量更新机制
(这些配置要不要考虑做成一个config.json保存在本地?)

3.下载是否可以调取Aria2C操作?基于electron的实现方案请点击
4.翻页键做个按钮呗(下图红色标记处),还有......上一页拼错了应为 Previous (要不要考虑实现响应鼠标滚轮的翻页模式?)

image

大佬可否看看再考虑一下,对自定义下载的批量功能做个优化?

Uncompressed asset

According to #28

vr_unload_se_story10040.unity3d.lz4 is decoded failed for it is not compressed.

0x04 0x05 0x06 0x07 is original file size,
0x08 0x09 0x0a 0x0b is compressed lz4 size.
0x0c 0x0d 0x0e 0x0f is unknown.

Fix this in next version of mishiro-core.

Stuck while downloading

Hello, I've tried to download the new version after a long time of not using the program, and after I open it, it downloads 2 files, and gets stuck at 100% at the second file, is there anything I can do to fix this?
image

error when installing

Captura2
hello!! i know NOTHING about how 2 install these type of apps so id appreciate a bit of help,,, do you maybe have a tutorial or a solution to my problem?

endless load...

If you try to go with the resource version 10034700 it will become an endless load...
image

unity3d

hello! this is more of a personal issue but i would like to know how do i obtain the 3d models from unity3d files? for example, if wanted to use the cgss models for mmd, how do i extract them? ive been trying unity3d viewers but all they show is code, and im not sure how to get the actual mesh?
image
if any confusion was made because of my poor writing, the image above is what i want. only the 3d model, but all i can find is unity3d and i dont know how to get the model out of it, or maybe theres another file type for the 3d model alone? i hope this is not too hard to answer, since ive searched the internet and i cant seem to find an answer. thank you!

映像やアセットについて。

vr_unload_se_story10040は非圧縮lz4アーカイブです。

04 05 06 07 08 09 0A 0B が同一で 0Cが00だと非圧縮みたいです。(多分0Cが01だと圧縮。00だと非圧縮。フォーマットとか見てないただの勘ですw)

映像はusm形式はデコードできます。(ソースコード付き)
CRI_USM_Decrypter_v1.01.zip
https://drive.google.com/drive/folders/129sNmot0AJKsgn3uxa3JRhnFyq9PqFoe

キーはHCAと同じです。
ちなみに映像は1920x1088で正常です。
下に8ピクセル黒帯があります。

で、ffmpeg等を使って再エンコードしないとだめです。
ffmepgを利用する場合は、2パスエンコードで、

ffmpeg -i -pass 1 -y -c:v libx264 -vf crop=1920:1080:0:0 outputfile.mp4
ffmpeg -i -i -pass 2 -y -c:v libx264 -preset slow -b:v 2700K -c:a aac -b:a 160000 -vf crop=1920:1080:0:0 outputfile.mp4

がベストです。
(2700Kbpsっていうのは各種デレステの動画ファイルの平均ビットレートが2700Kbpsだったので)

大佬,是否可以建立releases的国内镜像源?

如题。去年从贴吧过来的,一直在这边使用已经编译的win64版本使用,几个月来大佬的基于electron的mishiro一如既往地好用,十分感谢!

然而github的release目前处于不稳定状态,从6月起下载基本处于不可用的状态,无法完成下载。

坐标为江苏苏州。另请求了上海、杭州、浙江湖州、嘉兴、宁波、江苏南京、常州、无锡的几个小伙伴一起测试,运营商为电信、移动。即使使用科学上网,他们也均反馈表示有同样的问题存在;尤其是移动的,都下到一半不到就挂了.......

使用科学上网的方法试图解决(vpn、SS、SSR都试过),但速度未有改善,也不能完成下载。下载器是使用IDM、FDM、浏览器自带下载器、迅雷。

大致如下图所示:
image

毕竟,github是基于亚马逊的云服务(AWS),它的s3服务器在国内并无CDN加速,因此访问外网自然就比较慢。由于常规改host的方法目前已经基本失效,因此速度自然提不上去。

因此,我的诉求(建议)是建立国内的release镜像源,在中文版readme上添加指向链接,我这里有几个不成熟的方案,大佬看看是否可以采纳?如果已经实施,还请在readme上给出明显链接

1. 国内网盘

       =>pan.baidu.com;        //喜闻乐见的百度盘(方便管理,但是有限速)
       =>www.lanzou.com;    //不限速的蓝奏云,有大小限制,可能要分卷(速度快)
----------------------------------------------------------------------------
       ->如果考虑到被度盘抽掉的风险,还请打成加密压缩包,密码放在readme中;
       ->使用网盘法有助于为国内网友更快提供信息,但是不利于git版本管理,需要额外的建制

==============================================================
2.开源**的码云或者其它国内代码托管网站[参见下面的1号链接]
这是github的国内版,因为建立在国内,有CDN加成,所以无论是代码还是其他都访问相对较快,我的建议是大佬是否可以将此项目直接移植到码云上作为国内的副本,在该托管网站上发布release的镜像,方便国内用户下载?在国内政策日益严格的趋势下,科学上网的难度只会越来越大,也越来越不成为现实和主要手段。

       建议大佬在本地写完程序后与github同步、编译后传入github;码云这边貌似可以直接同步github上的改动,方便管理。其修改的路由模式大致如下:

              用户(大佬)====>Github======>码云

      只是,release需要额外手动上传一次。至少我已经尝试fork大佬的整个项目到码云(已删)后,只有代码,没有可用的release。

=============================================================
不知大佬意下如何?还请动动手,帮助一下我等萌新可好?

参考文献:
[1]解决GitHub下载慢问题,不用修改HOSTS文件
https://blog.csdn.net/github_37847975/article/details/86477343;
(笔者注:其中的host方法已没有效果,建议大佬使用↑此文↑中的第二条方法)

[2] https://www.v2ex.com/amp/t/530884;
(笔者注:挂全局梯子现在也下载不了)
[3]解决下载GitHub项目速度慢的问题(2019.1.21亲测有效)https://blog.csdn.net/github_37847975/article/details/86477343;
[4]下载github的release文件过慢的解决方法
https://gadzan.com/wget-downloading-github-s-release-files/
(笔者注:wget-win 不能下载release中的文件)
[5]解决GitHub release文件被墙下载失败问题
https://www.jianshu.com/p/8e931a47cd96
(笔者注:host基本无效、pcloud无法注册、无法访问、科学上网后无法转存);

Download Failed (?)

Hello! For the past two days i've been unable to launch the desktop app. It's stuck on a loading bar and always says that the download has failed...my internet connection is very stable and it's only been acting up recently. Has anyone else had this problem and can provide a solution?
Sorry if this is reported in the wrong place ><
image

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.