From 4d53c932d94716dbcf3310c6c1dbba2085f9bff7 Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Mon, 6 Sep 2010 16:48:12 +0300 Subject: [PATCH] Add my little rebranding script and defaults to the repo --- misc/rebranding/darkplaces.opt | 1 + misc/rebranding/darkplaces.zip | Bin 0 -> 200 bytes misc/rebranding/rebrand.bat | 3 +++ misc/rebranding/rebranding.txt | 11 +++++++++++ 4 files changed, 15 insertions(+) create mode 100644 misc/rebranding/darkplaces.opt create mode 100644 misc/rebranding/darkplaces.zip create mode 100644 misc/rebranding/rebrand.bat create mode 100644 misc/rebranding/rebranding.txt diff --git a/misc/rebranding/darkplaces.opt b/misc/rebranding/darkplaces.opt new file mode 100644 index 00000000..c7d99f91 --- /dev/null +++ b/misc/rebranding/darkplaces.opt @@ -0,0 +1 @@ +-nexuiz -customgamename VoreTournament -customgamedirname1 data -customgamedirname2 "" -customgamescreenshotname voretournament \ No newline at end of file diff --git a/misc/rebranding/darkplaces.zip b/misc/rebranding/darkplaces.zip new file mode 100644 index 0000000000000000000000000000000000000000..3318866c5e77f0d88de35e0c2b5d4cfe828161f4 GIT binary patch literal 200 zcmWIWW@Zs#U|`^22w05I zeD!qoPM-JmKjV9rIjMESpG8+D{JEqgpuV0Z(n?iWCu7BgNfDDeTn~9TdU8hYu-K_# zYP#M+c|S`|f#ih;LOTvJ1b8zti7?={7icvDBZC5n0s>T51bDNufkYXB&<04CfjA5R D*xxlx literal 0 HcmV?d00001 diff --git a/misc/rebranding/rebrand.bat b/misc/rebranding/rebrand.bat new file mode 100644 index 00000000..23382769 --- /dev/null +++ b/misc/rebranding/rebrand.bat @@ -0,0 +1,3 @@ +copy /b darkplaces.exe + darkplaces.zip voretournament.exe +copy /b darkplaces-sdl.exe + darkplaces.zip voretournament-sdl.exe +copy /b darkplaces-dedicated.exe + darkplaces.zip voretournament-dedicated.exe \ No newline at end of file diff --git a/misc/rebranding/rebranding.txt b/misc/rebranding/rebranding.txt new file mode 100644 index 00000000..f6d66628 --- /dev/null +++ b/misc/rebranding/rebranding.txt @@ -0,0 +1,11 @@ +---- Rebranding the engine: + +Rebranding is necessary to rename the game in the engine, and to avoid things such as conflicting with another game's server list +To rebrand the engine, get a fresh compile of darkplaces for any platform, take each exacutable and do the following: + +1 - Create an empty text file named darkplaces with the extension .opt +2 - In it, write the line "-customgamename Mygame" (without the "") and other necessary options +3 - Put that file in a .zip archive (darkplaces.zip) +4 - Append the zip file to the engine. Open a command prompt, and write "copy /b darkplaces.exe + darkplaces.zip darkplaces-rebrand.exe" + OR + Use a bash and do "cat darkplaces.zip >> darkplaces.exe" \ No newline at end of file -- 2.39.2