PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Multiplayer on an emulation.

:idea: Why hasn't anyone come up with an Infared app to play multiplayer games for consoles like NES, SNES, GBA, etc.?
A pretty good question. I'd prefer an emu that works flawlessly (meaning full speed) before it has multiplayer, so many NES emus should be able to do that.

~Neszis~
:? Emulations at a perfect rate most emulations on state of the art PC's are still sound glitchy (Depending on the Emulation). I think in 2005 we will have PPC's with PPC 2005 and 800MHz processors then we will be able to play 64 like we play SNES on PPC 2003 and hopfuly NES will have full sound and SNES full sound.
N64 emulation isn't that easy...even my 500 mhz P3 with 8 MB Savage3 didn't run it that well...

Maybe we could concentrate on emulating PSX more efficiently first. By 2005, we will probably have 1 MB video cards max...yes we will have video cards by then.
There are a host of PC emulators that support netplay, however it's hard to find good network programmers willing to work for free, and it's not as simple as you think.
Slightly off topic... but in regards to N64 and PSX emulation, I ported my emu (TRWin) to PPC and the results were really bad. Here are the issues for the N64...

1) The N64 uses perspective correct texturing, which is *very* slow in software.
2) The N64 uses a Z Buffer which is slow in software.
3) The N64 has a complex color combiner, which is *amazingly* slow to emulate in software.
4) The N64 only has 4K of texture memory, which means it is constantly moving memory around to load new textures. This requires a big memory bandwidth, which is a weak point on the current PPC platforms... it was bad enough on the PC.
5) The N64 has a 64bit main CPU with floating point. The best PPC CPU is 32 bit with no floating point. While an advanced register caching dynarec engine will pretty much handle the basic MIPS at 90MHz, the lack of floating point support and limited 64bit operations is a killer.
6) The N64 uses a SIMD type DSP for geometry and audio processing, while both of these can (and are) emulated at a high level, the manner in which audio is processed is very, very CPU intensive.
7) The N64 has one of the best controllers around, with 14 buttons and an analog joystick. I implemented a stylus based joystick, soft buttons and used all the hardware buttons and it was tedious, at best, to play Mario64.

My Dell 400Mhz ran Mario64 at about 8fps best case and usually around 4fps. (It did manage to run a couple of demos and intros at full speed) When I ported TRWin, I also kept a PC build option, ie; dynarec compiled x86 code and a full software engine (it didn't use 3D hardware for rendering). My 1.5GHz PC runs most games at full speed, but just barely. That gives you an idea of just how intensive it is to emulate z-buffering, perspective correct textures, up to 8 lights, two-pass texturing, multi-blend/alpha modes etc, etc.

Now... for the PSX, it is a good bit different.

1) The PSX CPU doesn't have 64bit operations nor does it have floating point. It also runs at a very slow 33MHz, with super slow memory. The ARM can handle this all day long.
2) The PSX doesn't have perpective correct texturing or a Z-Buffer. It does have a decent amount of texture memory and most programs don't swap texture very much, so memory bandwidth is not a huge issue.
3) The PSX has a GTE (Graphics Transformation Engine) that handles most, if not all, of the 3D math. Fortunately, it is fixed point and is doable on the ARM, albeit slow.
4) The PSX has a texture triangle filler chip which greatly offloads the CPU of drawing operations. On the PPC this has to be down in software, which is pretty slow.
5) The PSX can, and often did, run at 640x480. Using High Level Emulation (HLE), this can be worked around, however the results are not always pretty.
6) The PSX is CD based, so there is a lot of data storage needed on the PPC.

I ported one of our PSX game to the PPC and it needed quite a bit of tweaking to get up to speed on a 400Mhz XScale. Thus I am confident that you couldn't emulate the PSX version of this game on the PPC. Of course, it was a very advanced game that took the PSX to the limit... so other games might work. You have to remember that the PSX could spit out 150K decent sized textured triangles per second. The PPC just can't handle this.

To emulate the PSX, the nextgen PPC would need the following:
1) Hardware transformation logic
2) Texture triangle filler (including triangle setup)

For the N64 you would also need the following:
1) Perspective correct texturing
2) Z-Buffer
3) Floating point on the ARM
4) More and better buttons/controls

I hate to be a drag, and I know others are saying that PSX emulation is doable, but I really don't think you will see full speed PSX emulation on this generation of hardware. It is my impression that the nextgen hardware will include the needed texturing support, but probably not the transformation support or floating point. Given that, I would say the PSX emulation will be possible for games that didn't take the PSX to its limit. Of course you are still going to need better buttons/controls. Also a bigger screen and more storage would be nice. By the time you get all of that, the PSP (Playstation portable) will be out and it might well play PSX games.

Cheers,

rcp
I remember playing zelda with UltraHLE on a P100/Voodoo1 system?(cannot remember but it was pretty modest)some years back.
Then everyone move to Xp and we need 1.5Ghz.
Alex wrote:
By 2005, we will probably have 1 MB video cards max...yes we will have video cards by then.
Can I get some of that crystal ball action, too?

(p.s. we've already got 600KB video chips in PocketPCs right now. I hope we never get video cards, though. I just don't see an AGP slot sitting in a PocketPC.)
James Sonne":s623hz05]


As much as Id like to play playstation games and n64 games on my ppc , I would rather ppc's stay the way they are right now.
I would not like to have a device with a big fan on the back of the device and 1 hour battery life just so I can play a n64 game with 2 tiny buttons.
ppc needs a major breakthrough in batterys which would allow long battery lifes but still have powerful chips.
If anyone says fuel cell I'll smack you. Fuel Cells are the worst idea ever.
I thought I read somewhere that fuel cell laptop batteries were being developed that ran for 40 hours. Whats your opposition to them, James?
Oh, here's the story:
http://zdnet.com.com/2100-1103_2-1022130.html

Edit: rcp, I would be very interested to see the N64 emu, no matter how slow it ran. I was always under the impression that N64 on the PPC was impossible. You don't happen to still have a copy? Also, what PSX game were you referring to? I'd be interested to see that as well if it's not too much to ask.
James Sonne wrote:
If anyone says fuel cell I'll smack you. Fuel Cells are the worst idea ever.


:lol:

What's wrong with them?

http://www.planetark.org/dailynewsstory ... /story.htm

You heard them, 40 consecutive hours.

Datalore: Beat me to it! :)
I don't want an exhaust dripping water out of the back of my laptop everywhere I go, personally. I don't want to carry mini hydrogen bombs with me to refuel my laptop. I don't want my laptop to explode when I drop it. I don't want to leak hydrogen into the atmosphere. I don't want my building to be filled with hydrogen fuel and pray that everyone obey's the "No Smoking" ... or any other form of heating or electrical current signs within my building.

And fuel cells for cars are even worse. They're wasting millions of dollars researching an inferior design. Research better combustion engines and we'd have 200hp 70mpg vehicles next year instead of 90hp 50mpg vehicles that explode when they get into a collision... oh the humanity!
Care to provide any places that say that the CONSUMER LEVEL fuel cells can explode? First I've EVER heard of this.
They're pure hydrogen! When will it not explode if exposed to fire or a spark? And refilling your laptop with hydrogen? How will that ever be safe? Like they'll ever let you have anything filled with hydrogen on a plane. I'd much rather just plug my laptop into a standard electrical outlet instead of having to buy some hydrogen refilling device.
The fuel cells themselves are smaller than a fingernail.
Fuel cells don't give off the emmisions of fossil fuels and they run off of a limitless source. Gasoline cars can explode in wrecks too. Especially Pintos.
Why am I doubtful that companies will make products that can explode easily, and leak everywhere?
When you get a hydrogen gas line into your house, then fuel cells might become practical. They'll never be close to the best option. Improving the combustion engine is the best option. My car is 160hp and runs at 38mpg, my highest economy was 42mpg. Fuel cell cars are about 90hp and get 52mpg. My car is twice as powerful but the economy is about 1/5th less. This is with today's conventional combustion technology. If we spent as much money improving upon the internal combustion engine we'd have much better gas mileage and more than twice the horsepower as fuel cells.

And again, mini-applications for fuel cells are far from practical. Show me the hydrogen line entering your house. No matter what you do Hydrogen will leak when refueling. It's lighter than O_2, it simply will get out. Tell me what makes you think hydrogen won't explode, as well. Gasoline isn't as flammable as hydrogen is, and leaking hydrogen into the atmosphere during refueling will cause more harm to the environment than CO.

Of course, I truly don't believe that emissions from vehicles is having any meaningful impact on the environment. Environmental changes are a natural phenomenon, and the environment is designed to fix itself, to evolve, and to adapt. I'm not saying "Screw Mother Earth." I'm just saying we shouldn't go nuts because our cars emit some molecules of carbon monoxide and ozone. If we spent money on making combustion engines more efficient then we'd be in the gold. But I don't believe that fuel cells are the answer.

And I noticed none of y'all said anything about the H_2O exhaust pipe on the laptop. I'm sure that will be pleasant.

(forgive me, for some reason I've become slightly dyslexic over the last two days. If there are misplaced words or spelling errors just figure them out.)
:/ From wireless multiplayer to Hydrogen bombs what a thread.
Datalore wrote:
Edit: rcp, I would be very interested to see the N64 emu, no matter how slow it ran. I was always under the impression that N64 on the PPC was impossible. You don't happen to still have a copy? Also, what PSX game were you referring to? I'd be interested to see that as well if it's not too much to ask.

At some point in time I will release "Pocket64" or whatever it is named at the time. This will probably be a XMas holidays type project, or a really cold weekend type thing. I've got several games that need to be released soon, so no free time to work on the emu now.

The PSX game is Virtual Pool 3. It will be released by XS Games sometime this month. Of course that is up to Sony... so who knows! ;)
The PPC port of Virtual Pool will be released in Beta form sometime this months as well. I'll have a beta signup somewhere in the forum when the time comes.

Cheers,

rcp
Why would releasing hydrogen to the atmosphere be harmful at all? Besides, hydrogen gas isn't propane. It doesn't explode that easily, especially when it's not in a closed container.
and actually fuel cells that run on methanol produces more Carbon dioxide than gasoline combustions engines, in the order of two magnitudes. All current fuel cells run on methanol.

And here is an article on the effect of hydrogen on the upper atmosphere caused by leaks from fuel cells either from punctures to the storage tanks or just from regular fueling activities.
http://www.h2cars.biz/artman/publish/article_180.shtml

Hydrogen also causes materials too embrittle materials, whichs means your laptop will fall apart faster.