1 2
11 12 13
creaothceann
He/Him
Editor
Joined: 4/7/2005
Posts: 1874
Location: Germany
Sonia wrote:
Alyosha wrote:
Sorry Sonia but it looks like you just got unlucky :( I'll try to find some general optimizations that will at least get you back up to 1x speed in games like Kirby. A NES emulator not being able to hit 1x, even under abnormal conditions, just seems silly, there must be something I can do to get some better performance.
No need to worry, I might change computers soon enough. My plan is to buy a laptop with a i7-7700HQ 2.8GHz processor (3.8GHz with turbo boost), which should run NEShawk at the correct speed.
"laptop" and "gaming" are like polar opposites though... :p At least give it an SSD. (I see too many laptops every week that are a pain to work with because they have a HDD and not enough RAM to cache stuff.)
Sonia
She/Her
Joined: 12/6/2013
Posts: 435
Location: Brazil
creaothceann wrote:
"laptop" and "gaming" are like polar opposites though... :p At least give it an SSD. (I see too many laptops every week that are a pain to work with because they have a HDD and not enough RAM to cache stuff.)
Yeah, I know. I could buy a more powerful desktop computer for the same price, but I'd just like a laptop for convenience and ease of transportation. This one comes with a 256GB SSD, 1TB HDD and 16GB of RAM (which is double what I have on my current desktop computer).
creaothceann
He/Him
Editor
Joined: 4/7/2005
Posts: 1874
Location: Germany
Just for fun I tested SMB on my PC at home (Win10 Pro @ i7-4790K @ 4GHz) 0.0.0.1790: 186 fps 0.0.0.1791: 180 fps 0.0.0.1864: 179 fps 0.0.0.1864: ~3200 fps (QuickNES core)
Alyosha
He/Him
Editor, Emulator Coder, Expert player (3828)
Joined: 11/30/2014
Posts: 2834
Location: US
creaothceann wrote:
Just for fun I tested SMB on my PC at home (Win10 Pro @ i7-4790K @ 4GHz) 0.0.0.1790: 186 fps 0.0.0.1791: 180 fps 0.0.0.1864: 179 fps 0.0.0.1864: ~3200 fps (QuickNES core)
You win this round QuickNES.... I just added Mapper 114 support for Aladdin SuperGame. I also cleaned up NESHawk a bit, but it didn't speed anything up.
Sonia
She/Her
Joined: 12/6/2013
Posts: 435
Location: Brazil
So, I managed to get a new laptop from Black Friday and it finally arrived. Tested NESHawk and it goes up to 120~140fps. Definitely a huge improvement. :) By the way, I found a pretty serious bug on 2.2.1 (also happens on the latest developer build). Alyosha, please load Dragon Quest I and Dragon Quest II (Famicom versions, not Dragon Warrior) and you'll have a surprise. Basically, those games no longer have music. I imagine changing to single PPU ticks somehow broke their audio. 2.2.0 plays them perfectly. Emulators used: -Bizhawk 2.2.1 -Latest Developer Build (submitted 5 hours ago). No Intro ROMs used: -Dragon Quest (Japan).nes -Dragon Quest II - Akuryou no Kamigami (Japan).nes New laptop's information (if necessary):
Operating System Windows 10 Home Single Language 64-bit CPU Intel Core i7 7500U @ 2.70GHz 39 °C Kaby Lake-U/Y 14nm Technology RAM 16.0GB Dual-Channel Unknown @ 1064MHz (15-15-15-35) Motherboard Acer Captain_SK (U3E1) 40 °C Graphics Generic PnP Monitor (1920x1080@60Hz) Intel HD Graphics 620 (Acer Incorporated [ALI]) 4095MB NVIDIA GeForce 940MX (Acer Incorporated [ALI]) 37 °C ForceWare version: 376.54 SLI Disabled Storage 931GB Western Digital WDC WD10JPVX-22JC3T0 (SATA) 35 °C Optical Drives No optical disk drives detected Audio Realtek High Definition Audio
Alyosha
He/Him
Editor, Emulator Coder, Expert player (3828)
Joined: 11/30/2014
Posts: 2834
Location: US
Cool, glad you are getting some decent speed again. :)
By the way, I found a pretty serious bug on 2.2.1 (also happens on the latest developer build). Alyosha, please load Dragon Quest I and Dragon Quest II (Famicom versions, not Dragon Warrior) and you'll have a surprise.
Fixed. Thanks for the report. That was quite an obvious one, how did I miss that. OTL
Sonia
She/Her
Joined: 12/6/2013
Posts: 435
Location: Brazil
There's a strange thing with another game: Silva Saga. Basically, when you start the game, 3 save files are automatically generated regardless if you have SaveRAM present or not. That's how it looks like: As it can be seen, there are 3 save files at Level 1. If you load any of them, then you're stuck in an ocean and can't go anywhere, unless if you reset the game: It's easily fixable by deleting those files, but is that really the intended behavior? I'm pretty sure the ROM isn't a bad dump as I used the No Intro one and tested it on several emulators. Different emulators gave me different results: Mesen, puNES, Nestopia and BizHawk 2.2.1 all generate the 3 save files, but BizHawk 1.13.1 for some reason doesn't. The strangeness of this game has been discussed on a couple topics before: http://forums.no-intro.org/viewtopic.php?f=2&t=1552 https://forums.nesdev.com/viewtopic.php?f=11&t=11045 Now the question is, which would be considered an emulator bug: generating those 3 saves or not generating them?
adelikat
He/Him
Emulator Coder, Site Developer, Site Owner, Expert player (3576)
Joined: 11/3/2004
Posts: 4754
Location: Tennessee
Is this a NES or a FDS game?
It's hard to look this good. My TAS projects
Sonia
She/Her
Joined: 12/6/2013
Posts: 435
Location: Brazil
NES.
Alyosha
He/Him
Editor, Emulator Coder, Expert player (3828)
Joined: 11/30/2014
Posts: 2834
Location: US
That's interesting. Based on the comments in those threads, it probably expects un-initialized data to be in a certain form, and BizHawk is probably not doing what it expects. I'll look through and see if this is the case, and set things up properly if needed. EDIT: the game thinks WRAM initialized with 0 is some kind of valid data. initializing instead to 0xFF does not have any files when the game loads, so this seems to be the solution here. I jus commited a Hash based check to make this the case for this game.
Sonia
She/Her
Joined: 12/6/2013
Posts: 435
Location: Brazil
Thanks for the fix, Alyosha. You might want to take a look at this FDS game as well: Silviana - Ai Ippai no Little Angel (Japan) (b) SHA1:3FB093609AA37052F991DFB905609B0F51932209 MD5:C75858DD4AE3A747264A4073269FA6E2 NESHawk only gives it a black screen and no audio. Yes, it's a bad dump, but it works on Mesen and Nestopia.
Joined: 6/29/2016
Posts: 53
FYI, there's a list of games that have bugs where they rely on the state of uninitialized RAM here: http://wiki.nesdev.com/w/index.php/Game_bugs#Reliance_on_RAM_values I just added Silva Saga to it.
Alyosha
He/Him
Editor, Emulator Coder, Expert player (3828)
Joined: 11/30/2014
Posts: 2834
Location: US
Sonia wrote:
Thanks for the fix, Alyosha. You might want to take a look at this FDS game as well: Silviana - Ai Ippai no Little Angel (Japan) (b) SHA1:3FB093609AA37052F991DFB905609B0F51932209 MD5:C75858DD4AE3A747264A4073269FA6E2 NESHawk only gives it a black screen and no audio. Yes, it's a bad dump, but it works on Mesen and Nestopia.
Ok I'll take a look.
Sour wrote:
FYI, there's a list of games that have bugs where they rely on the state of uninitialized RAM here: http://wiki.nesdev.com/w/index.php/Game_bugs#Reliance_on_RAM_values I just added Silva Saga to it.
That's a handy list. Here are a couple of other games you can add to it that I have hard-coded into NESHawk:
Language: C++

if (cart.DB_GameInfo.Hash == "60FC5FA5B5ACCAF3AEFEBA73FC8BFFD3C4DAE558" // Camerica Golden 5 || cart.DB_GameInfo.Hash == "BAD382331C30B22A908DA4BFF2759C25113CC26A" // Camerica Golden 5 || cart.DB_GameInfo.Hash == "40409FEC8249EFDB772E6FFB2DCD41860C6CCA23" // Camerica Pegasus 4-in-1 ) { ram[0x701] = 0xFF; } if (cart.DB_GameInfo.Hash == "68ABE1E49C9E9CCEA978A48232432C252E5912C0") // Dancing Blocks { ram[0xEC] = 0; ram[0xED] = 0; }
The Camerica titles can't have 0x701 be 0, otherwise they won't boot (or will boot incorrectly.) For dancing block, those 2 addresses cannot both be 0xFF, but I forget exactly why. The game Cybernoid also relies on un-initialized RAM for several things, the most obvious one being whether or not music is playing at the start, as well as what difficulty is initially selected.
Alyosha
He/Him
Editor, Emulator Coder, Expert player (3828)
Joined: 11/30/2014
Posts: 2834
Location: US
I fixed Silviana. The FDS core was not setting $4032 bit 1 (disk ready status) correctly. I am pretty sure my fix is correct, but if anyone interested in FDS games can try some out and make sure there are no regressions I would appreciate it. So far I don't see any though.
Sonia
She/Her
Joined: 12/6/2013
Posts: 435
Location: Brazil
Thanks again, Alyosha. So, I went through the whole No Intro FDS library. I didn't test every single game thoroughly, but I made sure to check if they're all at least loading the title screen. That much is happening for all official games. I did go past the title screen onto actual gameplay on a lot of them though. All of the major/noteworthy titles are working fine, but a few of them had problems: Tobidase Daisakusen Gives a black screen after you push start to begin the game. Doki Doki Panic Gives a black screen after you swap disk side. Yuushi no Monshou - Deep Dungeon Gets stuck in an endless "Please Wait" screen after you create your name, start the game, and swap disk side. _________________________________________________ Those games are working, but potentially bugged: Famicom Grand Prix II - 3D Hot Rally The status screen below the vehicle blinks constantly. Time Twist - Rekishi no Katasumi de... - Zenpen The pink bordered window that shows up after you press start shakes constantly. _________________________________________________ And here is all of the unlicensed junk that seems broken in some way or another: Bodycon Quest Maybe there's nothing wrong with this one, but since it's one of the few double disk games, I can't figure how to make this work with the emulator. Fruits Mahjong series Also a bunch of double disk games. (Does NESHawk actually support those?) Golf - Bishoujo Classic Black screen after swapping to side B. Jingorou Black screen only. Kind Gal's Also double disk. Quick Hunter & Quick Hunter - Parameter Disk Vol.1 The former keeps stuck in an endless "Now Loading" screen, the latter is a black screen only. Souseiki Fammy - ROM-QD for 256K+64K Battery ERR.02. (I'm not even sure what this ROM is supposed to do exactly.) _________________________________________________ That's all I have to report.
Alyosha
He/Him
Editor, Emulator Coder, Expert player (3828)
Joined: 11/30/2014
Posts: 2834
Location: US
Woah cool, thank you for all the testing Sonia! This will greatly help me in sorting out FDS issues, obviously it isn't quite up to speed with the rest of NESHawk. Also I don't know anything about multi-disk compatibility, I didn't even know such games existed. EDIT: fixed grand prix II and time twist, those were just IRQs firing a couple cycles too early. I don't know why exactly IRQs should be delayed by a couple of CPU cycles, but this is the case for these games to display correctly. Other games that only show black screens all seem to have the same problem, in the same form. They scan through the disk but the disk reaches the end before the routine they are in finishes. They are IRQ based, so once the disk runs out there is no more IRQs happening so it just kind of loops forever. Not sure what the solution here is yet but once it's figured out all those games should work.
Player (172)
Joined: 7/1/2016
Posts: 263
Sonia wrote:
Famicom Grand Prix II - 3D Hot Rally The status screen below the vehicle blinks constantly.
Link to video Isn't black screens and other bs that happen when you swap disk sides still happens because when you do it from menu it's like frame perfect disk swap? Just add some empty frames between swaps (useful advises as always LUL)
Alyosha
He/Him
Editor, Emulator Coder, Expert player (3828)
Joined: 11/30/2014
Posts: 2834
Location: US
Occasionally yes black screens are due to that, but that isn't the case here, some black screens are happening without switching disk sides. I think it's related to the same issue as Graphical Editor Hosuki, where the game purposely reports an incorrect file length to lessen loading times, but I haven't had an opportunity to really sit down and sort it out yet. What is that video trying to demonstrate? @Sonia: Doki Doki Panic works fine for me, what version / hash are you using?
Sonia
She/Her
Joined: 12/6/2013
Posts: 435
Location: Brazil
Alyosha wrote:
@Sonia: Doki Doki Panic works fine for me, what version / hash are you using?
Yume Koujou Doki Doki Panic (Japan) SHA1:2D1F470D6E5A941F061A5E47D1E9C5999C59CFC3 MD5:99DB10C43ECEEA557CBFD7BA86377E8A
Alyosha
He/Him
Editor, Emulator Coder, Expert player (3828)
Joined: 11/30/2014
Posts: 2834
Location: US
Looks like this is a V2 of the game. It mis-reports the number of files for side B (0x13 instead fo the expected 0x14.) If I change it back to the expected 0x14, it works. This kind of trickery does not work well with how the core processes FDS files. I think the core will need to be re-worked to not get fooled by stuff like this, making it closer to how a real FDS actually behaves. It would be a pretty big re-write though, I can't give a timeline on when it might get done.
Post subject: [NesHawk] Can someone explain me this?
lu9
He/They
Joined: 3/28/2014
Posts: 27
Location: Brazil
Currently focused on PS1 games Looney Tunes: Sheep Raider / Sheep Dog 'N Wolf, and Toy Story 2: Buzz Lightyear to the Rescue.
Editor, Emulator Coder, Site Developer
Joined: 5/11/2011
Posts: 1108
Location: Murka
I'm not sure what I'm supposed to be seeing (or hearing?); crappily edited youtube videos with no explanation aren't the best means of discourse. Still, I don't doubt that there could be some emulation flaws; the 100% is just 100% of some random set of tests, and no one is claiming NESHawk is perfect except in your strawman. Post a detailed bug report to the github issue tracker if you want to help.
mz
Emulator Coder, Player (79)
Joined: 10/26/2007
Posts: 693
natt wrote:
crappily edited youtube videos with no explanation
I think it was pretty clear from the video that NESHawk sounded like shit. If several sentences, a huge red overlay during the bug and a repetition of the sound for several times at the end of the video is "no explanation", maybe the problem isn't just the "crappily edited youtube video"...
You're just fucking stupid, everyone hates you, sorry to tell you the truth. no one likes you, you're someone pretentious and TASes only to be on speed game, but don't have any hope, you won't get there.
Spikestuff
They/Them
Editor, Publisher, Expert player (2656)
Joined: 10/12/2011
Posts: 6449
Location: The land down under.
As stated by natt, these are following very random set of tests. When accounting for the full list like Mesen. BizHawk is within the 90% range with those tests (last updated 18th June 2017). (Also puNES is around 80% since you did show it off in your little video there.) Also 2 things. What version of Hawk? Did you check QuickNES core? (Or are you accidentally using QuickNES.)
WebNations/Sabih wrote:
+fsvgm777 never censoring anything.
Disables Comments and Ratings for the YouTube account. Something better for yourself and also others.
lu9
He/They
Joined: 3/28/2014
Posts: 27
Location: Brazil
Spikestuff wrote:
As stated by natt, these are following very random set of tests. When accounting for the full list like Mesen. BizHawk is within the 90% range with those tests (last updated 18th June 2017). (Also puNES is around 80% since you did show it off in your little video there.) Also 2 things. What version of Hawk? Did you check QuickNES core? (Or are you accidentally using QuickNES.)
latest version, QuickNES was not checked. QuickNES properly plays the sound
Currently focused on PS1 games Looney Tunes: Sheep Raider / Sheep Dog 'N Wolf, and Toy Story 2: Buzz Lightyear to the Rescue.
1 2
11 12 13