Wednesday, July 19, 2006

R6 Released

I've got to keep this short as blogger.com is going down in 5 minutes :(

Change log:

[+] Added over 50 new combiner modes
[+] Added support for c-buttons
[+] Load roms from ms0:\N64 in addition to local roms directory
[!] Fixed backface culling issues
[!] Correctly implemented flipping to avoid flickering with certain roms
[!] Plugged memory leak in texture handling code, fixing various crashes
[!] Fixed issue which caused screenshot function to hang the emulator

You can grab it here.

For R6 I've mostly been focusing on fixing a number of graphical issues (namely adding combiner modes to popular roms). I've also managed to add a couple of nice usability improvements (in particular mapping the c buttons to the dpad, using the circle button to toggle back to the n64 dpad)*. I've also been able to track down a couple of bugs that affected stability.

I've still not decided what to concentrate my attention on for R7. The main areas are:


  • Speed

  • Compatibility

  • Graphics

  • Usability



These are all quite broad areas, but it would be good to get a feeling for what people are most interested in seeing improved. Any comments would be most appreciated.

-StrmnNrmn

* I should point out that I had dozens of people suggest this to me via email and through comments on this blog, so I can't take any credit for this idea :)

22 comments:

Zodionic said...

NOOOOOO Link not working!!!!!!

Zodionic said...

please fix the link :( it says not found on server ;(

StrmnNrmn said...

The link is working fine here. Direct links just in case:

v1.0
v1.5

Zodionic said...

Error

Invalid mirror selected

StrmnNrmn said...

I think it might take a few minutes for sourceforge to mirror the files across all its download servers. I only uploaded them around 20 minutes ago so it's probably worth waiting a few more minutes for it to sort itself out.

I've got to go to bed now, but just in case sourceforge doesn't sort itself out I've posted mirrors on RapidShade.de: v1.0, v1.5

StrmnNrmn said...

It's still usermode - I'll take a look at reenabling kernel mode at some point in the near future.

Amelia said...

got like 10 fps in mario 64 xD, i remeber that i only had 5 with the old emulator :). GJ.

I Realy like this project.

keep up the good work :) !.

calth12 said...

does it work on firmware 2.71???

StrmnNrmn said...

Thanks for all your comments guys. From a rough tally, I count the votes as:

1) Speed (11 votes)
2) Configurable buttons (6 votes)3) Stability/Compatibility (5 votes)
4) Various other options (1 vote each)

I may have over or undercounted, but it's pretty clear that improving speed is the most popular request.

I'm quite glad, because that's what I would have voted for too :)

So for R7 my main focus will be on improving the framerate further. I think adding configurable input should only take a couple of hours, so I'll try and fit that in along the way too. As for stability/compatibility I'll obviously be keeping my eyes out for any bugs I spot along the way.

There's lots of comments to reply to so apologies if I don't answer your specific question.

rynamwolfe: The purple/black textures are due to unimplemented combiners. Theoretically there are billions of possibilities for these, so I'm currently implementing them as I encounter them. You can help by emailing me the 'missing_mux.txt' file that appears in the Daedalus directory after playing a rom.

bigmace/zfb8: As I mention above I'm keen to make the buttons configurable. I would have liked to have implemented that for R6, but I knew that if I did I'd end up pushing the release back for another few days.

wally: Daedalus is pretty stable when it comes to unloading roms - I don't think this will be too hard to add after I've implemented an 'in-game' menu.
Also, try running Goldeneye with the dynarec disabled - that might help?

zfb8: I really like Pochi's icons too. I'll email him to see if he's happy for me to use them by default.

kekpsp: At the moment I think I would rather concentrate on optimisations that would improve performance for all the roms. Other people are more than welcome to look at doing this with the Daedalus source though!

tsurmaru: I work in London so I've been melting with the heat too. I was planning on getting a couple of hours work in on Daedalus this evening, but it's just too hot to think!
I think a couple of the compatibility problems people have mentioned in these comments (see jonesyxxiv's comment directly above for instance) are due to the current dynarec implementation. Hopefully as I work on it further I'll be reducing the bug count, rather than increasing it further :)

Urkel said...

yes, this emulator runs on 2.6, and strmnnrnm, I would love it if you could also include a frame skip and turbo mode option in your next release, and also, when do you think it will come out?

Morgan said...

Starfox 64 - Training mode works but crashes after mission briefing (I saw the arwings flying int he air then it crashes)10-12 FPS

Super Smash Bros. - Can't press start at the menu screen (the intro runs pretty good around 6-12 FPS)

Diddy Kong Racing - Purple and black textures then crashes after about 3 min (around 6-10 FPS)

Mario Party - You can enter the green tube to play the ACTUAL game then crashes (around 4-8 FPS)

Goldeneye - Doesn't Work (tried all settings)

Mario Kart - Runs good with some graphic errors but crashes about after 5min of play (raced for 29 seconds then crashes in a race, around 8-12 FPS)

StrmnNrmn when you can could you give me an explaination to why SSB won't go in game unless you turn the Dynrec off? Also please try to fix some memory leaks when your on R7. I love the speed idea but could you fit some time in for trying to fix the memory leaks because games you can only play for about 5min aren't very exciting to test.

Morgan said...

Nascar 99 - runs the intro fine but can't press start at the main screen (around 4-7 FPS)

Nascar 2000 - runs about the same as 99 but can't press start at main screen once again

Morgan said...

I have a 1.5 psp and I can't get goldeneye to even load, with dyna on or off. Do you have the triangle thing off?

Morgan said...

StrmnNrmn PLEASE TRY OUT NASCAR 99 THAT ROM RUNS ALMOST FULL SPEED! fps SAYS IT'S LOW BUT IT'S RUNNING GOOD. I COULDN'T GET PAST THE START MENU BECAUSE THE START BUTTON WASN'T WORKING BUT YOU MIGHT WANT TO EXPERIMENT WITH THIS ROM LIKE REALLY. NO GRAPHICAL ERRORS IT'S LIKE BETTER RUNNING THAN MARIO 64! (sorry for caps but you NEED to test this rom) Anyone else get past the menu in this one?

Morgan said...
This comment has been removed by a blog administrator.
Morgan said...

What this site has a thing about talking about roms? I don't care I have goldeneye so, but Nascar 99 runs pretty good. I guess I got excited since this was the first game I've seen run just about full speed. If StrmnNrmn could help me out so I could get past the start menu I would be greatly thankful. I want nascar on my psp and I can't wait tilll Sept. for Nascar 07! Please just email me your goldeneye be nice, I want to help test for StrmnNrmn so will you help me out?

Morgan said...

SCARS runs just about full but has graphical errors, Nascar 99 has 100% none and great speed I JUST NEED TO GET PAST THE MENU SCREEN!

Morgan said...

I'm sorry to ask this but I'm 99% sure, n64 roms you shouldn't zip them or anything right. They run the fastest as just the file, am I correct? I feel stupid asking this but please I just want to be 100%.

Morgan said...

First of all I don't need to calm down, because I think you don't have a 1.5 and run this emulator just a little slower than me becasue I get a solid 8-10 FPS in Nascar99. Call me a liar but it seems like I am getting better results in a couple of games! Here is evidence of me getting past the mission briefing in StarFox 64 and actually playing a part of the first level. I got past where I stopped taking screen shots but here's the evidence!

http://rapidshare.de/files/26753990/StarFox_64.zip.html


StrmnNrmn maybe you should have test for you because I get alot of good results with these games. Today I got alot further in Mario Kart 64 too. Enjoy guys!

StrmnNrmn said...

rohypnolrx: These are pretty much the same set of roms that I regularly test with (and have done over the past 8 years :), so they will probably be the ones I concentrate on first when it comes to improving compatibility.

exoskeletor: I haven't given sound much thought yet. As you mention, it's probably only worth starting to look at sound when the framerate is something closer to 20-30fps for some of the less intensitve roms (think Mario etc). In generally I think your timeline is pretty close to what I'm planning on doing.

kekpsp: Yup, it's running with everything clocked at the highest settings. Which is a shame as a nice 50% speedup for free would be great :)

kekpsp/morgan: Thanks for the compatibility notes. morgan: I think the problem with SSB lies with bugs in the Dyanrec code. I'll have to sit down for a couple of hours one evening and try and see why it's going wrong. I'm not aware of any other memory leaks at the moment (I'm sure there will be some though) - I suspect the crashes you're seeing are due to various other bugs which I'll try to fix as I come across.

wally: It would be very helpful of you to sort through the various missing_mux.txts for me - thanks :)
I think the main problem with Goldenye and dynarec are down to the way the rom is witten (it executes code from virtual memory (unlike most roms), and this causes a whole host of issues when it comes to handling exceptions when generating the dynarec code).

morgan: Regarding nascar I'll have a look at it and see if I can figure out what's going on.

morgan/johnybon: Sorry - I had to delete your comments as I can't allow this blog to be seen to be encouraging the exchange of roms - sorry.

Morgan said...

StrmnNrmn what do you think of those Starfox 64 screen shots I got, surprisingly guys the first level was very quick. It was faster than the training mode and then it froze but never shut off, and I could hit home and it went back home it was wierd. But yeah I'm going to continue in testing roms, but someone please that has a working goldeneye please email me. I would like to be able to test this game, I swear I have downloaded countless ones and no luck please I'm desprite! email: volcomstone463 I want to help strmnnrmn!

Morgan said...

*volcomstone463@aol.com