hello, i have appened folders to the tar archive using archive.xml then inventory and then assets. now, the error is : Archive load for Test User failed - StartIndex cannot be less than zero.
On Mon, Jan 2, 2023 at 12:16 PM Leal Duarte <ajldua...@sapo.pt> wrote: > Hi > > opensim still expects that the tar archive contains files in a > specific order > > as told by the error you get: "... does not list all inventory/ > before assets/ ..." > > Ubit > > On 02-Jan-23 10:53, ssm2017 wrote: > > hello and happy new year !!! > > > > question : > > what is the tar command line options/parameters to tar an iar ? > > i am not a C# dev so is there a way to create an iar archive outside of a > > simulator console ? (cli ? php ? python ?) > > > > Explanation : > > i run a standalone simulator from scratch with Test User. > > i create an iar archive for this user with "save iar Test User / test > > test_user.iar". > > using my wsl2 command line, i extract the file with : tar -zxf > test_user.iar > > i can access the files and folders. > > without touching nothing, i compress again to get the iar again with : > tar > > -zcf test_user.iar * > > then, when using the simulator command "load iar -m Test User / test > > test_user.iar", it is answering : "Archive load for Test User failed - > The > > IAR you are trying to load does not list all inventory/ before assets/". > > > > when reading the opensimulator source code, i can see that the tar is > using > > tar format v7 with a hack to use long filenames. > > > > when i am trying "tar --format=v7 -zcf ....." it complains about too long > > file name. > > > > i could see that the issue is not coming from gzip but from the tar > itself. > > > > here is the 7zip information between the 2 tar files after gzip > > uncompression : > > ------------ORIGINAL FROM SAVE IAR------------: > > Size: 348 406 > > Packed Size: 354 816 > > Folders: 21 > > Files: 25 > > ------------------------: > > Path: F:\iars\temp\original\test_user.tar > > Type: tar > > Warnings: Headers Error > > Physical Size: 392 704 > > Headers Size: 37 888 > > Code Page: UTF-8 > > Characteristics: LongName ASCII > > ------------------------: > > ------------UNTAR then TAR------------: > > Size: 348 406 > > Packed Size: 354 816 > > Folders: 21 > > Files: 25 > > ------------------------: > > Path: F:\iars\temp\modified\test_user.tar > > Type: tar > > Physical Size: 399 360 > > Headers Size: 44 544 > > Code Page: UTF-8 > > Characteristics: GNU LongName ASCII > > ------------------------: > > ------------------------: > > _______________________________________________ > > Opensim-dev mailing list > > Opensim-dev@opensimulator.org > > http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-dev > _______________________________________________ > Opensim-dev mailing list > Opensim-dev@opensimulator.org > http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-dev > _______________________________________________ Opensim-dev mailing list Opensim-dev@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-dev