|
From: manny k. <man...@gm...> - 2017-01-28 22:30:21
|
Hi shirish, I replied to the placement issue of media files at https://github.com/mars- sim/mars-sim/issues/5 > I have another query. Does anybody know how frequent or infrequent do changes happen to the images/animation files ? The short answer is : whenever the UI is updated It's true that the files inside /funmenu/ can be moved elsewhere to keep things more organized. You may find jpg or png files scattered in different folders. It depends on what they are being used for and where they are needed. When we first adopted a particular UI element, we tended to retain their original folder structure for their media files. Yes, it's a good observation and we surely can reduce or merge some of the folders. Regards, Manny On Fri, Jan 27, 2017 at 1:03 PM, shirish शिरीष <shi...@gm...> wrote: > Hi all, > > I have another query. Does anybody know how frequent or infrequent do > changes happen to the images/animation files ? > > There is this - > http://alexking.org/blog/2012/03/05/git-submodules-vs-svn-externals > > but the above introduces a bit of complexity in committing and making > sure things work. > > I downloaded a snapshot to see how the game was structured and saw > that all the game assets seem to be randomly placed - > > [$] bash ./script.sh /home/shirish/Videos/mars-sim-code-3846-trunk/ > > theme: 1770 > dtd: 31915 > py: 10815 > project: 5627 > JPG: 762476 > fxml: 59490 > vm: 876 > dat: 15841044 > java: 13052271 > store: 1343 > gitignore: 8 > jpg: 3473416 > md: 5156 > gz: 1447 > desktop: 281 > lua: 57 > wav: 83278 > 1: 2340 > css: 323739 > frag: 471 > svg: 8948591 > launch: 9404 > index: 11520 > iml: 27186 > png: 3268773 > json: 1217 > ttf: 2861016 > vert: 712 > ogg: 12394801 > prefs: 11541 > properties: 186731 > gradle: 611 > classpath: 8538 > pro: 687 > groovy: 2711 > form: 5780 > txt: 50274 > xml: 794365 > js: 1465072 > dll: 2268672 > html: 1676452 > gif: 38399 > sum: 23040 > (none): 1124 > jsx: 32070 > > I traversed through 5 layers of directories to see where it's all randomly > put - > > ┌─[shirish@debian] - > [~/Videos/mars-sim-code-3846-trunk/mars-sim/mars-sim-ui/src/ > main/resources] > - [10137] > └─[$] ll -h > > total 100K > drwxr-xr-x 2 shirish shirish 4.0K 2017-01-28 00:23 audio > drwxr-xr-x 2 shirish shirish 4.0K 2017-01-28 00:23 dtd > drwxr-xr-x 2 shirish shirish 4.0K 2017-01-28 00:23 funmenu > drwxr-xr-x 6 shirish shirish 4.0K 2017-01-28 00:23 fxui > drwxr-xr-x 8 shirish shirish 4.0K 2017-01-28 00:23 icons > drwxr-xr-x 4 shirish shirish 4.0K 2017-01-28 00:23 images > drwxr-xr-x 2 shirish shirish 4.0K 2017-01-28 00:23 jfoenix > drwxr-xr-x 2 shirish shirish 4.0K 2017-01-28 00:23 resources > drwxr-xr-x 2 shirish shirish 4.0K 2017-01-28 00:23 theme > drwxr-xr-x 3 shirish shirish 4.0K 2017-01-28 00:23 docs > drwxr-xr-x 2 shirish shirish 4.0K 2017-01-28 00:23 fonts > drwxr-xr-x 2 shirish shirish 4.0K 2017-01-28 00:23 maps > drwxr-xr-x 2 shirish shirish 4.0K 2017-01-28 00:23 materialdesign > drwxr-xr-x 2 shirish shirish 4.0K 2017-01-28 00:23 slide > drwxr-xr-x 3 shirish shirish 12K 2017-01-28 00:23 svg > drwxr-xr-x 2 shirish shirish 4.0K 2017-01-28 00:23 templates > drwxr-xr-x 2 shirish shirish 4.0K 2017-01-28 00:23 css > drwxr-xr-x 2 shirish shirish 4.0K 2017-01-28 00:23 lua > drwxr-xr-x 3 shirish shirish 4.0K 2017-01-28 00:23 net > drwxr-xr-x 4 shirish shirish 4.0K 2017-01-28 00:23 notification > drwxr-xr-x 2 shirish shirish 4.0K 2017-01-28 00:23 steelseries > -rw-r--r-- 1 shirish shirish 16 2016-06-25 11:32 application.properties > -rw-r--r-- 1 shirish shirish 99 2015-09-17 01:16 build.properties > > I used ncdu to hunt around where most of your media (not code) lies. > > I did file https://github.com/mars-sim/mars-sim/issues/5 in case we > think of having svn as a sub-module in git. > > As I don't have all the whole archive, I do not know at what frequency > does media change . > > Hope the above makes some sense of where I'm driving at ? > > -- > Regards, > Shirish Agarwal शिरीष अग्रवाल > My quotes in this email licensed under CC 3.0 > http://creativecommons.org/licenses/by-nc/3.0/ > http://flossexperiences.wordpress.com > EB80 462B 08E1 A0DE A73A 2C2F 9F3D C7A4 E1C4 D2D8 > |