DLC system with .pak files. Mounting .pak files

Hi, I am trying to do something similar to this, but I’m having a lot of trouble.

Could you share how you were able to create a pak file and mount it?

Thanks!