π
<-

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?

Unread postby 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:
You do not have the required permissions to view the files attached to this post.
Last edited by hikari_calyx on 04 Mar 2017, 17:56, edited 1 time in total.
User avatar
hikari_calyx
Niveau 3: MH (Membre Habitué)
Niveau 3: MH (Membre Habitué)
Level up: 28%
 
Posts: 8
Joined: 18 Apr 2015, 14:58
Gender: Not specified
Calculator(s):
MyCalcs profile

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

Unread postby 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
User avatar
critorAdmin
Niveau 19: CU (Créateur Universel)
Niveau 19: CU (Créateur Universel)
Level up: 53.4%
 
Posts: 42394
Images: 17115
Joined: 25 Oct 2008, 00:00
Location: Montpellier
Gender: Male
Calculator(s):
MyCalcs profile
YouTube: critor3000
Twitter: critor2000
GitHub: critor

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

Unread postby hikari_calyx » 01 Mar 2017, 15:56

critor wrote: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: Select all
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: Select all
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?
User avatar
hikari_calyx
Niveau 3: MH (Membre Habitué)
Niveau 3: MH (Membre Habitué)
Level up: 28%
 
Posts: 8
Joined: 18 Apr 2015, 14:58
Gender: Not specified
Calculator(s):
MyCalcs profile

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

Unread postby 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
User avatar
critorAdmin
Niveau 19: CU (Créateur Universel)
Niveau 19: CU (Créateur Universel)
Level up: 53.4%
 
Posts: 42394
Images: 17115
Joined: 25 Oct 2008, 00:00
Location: Montpellier
Gender: Male
Calculator(s):
MyCalcs profile
YouTube: critor3000
Twitter: critor2000
GitHub: critor

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

Unread postby hikari_calyx » 03 Mar 2017, 13:20

critor wrote: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.
You do not have the required permissions to view the files attached to this post.
User avatar
hikari_calyx
Niveau 3: MH (Membre Habitué)
Niveau 3: MH (Membre Habitué)
Level up: 28%
 
Posts: 8
Joined: 18 Apr 2015, 14:58
Gender: Not specified
Calculator(s):
MyCalcs profile

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

Unread postby 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.

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...)
My calculator programs
Mes programmes pour calculatrices
User avatar
AdriwebAdmin
Niveau 16: CC2 (Commandeur des Calculatrices)
Niveau 16: CC2 (Commandeur des Calculatrices)
Level up: 79.9%
 
Posts: 14839
Images: 1131
Joined: 01 Jun 2007, 00:00
Location: France
Gender: Male
Calculator(s):
MyCalcs profile
Twitter: adriweb
GitHub: adriweb

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

Unread postby hikari_calyx » 04 Mar 2017, 17:28

critor wrote: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.
You do not have the required permissions to view the files attached to this post.
User avatar
hikari_calyx
Niveau 3: MH (Membre Habitué)
Niveau 3: MH (Membre Habitué)
Level up: 28%
 
Posts: 8
Joined: 18 Apr 2015, 14:58
Gender: Not specified
Calculator(s):
MyCalcs profile

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

Unread postby critor » 15 Mar 2017, 21:37

Great - have fun ! :bj:
Image
User avatar
critorAdmin
Niveau 19: CU (Créateur Universel)
Niveau 19: CU (Créateur Universel)
Level up: 53.4%
 
Posts: 42394
Images: 17115
Joined: 25 Oct 2008, 00:00
Location: Montpellier
Gender: Male
Calculator(s):
MyCalcs profile
YouTube: critor3000
Twitter: critor2000
GitHub: critor


Return to Problèmes divers / Aide débutants

Who is online

Users browsing this forum: ClaudeBot [spider] and 23 guests

-
Search
-
Social TI-Planet
-
Featured topics
Comparaisons des meilleurs prix pour acheter sa calculatrice !
"1 calculatrice pour tous", le programme solidaire de Texas Instruments. Reçois gratuitement et sans aucune obligation d'achat, 5 calculatrices couleur programmables en Python à donner aux élèves les plus nécessiteux de ton lycée. Tu peux recevoir au choix 5 TI-82 Advanced Edition Python ou bien 5 TI-83 Premium CE Edition Python.
Enseignant(e), reçois gratuitement 1 exemplaire de test de la TI-82 Advanced Edition Python. À demander d'ici le 31 décembre 2024.
Aidez la communauté à documenter les révisions matérielles en listant vos calculatrices graphiques !
1234
-
Donations / Premium
For more contests, prizes, reviews, helping us pay the server and domains...
Donate
Discover the the advantages of a donor account !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partner and ad
Notre partenaire Jarrety Calculatrices à acheter chez Calcuso
-
Stats.
2662 utilisateurs:
>2641 invités
>14 membres
>7 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Other interesting websites
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)