Day of Defeat Plugins Community
This site is an archive — everything is readable and downloadable, nothing can be posted. Admin
Archive › Old Forum Threads › General › Modeling and Mapping Chat › replacing embed texture in .bsp
8 posts, 4 people · 4,384 views Thread Rating: ★★★★★
closedreplacing embed texture in .bsp
Started by ghzero on 03-24-2009, 11:13 AM
ghzero
started this thread
Posts: 160
Threads: 42
Joined: Sep 2007
03-24-2009, 11:13 AM #1

hello,rnrnany tool to replace an embed texture in .bsp-mapfile ?!rnrnreason: in germany the nazi-flag is not allowed, but some maps with embed nazi-flags are cute mapped - so I want to remove the not allowed signs from map to make it possible to play the map (without law conflicts).

N noddy
posted here
Posts: 250
Threads: 19
Joined: Oct 2004
03-24-2009, 11:46 AM #2

take a look at bspedit I'm sure someone posted a link on this site somewhere.

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
03-24-2009, 12:42 PM #3
take a look at bspedit I'm sure someone posted a link on this site somewhere.
nnthats for editing entities in a bsp, not textures...nnnnot sure if theres a way to do this or not, tho there probably is

ghzero
started this thread
Posts: 160
Threads: 42
Joined: Sep 2007
03-24-2009, 01:19 PM #4
take a look at bspedit I'm sure someone posted a link on this site somewhere.
rnrngoogle found bspedit v1.70 for me and I tried.rnrnit is an good program to edit the entities of an map - nice for editing entities that will be larger than original so you can not use an hex-editor for modifications like this - instead you can easy use the bspedit coz it will paste the entites with update of offsets to bsp. that is an good solution! but do not forget the filesize of .bsp will change too and I very recomed to change the filename by do changes that the filesize changes.rnrnnote that if you only change real entities without changing the size of .bsp you can still use the same .bsp on client(player-computer) if you put the .bsp with the changes .bsp only on the server - because the server will control and ,,shooting,, the entities to the clients.rnrnanother program that I often use to check maps and find out new origins for spawns is bspviewer. bspviewer can export the bitmaps of the embed textures - but only export... rnan possible nooby-solution can be to made an bitmap-wise replace of unwanted textures in .bsp by byte-search and replace with hex-editor but that's only the last and worst solution...

N noddy
posted here
Posts: 250
Threads: 19
Joined: Oct 2004
03-24-2009, 01:25 PM #5

If you can't change the texture, you might be able to cover the flag with something using bspedit, like a banner.rnDo you have the name of a map that you need changing ?

diamond-optic
posted here
Posts: 2,068
Threads: 103
Joined: May 2005
03-24-2009, 01:29 PM #6
note that if you only change real entities without changing the size of .bsp you can still use the same .bsp on client(player-computer) if you put the .bsp with the changes .bsp only on the server - because the server will control and ,,shooting,, the entities to the clients.n
nnnthe file size can be different and it will still work...nnnthe only problem is some entities are loaded client side and if the client doesnt have the modified bsp they wont have the changes (like particle entities, or weather, or removing/changing models from the map)nnnlike the original dod_avalanche is 3.59mbnthe one i run on my server is 3.61mb, and it works fine with clients that have the original

dodsynthetic
posted here
Posts: 277
Threads: 15
Joined: Mar 2007
03-24-2009, 07:05 PM #7

I can suggest two options. First, try the bsp decompiler I put up under the tools section then make your changes in VHE. If the map is extensive, you may have to rebuild some parts of it as the program is not perfect but is usable. The second option would more trouble than it's worth and is basically manually editing the file with a hex editor. As much as I love hexing, I personally wouldn't take this route. The time involved learning the BSP structure and the possibility of having to make some custom tools to make the necessary changes (compression, etc.) would be time consuming.

ghzero
started this thread
Posts: 160
Threads: 42
Joined: Sep 2007
03-24-2009, 07:19 PM #8

allright the rules by your feedback shall be:rn-if changes are not entity-models/sprites based the filesize of .bsp can differ from client to server.rn?

Archive › Old Forum Threads › General › Modeling and Mapping Chat › replacing embed texture in .bsp
DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 14 Sep 2026 00:34 UTC