Skip to content

Commit

Permalink
add VGM renaming tool
Browse files Browse the repository at this point in the history
  • Loading branch information
ValleyBell committed Mar 15, 2022
1 parent 2755374 commit 5cd4bca
Show file tree
Hide file tree
Showing 7 changed files with 655 additions and 14 deletions.
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,13 @@ endif()
install(TARGETS vgm_ptch RUNTIME DESTINATION "bin")


add_executable(vgm_ren
vgm_ren.c
)
target_link_libraries(vgm_ptch ${ZLIB_LIBRARIES})
install(TARGETS vgm_ptch RUNTIME DESTINATION "bin")

This comment has been minimized.

Copy link
@OPNA2608

OPNA2608 Mar 19, 2022

Contributor

Copy-pasting oversight: These need to use the vgm_ren target.

This comment has been minimized.

Copy link
@ValleyBell

ValleyBell Mar 19, 2022

Author Contributor

Thanks - fixed with 3d59729.



add_executable(vgm_smp1
vgm_smp1.c
)
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ by Valley Bell (@valleybell)
[vgm_mono - VGM Mono](#vgm-mono-vgm_mono)
[vgm_ndlz - VGM Undualizer](#vgm-undualizer-vgm_ndlz)
[vgm_ptch - VGM Patcher](#vgm-patcher-vgm_ptch)
[vgm_ren.c - VGM Renamer](#vgm-renamer-vgm_ren)
[vgm_smp1 - Remove 1 Sample Delays](#remove-1-sample-delays-vgm_smp1)
[vgm_sptd - VGM Splitter (Delay Edition)](#vgm-splitter-delay-edition-vgm_sptd)
[vgm_spts - VGM Splitter (Sample Edition)](#vgm-splitter-sample-edition-vgm_spts)
Expand Down Expand Up @@ -235,6 +236,13 @@ general VGM patching utility, allows editing the VGM header (chip clocks/chip se
TODO: better description


### VGM Renamer (vgm_ren)

This tool renames a VGM so that its file name follows the VGM's title tag.

When a playlist is given, track numbers are added and the playlist is rewritten with the new file names.


### Remove 1 Sample Delays (vgm_smp1)

This tool helps to reduce the size of VGMs by removing delays of 1 sample length.
Expand Down
2 changes: 2 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#
########################

# WARNING: Heavily outdated. Please use the CMake project instead.

# TODO:
# - link dro2vgm/imf2vgm/raw2vgm/vgm_vol without -lz
# - link -lm only to vgm_cnt, vgm_ptch, vgm_vol, vgm2txt
Expand Down
112 changes: 112 additions & 0 deletions vc6/vgm_ren.dsp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 13 additions & 1 deletion vc6/vgmtools.dsw
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
# WARNUNG: DIESE ARBEITSBEREICHSDATEI DARF NICHT BEARBEITET ODER GEL�SCHT WERDEN!

###############################################################################

Expand Down Expand Up @@ -291,6 +291,18 @@ Package=<4>

###############################################################################

Project: "vgm_ren"=".\vgm_ren.dsp" - Package Owner=<4>

Package=<5>
{{{
}}}

Package=<4>
{{{
}}}

###############################################################################

Project: "vgm_trim"=".\vgm_trim.dsp" - Package Owner=<4>

Package=<5>
Expand Down
Loading

0 comments on commit 5cd4bca

Please sign in to comment.