The joys of getting a Python environment set up. LOLMy pip can't find the PIL module, what do I do?
we’ll get you sorted.
Screenshot?
e: might be this?
https://bobbyhadz.com/blog/python-no-module-named-pil
The joys of getting a Python environment set up. LOLMy pip can't find the PIL module, what do I do?
Just got a new PC, was only missing Pillow, that helped. Thx.The joys of getting a Python environment set up. LOL
we’ll get you sorted.
Screenshot?
e: might be this?
<See the link in the original message, I'm not allowed to post those yet.>
Here's one for the GBAtempers
View attachment 336489
I'm glad that you like it.
Hi, fidgeting with the boot_splash_screen_notext.inc file I have a semi-manual proccess to get the values:
- Start with a graphic file (Atmosphere.bmp on this case, can be PNG or JPG).
- Create a "framebuffer" binary file, using the python script "convertfb.py" (https://github.com/zqb-all/convertfb), you need to have installed the python-imaging module (pillow) use command:
pip install pillow
. An example of the command:
convertfb.py -i Atmosphere.bmp -o Atmosphere.fb -f ARGB
File "/d/SplashMakerSwitch/convertfb.py", line 46
print 'Image:',args.img_in,' ',w,'X',h,im.mode
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
wuaw, literally in this moment I am editing my local notes about this matter.Could you explain me HOW to convert my "splashscreen.bmp" (or splashscreen.png) to framebuffer?
First on that site is no convertfb.py just a convertfb without filetype!
I put ".py" to the filename and no matter wahtt I do the script is giving an error telling me:
Python:File "/d/SplashMakerSwitch/convertfb.py", line 46 print 'Image:',args.img_in,' ',w,'X',h,im.mode ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
Have to say that I use Python 3.11 (only one on my system (win 11) = no older python)
Atmosphere.png
(the name doesn't matters) convertfb.py -i Atmosphere.bmp -o Atmosphere.DATA -f ARGB
Atmosphere.bmp.data
which is on framebuffer formatbin2header.exe
(https://github.com/AntumDeluge/bin2header/releases/) to generate the code, running the command:bin2header.exe -p 32 Atmosphere.data
Atmosphere.data.h
on to \stratosphere\boot\source\boot_splash_screen_notext.inc
constexpr size_t SplashScreenX = 535;
constexpr size_t SplashScreenY = 274;
constexpr size_t SplashScreenW = 210;
constexpr size_t SplashScreenH = 172;
Complete side note: the reason convertfb doesn’t work is the first line requires python2Could you explain me HOW to convert my "splashscreen.bmp" (or splashscreen.png) to framebuffer?
First on that site is no convertfb.py just a convertfb without filetype!
I put ".py" to the filename and no matter what I do the script is giving an error telling me:
Python:File "/d/SplashMakerSwitch/convertfb.py", line 46 print 'Image:',args.img_in,' ',w,'X',h,im.mode ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
Have to say that I use Python 3.11 (only one on my system (win 11) = no older python)
PIP, Pillow and other modules are newest!
#!/usr/bin/env python2
Correct, the “Sept-Logo” is the white triangle logo of Atmosphere that’s built in.@impeeza @binkinator (Sorry for ping)
This is the short Image that is shown after the splashscreen, right?
I think Binki called it "Sept-Logo"?
Sorry I missed these!hekate > launch > emuMMC > custom splashscreen (32 bmp 90 degree) > splashscreen injected to package3 > THIS IMAGE (short showing up ams logo)
BTW Is it normal that the new "boot_splash_screen_notext.inc" is 10MB in filesize instead of 424KB?
I used a 1280x720 image!
Maybe I should just insert our Logo inside it with 256x256 so it ends up with:
constexpr size_t SplashScreenX = 512;
constexpr size_t SplashScreenY = 232;
constexpr size_t SplashScreenW = 256;
constexpr size_t SplashScreenH = 256;
EDIT: Now it is MUCH better
Image is just the Logo with 256x180
constexpr size_t SplashScreenX = 512;
constexpr size_t SplashScreenY = 270;
constexpr size_t SplashScreenW = 256;
constexpr size_t SplashScreenH = 180;
File is 540KB instead of 10MB!
Now I just have to compile ams again and... whish me luck
Another question; what is the "boot_splash_screen_text.inc" for? What is the difference?
Depends upon the format of original pic. Unfortunately I’m just a hack w/ gimp and kinda flail around until things work and then try to remember and document what I did with mixed results.1. Well it works (good to know)
2.... But,
Little problem!
Instead of this logo it shows a purple one
What can I change in gimp export or somewhere else to get original colors!
EDIT = I will try to use gimp again!
But before export to "*.data" I will use the channel mixer and set:
Red to blue, green to green and blue to red channel!
I'll give feedback later when I get home!
Wow, I changed the ams logo writting with winhex but this is much better!!!!!!
I edited the original DATA logo with GIMP and I wrote a power shell script to convert the c: output format from winhex. But it only works with B/W images...Dear god that must have been painful! You must have extreme concentration levels!
Whew. I was picturing you going in and changing one bit at a time with a hex editor and I threw up a little in my mouth. LOLI edited the original DATA logo with GIMP and I wrote a power shell script to convert the c: output format from winhex. But it only works with B/W images...
You mean like a Windows GUI app? Similar to the GUI for Forwarders?Can u make a easy soft to convert images to boot Switch ?
Yes or a python versionYou mean like a Windows GUI app? Similar to the GUI for Forwarders?
It would be a black screen with a small red rectangle and small Nintendo logo. That’s why a lot of logos here have black backgrounds by default. Would look kinda off to be honest. If your heart is set on it though, it’s pretty simple to grab a logo you like off of Google images, chop it to the right size and save it in the right format and make one using the scripts provided earlier in the thread.Does someone have the original red/white Nintendo logo already made by any chance? I'd like to replace the Atmosphere logo with it. Thanks!