0
$\begingroup$

I´m following this guide: https://wiki.blender.org/index.php/Dev:Doc/Building_Blender/Windows/msvc/CMake and so I got all the files for blender and I´m ready to change the splash screen on Blender 2.78a

So I read this: https://wiki.blender.org/index.php/Dev:2.4/Doc/How_to/Edit_the_SplashScreen

But on the 2.78 dependencies, there´s no file "datatoc.py", instead there´s a "ctodata.py" file. So when I run the python command:

python ctodata.py splash.png

I get error: Traceback (most recent call last): File "ctodata.py", line 44, in data = fpin.read().rsplit("{")[-1].split("}")[0] File "C:\Python\Python35\lib\encodings\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 968: char acter maps to

Could someone help me out on how to change the splash screen on Blender 2.78a, please? Thanks.

$\endgroup$
  • $\begingroup$ ctodata.py cannot work. You need datatoc.py . The last version with datatoc.py included is 2.76b. Try grab it from there. The source code files of older versions can be found here: download.blender.org/source - I don't know the reason why it is not longer included. It should, you still need it. Could be by accident. Or intended for unknown reasons. Maybe somebody could ask the developers here. $\endgroup$ – Tiles Nov 14 '16 at 9:44
  • $\begingroup$ Hm, i just found the commit where it was deleted. But no explanation why it was removed. Just that it is unused developer.blender.org/… $\endgroup$ – Tiles Nov 14 '16 at 10:12
  • $\begingroup$ @Tiles - Just a guess. It might got removed because Blender was "rebranded" and "repackaged" several times in the past by some people who then sold it to unaware customers. $\endgroup$ – metaphor_set Nov 14 '16 at 10:19
  • $\begingroup$ @metaphor_set, everything is possible, but this makes imho no sense. And would be illegal against the gnu gpl 2 and 3, which forbids obfuscations. Blender is open source. And so people should be able to modify the source code. Including splash screen and icons. And it's also really easy to grab the datatoc.py file from previous versions. So i still wonder why it was removed. - I haven't compiled newer versions yet though. Is there a new way to create the icons and splash screen c files now? Is it now done internally without the datatoc.py file? $\endgroup$ – Tiles Nov 14 '16 at 10:29
  • $\begingroup$ @Tiles - Oh, it does make sense. At least to people who don't care about what the GNU General Public license says. Have a seat, take a look: blender.org/press/re-branding-blender $\endgroup$ – metaphor_set Nov 14 '16 at 11:58
1
$\begingroup$

I have meanwhile solved this one. The key is to rerun Cmake once you have modified the splash.png and splash_2x.png files. Cmake is where the conversion of the files happens. And that's why nothing happens when you just modify the files.

So modify the png files, clear cache in Cmake, configure in Cmake, generate in Cmake, then compile again.

$\endgroup$
  • $\begingroup$ Thank you SO much!!! Now I will make changes on the ICONS also!! :D $\endgroup$ – Pierre Schiller Jan 20 '17 at 22:53
  • $\begingroup$ Changing icons is a bit more complicated. I would suggest to open a new topic then when you get stuck :) $\endgroup$ – Tiles Jan 21 '17 at 6:54
  • $\begingroup$ All icons are into 1 SVG file. Documents mention to change anything there. I won´t "add" new ones, I´ll replace the ones that are already there. Mono colors rule on design. :D $\endgroup$ – Pierre Schiller Jan 23 '17 at 19:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.