CustomSong
从 Charts/ 加载自制曲包,内置AutoPlay功能 / Loads custom song packs from Charts/, with built-in AutoPlay functionality.
| Date uploaded | 3 weeks ago |
| Version | 1.1.4 |
| Download link | RedDragon-CustomSong-1.1.4.zip |
| Downloads | 138 |
| Dependency string | RedDragon-CustomSong-1.1.4 |
This mod requires the following mods to function
BepInEx-BepInExPack_IL2CPP
BepInEx pack for IL2CPP x64 Unity games. Preconfigured and ready to use.
Preferred version: 6.0.788README
Custom Song
In Falsus 的自制谱加载 Mod ,内置AutoPlay
- 默认曲包名:
Custom Song(可以在pack.json里改) - 自制谱位置:
GAME_PATH/Charts(不存在会自动创建) - 自制谱成绩:
cs.sav,与游戏主存档分开
功能
- 热重载:游戏中增删曲包或谱面,回主菜单后进选曲就生效,不用重启
- 明文谱面直接可用:加载时自动转成游戏的加密格式,不用手动转换
- 同id差分:同一个
if的四个难度可以各用不同曲名、曲师、音频、预览、曲绘、谱面、设计者、定数 - 大谱面:放宽了游戏的谱面池容量
- 整套曲包贴图:曲包大卡片 / 未选中卡片 / 右侧进度条目 / 选曲页横幅,7 张图分别指定
- AUTOPLAY:设置页「音符设定」最后一行有开关;开启后不记录成绩、遭遇结果、粒子掉落
- 生成
if文件:自动识别 ifs 和 falsum 的 json 文件生成if - 支持
.falsum压缩包:直接放进曲包文件夹下,自动解压成曲目文件夹并生成if - 曲名缺字补全:选曲界面因字体缺失未显示的字符,改用游戏内其他语言字体显示
手动安装
MelonLoader:把 CustomSong.dll 放进 GAME_PATH/Mods
BepInEx:把 CustomSong.dll 放进 GAME_PATH/BepInEx/plugins。
建曲包与装谱
1. 建一个曲包
自制谱放在游戏目录的 Charts/ 下(没有会自动建好,连带建一个 Custom Song):
GAME_PATH/Charts/
我的曲包/ ← 不写pack时文件夹名就是曲包名
pack.json ← 可选:改曲包名、换 7 张封面图
歌曲A/ ← 每首歌一个文件夹
歌曲B/
Charts/ 下只能放曲包文件夹,直接把歌曲文件夹放在这里会被跳过。
2. 把谱装进去
三种来源,都是把东西丢进曲包文件夹里:
① 已经是曲目文件夹(自带 if):整个文件夹拖进去即可。
我的曲包/歌曲A/
if 曲目说明(曲名、曲师、谱面、定数……)
audio.ogg 音频(ogg / mp3 / wav,纯音频)
jkt.png 曲绘(png / jpg / jpeg)
chart.spc 谱面(明文 .spc / .json 自动转换)
② .falsum 压缩包:直接把 .falsum 丢进曲包文件夹。进游戏后自动解压成同名文件夹、按里面的
song.json 生成 if 并加载;已解压过的不会再解压。
③ In Falsus Studio 工程:把整个工程目录拖进曲包文件夹,进游戏后自动按含 infalsus.studio.json
生成 if 并将 .ifstudio/ 下的谱面挪到曲目根目录;已有 if 的目录不会生成
曲包格式
Charts/
MyPack/
pack.json
SongA/
if
audio.ogg
jkt.png
chart.spc
pack.json
{
"name": ["我的曲包", "我的曲包", "My Pack", "マイパック", "마이 팩"],
"visuals": { // 曲包封面,可选
"songSelect": "packvisual-songselect-default.png",
"songSelectHover": "packvisual-songselect-hover.png",
"selected": ["selected-sc.png", "selected-tc.png", "selected.png", null, null],
"selectedHover": "packvisual-selected-hover.png",
"deselected": "packvisual-deselected-default.png",
"deselectedHover": "packvisual-deselected-hover.png",
"outline": "outline-packvisua.png"
}
}
name 和每张图都可以写成五元数组,顺序是 [简体, 繁體, English, 日本語, 한국어],游戏用哪个语言就取哪个槽;
图只写要区分的语言即可,缺的语言用 English 那张(英文也没有就用第一个非空的)。游戏里切语言立刻换图。
也可以写成语言对象,键名 sc / tc / en / ja / ko(顺序随意、大小写不敏感):
{
"name": { "sc": "我的曲包", "en": "My Pack", "ja": "マイパック" },
"visuals": {
"songSelect": { "sc": "banner-sc.png", "en": "banner-en.png" },
"selected": { "sc": "selected-sc.png", "ja": "selected-ja.png" }
}
}
name 缺的语言按第一条写出来的补;图缺的语言用 English 那张(英文也没有就用第一个非空的)。
不写 pack.json 时自动使用文件夹名作为曲包名
if
{
"id": "my_song",
"name": "My Song",
"composer": "Composer",
"song": "audio.ogg",
"jacket": "jkt.png",
"preview_seconds": ["42.0", "72.0"],
"charter": [null, null, "Charter A", "Charter B"],
"chart": [null, null, "normal.spc", "hard.spc"],
"lv": [null, null, 9, 13]
}
lv必须是 JSON 数字;- 某个难度有
chart,就必须同时有charter和lv; jacket必须是曲目文件夹里的.png/.jpg/.jpeg;song只能是.ogg/.wav/.mp3;preview_seconds必须落在音频时长以内
name / composer / illust 另有三种写法:五元数组按语言
[简体, 繁體, English, 日本語, 한국어] 各写一份;四元数组逐难度;两者都要时写嵌套
(外层语言、内层难度,即 5 行 × 4 列,某个格子写 null 就用该语言的第一条文本补)。
也可以写成语言对象:{"sc": "…", "en": "…", "ja": [...]} —— 键名只有 sc/tc/en/ja/ko
(大小写不敏感)、顺序随意,缺的语言自动补;pack.json 的曲包名和 7 张图同样支持。
{
"id": "my_song",
"name": { "en": "Title", "sc": "歌名", "ja": ["日·MIN", "日·EVO", "日·ULT", "日·FBD"] },
"composer": { "sc": "曲师", "en": "Composer" },
"illust": { "sc": "画师", "en": "Illustrator" },
"song": "audio.ogg",
"jacket": "jkt.png",
"preview_seconds": ["42.0", "72.0"],
"charter": [null, null, "Charter A", "Charter B"],
"chart": [null, null, "normal.spc", "hard.spc"],
"lv": [null, null, 9, 13]
}
完整字段说明与其它几种写法的完整示例见同包的 IF.md。
热重载
游戏中往 Charts 增删曲包 / 谱面,回主菜单后进选曲即可,不用重启游戏
成绩
cs.sav 独立于游戏主存档。
AUTOPLAY
设置页「游戏和UI设置 → 音符设定」最后一行是 AUTO 开关(默认关,不写盘)。
开启后不会记录成绩、遭遇结果、粒子,掉落栏为 AUTOPLAY 字样;
致谢
参考了 InFalsusChartLoader 的实现。
CHANGELOG
更新记录 / Changelog
1.2.0
- 新增非官语句支持:
setcolor/hidegroup/noinput/noclip/trackdisplay/showtext/trackmove/audiooffset,以及组内流速(type 5);加密谱同样可用 - 新增开始曲目时的「谱面设计」署名,与插画行并排显示
- 新增
sp特殊标级:难度可以不显示数字,改显示自定义字符串 - 新增
copyright版权标识字段,写在选曲页曲目卡片下端 - 新增游玩回放:结算页按住 Shift 时「重试」变成「回放」,Shift+点击即回放本局;回放中按 Tab 直接回到结算页;回放不写成绩、不给粒子、不写遭遇结果
- 修复问题、优化性能:热重载只解码改动过的谱面;曲绘预热改为启动时并行;PNG 解码器重写热循环; 曲包图材质不再每次热重载重建;修复没填画师的谱面会让之后所有谱面的谱师行错位的问题
- Added support for non-official chart statements:
setcolor,hidegroup,noinput,noclip,trackdisplay,showtext,trackmove,audiooffsetand thetype 5per-group scroll speed. They work on encrypted charts as well. - Added the chart designer's credit to the intro of a dive, shown next to the illustrator's line.
- Added
spspecial levels: a difficulty can show a custom string instead of a numeric level. - Added the
copyrightfield, drawn at the bottom of the song card on the song-select page. - Added replay: hold Shift on the results screen to turn Retry into Replay, then Shift+click to replay the run. Tab inside a replay returns to the results screen, and a replay writes no score, no particles and no encounter result.
- Fixes and performance: a hot reload now decodes only the charts that changed; jackets are warmed in parallel from start-up; the PNG decoder's hot loops were rewritten; pack pictures are no longer rebuilt on every hot reload; and a chart without an illustrator no longer breaks the credit row of every chart after it.
1.1.5
- 新增「清除成绩」功能:仅自制谱有效,位于选曲页右上角问号菜单,清除后重进选曲页生效
- Added "Clear score" functionality: only available for custom charts, located in the help menu (the question mark in the top right of the song-select page), and requires re-entering the song-select page to take effect.
1.1.4
- 热重载优化:在主菜单增删谱面后进选曲即时生效
- AutoPlay优化:判定点按实际时间修正,不再受掉帧影响
- 性能优化:曲绘改为后台线程解码、主线程上传贴图
- 曲绘/音频兼容:带重启标记的 JPEG 能正常解码;mp3 内嵌封面视频流、OGG 里混入 Theora 视频流的曲子能正常加载
- 修复第一次进选曲包页右侧曲包列表未显示自定义图的问题
- 修复自制曲打过之后 NEW 标签不消失的问题
- Hot reload: adding or removing charts in the main menu takes effect as soon as you enter the song list.
- AutoPlay: judgement points are corrected to the real time, so frame drops no longer change the verdict.
- Performance: jackets are decoded on a background thread and uploaded on the main thread.
- Jackets/audio compatibility: JPEGs with restart markers decode correctly; MP3s with an embedded cover video stream and OGGs carrying a Theora stream load correctly.
- Fixed the pack list on the right not showing the custom pictures on the first visit to the song-select page.
- Fixed the NEW tag staying on a custom song that has a score.
1.1.3
- 修复曲包页曲目条超出卡片的裁剪
- 修复选曲页曲名 / 曲师里的中文和特殊字符显示不出来
- 修复谱面解析的问题
- Fixed song strips drawing past the pack card when a pack has more songs than fit.
- Fixed Chinese and special characters in song titles and artist names showing as blanks.
- Fixed chart parsing problems.
1.1.2
- 修复自动生成
if失效的问题 - 将已知与其他mod冲突的钩子改用 Harmony
- 音频支持 mp3
- 文本谱嗅探跳过开头的
#注释行 - 支持
.falsum压缩包:解包成曲目文件夹并按song.json生成if - 修复 Studio 工程转
if时可能取不到曲绘、以及谱面已被挪到曲目根目录后无法重新生成的问题 pack.json的曲包名和 7 张图支持多语言,游戏里切语言立即生效- 曲名 / 曲师 / 画师三栏支持多语言(五元数组),也能和差分叠加(5 语言 × 4 难度的嵌套数组),
另支持对象写法
{"sc": …, "en": …}(键名只有 sc/tc/en/ja/ko,大小写不敏感、顺序随意) - Fixed the
ifgenerated from a Studio project sometimes never being written. - Hooks that clashed with other mods now go through Harmony, so they coexist.
- MP3 audio is supported.
- Text-chart sniffing skips leading
#comment lines. .falsumarchives are unpacked into song folders and get theiriffromsong.json.- A Studio project keeps its jacket when the picture is in a subfolder, and can be converted again after an earlier run moved the chart beside the project.
pack.json's name and its seven pictures can be per-language, and a language change re-picks them at once.- A song's title, artist and illustrator can be per-language (five slots), per-difficulty, both at
once (five languages × four difficulties), or an object keyed by
sc/tc/en/ja/koin any order and case.
1.1.1
- 没有
Charts目录时会自动建Charts和Custom Song - 曲文件夹里没有
if但有infalsus.studio.json时,自动按工程写好if - 谱面放在
.ifstudio里时自动挪到曲文件夹下 - Creates
ChartsandCharts/Custom Songwhen the folder is missing. - Writes an
iffrominfalsus.studio.jsonwhen a song folder has the project but noif. - Moves charts out of
.ifstudio/into the song folder.
1.1.0
- 曲绘接受 jpg:
jacket现在可以是.png/.jpg/.jpeg - 修复已知的与其他mod兼容问题
- 修复auto行可能异常的问题
- Jackets may now be a
.jpg/.jpegas well as a.png. - Fixes the known compatibility problems with other mods.
- Fixes the AUTO row occasionally failing to appear.
1.0.0
- 初始版本:从
Charts/加载自制曲包,支持逐难度差分、整套曲包贴图、明文谱面与热重载。 - 放宽谱面池容量;内置 autoplay,开启后结算不保存成绩、遭遇结果和粒子。
- Initial release: loads custom song packs from
Charts/, with per-difficulty variants (name, composer, jacket, audio, preview, chart, charter and level), pack-wide artwork, plain-text charts converted on load, and hot reload. - Raises the chart pool caps; a built-in autoplay switch, whose runs save no score, no encounter result and no particles.