devloglogan / MultiplayerFPSTutorial

A Simple Godot 4 Online Multiplayer FPS Prototype
MIT License
232 stars 49 forks source link

Commit .import files #3

Closed akien-mga closed 1 year ago

akien-mga commented 1 year ago

The .import files for resources are necessary to commit in the Git repo, for any customization you make to import flags to be saved. Currently opening the project in Godot 4.0 ~beta 16~ (Edit: I lied, this was a Git build :)) generates:

$ git status
On branch main
Your branch is up to date with 'origin/main'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   addons/kenney_particle_pack/circle_01.png.import
        modified:   addons/kenney_particle_pack/circle_02.png.import
        modified:   addons/kenney_particle_pack/circle_03.png.import
        modified:   addons/kenney_particle_pack/circle_04.png.import
        modified:   addons/kenney_particle_pack/circle_05.png.import
        modified:   addons/kenney_particle_pack/dirt_01.png.import
        modified:   addons/kenney_particle_pack/dirt_02.png.import
        modified:   addons/kenney_particle_pack/dirt_03.png.import
        modified:   addons/kenney_particle_pack/fire_01.png.import
        modified:   addons/kenney_particle_pack/fire_02.png.import
        modified:   addons/kenney_particle_pack/flame_01.png.import
        modified:   addons/kenney_particle_pack/flame_02.png.import
        modified:   addons/kenney_particle_pack/flame_03.png.import
        modified:   addons/kenney_particle_pack/flame_04.png.import
        modified:   addons/kenney_particle_pack/flame_05.png.import
        modified:   addons/kenney_particle_pack/flame_06.png.import
        modified:   addons/kenney_particle_pack/flare_01.png.import
        modified:   addons/kenney_particle_pack/light_01.png.import
        modified:   addons/kenney_particle_pack/light_02.png.import
        modified:   addons/kenney_particle_pack/light_03.png.import
        modified:   addons/kenney_particle_pack/magic_01.png.import
        modified:   addons/kenney_particle_pack/magic_02.png.import
        modified:   addons/kenney_particle_pack/magic_03.png.import
        modified:   addons/kenney_particle_pack/magic_04.png.import
        modified:   addons/kenney_particle_pack/magic_05.png.import
        modified:   addons/kenney_particle_pack/muzzle_01.png.import
        modified:   addons/kenney_particle_pack/muzzle_02.png.import
        modified:   addons/kenney_particle_pack/muzzle_03.png.import
        modified:   addons/kenney_particle_pack/muzzle_04.png.import
        modified:   addons/kenney_particle_pack/muzzle_05.png.import
        modified:   addons/kenney_particle_pack/rotated/flame_05_rotated.png.import
        modified:   addons/kenney_particle_pack/rotated/flame_06_rotated.png.import
        modified:   addons/kenney_particle_pack/rotated/muzzle_01_rotated.png.import
        modified:   addons/kenney_particle_pack/rotated/muzzle_02_rotated.png.import
        modified:   addons/kenney_particle_pack/rotated/muzzle_03_rotated.png.import
        modified:   addons/kenney_particle_pack/rotated/muzzle_04_rotated.png.import
        modified:   addons/kenney_particle_pack/rotated/muzzle_05_rotated.png.import
        modified:   addons/kenney_particle_pack/rotated/spark_05_rotated.png.import
        modified:   addons/kenney_particle_pack/rotated/spark_06_rotated.png.import
        modified:   addons/kenney_particle_pack/rotated/trace_01_rotated.png.import
        modified:   addons/kenney_particle_pack/rotated/trace_02_rotated.png.import
        modified:   addons/kenney_particle_pack/rotated/trace_03_rotated.png.import
        modified:   addons/kenney_particle_pack/rotated/trace_04_rotated.png.import
        modified:   addons/kenney_particle_pack/rotated/trace_05_rotated.png.import
        modified:   addons/kenney_particle_pack/rotated/trace_06_rotated.png.import
        modified:   addons/kenney_particle_pack/rotated/trace_07_rotated.png.import
        modified:   addons/kenney_particle_pack/scorch_01.png.import
        modified:   addons/kenney_particle_pack/scorch_02.png.import
        modified:   addons/kenney_particle_pack/scorch_03.png.import
        modified:   addons/kenney_particle_pack/scratch_01.png.import
        modified:   addons/kenney_particle_pack/slash_01.png.import
        modified:   addons/kenney_particle_pack/slash_02.png.import
        modified:   addons/kenney_particle_pack/slash_03.png.import
        modified:   addons/kenney_particle_pack/slash_04.png.import
        modified:   addons/kenney_particle_pack/smoke_01.png.import
        modified:   addons/kenney_particle_pack/smoke_02.png.import
        modified:   addons/kenney_particle_pack/smoke_03.png.import
        modified:   addons/kenney_particle_pack/smoke_04.png.import
        modified:   addons/kenney_particle_pack/smoke_05.png.import
        modified:   addons/kenney_particle_pack/smoke_06.png.import
        modified:   addons/kenney_particle_pack/smoke_07.png.import
        modified:   addons/kenney_particle_pack/smoke_08.png.import
        modified:   addons/kenney_particle_pack/smoke_09.png.import
        modified:   addons/kenney_particle_pack/smoke_10.png.import
        modified:   addons/kenney_particle_pack/spark_01.png.import
        modified:   addons/kenney_particle_pack/spark_02.png.import
        modified:   addons/kenney_particle_pack/spark_03.png.import
        modified:   addons/kenney_particle_pack/spark_04.png.import
        modified:   addons/kenney_particle_pack/spark_05.png.import
        modified:   addons/kenney_particle_pack/spark_06.png.import
        modified:   addons/kenney_particle_pack/spark_07.png.import
        modified:   addons/kenney_particle_pack/star_01.png.import
        modified:   addons/kenney_particle_pack/star_02.png.import
        modified:   addons/kenney_particle_pack/star_03.png.import
        modified:   addons/kenney_particle_pack/star_04.png.import
        modified:   addons/kenney_particle_pack/star_05.png.import
        modified:   addons/kenney_particle_pack/star_06.png.import
        modified:   addons/kenney_particle_pack/star_07.png.import
        modified:   addons/kenney_particle_pack/star_08.png.import
        modified:   addons/kenney_particle_pack/star_09.png.import
        modified:   addons/kenney_particle_pack/symbol_01.png.import
        modified:   addons/kenney_particle_pack/symbol_02.png.import
        modified:   addons/kenney_particle_pack/trace_01.png.import
        modified:   addons/kenney_particle_pack/trace_02.png.import
        modified:   addons/kenney_particle_pack/trace_03.png.import
        modified:   addons/kenney_particle_pack/trace_04.png.import
        modified:   addons/kenney_particle_pack/trace_05.png.import
        modified:   addons/kenney_particle_pack/trace_06.png.import
        modified:   addons/kenney_particle_pack/trace_07.png.import
        modified:   addons/kenney_particle_pack/twirl_01.png.import
        modified:   addons/kenney_particle_pack/twirl_02.png.import
        modified:   addons/kenney_particle_pack/twirl_03.png.import
        modified:   addons/kenney_particle_pack/window_01.png.import
        modified:   addons/kenney_particle_pack/window_02.png.import
        modified:   addons/kenney_particle_pack/window_03.png.import
        modified:   addons/kenney_particle_pack/window_04.png.import
        modified:   addons/kenney_prototype_textures/dark/texture_01.png.import
        modified:   addons/kenney_prototype_textures/dark/texture_02.png.import
        modified:   addons/kenney_prototype_textures/dark/texture_03.png.import
        modified:   addons/kenney_prototype_textures/dark/texture_04.png.import
        modified:   addons/kenney_prototype_textures/dark/texture_05.png.import
        modified:   addons/kenney_prototype_textures/dark/texture_06.png.import
        modified:   addons/kenney_prototype_textures/dark/texture_07.png.import
        modified:   addons/kenney_prototype_textures/dark/texture_08.png.import
        modified:   addons/kenney_prototype_textures/dark/texture_09.png.import
        modified:   addons/kenney_prototype_textures/dark/texture_10.png.import
        modified:   addons/kenney_prototype_textures/dark/texture_11.png.import
        modified:   addons/kenney_prototype_textures/dark/texture_12.png.import
        modified:   addons/kenney_prototype_textures/dark/texture_13.png.import
        modified:   addons/kenney_prototype_textures/green/texture_01.png.import
        modified:   addons/kenney_prototype_textures/green/texture_02.png.import
        modified:   addons/kenney_prototype_textures/green/texture_03.png.import
        modified:   addons/kenney_prototype_textures/green/texture_04.png.import
        modified:   addons/kenney_prototype_textures/green/texture_05.png.import
        modified:   addons/kenney_prototype_textures/green/texture_06.png.import
        modified:   addons/kenney_prototype_textures/green/texture_07.png.import
        modified:   addons/kenney_prototype_textures/green/texture_08.png.import
        modified:   addons/kenney_prototype_textures/green/texture_09.png.import
        modified:   addons/kenney_prototype_textures/green/texture_10.png.import
        modified:   addons/kenney_prototype_textures/green/texture_11.png.import
        modified:   addons/kenney_prototype_textures/green/texture_12.png.import
        modified:   addons/kenney_prototype_textures/green/texture_13.png.import
        modified:   addons/kenney_prototype_textures/light/texture_01.png.import
        modified:   addons/kenney_prototype_textures/light/texture_02.png.import
        modified:   addons/kenney_prototype_textures/light/texture_03.png.import
        modified:   addons/kenney_prototype_textures/light/texture_04.png.import
        modified:   addons/kenney_prototype_textures/light/texture_05.png.import
        modified:   addons/kenney_prototype_textures/light/texture_06.png.import
        modified:   addons/kenney_prototype_textures/light/texture_07.png.import
        modified:   addons/kenney_prototype_textures/light/texture_08.png.import
        modified:   addons/kenney_prototype_textures/light/texture_09.png.import
        modified:   addons/kenney_prototype_textures/light/texture_10.png.import
        modified:   addons/kenney_prototype_textures/light/texture_11.png.import
        modified:   addons/kenney_prototype_textures/light/texture_12.png.import
        modified:   addons/kenney_prototype_textures/light/texture_13.png.import
        modified:   addons/kenney_prototype_textures/orange/texture_01.png.import
        modified:   addons/kenney_prototype_textures/orange/texture_02.png.import
        modified:   addons/kenney_prototype_textures/orange/texture_03.png.import
        modified:   addons/kenney_prototype_textures/orange/texture_04.png.import
        modified:   addons/kenney_prototype_textures/orange/texture_05.png.import
        modified:   addons/kenney_prototype_textures/orange/texture_06.png.import
        modified:   addons/kenney_prototype_textures/orange/texture_07.png.import
        modified:   addons/kenney_prototype_textures/orange/texture_08.png.import
        modified:   addons/kenney_prototype_textures/orange/texture_09.png.import
        modified:   addons/kenney_prototype_textures/orange/texture_10.png.import
        modified:   addons/kenney_prototype_textures/orange/texture_11.png.import
        modified:   addons/kenney_prototype_textures/orange/texture_12.png.import
        modified:   addons/kenney_prototype_textures/orange/texture_13.png.import
        modified:   addons/kenney_prototype_textures/purple/texture_01.png.import
        modified:   addons/kenney_prototype_textures/purple/texture_02.png.import
        modified:   addons/kenney_prototype_textures/purple/texture_03.png.import
        modified:   addons/kenney_prototype_textures/purple/texture_04.png.import
        modified:   addons/kenney_prototype_textures/purple/texture_05.png.import
        modified:   addons/kenney_prototype_textures/purple/texture_06.png.import
        modified:   addons/kenney_prototype_textures/purple/texture_07.png.import
        modified:   addons/kenney_prototype_textures/purple/texture_08.png.import
        modified:   addons/kenney_prototype_textures/purple/texture_09.png.import
        modified:   addons/kenney_prototype_textures/purple/texture_10.png.import
        modified:   addons/kenney_prototype_textures/purple/texture_11.png.import
        modified:   addons/kenney_prototype_textures/purple/texture_12.png.import
        modified:   addons/kenney_prototype_textures/purple/texture_13.png.import
        modified:   addons/kenney_prototype_textures/red/texture_01.png.import
        modified:   addons/kenney_prototype_textures/red/texture_02.png.import
        modified:   addons/kenney_prototype_textures/red/texture_03.png.import
        modified:   addons/kenney_prototype_textures/red/texture_04.png.import
        modified:   addons/kenney_prototype_textures/red/texture_05.png.import
        modified:   addons/kenney_prototype_textures/red/texture_06.png.import
        modified:   addons/kenney_prototype_textures/red/texture_07.png.import
        modified:   addons/kenney_prototype_textures/red/texture_08.png.import
        modified:   addons/kenney_prototype_textures/red/texture_09.png.import
        modified:   addons/kenney_prototype_textures/red/texture_10.png.import
        modified:   addons/kenney_prototype_textures/red/texture_11.png.import
        modified:   addons/kenney_prototype_textures/red/texture_12.png.import
        modified:   addons/kenney_prototype_textures/red/texture_13.png.import
        modified:   icon.svg.import
        modified:   models/Environment.blend.import
        modified:   models/Environment.glb.import
        modified:   models/Pistol.blend.import
        modified:   models/Pistol.glb.import

no changes added to commit (use "git add" and/or "git commit -a")
devloglogan commented 1 year ago

@akien-mga I'm not sure how this is happening. If you look in the repo the .import files are there, and I have no changes locally to commit. What has been modified in those import files?

akien-mga commented 1 year ago

Oh my bad, I thought the files were added but they're just modified:

diff --git a/addons/kenney_particle_pack/circle_03.png.import b/addons/kenney_particle_pack/circle_03.png.import
index cb0668d..38a67fd 100644
--- a/addons/kenney_particle_pack/circle_03.png.import
+++ b/addons/kenney_particle_pack/circle_03.png.import
@@ -16,9 +16,9 @@ dest_files=["res://.godot/imported/circle_03.png-d542af885205cd962478f03f6f78ecf
 [params]

 compress/mode=0
+compress/high_quality=false
 compress/lossy_quality=0.7
 compress/hdr_compression=1
-compress/bptc_ldr=0
 compress/normal_map=0
 compress/channel_pack=0
 mipmaps/generate=false

That's a change upcoming in beta 17 which you'll have to commit at that point, I was just running cutting edge Godot :)