Skip to content

Commit

Permalink
Merge pull request #34 from Medabots/enable_text_reinsertion
Browse files Browse the repository at this point in the history
Enable using translated text for reinsertion
  • Loading branch information
VariantXYZ authored Aug 13, 2023
2 parents e93333c + 4a395e2 commit 22f5117
Show file tree
Hide file tree
Showing 6 changed files with 471 additions and 235 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ $(BUILD)/%.$(INT_TYPE): $(SRC)/$$(firstword $$(subst ., ,$$*))/$$(lastword $$(su
# build/intermediate/dialog/*.bin from dialog csv files
.SECONDEXPANSION:
$(DIALOG_INT)/%.$(DIALOG_TYPE): $(DIALOG_TEXT)/$$(word 1, $$(subst _, ,$$*)).$(CSV_TYPE) $(SCRIPT_RES)/ptrs.tbl | $(DIALOG_INT)
$(PYTHON) $(SCRIPT)/dialog2bin.py $@ $^ "Original" $(subst $(subst .$(CSV_TYPE),,$(<F))_,,$*)
$(PYTHON) $(SCRIPT)/dialog2bin.py $@ $^ "Translated" $(subst $(subst .$(CSV_TYPE),,$(<F))_,,$*)

# build/pointer_constants.asm from scripts/res/ptrs.tbl
$(BUILD)/pointer_constants.asm: $(SCRIPT_RES)/ptrs.tbl | $(BUILD)
Expand Down
Loading

0 comments on commit 22f5117

Please sign in to comment.