tera-arise / arise

A game resurrection project for the final build of TERA EU.
https://tera-arise.io
GNU Affero General Public License v3.0
29 stars 1 forks source link

Perform partial trimming in client releases #52

Open alexrp opened 1 year ago

alexrp commented 1 year ago

c9afc56db92645486614e8c697452235fb545e42 removed trimming from the build system. While full trimming is impractical for us, we could explore partial trimming. I think we only do reflection on our own assemblies, so there should be no issue with trimming any third-party assemblies that declare themselves trimmable.

Right now, a client release archive with maximum compression is around 171 MB, which seems rather excessive.

Depends on:

alexrp commented 1 year ago

A few things:

alexrp commented 8 months ago

We'll try to switch to the MVVM Toolkit to make this happen.

https://learn.microsoft.com/en-us/dotnet/communitytoolkit/mvvm

alexrp commented 8 months ago

bc0b499

alexrp commented 8 months ago

We will have to switch away from Refit for the gateway client: https://github.com/reactiveui/refit/issues/1389

:shrug:

There is this alternative... but where is the source code?

alexrp commented 8 months ago

Current status:

ghostnguyen commented 8 months ago

We will have to switch away from Refit for the gateway client: reactiveui/refit#1389

🤷

There is this alternative... but where is the source code?

The source code/dll need to run your project are: