π
<-
Chat plein-écran
[^]

Can I modify the boot splash image of ControlX?

:32tins: :32tinsktpb: :32tinsktpn: :32tinscas: :32tinstpkc: :32tinstpktpb: :32tinstp: :32tinscastp: :32tinscmc: :32tinscx: :32tinscxcas:

Can I modify the boot splash image of ControlX?

Message non lude hikari_calyx » 01 Mar 2017, 06:17

Recently I installed ControlX on my Nspire CX CAS (HW: L).
It works well, but I feel the splash image is really ugly :P

Update: Yes it's possible to modify ControlX splash :)
Here's the modified ctrlx tns, modified s_screen.c and the result:
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
done.jpg
Result
Dernière édition par hikari_calyx le 04 Mar 2017, 17:56, édité 1 fois.
Avatar de l’utilisateur
hikari_calyx
Niveau 3: MH (Membre Habitué)
Niveau 3: MH (Membre Habitué)
Prochain niv.: 28%
 
Messages: 8
Inscription: 18 Avr 2015, 14:58
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: Can I modify the boot splash image of ControlX?

Message non lude critor » 01 Mar 2017, 11:57

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.
Image
Avatar de l’utilisateur
critorAdmin
Niveau 19: CU (Créateur Universel)
Niveau 19: CU (Créateur Universel)
Prochain niv.: 42.4%
 
Messages: 41497
Images: 14640
Inscription: 25 Oct 2008, 00:00
Localisation: Montpellier
Genre: Homme
Calculatrice(s):
MyCalcs profile
YouTube: critor3000
Twitter/X: critor2000
GitHub: critor

Re: Can I modify the boot splash image of ControlX?

Message non lude hikari_calyx » 01 Mar 2017, 15:56

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?
Avatar de l’utilisateur
hikari_calyx
Niveau 3: MH (Membre Habitué)
Niveau 3: MH (Membre Habitué)
Prochain niv.: 28%
 
Messages: 8
Inscription: 18 Avr 2015, 14:58
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: Can I modify the boot splash image of ControlX?

Message non lude critor » 01 Mar 2017, 23:54

Well, this is just another way of representing an array of bytes.

It should compile (I didn't say work - depends upon the content).
Image
Avatar de l’utilisateur
critorAdmin
Niveau 19: CU (Créateur Universel)
Niveau 19: CU (Créateur Universel)
Prochain niv.: 42.4%
 
Messages: 41497
Images: 14640
Inscription: 25 Oct 2008, 00:00
Localisation: Montpellier
Genre: Homme
Calculatrice(s):
MyCalcs profile
YouTube: critor3000
Twitter/X: critor2000
GitHub: critor

Re: Can I modify the boot splash image of ControlX?

Message non lude hikari_calyx » 03 Mar 2017, 13:20

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_SPLASH.bmp
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
Avatar de l’utilisateur
hikari_calyx
Niveau 3: MH (Membre Habitué)
Niveau 3: MH (Membre Habitué)
Prochain niv.: 28%
 
Messages: 8
Inscription: 18 Avr 2015, 14:58
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: Can I modify the boot splash image of ControlX?

Message non lude Adriweb » 03 Mar 2017, 14:02

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.
Image

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...)
Avatar de l’utilisateur
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Prochain niv.: 80.2%
 
Messages: 14616
Images: 1218
Inscription: 01 Juin 2007, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Twitter/X: adriweb
GitHub: adriweb

Re: Can I modify the boot splash image of ControlX?

Message non lude hikari_calyx » 04 Mar 2017, 17:28

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.
Fichiers joints
compile_failure.jpg
Avatar de l’utilisateur
hikari_calyx
Niveau 3: MH (Membre Habitué)
Niveau 3: MH (Membre Habitué)
Prochain niv.: 28%
 
Messages: 8
Inscription: 18 Avr 2015, 14:58
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: Can I modify the boot splash image of ControlX?

Message non lude critor » 15 Mar 2017, 21:37

Great - have fun ! :bj:
Image
Avatar de l’utilisateur
critorAdmin
Niveau 19: CU (Créateur Universel)
Niveau 19: CU (Créateur Universel)
Prochain niv.: 42.4%
 
Messages: 41497
Images: 14640
Inscription: 25 Oct 2008, 00:00
Localisation: Montpellier
Genre: Homme
Calculatrice(s):
MyCalcs profile
YouTube: critor3000
Twitter/X: critor2000
GitHub: critor


Retourner vers Problèmes divers / Aide débutants

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 25 invités

-
Rechercher
-
Social TI-Planet
-
Sujets à la une
Comparaisons des meilleurs prix pour acheter sa calculatrice !
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
Phi NumWorks jailbreak
123
-
Faire un don / Premium
Pour plus de concours, de lots, de tests, nous aider à payer le serveur et les domaines...
Faire un don
Découvrez les avantages d'un compte donateur !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partenaires et pub
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
1431 utilisateurs:
>1398 invités
>28 membres
>5 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Autres sites intéressants
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)