That is correct; you need to use Snake Data Encoding if you want to store more than 1023 bits in a Smart Contract (TVM).
You have no other option.
The short answer is to use the method that Arter provided by checking the snake encoding example code here:
Snake Encoding Example Code
Also, for a more comprehensive understanding of how to incorporate this process into your work, you can refer to the following documentation:
Snake Data Encoding Reference