Skip to content

Commit

Permalink
Add compression tool
Browse files Browse the repository at this point in the history
  • Loading branch information
ElectroDeoxys committed Oct 30, 2023
1 parent 705df56 commit 2ea17f2
Show file tree
Hide file tree
Showing 403 changed files with 654 additions and 278 deletions.
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 2ea17f2

Please sign in to comment.