Closed zeke-mai closed 5 months ago
maimaidx_music_info.py
if dev: dxscore = info.dxScore _dxscore = sum(music.charts[num].notes) * 3 dxnum = dxScore(dxscore / _dxscore * 100) rating, rate = info.ra, info.rate # 此处rate为小写,如sssp,但文件名为SSSp im.alpha_composite(Image.open(maimaidir / 'ra-dx.png'), (1350, 396 + y * num)) if dxnum != 0: im.alpha_composite(Image.open(maimaidir / f'UI_GAM_Gauge_DXScoreIcon_0{dxnum}.png'), (1351, 438 + y * num)) tb.draw(1465, 416 + y * num, 30, rating, color, 'mm') tb.draw(1465, 454 + y * num, 20, f'{dxscore}/{_dxscore}', color, 'mm')
if isfc: if _fc := fromid[music.id][music.lv]['fc']: achievements_fc_list[ralist.index(music.lvp)].append(combo_rank.index(_fc)) if merge else achievements_fc_list.append(combo_rank.index(_fc)) im.alpha_composite(b2, (x + 2, y - 18)) fc = Image.open(maimaidir / f'UI_MSS_MBase_Icon_{fcl[_fc]}.png') #此处fc未resize im.alpha_composite(fc, (x + 14, y - 7))
fc图标设计就这么大的
那这感觉有点大啊,或者说是歪了
确实
应该是替换图片把小的覆盖了
已修复
maimaidx_music_info.py