Resurrecting Nuance

Stephen

NUON Lover!
Reaction score
73
Damn that's cool! I have all the SDK samples built but I don;t think my dumb ass made a list of ones I know that do not work.

Sorry I do not know the answer to your question regarding the emulator source.
 

cubanral

Stuck in the Tempest
Staff member
Reaction score
16
Is https://github.com/andkrau/NuanceResurrection the most recent+active version of the codeline? I have a set of small fixes that get the MGL demos from the SDK working (They sort of work in Nuance 0.5.1, but the display is messed up, and don't work at all in 0.6.1). Well I've submitted a pull request. We'll see if anyone responds.
Yep, the commits from July are the most recent. I've done some stuff since then, but was really just experiments at sacrificing audio quality for the sake of stability. It was definitely not something worth committing.

I've merged your commit. I didn't notice any regressions when I tried it with commercial titles.
 

cubanismo

You may change this now in User CP
Reaction score
46
Turns out Nuance isn't actually rendering that image right. It's just a lot better than the blank screen it got before. It's not handling the texture mapping properly. It's just repeating some line (probably the first line) of each texture across the entire span, which for most textures in the room demo, actually looks pretty close to OK. However, I noticed it right away last week when testing my own code with some test textures purposely designed to show errors like this. I ordered some NOS high quality Sony CD-RW discs and verified the MGL code renders textures correctly on real HW (I'll post images of a correctly-rendered room demo for comparison soon when I have a Nuon hooked up to video capture again), so there's a more subtle bug in Nuance's handling of the MGL 3D library somewhere. Also, if you make the textures larger than 32x32, you either get a completely corrupted screen (at 64x64), or an error about an unhandled DMA operation from the Nuance BIOS handler code (128x128). Still need to verify those texture dimensions work on real hardware, but MGL claims support for up to 1024x1024 textures in its documentation.
 

The Helper

Necromancy Power over 9000
Staff member
Reaction score
1,556
Cool! Lets get toxie back in the mix! Also toxie, the Discord has alot of chat about the emulator and the people working on it talk alot there. The link to the Discord is on the right hand side of the forum above the chat.
 

toxie

You may change this now in User CP
Reaction score
40
I need to use so much slack, discord, teams, etc during the day that i try to stay away from it in my spare time, but lets see.

I also tried the new changes, but unfortunately T3K still hangs from time to time for me, but its also not worse than before, so all looking fine to me. ;)
 

cubanral

Stuck in the Tempest
Staff member
Reaction score
16
If yes, would you be okay with adding me to be able to do commits directly? https://github.com/toxieainc/
(and if you're up to it, maybe link my account to my existing commits?)
Thanks!
Welcome back!

All set on both counts. Make sure to grab the source again as rewriting the commit history tends to goof things up.

Using a timer rate for the audio that is some rather large multiple of the video timer rate does reduce crashing. Sadly, this ends up being unlistenable as the audio has to play close to half as much as it should be to eliminate the crashes. It is almost as if the audio interrupt has to be delayed in certain cases, but I've never figured out what those cases may be.
 

toxie

You may change this now in User CP
Reaction score
40
Thanks a lot! Some commits got lost, but i'll just re-submit then.
 

toxie

You may change this now in User CP
Reaction score
40
Good news! I found one more source for the hangs/memory corruptions, so now one can finally enter (and finish!) Merlin Racings Arcade mode. This was also one of the sources that makes T3K hang, BUT unfortunately not the most prominent one, so T3K is still very buggy. :/

Downside: This makes emulation a bit(!) more demanding, but i'm still looking into how one could improve speed again.
 

cubanral

Stuck in the Tempest
Staff member
Reaction score
16
Good news! I found one more source for the hangs/memory corruptions, so now one can finally enter (and finish!) Merlin Racings Arcade mode. This was also one of the sources that makes T3K hang, BUT unfortunately not the most prominent one, so T3K is still very buggy. :/

Downside: This makes emulation a bit(!) more demanding, but i'm still looking into how one could improve speed again.
That is amazing to hear! I'm looking forward to seeing it.
 

toxie

You may change this now in User CP
Reaction score
40
Changes are commited now. Performance should also be roughly the same as before (0.6.2) again. Sometimes (peaks) its a bit slower, most of the time even a tiny bit faster.

..oh, and to the coders in here: Please review my changes if something is now fishy..
 

Stephen

NUON Lover!
Reaction score
73
I'll grab the latest version and run through all the SDK demos sometime this weekend. I'll let you know if I find any issues.
 

Stephen

NUON Lover!
Reaction score
73
Can you compile the Nuance proj on your own?
I've never tried - I'll take a look. I currently have Visual Studio 2022 and VS Code on my machine, as well as the (irrelevant for this case) gcc compiler in the Nuon SDK.

I've downloaded the source, and Visual Studio is currently updatng (I never installed stuff for C++). I'll let you know once I am able to run the build.

Success - I am now able to build Nuance from source.
 
Last edited:

cubanral

Stuck in the Tempest
Staff member
Reaction score
16
And Merlin Racing adventure mode now also works :)
I didn't experience a single crash when playing Merlin Racing quite a bit.

Even though Tempest 3000 still requires going to vector test before playing, I didn't experience the crash that requires going to the the music test before playing. I didn't have any crashes before getting a game over. Are the seemingly random crashes gone or was I just lucky?

This definitely appears to be the biggest update as far as "crashiness" goes.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • jonas jonas:
    Is the school system in your country similar to Chinese school system? I could never imagine being a teacher in a Chinese school, what's expected of students and teachers is just so different from what I'd be looking for as a teacher
  • vypur85 vypur85:
    A Levels is based on the UK syllabus offered internationally. So the syllabus is similar throughout different countries, taught in english.
  • vypur85 vypur85:
    I can't speak or write or read much chinese... Too difficult....... Which also makes my life here in china a lil difficult.
  • jonas jonas:
    Oh, I see. I thought Chinese version of A-levels :D
  • jonas jonas:
    I've been using the translate app a lot on my phone. take a photo, translate. take another photo, translate again :D
  • jonas jonas:
    it also has voice translation, my colleagues sometimes use that
  • jonas jonas:
    You came during the 0 covid policy right? How'd you get through quarantine? Did you have some help with the apps and green codes?
  • tom_mai78101 tom_mai78101:
    If you have any Chinese you need help with, let me know.
    +1
  • vypur85 vypur85:
    @jonas Those were the things I did too. Translate app and VPN are always the most important things to have to survive. Lol.
  • vypur85 vypur85:
    Yea I came last year. I was quarantined for about 30 days. Fml. The first day of my quarantine was the eve of Chinese new year last year. Fml again... Lol.
  • vypur85 vypur85:
    @tom_mai78101 IIRC you're from Taiwan right.
  • The Helper The Helper:
    I thought China had cracked down on having any foreign teachers?
  • vypur85 vypur85:
    Yeah I've heard of the news before. My school is still actively hiring foreign teachers. Not sure how things work now.
  • The Helper The Helper:
    yeah it is hard to get reliable information about that kind of stuff
  • The Helper The Helper:
    but you are doing it so it is still doable
  • vypur85 vypur85:
    I think it doesn't affect existing foreign teachers. Then again, its still weird that my school is hiring.
  • The Helper The Helper:
    Happy Monday people hope everyone has a fantastic week!
  • Ghan Ghan:
    Happy Monday?! That's a contradiction.
  • jonas jonas:
  • jonas jonas:
    please put this in the news section, it's crazy
  • tom_mai78101 tom_mai78101:
    Technically, you can post in the Headline News. Just posted your news there.
  • tom_mai78101 tom_mai78101:
    I'm not aware of you not being able to post news.
  • jonas jonas:
    I think technically I can I just forget how
    +1
  • The Helper The Helper:
    Happy Thursday!

    The Helper Discord

    Members online

    No members online now.

    Affiliates

    Hive Workshop NUON Dome World Editor Tutorials

    Network Sponsors

    Apex Steel Pipe - Buys and sells Steel Pipe.
    Top