SGG-Modding / Hell2Modding

Mod loader for Hades 2
MIT License
12 stars 2 forks source link

Pkg file in memory editing #5

Closed xiaoxiao921 closed 3 months ago

AndreLouisIssa commented 3 months ago

LoadPackages takes a path relative to either the packages/1080p folder or the packages/720p folder

if we end up still using LoadPackages (or similar), we probably want a way to know whether it wants the 720p graphics or not. Also, it must be able to take absolute paths (e.g. if the profile is on another drive to the game).

In Hades 1 (should we ever port it), then that relative path will be from either the packages folder or the packages/720p folder

AndreLouisIssa commented 3 months ago

@zanncdwbl has confirmed that absolute paths do not work in LoadPackages, but relative paths do

AndreLouisIssa commented 3 months ago

When we are loading additional packages via LoadPackages for 2D graphics, we do not need to care about the checksums or generic data read, only sjson read. Still do not know what is needed for 3D graphics (including their UV textures in packages).

xiaoxiao921 commented 3 months ago

Closed by 5730b8198f513109e371f37c667d64d0dbfea52f