Thealexbarney / LibHac

A library that reimplements parts of the Nintendo Switch OS
Other
387 stars 44 forks source link

Yaz0 and Sarc contentfiles #78

Closed jonnysp closed 1 year ago

jonnysp commented 4 years ago

hi alex,

i have ported Yaz0 and Sarc (both readonly) contentfiles for your libhac library. should i create a brunch?

jonny

Thealexbarney commented 4 years ago

Does Horizon use these file types?

jonnysp commented 4 years ago

Yes I think. In the firmware files of the Xci are szs files, there are yaz0 files these can contain sarc files. These include Translation and Styles for the GUI. Some theme creators use this.

Thealexbarney commented 4 years ago

I'm not sure that those formats would be part of the library's scope. It sounds like that they're used by an application rather than sysmodules.

jonnysp commented 4 years ago

i think the Application is the Firmware itself. N uses this comression algo for many application and is a component of the firmware.

jonnysp commented 4 years ago

at example the netconnect module used these as resources grafik