ThiccMC / renskin

A SkinSystem alternative, for rendering faces with lightweight (no truly heavyweight thanks sqlx)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

renskin

An alternate to SkinSystem for SkinRestorer. By default, it have less overhead task since SkinSystem render the whole texture on a real 3D enviroment, and this thing only render the face and hat on a 2D canvas.

Roadmap

  • It works!
  • TODO: Implement a proper SQL foolproof

    With proper rustegexp!

  • It function as a HTTP server
  • It have proper caching

    TODO: It know when to rebake new image but

    • It must know when to flush the images (bash-scripted)
    • It must let the proxy know when to cache (Edge) (50%)
  • Fixed sqlx macro shills (hack)
  • SIMD

    Holy f, do not use it in prod! It might

    • STATUS_HEAP_CORRUPTION
    • STATUS_ILLEGAL_INSTRUCTION (obsolette cpu moment)
  • Support premium skin

    [!NOTE] Not yet, might need thirdparty 😭

Because the rendering stays at 300ms (composition only, with tested conditions) and the upscaling stays at 40-70ms, it is hard to implement more stuff

Requirements

  • SkinRestorer dataset

How to use

Compile it yourself

  • Clone
  • Config with .env
  • cargo install --path .

Best practice

  • crontab */3 * * * * rm .cache/moj/*

About

A SkinSystem alternative, for rendering faces with lightweight (no truly heavyweight thanks sqlx)

License:Do What The F*ck You Want To Public License


Languages

Language:Rust 93.7%Language:Dockerfile 4.9%Language:Shell 1.5%