{"id":23217479,"url":"https://github.com/summertriangle-dev/waterqualia2","last_synced_at":"2025-08-21T17:17:04.783Z","repository":{"id":147609384,"uuid":"50157330","full_name":"summertriangle-dev/waterqualia2","owner":"summertriangle-dev","description":null,"archived":false,"fork":false,"pushed_at":"2016-01-22T04:21:20.000Z","size":98,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-11T10:58:14.769Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/summertriangle-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-22T04:20:44.000Z","updated_at":"2024-06-07T08:08:50.000Z","dependencies_parsed_at":"2023-04-18T15:14:11.170Z","dependency_job_id":null,"html_url":"https://github.com/summertriangle-dev/waterqualia2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/summertriangle-dev%2Fwaterqualia2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/summertriangle-dev%2Fwaterqualia2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/summertriangle-dev%2Fwaterqualia2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/summertriangle-dev%2Fwaterqualia2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/summertriangle-dev","download_url":"https://codeload.github.com/summertriangle-dev/waterqualia2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247347774,"owners_count":20924457,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-18T20:48:30.139Z","updated_at":"2025-04-05T14:23:38.370Z","avatar_url":"https://github.com/summertriangle-dev.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"Some quick tools for decoding images from [Stella Glow](http://www.atlus.com/stellaglow/).\n\nThey should work on most non-windows systems.\n\n**If you are compiling using gcc: `export CFLAGS=\"-lstdc++\"` now**\n\n## cmp\n\nA standalone version of the [LZSS decompressor from Ohana3DS](https://github.com/gdkchan/Ohana3DS-Rebirth/blob/master/Ohana3DS%20Rebirth/Ohana/Compressions/LZSS.cs).\n\n    make cmp\n    # writes decompressed data to stdout - \"\u003e out.arc\" is shell syntax.\n    ./cmp in.arc.cmp \u003e out.arc\n\n    # decompress every .cmp file in ./romfs\n    find ./romfs -name \"*.arc.cmp\" | while read file; do\n        mkdir -p path_to_mirror_romfs/$(dirname $file)\n        /full_path_to/cmp $file \u003e path_to_mirror_romfs/${file%.cmp}\n    done\n\n## arc\n\nAn extractor for [SARC](http://mk8.tockdom.com/wiki/SARC_(File_Format)) files.\nUses code from [EveryFileExplorer](https://github.com/Gericom/EveryFileExplorer) for BFLIM-\u003ePNG conversion.\n\n    make arc\n    ./arc l in.arc\n    ./arc x in.arc out_folder\n    ./arc o in.arc timg/base.bflim out.png\n\nGeneral syntax:\n\n    ./arc [cmds...] [args for cmd 1]... [args for cmd 2]... [args for cmd n]\n\nYou can extract multiple files at once by chaining commands:\n\n    ./arc xx in0.arc in0 in1.arc in1\n\nYou can control the formats `arc` outputs with the `f` command:\n\n    # I want to extract only BFLIM files (and convert them to PNG)\n    ./arc fx b in.arc out\n    # I want to disable conversion\n    ./arc fx _ in.arc out\n\n| Format code | Description                     |\n|-------------|---------------------------------|\n| `_`         | Raw files                       |\n| `b`         | BFLIM texture (converts to PNG) |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsummertriangle-dev%2Fwaterqualia2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsummertriangle-dev%2Fwaterqualia2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsummertriangle-dev%2Fwaterqualia2/lists"}