Discussion Resurrecting Nuance

The Helper

Necromancy Power over 9000
Staff member
Reaction score
1,701
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,701
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,701
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,701
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,701
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: 141
  • winXP-diff.txt
    47.7 KB · Views: 134

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: 147

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: 140
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      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