Discussion Resurrecting Nuance

The Helper

Necromancy Power over 9000
Staff member
Reaction score
1,697
That is very cool. What tools do you use to compile? Is it the latest Visual Studio?

I do not know where the latest version of the Emulator should go I know there is a source forge

 

The Helper

Necromancy Power over 9000
Staff member
Reaction score
1,697
Hey toxie are you there? Where can people upload the changes they made like dvhsfan did to the emulator fixing warning messages? What it is the central repository that we are going to use? I have noticed a great deal of activity in the web stat logs on this thread from my NUON update I made so I imagine there might be other people looking at it. We should have the sharing thing all set up before hand if possible. I do not know what is best for a project like this. Help?
 

The Helper

Necromancy Power over 9000
Staff member
Reaction score
1,697
I wish I could have gotten further with it. The changes toxie has done make the code a lot more understandable. Still, no matter how many times I refactor things, I end up with the same crashes.

I don't have a very good understanding of the video interrupts. I tried to form some sort of relationship between the audio/video interrupts but the video just kept chugging along as if I wasn't even making changes. The audio seemed a lot more straightforward. Should the CPU effectively stall until the audio buffers are cleared?...who knows! It is such a high level emulation that things aren't really happening anywhere near how they originally did, including the ordering of some operations given the crashes. While it is nice to not have to think about timing, clearly there is something needed to give it some semblance of the original timing in at least in a couple circumstances. This emulator is especially frustrating since it is seemingly so close to making these games fully playable.

Do you know anyone in the emulator community that can help?
 

cubanral

Stuck in the Tempest
Staff member
Reaction score
16
I downloaded toxie's code for the emulator. I cleaned up a bunch of Visual Studio warnings. Not sure how to feed back the changes to toxie or whoever else is working on it. So, if you would like the cleaned up code, tell me how/where you want it uploaded.
This doesn't fix any bugs or features, just gets a cleaner build.
I can definitely rebase my repo on toxie's changes from March. I ended up making a bit of a mess merging his changes. What I've done so far is mainly remove anything related to the non-functional cycle based emulation. With the hundreds of changes I've probably tried by now, I haven't fixed either of the crashes in Tempest 3000. Which version of Visual Studio did you use?

Do you know anyone in the emulator community that can help?
Nope, not a scene I'm involved in.
 

The Helper

Necromancy Power over 9000
Staff member
Reaction score
1,697
I can definitely rebase my repo on toxie's changes from March. I ended up making a bit of a mess merging his changes. What I've done so far is mainly remove anything related to the non-functional cycle based emulation. With the hundreds of changes I've probably tried by now, I haven't fixed either of the crashes in Tempest 3000. Which version of Visual Studio did you use?


Nope, not a scene I'm involved in.

That is awesome! I love it. Please guys get together in some collaborative thing and share with us so we can all do it. You guys do not want to waste work. We need to work this out so we are working towards common goals.
 

dvhsfan

New Member
Reaction score
5
Which version of Visual Studio did you use?

Visual Studio 2019. Almost all of the warnings are gone. Only a few left. These were in the Nuance debugging code.
Looking forward to merging and producing a better emulator.
Would need to have instructions on performing the merge and uploading.
 

dvhsfan

New Member
Reaction score
5
If anyone could add the _LoadGame bios calls that would be amazing! Would help me with testing code so much.
Being a NOOB to Nuon, is _LoadGame in some document ?
I MIGHT be able to add this call.
EdgeConnector, what are you testing and what are the results ?
 

cubanral

Stuck in the Tempest
Staff member
Reaction score
16
Visual Studio 2019. Almost all of the warnings are gone. Only a few left. These were in the Nuance debugging code.
Looking forward to merging and producing a better emulator.
Would need to have instructions on performing the merge and uploading.

Great, I'll use that too. I replied to your private message with further details.
 

EdgeConnector

NUON Legend!
Reaction score
39
Being a NOOB to Nuon, is _LoadGame in some document ?
I MIGHT be able to add this call.
EdgeConnector, what are you testing and what are the results ?

It’s documented in SDK docs. It’s a bios call that will load the specified title from dvd by file name. Only works for signed files which should not be a problem now. It is also documented in the Nuance documentation as not implemented. This makes sense because no one could sign the binaries.
 

cubanral

Stuck in the Tempest
Staff member
Reaction score
16
It looks like these files were removed. Would certainly still like to take a look at it though.
 

mgarcia

You may change this now in User CP
Reaction score
48
it was removed because it found two viruses in the codebase (the exe's NuanceResurrection-master/external/fmod-3.75/samples/multiple/multiple.exe and fmod-3.75/tools/asioconfig.exe )

here's the report link I got:
I doubt it's an fmod issue, I noticed nudism.exe in both the old NuanceExperimental and resurrection but didn't think much of it (i'm not familiar with the code base)... doing a grep in the old archive, nudism isn't mentioned, so that's probably where it came from... not 100% sure tho, I'm going to scan my VM before uploading anything from it tho.
 
Last edited:

cubanral

Stuck in the Tempest
Staff member
Reaction score
16
I doubt it's an fmod issue, I noticed nudism.exe in both the old NuanceExperimental and resurrection but didn't think much of it (i'm not familiar with the code base)... doing a grep in the old archive, nudism isn't mentioned, so that's probably where it came from... not 100% sure tho, I'm going to scan my VM before uploading anything from it tho.

Nudism is a disassembler. I'm unsure why it started being included in the codebase. It should probably be removed from the repo as it isn't used. I removed some non-referenced source files and old builds from the repo already. Thoughts?
 

Stephen

NUON Lover!
Reaction score
95
It might be cool to see disassembled code, but I'm sure it would be impossible to understand so probably of limited use.
 

The Helper

Necromancy Power over 9000
Staff member
Reaction score
1,697
It might be there to watch code values, or was going to like a debug view where you can see memory and values like in other emulators.
 

mgarcia

You may change this now in User CP
Reaction score
48
Nudism is a disassembler. I'm unsure why it started being included in the codebase. It should probably be removed from the repo as it isn't used. I removed some non-referenced source files and old builds from the repo already. Thoughts?
It's up to you, it's just a weird name! LOL
I've never uploaded win executables to archive before and didn't know it scans files like that.
I mounted the VM and ran ClamAV it didn't find any virus reported.
I also ran it in my NUON download/upload folder and zero virus found


Attached are the winXP build I use, it's about 10-20% slower in winXP compared to win7 VMware machine.

Download zip file of NuanceResurrection from github (https://github.com/andkrau/NuanceResurrection)
Copy and overwrite the attached files into the root folder.

2 out of all their anti virus vendors found a virus in my MSVC2010 executable:

The diff txt has the changes I made (mostly newer C++ hacks and boost for mutex), search for mgarcia.
I don't recommend changing your code base tho, it's fine as is.
 

Attachments

  • NuanceResurrection-winXP-compatible-files.zip
    421.6 KB · Views: 131
  • winXP-diff.txt
    47.7 KB · Views: 123

cubanral

Stuck in the Tempest
Staff member
Reaction score
16
Attached are the winXP build I use, it's about 10-20% slower in winXP compared to win7 VMware machine.
Cool that you got it working under XP!

New build is attached to this post. Compatibility is expected to be the same. There should be less audio clipping (buffer underflow?). Let me know if any regressions are noticed. Thanks to dvhsfan for all of their commits.

Changes since Toxie's last commit:
  • Make sure enough time passed between audio interrupts
  • remove disassembler binary
  • Schedule audio interrupts in the same manner as the other interrupts
  • dvhsfan: further safety improvements
  • Correctly set DST
  • safe string and file handling
  • dvhsfan: correct bufSize detection in PrintInstructionCachePacket
  • ignore .user, .vs, debug/ and release/
  • Convert remaining printHandlers to make use of the buffer size
  • Remove old builds
  • Remove bUseCycleBasedTiming
  • Remove use of ProcessCycleBasedEvents
  • Make buffer size selection more straightforward
  • Remove unused files
  • dvhsfan: compiler warnings and general cleanup
 

Attachments

  • Nuance_0611.zip
    1.3 MB · Views: 136

Stephen

NUON Lover!
Reaction score
95
Just build my first new PC in nearly a decade. Looking forward to trying the emulator and seeing how it performs on this rig (and also if it will work on a Windows 11 system). Pretty beefy system - i9-12900, 64GB DDR5-5600 RAM, GTX3070 vid card (waiting impatiently on the 4k series).

WOW - ok, runs the emu at a rock solid 60FPS and my breakout game works perfectly. Can't wait to try out some other stuff. This is high motiviation to revisit some of my old code.
 
Last edited:

cubanismo

You may change this now in User CP
Reaction score
86
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). Pic of working "room" sample attached!
 

Attachments

  • nuance_mgl_room.png
    nuance_mgl_room.png
    208.8 KB · Views: 126
General chit-chat
Help Users
  • The Helper The Helper:
    Actually I was just playing with having some kind of mention of the food forum and recipes on the main page to test and see if it would engage some of those people to post something. It is just weird to get so much traffic and no engagement
  • The Helper The Helper:
    So what it really is me trying to implement some kind of better site navigation not change the whole theme of the site
  • Varine Varine:
    How can you tell the difference between real traffic and indexing or AI generation bots?
  • The Helper The Helper:
    The bots will show up as users online in the forum software but they do not show up in my stats tracking. I am sure there are bots in the stats but the way alot of the bots treat the site do not show up on the stats
  • Varine Varine:
    I want to build a filtration system for my 3d printer, and that shit is so much more complicated than I thought it would be
  • Varine Varine:
    Apparently ABS emits styrene particulates which can be like .2 micrometers, which idk if the VOC detectors I have can even catch that
  • Varine Varine:
    Anyway I need to get some of those sensors and two air pressure sensors installed before an after the filters, which I need to figure out how to calculate the necessary pressure for and I have yet to find anything that tells me how to actually do that, just the cfm ratings
  • Varine Varine:
    And then I have to set up an arduino board to read those sensors, which I also don't know very much about but I have a whole bunch of crash course things for that
  • Varine Varine:
    These sensors are also a lot more than I thought they would be. Like 5 to 10 each, idk why but I assumed they would be like 2 dollars
  • Varine Varine:
    Another issue I'm learning is that a lot of the air quality sensors don't work at very high ambient temperatures. I'm planning on heating this enclosure to like 60C or so, and that's the upper limit of their functionality
  • Varine Varine:
    Although I don't know if I need to actually actively heat it or just let the plate and hotend bring the ambient temp to whatever it will, but even then I need to figure out an exfiltration for hot air. I think I kind of know what to do but it's still fucking confusing
  • The Helper The Helper:
    Maybe you could find some of that information from AC tech - like how they detect freon and such
  • Varine Varine:
    That's mostly what I've been looking at
  • Varine Varine:
    I don't think I'm dealing with quite the same pressures though, at the very least its a significantly smaller system. For the time being I'm just going to put together a quick scrubby box though and hope it works good enough to not make my house toxic
  • Varine Varine:
    I mean I don't use this enough to pose any significant danger I don't think, but I would still rather not be throwing styrene all over the air
  • The Helper The Helper:
    New dessert added to recipes Southern Pecan Praline Cake https://www.thehelper.net/threads/recipe-southern-pecan-praline-cake.193555/
  • The Helper The Helper:
    Another bot invasion 493 members online most of them bots that do not show up on stats
  • Varine Varine:
    I'm looking at a solid 378 guests, but 3 members. Of which two are me and VSNES. The third is unlisted, which makes me think its a ghost.
    +1
  • The Helper The Helper:
    Some members choose invisibility mode
    +1
  • The Helper The Helper:
    I bitch about Xenforo sometimes but it really is full featured you just have to really know what you are doing to get the most out of it.
  • The Helper The Helper:
    It is just not easy to fix styles and customize but it definitely can be done
  • The Helper The Helper:
    I do know this - xenforo dropped the ball by not keeping the vbulletin reputation comments as a feature. The loss of the Reputation comments data when we switched to Xenforo really was the death knell for the site when it came to all the users that left. I know I missed it so much and I got way less interested in the site when that feature was gone and I run the site.
  • Blackveiled Blackveiled:
    People love rep, lol

      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