News for hackers. Stuff that matters.
Re:N64js: an N64 emulator in JavaScript by k-mcgrady on Thursday August 16, 2012 @05:11AM (#4390531)
Tried it with two different ROM formats .z64 and .v64 and it wouldn't run.

Edit: I took a look at the technical information on his blog[1] and found:

"It's still far from being playable. I mean, you can run around in Super Mario 64, but it's not particularly enjoyable. Various other games boot, but there are lots of bugs, graphics glitches and slowness. Realistically, I think it's going to be a long time before enough of these issues are fixed that n64js could be considered 'usable'."

Still, cool that he got it working at all.

[1]http://n64js.blogspot.co.uk/

Re:N64js: an N64 emulator in JavaScript by Sarkie on Thursday August 16, 2012 @05:22AM (#4390562)
Tried it with a Super Mario 64.z64 and it worked, but died with a Wave Race.v64.

Atwood's Law again.

Re:N64js: an N64 emulator in JavaScript by k-mcgrady on Thursday August 16, 2012 @05:24AM (#4390568)
Yeh, I was using Diddy Kong Racing and it failed with both formats. It's tempted me to get my N64 down from the attic though :)
Re:N64js: an N64 emulator in JavaScript by Sarkie on Thursday August 16, 2012 @05:36AM (#4390601)
I think most N64 emulator devs start with Mario 64 as it was one of the first games and probably most documented.

Coincidentally, I've been looking at this https://github.com/paulscode/mupen64plus-ae/ for my phone, it works fine on my Android tablet.

Re:N64js: an N64 emulator in JavaScript by pholden on Thursday August 16, 2012 @06:54AM (#4390723)
Hi - I wrote n64js.

Yes, it's true that Super Mario 64 is one of the easiest roms to get running as it uses relatively few features.

The format (z64 vs v64) shouldn't matter - I byteswap the file on load. I don't handle compressed roms though.

A few other roms that should boot: mario kart, wetrix, aeroguage, extreme-g, pilot wings, star fox. I haven't tested many others yet - let me know if you have success with anything else!

One thing to bear in mind: reload the page when you switch roms. There's some state I'm not resetting properly which breaks everything quite horribly. Sorry for the lameness - I'll try to get this fixed ASAP.

If you open the debug pane, you should get some debug output which gives you some clue as to why the rom failed to boot (usually unhandled memory accesses, unimplemented save format, unimplemented instruction, something like that). For the games that do boot, there are still some cpu bugs which prevent them from passing the CIC-chip's CRC check. E.g. GoldenEye and Zelda OoT both seem to fail in this way.

Re:N64js: an N64 emulator in JavaScript by BruuD on Thursday August 16, 2012 @07:37AM (#4390773)
You're awesome dude. Hope you get to finish this project!
Re:N64js: an N64 emulator in JavaScript by polshaw on Thursday August 16, 2012 @08:52AM (#4390911)
For some perspective, i remember running 'core64' running mario64 full speed on a 200mhz pentium, although IIRC that was all it would run.
Re:N64js: an N64 emulator in JavaScript by blobert on Thursday August 16, 2012 @10:24AM (#4391356)
I believe you are referring to Corn: http://en.wikipedia.org/wiki/Corn_(emulator)

Running around in Mario 64 on a Celeron 233 with 3d being rendered in software blew my mind.

Re:N64js: an N64 emulator in JavaScript by jonny_eh on Thursday August 16, 2012 @12:34PM (#4392154)
I remember UltraHLE, it came out in 99! http://en.wikipedia.org/wiki/UltraHLE
Re:N64js: an N64 emulator in JavaScript by mratzloff on Thursday August 16, 2012 @07:21PM (#4394187)
Star Fox 64 took awhile to get started but then the intro was going at full speed and looked good. Once it got to the start screen things slowed down again and become unplayable. Still, pretty impressive!