PHPackages                             towa0131/deresute - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. towa0131/deresute

ActiveLibrary

towa0131/deresute
=================

A library for THE iDOLM@STER Cinderella Girls Starlight Stage in PHP.

v1.0.3(6y ago)10222[1 issues](https://github.com/346Cafe/deresute/issues)[1 PRs](https://github.com/346Cafe/deresute/pulls)GPL-3.0-onlyPHPPHP &gt;=7.0.1

Since Oct 20Pushed 2y ago2 watchersCompare

[ Source](https://github.com/346Cafe/deresute)[ Packagist](https://packagist.org/packages/towa0131/deresute)[ RSS](/packages/towa0131-deresute/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (4)Versions (7)Used By (0)

deresute
========

[](#deresute)

[![banner](https://camo.githubusercontent.com/b70ed5dd5af7ab7f996c89a2fe8ad3b34aaabae6da101d70a93882fa0c0fc90a/68747470733a2f2f6973322d73736c2e6d7a7374617469632e636f6d2f696d6167652f7468756d622f507572706c653131332f76342f37302f64662f62322f37306466623238302d366637322d393839342d393064362d3161323361623831353964392f70725f736f757263652e706e672f31393230783130383062622e706e67)](https://camo.githubusercontent.com/b70ed5dd5af7ab7f996c89a2fe8ad3b34aaabae6da101d70a93882fa0c0fc90a/68747470733a2f2f6973322d73736c2e6d7a7374617469632e636f6d2f696d6167652f7468756d622f507572706c653131332f76342f37302f64662f62322f37306466623238302d366637322d393839342d393064362d3161323361623831353964392f70725f736f757263652e706e672f31393230783130383062622e706e67)

[![GitHub license](https://camo.githubusercontent.com/fb00246d435df61a5c7f7514242a6b42a19afa75236611b8874c85b506874353/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f333436436166652f64657265737574652e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/346Cafe/deresute/blob/master/LICENSE)[![GitHub forks](https://camo.githubusercontent.com/a98d055330477e691f7a86b395e7331b5b264f7047846b15be425dd99de90ed2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f333436436166652f64657265737574652e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/346Cafe/deresute/network)[![GitHub stars](https://camo.githubusercontent.com/befc5369c560157c16063ebb58a44da2caa40ea90feb78dc6b57046e970d028f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f333436436166652f64657265737574652e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/346Cafe/deresute/stargazers)[![GitHub last commit](https://camo.githubusercontent.com/842f73f7dae226321452752bc0660adfebf39fe4ec1bb5be933c2a504a656df3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f333436436166652f64657265737574652e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/346Cafe/deresute/commits/master)

[![PHP from Packagist](https://camo.githubusercontent.com/9be66aa5558409acd93b426c9a6d092038b142ce5acca2880a9a42728b931e57/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f746f7761303133312f64657265737574652e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/346Cafe/deresute/)[![Travis CI](https://camo.githubusercontent.com/f3d06b344ff2a70f3eb6157e4ff10574dd3aee3e78d2d8e7b54ec8b65b51c539/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f333436436166652f64657265737574652e7376673f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/f3d06b344ff2a70f3eb6157e4ff10574dd3aee3e78d2d8e7b54ec8b65b51c539/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f333436436166652f64657265737574652e7376673f7374796c653d666f722d7468652d6261646765)[![Packagist version](https://camo.githubusercontent.com/cefc6d65034d3c0b2677180892a9fc21bf0c5613dd2e9fe01ad1fd67e1dee396/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f7761303133312f64657265737574652e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/towa0131/deresute)[![Packagist download](https://camo.githubusercontent.com/01a02829742115203a2061c4b758a4d39aa42eb9ac740f8cb9e870233675cb72/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746f7761303133312f64657265737574652e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/towa0131/deresute)

deresuteについて
------------

[](#deresuteについて)

**deresute**はCGSS API / AssetBundle ToolのPHP用ライブラリです。

セットアップ
------

[](#セットアップ)

### 必要なパッケージのインストール

[](#必要なパッケージのインストール)

```
$ apt -y install git g++ make cmake composer curl php-dev php-bcmath php-curl php-mbstring php-msgpack php-sqlite3

```

### php-unity-lz4のコンパイル

[](#php-unity-lz4のコンパイル)

- php-unity-lz4をGitからクローン

```
$ git clone https://github.com/towa0131/php-unity-lz4
$ cd php-unity-lz4

```

- コンパイル及びインストールを実行

```
$ ./install.sh

```

### php-cgssのコンパイル

[](#php-cgssのコンパイル)

- php-cgssをGitからクローン

```
# サブモジュールも同時にクローン
$ git clone --recursive https://github.com/towa0131/php-cgss
$ cd php-cgss

```

- libcgssをコンパイル

```
$ cd libcgss
$ cmake .
$ make
$ cp bin/x64/libcgss.* /usr/lib/

```

- php-cgssをコンパイル

```
$ cd ..
$ phpize
$ ./configure

# インストール
$ make install

```

エクステンションがインストールされるので`php.ini`ファイルに`extension=unitylz4`, `extension=cgss`を追加し、有効化してください。

### deresute本体のセットアップ

[](#deresute本体のセットアップ)

***下記のいずれかの方法でインストールが可能です。***

#### Gitからクローン

[](#gitからクローン)

- **deresute**をGitからクローン

```
$ git clone https://github.com/346Cafe/deresute
$ cd deresute

```

- 各ライブラリのインストール

```
$ composer install

```

#### Packagistからダウンロード

[](#packagistからダウンロード)

- **deresute**のダウンロード / 各ライブラリのインストール

```
$ composer require towa0131/deresute

```

### テストの実行

[](#テストの実行)

- #### Gitからダウンロードした場合

    [](#gitからダウンロードした場合)

```
$ php test-app.php

```

- #### Packagistからダウンロードした場合

    [](#packagistからダウンロードした場合)

```
$ php vendor/towa0131/deresute/test-app.php

```

機能
--

[](#機能)

### 音声ファイル/アセットバンドルのダウンロード

[](#音声ファイルアセットバンドルのダウンロード)

**deresute**の機能の一つとして、音声ファイル、アセットバンドルのダウンロード機能があります。

```
$ cd tools/AssetDownloader/
$ php app.php

```

音声ファイルはすべてのファイルのダウンロード完了後、自動でWAVEフォーマットに変換されます。

追加予定の機能
-------

[](#追加予定の機能)

- アカウントの作成機能
    - 正規クライアントへのアカウントの引継ぎ
- ダウンロードするデータをユーザが指定可能にする

FAQ
---

[](#faq)

### unitylz4のコンパイルでエラー

[](#unitylz4のコンパイルでエラー)

事前パッケージのインストールはされていますか？ もしされていないならコンパイルの前にインストールを行なってください。

### 本体のAPIの使用時にエラー

[](#本体のapiの使用時にエラー)

必要なエクステンションがインストールされていない可能性があります。一度、`php test-app.php`でテストスクリプトを実行し、エラーが発生しないか確認してください。

### test-app.phpの実行時にエラー

[](#test-appphpの実行時にエラー)

`No module loaded : msgpack`などの文が表示されていませんか？ もしされているのならば、必要なエクステンションがインストールされていません。インストールを行うことでエラーが発生しなくなります。

### わからないことがあれば

[](#わからないことがあれば)

お気軽に[Issues](https://github.com/346Cafe/deresute/issues)、[Twitter](https://twitter.com/usaminium)にてご質問お願いします。

使用しているライブラリ
-----------

[](#使用しているライブラリ)

- [towa0131/php-unity-lz4](https://github.com/towa0131/php-unity-lz4) - unity3d.lz4フォーマットを扱うPHPエクステンション
- [towa0131/php-cgss](https://github.com/towa0131/php-cgss) - ACBファイルの展開、HCAファイルのデコードを行うPHPエクステンション
- [phpseclib/mcrypt\_compat](https://github.com/phpseclib/mcrypt_compat) - データの暗号化 / 復号化を行うライブラリ
- [gabrielelana/byte-units](https://github.com/gabrielelana/byte-units) - バイト数値をパースするためのライブラリ
- [j4mie/idiorm](https://github.com/j4mie/idiorm) - ORMを扱うライブラリ

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 99.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~170 days

Total

4

Last Release

2250d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/23122010?v=4)[Towa Murayama](/maintainers/towa0131)[@towa0131](https://github.com/towa0131)

---

Top Contributors

[![towa0131](https://avatars.githubusercontent.com/u/23122010?v=4)](https://github.com/towa0131 "towa0131 (123 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

cgssderesuteidolmaster-cinderella-girlsstarlight-stage

### Embed Badge

![Health badge](/badges/towa0131-deresute/health.svg)

```
[![Health](https://phpackages.com/badges/towa0131-deresute/health.svg)](https://phpackages.com/packages/towa0131-deresute)
```

###  Alternatives

[robmorgan/phinx

Phinx makes it ridiculously easy to manage the database migrations for your PHP app.

4.5k46.2M405](/packages/robmorgan-phinx)[maennchen/zipstream-php

ZipStream is a library for dynamically streaming dynamic zip files from PHP without writing to the disk at all on the server.

1.9k286.3M147](/packages/maennchen-zipstream-php)[paragonie/sodium_compat

Pure PHP implementation of libsodium; uses the PHP extension if it exists

934131.6M155](/packages/paragonie-sodium-compat)[danog/madelineproto

Async PHP client API for the telegram MTProto protocol.

3.4k855.0k18](/packages/danog-madelineproto)[magento/community-edition

Magento 2 (Open Source)

12.1k52.1k10](/packages/magento-community-edition)[pocketmine/pocketmine-mp

A server software for Minecraft: Bedrock Edition written in PHP

3.5k74.6k86](/packages/pocketmine-pocketmine-mp)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
