Skip to content

Commit

Permalink
Merge pull request #139 from ElectroDeoxys/master
Browse files Browse the repository at this point in the history
Add compression tool
  • Loading branch information
dannye authored Nov 4, 2023
2 parents c5fb909 + 16d2345 commit 818d186
Show file tree
Hide file tree
Showing 405 changed files with 656 additions and 446 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
# Denote all files that are truly binary and should not be modified.
*.png binary diff=hex
*.bin binary diff=hex
*.lz.match binary diff=hex

# these are generated but just in case
*.2bpp binary diff=hex
*.1bpp binary diff=hex
*.lz binary diff=hex
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,8 @@
*.2bpp
*.pal

# compressed data
*.lz

# *disasm.py output file
*disasm_output.asm
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ clean: tidy
-o -iname '*.pal' \) \
-delete

find src/data \
\( -iname '*.lz' \) \
-delete

tidy:
$(RM) $(rom) \
$(rom:.gbc=.sym) \
Expand Down Expand Up @@ -158,3 +162,7 @@ src/gfx/titlescreen/title_screen_cgb.2bpp: rgbgfx += -x 12
$(RGBGFX) $(rgbgfx) -d1 -o $@ $<
$(if $(tools/gfx),\
tools/gfx $(tools/gfx) -d1 -o $@ $@)

# remove -m if you don't care for matching
%.lz: %
tools/compressor -m $(tools/compressor) $< $@
Binary file modified src/data/maps/permissions/challenge_hall.bin
Binary file not shown.
Binary file not shown.
Binary file modified src/data/maps/permissions/challenge_hall_cgb.bin
Binary file not shown.
Binary file not shown.
Binary file modified src/data/maps/permissions/challenge_hall_entrance.bin
Binary file not shown.
Binary file not shown.
Binary file modified src/data/maps/permissions/challenge_hall_entrance_cgb.bin
Binary file not shown.
Binary file not shown.
Binary file modified src/data/maps/permissions/challenge_machine_map_event.bin
Binary file not shown.
Binary file modified src/data/maps/permissions/challenge_machine_map_event_cgb.bin
Binary file not shown.
Binary file modified src/data/maps/permissions/club_lobby.bin
Binary file not shown.
Binary file added src/data/maps/permissions/club_lobby.bin.lz.match
Binary file not shown.
Binary file modified src/data/maps/permissions/club_lobby_cgb.bin
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion src/data/maps/permissions/deck_machine_map_event.bin
Original file line number Diff line number Diff line change
@@ -1 +1 @@
��
��
2 changes: 1 addition & 1 deletion src/data/maps/permissions/deck_machine_map_event_cgb.bin
Original file line number Diff line number Diff line change
@@ -1 +1 @@
��
��
Binary file modified src/data/maps/permissions/deck_machine_room.bin
Binary file not shown.
Binary file not shown.
Binary file modified src/data/maps/permissions/deck_machine_room_cgb.bin
Binary file not shown.
Binary file not shown.
Binary file modified src/data/maps/permissions/fighting_club.bin
Binary file not shown.
Binary file not shown.
Binary file modified src/data/maps/permissions/fighting_club_cgb.bin
Binary file not shown.
Binary file not shown.
Binary file modified src/data/maps/permissions/fighting_club_entrance.bin
Binary file not shown.
Binary file not shown.
Binary file modified src/data/maps/permissions/fighting_club_entrance_cgb.bin
Binary file not shown.
Binary file not shown.
Binary file modified src/data/maps/permissions/fire_club.bin
Binary file not shown.
Binary file added src/data/maps/permissions/fire_club.bin.lz.match
Binary file not shown.
Binary file modified src/data/maps/permissions/fire_club_cgb.bin
Binary file not shown.
Binary file not shown.
Binary file modified src/data/maps/permissions/fire_club_entrance.bin
Binary file not shown.
Binary file not shown.
Binary file modified src/data/maps/permissions/fire_club_entrance_cgb.bin
Binary file not shown.
Binary file not shown.
Binary file modified src/data/maps/permissions/grass_club.bin
Binary file not shown.
Binary file added src/data/maps/permissions/grass_club.bin.lz.match
Binary file not shown.
Binary file modified src/data/maps/permissions/grass_club_cgb.bin
Binary file not shown.
Binary file not shown.
Binary file modified src/data/maps/permissions/grass_club_entrance.bin
Binary file not shown.
Binary file not shown.
Binary file modified src/data/maps/permissions/grass_club_entrance_cgb.bin
Binary file not shown.
Binary file not shown.
Binary file modified src/data/maps/permissions/hall_of_honor.bin
Binary file not shown.
Binary file not shown.
Binary file modified src/data/maps/permissions/hall_of_honor_cgb.bin
Binary file not shown.
Binary file not shown.
Binary file modified src/data/maps/permissions/hall_of_honor_door_map_event.bin
Binary file not shown.
Binary file modified src/data/maps/permissions/hall_of_honor_door_map_event_cgb.bin
Binary file not shown.
Binary file modified src/data/maps/permissions/ishihara.bin
Binary file not shown.
Binary file added src/data/maps/permissions/ishihara.bin.lz.match
Binary file not shown.
Binary file modified src/data/maps/permissions/ishihara_cgb.bin
Binary file not shown.
Binary file added src/data/maps/permissions/ishihara_cgb.bin.lz.match
Binary file not shown.
Binary file modified src/data/maps/permissions/lightning_club.bin
Binary file not shown.
Binary file not shown.
Binary file modified src/data/maps/permissions/lightning_club_cgb.bin
Binary file not shown.
Binary file not shown.
Binary file modified src/data/maps/permissions/lightning_club_entrance.bin
Binary file not shown.
Binary file not shown.
Binary file modified src/data/maps/permissions/lightning_club_entrance_cgb.bin
Binary file not shown.
Binary file not shown.
Binary file modified src/data/maps/permissions/mason_laboratory.bin
Binary file not shown.
Binary file not shown.
Binary file modified src/data/maps/permissions/mason_laboratory_cgb.bin
Binary file not shown.
Binary file not shown.
Binary file modified src/data/maps/permissions/pokemon_dome.bin
Binary file not shown.
Binary file added src/data/maps/permissions/pokemon_dome.bin.lz.match
Binary file not shown.
Binary file modified src/data/maps/permissions/pokemon_dome_cgb.bin
Binary file not shown.
Binary file not shown.
Binary file modified src/data/maps/permissions/pokemon_dome_door_map_event.bin
Binary file not shown.
Binary file modified src/data/maps/permissions/pokemon_dome_door_map_event_cgb.bin
Binary file not shown.
Binary file modified src/data/maps/permissions/pokemon_dome_entrance.bin
Binary file not shown.
Binary file not shown.
Binary file modified src/data/maps/permissions/pokemon_dome_entrance_cgb.bin
Binary file not shown.
Binary file not shown.
Binary file modified src/data/maps/permissions/psychic_club.bin
Binary file not shown.
Binary file added src/data/maps/permissions/psychic_club.bin.lz.match
Binary file not shown.
Binary file modified src/data/maps/permissions/psychic_club_cgb.bin
Binary file not shown.
Binary file not shown.
Binary file modified src/data/maps/permissions/psychic_club_entrance.bin
Binary file not shown.
Binary file not shown.
Binary file modified src/data/maps/permissions/psychic_club_entrance_cgb.bin
Binary file not shown.
Binary file not shown.
Binary file modified src/data/maps/permissions/rock_club.bin
Binary file not shown.
Binary file added src/data/maps/permissions/rock_club.bin.lz.match
Binary file not shown.
Binary file modified src/data/maps/permissions/rock_club_cgb.bin
Binary file not shown.
Binary file not shown.
Binary file modified src/data/maps/permissions/rock_club_entrance.bin
Binary file not shown.
Binary file not shown.
Binary file modified src/data/maps/permissions/rock_club_entrance_cgb.bin
Binary file not shown.
Binary file not shown.
Binary file modified src/data/maps/permissions/science_club.bin
Binary file not shown.
Binary file added src/data/maps/permissions/science_club.bin.lz.match
Binary file not shown.
Binary file modified src/data/maps/permissions/science_club_cgb.bin
Binary file not shown.
Binary file not shown.
Binary file modified src/data/maps/permissions/science_club_entrance.bin
Binary file not shown.
Binary file not shown.
Binary file modified src/data/maps/permissions/science_club_entrance_cgb.bin
Binary file not shown.
Binary file not shown.
Binary file modified src/data/maps/permissions/water_club.bin
Binary file not shown.
Binary file added src/data/maps/permissions/water_club.bin.lz.match
Binary file not shown.
Binary file modified src/data/maps/permissions/water_club_cgb.bin
Binary file not shown.
Binary file not shown.
Binary file modified src/data/maps/permissions/water_club_entrance.bin
Binary file not shown.
Binary file not shown.
Binary file modified src/data/maps/permissions/water_club_entrance_cgb.bin
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 818d186

Please sign in to comment.