Skip to content

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

License

Notifications You must be signed in to change notification settings

ThiccMC/renskin

Repository files navigation

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)

Topics

Resources

License

Stars

Watchers

Forks

Packages