smalab / QuizCoaster

MIT License
0 stars 0 forks source link

プロジェクトのファイルサイズを小さくする #8

Open yanoty3d opened 9 years ago

yanoty3d commented 9 years ago

1Gを超えるのはビルドが大変なので、減らす。

yanoty3d commented 9 years ago

後、ビルドした後も極めて重いので、最適化が必要。

yanoty3d commented 9 years ago

optimizedForUmekitaブランチに、サイズを減らすための作業を行った 85c05db~c92d0c3

yanoty3d commented 9 years ago

Editor.log をみて、使っているアセットの確認

Used Assets, sorted by uncompressed size: 2.7 mb 6.5% Assets/Bucket/Textures/bucket_nrm.TGA 2.7 mb 6.5% Assets/Bucket/Textures/bucket_diff.TGA 2.7 mb 6.5% Assets/UnityChan/Models/UnityChanShader/Texture/hair_01_NRM.tga 2.7 mb 6.5% Assets/UnityChan/Models/UnityChanShader/Texture/body_01_NRM.tga 2.5 mb 6.1% Assets/Resources/Textures/taxi.jpg 2.4 mb 6.0% Resources/unity_builtin_extra 2.0 mb 5.0% Assets/Resources/Textures/yamato.jpg 1.6 mb 4.0% Assets/UnityChan/Animations/unitychan_WAIT02.fbx 1.2 mb 2.9% Assets/Resources/Textures/bus.jpg 768.3 kb 1.8% Assets/UnityChan/Models/unitychan.fbx 747.2 kb 1.8% Assets/Resources/Textures/cola.jpg 682.8 kb 1.6% Assets/UnityChan/Models/UnityChanShader/Texture/hair_01_SPEC.tga 682.8 kb 1.6% Assets/UnityChan/Models/UnityChanShader/Texture/hair_01.tga 682.8 kb 1.6% Assets/UnityChan/Models/UnityChanShader/Texture/face_00.tga 682.8 kb 1.6% Assets/UnityChan/Models/UnityChanShader/Texture/body_01.tga 675.2 kb 1.6% Assets/Resources/Textures/grape.jpg 588.4 kb 1.4% Assets/Resources/Textures/apple.jpg 531.3 kb 1.3% Assets/UnityChan/Animations/unitychan_LOSE00.fbx 468.8 kb 1.1% Assets/Sprites/right.png 461.8 kb 1.1% Assets/Resources/Textures/coffee.jpg 416.8 kb 1.0% Assets/Resources/Textures/musashi.jpg 406.3 kb 1.0% Assets/VisualNovelToolkit/Textures/TextBox/textwindow.png 402.8 kb 1.0% Assets/UnityChan/Animations/unitychan_WAIT00.fbx 363.9 kb 0.9% Assets/UnityChan/Animations/unitychan_JUMP00.fbx 351.9 kb 0.8% Assets/Sprites/left.png 250.4 kb 0.6% Assets/SOOMLA Storefronts Pack - Portrait/Metro Maniacs/img/CurrencyPackPriceBackgroundImage.png 209.6 kb 0.5% Assets/Dungeon Creator Kit LITE/FBX/Medium Room 2.fbx 188.9 kb 0.5% Assets/UnityChan/Animations/unitychan_RUN00_F.fbx 170.8 kb 0.4% Assets/Dungeon Creator Kit LITE/Textures/Normals/Dungeon 1 UV 2 Bumped.png 170.8 kb 0.4% Assets/Dungeon Creator Kit LITE/Textures/Normals/Medium Room 1.5 Alt.png 170.8 kb 0.4% Assets/Dungeon Creator Kit LITE/Textures/Normals/Catacombs_UV(Bumped).png 170.8 kb 0.4% Assets/UnityChan/Models/UnityChanShader/Texture/eye_iris_R_00.tga 170.8 kb 0.4% Assets/UnityChan/Models/UnityChanShader/Texture/eye_iris_L_00.tga 170.8 kb 0.4% Assets/Dungeon Creator Kit LITE/Textures/Medium Room Alt.png 170.8 kb 0.4% Assets/Dungeon Creator Kit LITE/Textures/Dungeon 1 UV 2.png 170.8 kb 0.4% Assets/UnityChan/Models/UnityChanShader/Texture/eyeline_00.tga 170.8 kb 0.4% Assets/UnityChan/Models/UnityChanShader/Texture/body_01_SPEC.tga 170.8 kb 0.4% Assets/Dungeon Creator Kit LITE/Textures/Normals/Catacombs_UV.png 170.8 kb 0.4% Assets/Dungeon Creator Kit LITE/Textures/Normals/Arch_Temp_2.png 170.8 kb 0.4% Assets/Dungeon Creator Kit LITE/Textures/Normals/Arch_Temp_1.png 170.8 kb 0.4% Assets/UnityChan/Models/UnityChanShader/Texture/skin_01.tga 117.2 kb 0.3% Assets/Sprites/tutorial.png 100.0 kb 0.2% Assets/UnityChan/Models/UnityChanShader/Shader/Unitychan_chara_fuku_ds.shader 100.0 kb 0.2% Assets/UnityChan/Models/UnityChanShader/Shader/Unitychan_chara_hair_ds.shader 89.4 kb 0.2% Assets/UnityChan/Animations/unitychan_JUMP01.fbx 88.1 kb 0.2% Assets/Sprites/play.png 81.3 kb 0.2% Assets/Tresure_box/tresure_box.fbx 62.0 kb 0.1% Assets/UnityChan/Models/UnityChanShader/Shader/Unitychan_chara_hada.shader 61.0 kb 0.1% Assets/Dungeon Creator Kit LITE/FBX/C_Corridor_1.fbx 57.2 kb 0.1% Assets/UnityChan/Models/UnityChanShader/Shader/Unitychan_chara_akarami_blend.shader 57.1 kb 0.1% Assets/UnityChan/Models/UnityChanShader/Shader/Unitychan_chara_eye_blend.shader 57.1 kb 0.1% Assets/UnityChan/Models/UnityChanShader/Shader/Unitychan_chara_eyelash_blend.shader 57.0 kb 0.1% Assets/UnityChan/Models/UnityChanShader/Shader/Unitychan_chara_eye.shader 54.4 kb 0.1% Assets/Dungeon Creator Kit LITE/FBX/C_Corridor_2.fbx 42.8 kb 0.1% Assets/Tresure_box/Textures/box_01_normal.tga 42.8 kb 0.1% Assets/UnityChan/Models/UnityChanShader/Texture/cheek_00.tga 42.8 kb 0.1% Assets/Tresure_box/Textures/box_01.tga 42.8 kb 0.1% Assets/Sprites/peach.jpg 42.8 kb 0.1% Assets/Sprites/orange.jpg 42.8 kb 0.1% Assets/UnityChan/Models/UnityChanShader/Texture/ENV2.tga 26.8 kb 0.1% Assets/Bucket/Models/bucket_a.FBX 11.9 kb 0.0% Assets/Dungeon Creator Kit LITE/FBX/Dungeon_Archs_2.fbx 10.8 kb 0.0% Assets/Tresure_box/Textures/box_02_normal.tga 10.8 kb 0.0% Assets/Tresure_box/Textures/box_02.tga 10.1 kb 0.0% Assets/Animator/n2_down.anim 5.2 kb 0.0% Assets/Scenes/Goal/NavMesh.asset 4.9 kb 0.0% Assets/Scenes/Start/NavMesh.asset 4.4 kb 0.0% Assets/Scenes/True/NavMesh.asset 3.8 kb 0.0% /Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/GUISystem/UnityEngine.UI.dll 3.1 kb 0.0% Assets/Controller/FalseController.controller 3.1 kb 0.0% Assets/Controller/TrueController.controller 3.1 kb 0.0% Assets/Controller/StartController.controller 3.1 kb 0.0% Assets/Controller/GoalController.controller 2.9 kb 0.0% Assets/Scenes/LastQuestion/NavMesh.asset 2.8 kb 0.0% Assets/UnityChan/Models/UnityChanShader/Texture/FO_CLOTH1.tga 2.8 kb 0.0% Assets/Scenes/Question3/NavMesh.asset 2.8 kb 0.0% Assets/Scenes/Question2/NavMesh.asset 2.8 kb 0.0% Assets/Scenes/Question1/NavMesh.asset 2.8 kb 0.0% Assets/Animators/appearanceexitcontroller.controller 2.7 kb 0.0% Assets/Animators/rightcontroller.controller 2.7 kb 0.0% Assets/Animators/leftcontroller.controller 2.6 kb 0.0% Assets/Controller/QuestionController.controller 2.6 kb 0.0% Assets/AnimationController/zacontroller.controller 2.6 kb 0.0% Assets/AnimationController/secontroller.controller 2.6 kb 0.0% Assets/AnimationController/necontorller.controller 2.6 kb 0.0% Assets/AnimationController/n2contorller.controller 2.6 kb 0.0% Assets/AnimationController/n1controller.controller 2.6 kb 0.0% Assets/AnimationController/kacontroller.controller 2.6 kb 0.0% Assets/AnimationController/i2controller.controller 2.6 kb 0.0% Assets/AnimationController/i1controller.controller 2.1 kb 0.0% Assets/Animator/se_big.anim 2.1 kb 0.0% Assets/Animator/ka_big.anim 2.1 kb 0.0% Assets/Animator/i2_big.anim 2.1 kb 0.0% Assets/Animator/i1_big.anim 2.1 kb 0.0% Assets/UnityChan/Models/UnityChanShader/Texture/FO_SKIN1.tga 2.1 kb 0.0% Assets/UnityChan/Models/UnityChanShader/Texture/FO_RIM1.tga 2.0 kb 0.0% Assets/Animator/n2_top.anim 1.9 kb 0.0% Assets/Animator/za_top.anim 1.9 kb 0.0% Assets/Animator/za_down.anim 1.9 kb 0.0% Assets/Animator/ne_top.anim 1.9 kb 0.0% Assets/Animator/ne_down.anim 1.9 kb 0.0% Assets/Animator/n1_top.anim 1.9 kb 0.0% Assets/Animator/n1_down.anim 1.9 kb 0.0% Assets/Animations/appearance.anim 1.9 kb 0.0% Assets/Animator/se_small.anim 1.9 kb 0.0% Assets/Animator/ka_small.anim 1.9 kb 0.0% Assets/Animator/i2_small.anim 1.9 kb 0.0% Assets/Animator/i1_small.anim 1.9 kb 0.0% Assets/Animations/exit.anim 1.8 kb 0.0% Assets/VisualNovelToolkit/DLLs/DLL.dll 1.8 kb 0.0% Assets/Animations/r_down.anim 1.8 kb 0.0% Assets/Animations/l_down.anim 1.8 kb 0.0% Assets/Animations/r_up.anim 1.8 kb 0.0% Assets/Animations/l_up.anim 1.5 kb 0.0% Assets/Dungeon Creator Kit LITE/FBX/Dungeon 4-way.fbx 1.4 kb 0.0% /Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/Networking/UnityEngine.Networking.dll 0.8 kb 0.0% Assets/Scenes/False/NavMesh.asset 0.8 kb 0.0% Assets/Sprites/Materials/peach.mat 0.8 kb 0.0% Assets/Sprites/Materials/orange.mat 0.5 kb 0.0% Assets/Prefabs/bucket_a_pref.prefab 0.5 kb 0.0% Assets/UnityChan/Models/Materials/hair.mat 0.5 kb 0.0% Assets/UnityChan/Models/Materials/body.mat 0.4 kb 0.0% Assets/VisualNovelToolkit/Resources/Shader/Unlit Alpha.shader 0.4 kb 0.0% Assets/UnityChan/Models/Materials/mat_cheek.mat 0.3 kb 0.0% Assets/UnityChan/Models/Materials/skin1.mat 0.3 kb 0.0% Assets/UnityChan/Models/Materials/face.mat 0.3 kb 0.0% Assets/UnityChan/Models/Materials/eyeline.mat 0.3 kb 0.0% Assets/UnityChan/Models/Materials/eyebase.mat 0.3 kb 0.0% Assets/UnityChan/Models/Materials/eye_R1.mat 0.3 kb 0.0% Assets/UnityChan/Models/Materials/eye_L1.mat 0.2 kb 0.0% Assets/Dungeon Creator Kit LITE/FBX/Materials/Medium Room Alt.mat 0.2 kb 0.0% Assets/Dungeon Creator Kit LITE/FBX/Materials/Dungeon 1 UV 2.mat 0.2 kb 0.0% Assets/Dungeon Creator Kit LITE/FBX/Materials/Catacombs_UV.mat 0.2 kb 0.0% Assets/Bucket/Materials/bucket_mat.mat 0.2 kb 0.0% Assets/Tresure_box/Materials/box_02.mat 0.2 kb 0.0% Assets/Tresure_box/Materials/box_01.mat 0.2 kb 0.0% Assets/Dungeon Creator Kit LITE/FBX/Materials/Arch_Temp_1.mat 0.1 kb 0.0% Assets/UnityChan/Scripts/UnityChanControlScriptWithRgidBody.cs 0.1 kb 0.0% Assets/VisualNovelToolkit/Materials/TextBox/TextBoxMat.mat 0.1 kb 0.0% Assets/Mateial/Black.mat 0.1 kb 0.0% Assets/UnityChan/Scripts/ThirdPersonCamera.cs 0.1 kb 0.0% Assets/UnityChan/Scripts/SpringManager.cs 0.1 kb 0.0% Assets/UnityChan/Scripts/SpringCollider.cs 0.1 kb 0.0% Assets/UnityChan/Scripts/IKCtrlRightHand.cs 0.1 kb 0.0% Assets/UnityChan/Scripts/CameraController.cs 0.1 kb 0.0% Assets/Scripts/LastSelectController.cs 0.1 kb 0.0% Assets/Scripts/Hundredappearance.cs 0.1 kb 0.0% Assets/Scripts/Changequestiontext.cs 0.1 kb 0.0% Assets/UnityChan/SplashScreen/Scripts/SplashScreen.cs 0.1 kb 0.0% Assets/UnityChan/Scripts/SpringBone.cs 0.1 kb 0.0% Assets/UnityChan/Scripts/RandomWind.cs 0.1 kb 0.0% Assets/UnityChan/Scripts/IdleChanger.cs 0.1 kb 0.0% Assets/UnityChan/Scripts/FaceUpdate.cs 0.1 kb 0.0% Assets/UnityChan/Scripts/AutoBlink.cs 0.1 kb 0.0% Assets/TextCcontroller.cs 0.1 kb 0.0% Assets/Scripts/gyrocontroller.cs 0.1 kb 0.0% Assets/Scripts/TextureManager.cs 0.1 kb 0.0% Assets/Scripts/TextController.cs 0.1 kb 0.0% Assets/Scripts/StartController.cs 0.1 kb 0.0% Assets/Scripts/SelectController.cs 0.1 kb 0.0% Assets/Scripts/Scorecontroller.cs 0.1 kb 0.0% Assets/Scripts/QuestionSelect.cs 0.1 kb 0.0% Assets/Scripts/MoveWithCompass.cs 0.1 kb 0.0% Assets/Scripts/ImageController.cs 0.1 kb 0.0% Assets/Scripts/ArrowController.cs 0.1 kb 0.0% Assets/VisualNovelToolkit/iTween/Sample/SampleInfo.cs 0.1 kb 0.0% Assets/VisualNovelToolkit/iTween/Sample/RotateSample.cs 0.1 kb 0.0% Assets/VisualNovelToolkit/iTween/Sample/MoveSample.cs 0.1 kb 0.0% Assets/TutorialText.cs 0.1 kb 0.0% Assets/Scripts/gyroselect.cs 0.1 kb 0.0% Assets/Scripts/appearexit.cs 0.1 kb 0.0% Assets/Scripts/Writtetext.cs 0.1 kb 0.0% Assets/Scripts/Touchscreen.cs 0.1 kb 0.0% Assets/Scripts/TextRender.cs 0.1 kb 0.0% Assets/Scripts/Startmove.cs 0.1 kb 0.0% Assets/Scripts/QuestionMove.cs 0.1 kb 0.0% Assets/Scripts/Objectcreate.cs 0.1 kb 0.0% Assets/Scripts/Hundredhide.cs 0.1 kb 0.0% Assets/Scripts/Hitbucket.cs 0.1 kb 0.0% Assets/VisualNovelToolkit/iTween/Plugins/iTween.cs 0.1 kb 0.0% Assets/Scripts/updown.cs 0.1 kb 0.0% Assets/Scripts/textdown.cs 0.1 kb 0.0% Assets/Scripts/textbig.cs 0.1 kb 0.0% Assets/Scripts/random.cs 0.1 kb 0.0% Assets/Scripts/dungeon.cs 0.1 kb 0.0% Assets/Scripts/cursor.cs 0.1 kb 0.0% Assets/Scripts/TrueMove.cs 0.1 kb 0.0% Assets/Scripts/Scorein.cs 0.1 kb 0.0% Assets/Scripts/Restart.cs 0.1 kb 0.0% Assets/Scripts/False.cs 0.1 kb 0.0% Assets/Scripts/Answer.cs 0.1 kb 0.0% Assets/Scripts/Addscore.cs 0.1 kb 0.0% Assets/Scripts/gyro.cs 0.1 kb 0.0% Assets/Scripts/Wall.cs 0.1 kb 0.0% Assets/Scripts/Turn.cs 0.1 kb 0.0% Assets/Scripts/True.cs 0.1 kb 0.0% Assets/Scripts/Goal.cs