diff --git a/Makefile.bundle b/Makefile.bundle index 66490caf48..85204de841 100644 --- a/Makefile.bundle +++ b/Makefile.bundle @@ -55,6 +55,7 @@ ifdef OSXAPP endif $(Q)cp "$(BIN_DIR)/$(TTD)" "$(TTD_DIR)/" $(Q)cp "$(BIN_DIR)/data/"*.grf "$(DATA_DIR)/" + $(Q)cp "$(BIN_DIR)/data/"*.obg "$(DATA_DIR)/" $(Q)cp "$(BIN_DIR)/data/opntitle.dat" "$(DATA_DIR)/" $(Q)cp "$(BIN_DIR)/lang/"*.lng "$(LANG_DIR)/" $(Q)cp "$(ROOT_DIR)/readme.txt" "$(BUNDLE_DIR)/" diff --git a/os/win32/installer/install.nsi b/os/win32/installer/install.nsi index 2e5d300a1b..428db51005 100644 --- a/os/win32/installer/install.nsi +++ b/os/win32/installer/install.nsi @@ -110,6 +110,7 @@ Section "!OpenTTD" Section1 ; Copy data files SetOutPath "$INSTDIR\data\" File ${PATH_ROOT}bin\data\*.grf + File ${PATH_ROOT}bin\data\*.obg File ${PATH_ROOT}bin\data\opntitle.dat ; Copy scenario files (don't choke if they don't exist) SetOutPath "$INSTDIR\scenario\" @@ -135,6 +136,7 @@ Section "!OpenTTD" Section1 ; Delete old files from the main dir. they are now placed in data/ and lang/ Delete "$INSTDIR\*.lng" Delete "$INSTDIR\*.grf" + Delete "$INSTDIR\*.obg" Delete "$INSTDIR\sample.cat" Delete "$INSTDIR\ttd.exe" @@ -270,6 +272,9 @@ Section "Uninstall" Delete "$INSTDIR\data\trkfoundw.grf" Delete "$INSTDIR\data\openttdd.grf" Delete "$INSTDIR\data\openttdw.grf" + Delete "$INSTDIR\data\orig_win.obg" + Delete "$INSTDIR\data\orig_dos.obg" + Delete "$INSTDIR\data\orig_dos_de.obg" Delete "$INSTDIR\data\sample.cat" ; Windows Data files