π
<-
Chat plein-écran
[^]

nQuake Testers needed

C, C++, ASM...

nQuake Testers needed

Message non lude rwill » 16 Mar 2022, 20:07

Hi !

I am currently trying to update nQuake so that it runs on newer NSpire OSes like 4.4. I noticed that some people are still downloading it from ticalc.org but its a lost cause because the version there likely only works for 3.1 and 3.6.

So anyway I put up some beta quality build here:
Code: Tout sélectionner
https://drive.google.com/drive/folders/1Hf4wsX5kJKqLnmyFItP76s4VqDUXrd8c


And put up the code on github here in case you want to build yourself or just want take a look how I changed things:
Code: Tout sélectionner
https://github.com/rwillenbacher/nquake


So it would be nice if someone can test this on his/her Nspire and report back with success/failure/bricked calc/house on fire and the OS and ndless version.

Thanks
Avatar de l’utilisateur
rwillProgrammeur
Niveau 2: MI2 (Membre Initié)
Niveau 2: MI2 (Membre Initié)
Prochain niv.: 53.3%
 
Messages: 8
Inscription: 16 Mar 2022, 19:07
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: nQuake Testers needed

Message non lude SlyVTT » 17 Mar 2022, 16:52

Hi rwill

just to confirm that the TI Planet version runs Ok right out of the box on CX II-T CAS with Ndless 5.2.0 (nspire firmware 5.2.0.771).

just got the usual warning for compatibility mode from Ndless at start.

Game runs just fine, just some visual glitches, no crash (at least during my game session).

Glitches mainly consist in white pixel appearing on the screen (not always at the same position but with a repetitive pattern (on the same line, horizontally spaced each other of ~75pixels). Nothing critical.

Hope it helps.

BR

Sly
Dernière édition par SlyVTT le 17 Mar 2022, 20:02, édité 1 fois.
Some works in progress :
The GUI Toolkit NF for nSpireMyShmup for fxCG-50Magic Light for Casio Graph 90+E
and
Magic Light for nSpire CX/CX-II
Simple Text Editor for nSpireOutRun for Casio Graph 90+E
95%
50%
100%
75%
100%
And more to come ... stay tuned
Avatar de l’utilisateur
SlyVTTPremium
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Prochain niv.: 43.1%
 
Messages: 484
Images: 31
Inscription: 19 Jan 2021, 09:41
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
GitHub: SlyVTT

Re: nQuake Testers needed

Message non lude Adriweb » 17 Mar 2022, 17:14

In any case, it should be better to build it with the very latest toolchain/SDK (speaking of which, it got an update yesterday) :)
What I had noticed with the latest release was that the display ok but with 4 groups of white frozen pixels mid-height on 1st launch - further launches are ok - no freeze on exit if correctly installed - freeze on exit if data files can't be found.

I will try the beta version :)
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: 14615
Images: 1218
Inscription: 01 Juin 2007, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Twitter/X: adriweb
GitHub: adriweb

Re: nQuake Testers needed

Message non lude rwill » 18 Mar 2022, 08:05

I am always scared of switching GCC versions because the more recent they are the more likely that some code shenanigans in the source will cause undefined behavior.

Unlucky me installed the ndless-sdk two days ago prior to Vogtinators update to the toolchain, so I installed it again. Executable size went from ~650k to ~590k at no performance change, which is nice. Switching from gcc 10.1 to 11.2 seems to not break things from a first quick check.

I was not aware that tiplanet has its own patched version of nQuake. I also found a version by gameblabla which he linked below one of his youtube videos. Would be nice if there is central place to get a fixed release and not everyone rolling their own. The tiplanet and gameblabla version both use the 16bit lcd mode. Is there a reason for that ? How is 8bit palette mode support working with more recent nSpire HW models ?
Avatar de l’utilisateur
rwillProgrammeur
Niveau 2: MI2 (Membre Initié)
Niveau 2: MI2 (Membre Initié)
Prochain niv.: 53.3%
 
Messages: 8
Inscription: 16 Mar 2022, 19:07
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: nQuake Testers needed

Message non lude SlyVTT » 18 Mar 2022, 09:00

Hello rwill,

to my knowledge 8bits mode works well for CX but not for CX-II hardware.
there is a quite old post here (sorry in French) from gameblabla / youri : https://tiplanet.org/forum/viewtopic.php?f=20&t=24452
Honestly I don't know if it has been fixed by Vogtinator and Cie in most recent Ndless update.

I would then propose to switch between 8bits/16bits mode depending on hardware configuration, using the is_cx2() boolean of Ndless.

definitely CX-II is powerfull enough to have 16bits rendering.

Ciao

Sly
Some works in progress :
The GUI Toolkit NF for nSpireMyShmup for fxCG-50Magic Light for Casio Graph 90+E
and
Magic Light for nSpire CX/CX-II
Simple Text Editor for nSpireOutRun for Casio Graph 90+E
95%
50%
100%
75%
100%
And more to come ... stay tuned
Avatar de l’utilisateur
SlyVTTPremium
Niveau 12: CP (Calculatrice sur Pattes)
Niveau 12: CP (Calculatrice sur Pattes)
Prochain niv.: 43.1%
 
Messages: 484
Images: 31
Inscription: 19 Jan 2021, 09:41
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
GitHub: SlyVTT

Re: nQuake Testers needed

Message non lude critor » 18 Mar 2022, 09:47

I think I remember the nQuake version we're hosting was patched by Vogtinator for the Ndless CX II release.
Image
Avatar de l’utilisateur
critorAdmin
Niveau 19: CU (Créateur Universel)
Niveau 19: CU (Créateur Universel)
Prochain niv.: 42.3%
 
Messages: 41496
Images: 14632
Inscription: 25 Oct 2008, 00:00
Localisation: Montpellier
Genre: Homme
Calculatrice(s):
MyCalcs profile
YouTube: critor3000
Twitter/X: critor2000
GitHub: critor

Re: nQuake Testers needed

Message non lude rwill » 18 Mar 2022, 10:49

I see.

Forget my beta build from the first post, I am going to change things around a bit.

*Edit*

Ok I pushed some changes to the github and updated the beta build nquake.prg.tns in the google drive folder. For normal CX it is now using the lcd interface and 8bit palette mode and for CX II it is using 16bpp direct framebuffer access.
Avatar de l’utilisateur
rwillProgrammeur
Niveau 2: MI2 (Membre Initié)
Niveau 2: MI2 (Membre Initié)
Prochain niv.: 53.3%
 
Messages: 8
Inscription: 16 Mar 2022, 19:07
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: nQuake Testers needed

Message non lude rwill » 19 Mar 2022, 08:00

So regarding the updated nquake.prg.tns in the Drive folder, I am pretty certain that it works ok on all non CX II models. Can someone with a CX II please try if it runs ok and do the following:

-> Start nQuake
-> Start a new game ( ESC to bring up menu, then Single Player -> New Game )
-> Open the console ('?!>' key)
-> Type "timedemo demo1" in the console and then ENTER. Once playback starts close the console with the '?!>' key.

And report back the seconds and FPS number it prints in the console once it is done with the demo playback ?

Thanks

(Parsimoniously me wants to avoid to buy a CX II)
Avatar de l’utilisateur
rwillProgrammeur
Niveau 2: MI2 (Membre Initié)
Niveau 2: MI2 (Membre Initié)
Prochain niv.: 53.3%
 
Messages: 8
Inscription: 16 Mar 2022, 19:07
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: nQuake Testers needed

Message non lude rwill » 13 Avr 2022, 12:17

So, I updated it on ticalc.org anyway....

https://www.ticalc.org/archives/files/fileinfo/460/46044.html
Avatar de l’utilisateur
rwillProgrammeur
Niveau 2: MI2 (Membre Initié)
Niveau 2: MI2 (Membre Initié)
Prochain niv.: 53.3%
 
Messages: 8
Inscription: 16 Mar 2022, 19:07
Genre: Non spécifié
Calculatrice(s):
MyCalcs profile

Re: nQuake Testers needed

Message non lude Adriweb » 13 Avr 2022, 12:28

Woops we got sidetracked I guess. I'm sure we will make a news about it though!
Nice job !
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: 14615
Images: 1218
Inscription: 01 Juin 2007, 00:00
Localisation: France
Genre: Homme
Calculatrice(s):
MyCalcs profile
Twitter/X: adriweb
GitHub: adriweb

Suivante

Retourner vers Native: Ndless, Linux, ...

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 17 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.
1376 utilisateurs:
>1345 invités
>25 membres
>6 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)