arzezniczak Posted June 16, 2020 Share Posted June 16, 2020 Hello, I'm trying to pack everything that I have in my build\data folder into one archive. I've been using ZIP and UNG but none of them seems to work for me, I'm getting always this error: In given directory I have one archive which contains all files from data folder. Is this possible or am I missing something? Documentation states that archives are transparent to Unigine file system. Can I somehow pack this into one archive? Link to comment
morbid Posted June 17, 2020 Share Posted June 17, 2020 You need to store ung file inside the data folder. How exactly you're trying to load ung/zip file? Thanks. 1 How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
silent Posted June 17, 2020 Share Posted June 17, 2020 Please also make sure that you don't have ung inside ung (nested archives). 1 How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
arzezniczak Posted June 17, 2020 Author Share Posted June 17, 2020 (edited) 4 hours ago, morbid said: You need to store ung file inside the data folder. How exactly you're trying to load ung/zip file? Thanks. I had copied ung_x64.exe into my build folder and then in PowerShell I used it this way: .\ung_x64.exe -o data.ung -c none data This produced me data.ung file. Is this okay or should I do it some other way? 2 hours ago, silent said: Please also make sure that you don't have ung inside ung (nested archives). Okay, this might be the problem, since inside data folder there are already existing ung files (core.ung, scripts.ung). I will try to pack everything except already existing ung files. -x parameter should help me with this. Edited June 17, 2020 by arzezniczak Link to comment
arzezniczak Posted June 17, 2020 Author Share Posted June 17, 2020 (edited) Problem solved! From inside data folder I called this: .\ung_x64.exe -o data.ung -c none -x core.ung -x scripts.ung -x ung_x64.exe .\ And it works! So now I have 3 ung files inside data folder: core.ung, scripts.ung and data.ung. Thank you for support, it was very helpful! Edited June 17, 2020 by arzezniczak 1 Link to comment
Recommended Posts