Recently I installed ControlX on my Nspire CX CAS (HW: L).
It works well, but I feel the splash image is really ugly
Update: Yes it's possible to modify ControlX splash
Here's the modified ctrlx tns, modified s_screen.c and the result:
Can I modify the boot splash image of ControlX?
Voir le premier message non lu • 8 messages
• Page 1 sur 1
Can I modify the boot splash image of ControlX?
- Fichiers joints
-
- controlx_rockmanexe.img.tns
- CtrlX Mega Man Battle Network Modified
- (179.76 Kio) Téléchargé 62 fois
-
- s_screen.c
- Correct s_screen.c source file
- (768.82 Kio) Téléchargé 96 fois
Dernière édition par hikari_calyx le 04 Mar 2017, 17:56, édité 1 fois.
-
hikari_calyx
Niveau 3: MH (Membre Habitué)- Messages: 8
- Inscription: 18 Avr 2015, 14:58
- Genre:
- Calculatrice(s):→ MyCalcs profile
Re: Can I modify the boot splash image of ControlX?
Hi.
Unfortunately nBoot code does overwrite the TI-Nspire boot splash in the Manuf partition.
So it's not possible to use it.
The replacement boot splash used by ControlX is in the s_screen.c file.
It's rgb565 with a width of 320px.
Unfortunately nBoot code does overwrite the TI-Nspire boot splash in the Manuf partition.
So it's not possible to use it.
The replacement boot splash used by ControlX is in the s_screen.c file.
It's rgb565 with a width of 320px.
-
critorAdmin
Niveau 19: CU (Créateur Universel)- Messages: 41497
- Images: 14640
- Inscription: 25 Oct 2008, 00:00
- Localisation: Montpellier
- Genre:
- Calculatrice(s):→ MyCalcs profile
- YouTube: critor3000
- Twitter/X: critor2000
- GitHub: critor
Re: Can I modify the boot splash image of ControlX?
critor a écrit:Hi.
Unfortunately nBoot code does overwrite the TI-Nspire boot splash in the Manuf partition.
So it's not possible to use it.
The replacement boot splash used by ControlX is in the s_screen.c file.
It's rgb565 with a width of 320px.
I tried to use Image2Lcd and I got this (partial):
- Code: Tout sélectionner
const unsigned char gImage_123_splash[86400] = { /* 0X00,0X10,0XF0,0X00,0XB4,0X00,0X01,0X1B, */
0X77,0X84,0X77,0X84,0X77,0X8C,0X35,0X7C,0X77,0X8C,0XB4,0X73,0XAB,0X31,0X73,0X63,
...
0XD4,0X73,0XD4,0X73,0XD4,0X73,0XD4,0X73,0XD4,0X73,0XD4,0X73,0XB4,0X6B,0X93,0X6B,
};
It looks totally different from s_screen.c:
- Code: Tout sélectionner
char databuffer[]=
"~\357}\357~\357\236\357\236\357\277\357\277\357\277\357\277"
"\357\277\357\237\357\277\357\237\357\277\357\277\357\236\357\236\357\236"
"\357\237\357\277\357\277\357\277\357\237\357\237\357\277\357\277\357\277"
"\357\277\357\277\357\236\357~\357\236\357\237\357\277\357\277\357\277\357"
...
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"
"\377\377\377\377\377\377\377\377"
;
Any idea to convert a picture into the format like s_screen.c?
-
hikari_calyx
Niveau 3: MH (Membre Habitué)- Messages: 8
- Inscription: 18 Avr 2015, 14:58
- Genre:
- Calculatrice(s):→ MyCalcs profile
Re: Can I modify the boot splash image of ControlX?
Well, this is just another way of representing an array of bytes.
It should compile (I didn't say work - depends upon the content).
It should compile (I didn't say work - depends upon the content).
-
critorAdmin
Niveau 19: CU (Créateur Universel)- Messages: 41497
- Images: 14640
- Inscription: 25 Oct 2008, 00:00
- Localisation: Montpellier
- Genre:
- Calculatrice(s):→ MyCalcs profile
- YouTube: critor3000
- Twitter/X: critor2000
- GitHub: critor
Re: Can I modify the boot splash image of ControlX?
critor a écrit:Well, this is just another way of representing an array of bytes.
It should compile (I didn't say work - depends upon the content).
OK. Since it takes lots of time to build Ndless SDK on my backup PC and I can't compile it immediately.
Can you compile it for me? Modified s_screen.c and the 24-bit BMP splash are attached below.
Thank's a lot.
- Fichiers joints
-
- Rockman EXE/Mega Man Battle Network Splash
- ROCKMAN_EXE_SPLASH.bmp (225.05 Kio) Vu 2614 fois
-
- s_screen.c
- Modified s_screen.c
- (432.49 Kio) Téléchargé 85 fois
-
hikari_calyx
Niveau 3: MH (Membre Habitué)- Messages: 8
- Inscription: 18 Avr 2015, 14:58
- Genre:
- Calculatrice(s):→ MyCalcs profile
Re: Can I modify the boot splash image of ControlX?
There is no real need to recompile what is essentially a raw data buffer. I'm fairly sure it would possible to just swap the image data in the .tns directly (it's probably towards the end of the file) - that's of course as long as it's the exact same size, but in this case it is.
MyCalcs: Help the community's calculator documentations by filling out your calculators info!
MyCalcs: Aidez la communauté à documenter les calculatrices en donnant des infos sur vos calculatrices !
Inspired-Lua.org: All about TI-Nspire Lua programming (tutorials, wiki/docs...)-
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)- Messages: 14616
- Images: 1218
- Inscription: 01 Juin 2007, 00:00
- Localisation: France
- Genre:
- Calculatrice(s):→ MyCalcs profile
- Twitter/X: adriweb
- GitHub: adriweb
Re: Can I modify the boot splash image of ControlX?
critor a écrit:Well, this is just another way of representing an array of bytes.
It should compile (I didn't say work - depends upon the content).
Well, I asked my friend to compile. It did work, but the output looks glitchy.
Trying again now, maybe there's mistake when I was using Image2LCD.
Edit: Finally done.
-
hikari_calyx
Niveau 3: MH (Membre Habitué)- Messages: 8
- Inscription: 18 Avr 2015, 14:58
- Genre:
- Calculatrice(s):→ MyCalcs profile
-
critorAdmin
Niveau 19: CU (Créateur Universel)- Messages: 41497
- Images: 14640
- Inscription: 25 Oct 2008, 00:00
- Localisation: Montpellier
- Genre:
- Calculatrice(s):→ MyCalcs profile
- YouTube: critor3000
- Twitter/X: critor2000
- GitHub: critor
8 messages
• Page 1 sur 1
Retourner vers Problèmes divers / Aide débutants
Qui est en ligne
Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 25 invités