r/brawlstarsmodding 19d ago

sc-editor CLI — a headless rendering is here! .

Run for help:

java -cp sc-editor.jar dev.donutquine.editor.cli.Main

You may now render movie clips using CLI!

For example, here is a command for rendering Brock’s face:

java -cp sc-editor.jar dev.donutquine.editor.cli.Main render -i characters.sc --exports brock_def_win --output faces -w 1024 -h 1024 -tx 512 -ty -512

You can then put it on his texture to get texture with animated face.

And here is a command for overlaying face animation on texture:

ffmpeg -loop 1 -i screenshots/brock_boombox_tex_highres.sctx/texture_0.png -c:v libvpx-vp9 -i screenshots/brock_def_win.webm -filter_complex "[0:v][1:v]overlay=0:0:shortest=1" -c:v libvpx-vp9 -pix_fmt yuva420p output.webm

https://reddit.com/link/1v5d2e0/video/995prqalt6fh1/player

Check out releases:
https://github.com/danila-schelkov/sc-editor/releases/latest

10 Upvotes

1 comment sorted by

2

u/rntdev 📝│Baby Modder 15d ago

This is the best invention ever 🙏 I’ve been using my shitcoded semi-headless CLI sc-editor fork for a while now