From: MirceaKitsune Date: Mon, 6 Sep 2010 13:48:12 +0000 (+0300) Subject: Add my little rebranding script and defaults to the repo X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4d53c932d94716dbcf3310c6c1dbba2085f9bff7;p=voretournament%2Fvoretournament.git Add my little rebranding script and defaults to the repo --- 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 00000000..3318866c Binary files /dev/null and b/misc/rebranding/darkplaces.zip differ 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