zahar Posted May 13, 2022 Share Posted May 13, 2022 So, Im curently finishing combining Nina mods into antology, and I encounter a problem. In two maps there is a two diffirent textures with the same name. It is sky texture. So In order to combine this two map in one mod, I need to rename one of the texture and replace texture path in the map. Is there a way to do so? Like we can edit entities on existing map. Droidy365 likes this Link to comment
Solution Droidy365 Posted May 14, 2022 Solution Share Posted May 14, 2022 The simplest way would be to edit it in a HEX editor. I'd recommend HxD, as it makes life a lot easier. So to demonstrate, I'm using the academy1.bsp map, renamed to acasky.bsp. Make sure you backup your file when you do this. Open up your BSP file with HxD and search for the textures you want to replace with CTRL + F. I'm searching for textures/skies/yavin. What you want to do is replace the texture name with something with the same amount of characters. My texture, yavin, has 5 characters. I'm going to replace it with space, since that's a base texture that conveniently has the right amount of letters. Before: After: In your case, you'll want to rename your new texture to something slightly different, but make sure it has the same amount of characters. If it has a different amount, the map's file size may change, and the map may become corrupted. You may encounter multiple instances of the texture you want to replace, it'll probably be a matter of trial and error finding out which lot of textures you want to replace. Hope this helped and wasn't too confusing zahar likes this Link to comment
zahar Posted May 14, 2022 Author Share Posted May 14, 2022 Huge thanks i will try it tooday. Droidy365 likes this Link to comment
zahar Posted May 14, 2022 Author Share Posted May 14, 2022 Just tested it. Works perfectly fine. Although i used a different hex editor, one i already got installed. Anyway, huge thanks for your help Droidy365. Droidy365 likes this Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now