Thread Rating:
  • 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tilengine 2.3.0 adds encrypted package loader
#2
Thank you very much, it is very useful.
It is already tested in Linux, it works perfect.

"assets/list.txt"
Code:
color/beach.png
color/beach.sqx

Code:
 $ ~/Code/ResourcePacker/respack/a.out list.txt  
pack - packages resources with optional AES-128 encryption
built on Mar 19 2019 21:17:09
(c) 2019 megamarc                                                                                                                     

2 assets packed

Example "ColorCycle.c"
Code:
/* load resources */
 TLN_OpenResourcePack("assets/list.dat", NULL);
TLN_SetLoadPath ("color");
background = TLN_LoadBitmap ("beach.png");
palette    = TLN_GetBitmapPalette (background);
sp    = TLN_LoadSequencePack ("beach.sqx");
sequence   = TLN_FindSequence (sp, "beach");


Messages In This Thread
RE: Tilengine 2.3.0 adds encrypted package loader - by daltomi - 03-20-2019, 10:49 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)