From DeSmuME
Revision as of 20:24, 3 April 2009 by (Talk)
Jump to: navigation, search

DesMuMe Faq


General Questions

Q. Why doesn't my desmume play this game?

  • A. Go to desmume.org and make sure you are using the latest version. Hint: desmume 0.8 is very old. Older versions will not be supported, under any circumstances.

Q. Why does this game fail to save?

  • A. Desmume's autodetection for save types is not very good. For now, you need to manually specify the correct save type for your game. Consult the manual for details on how to do this for your platform. We want to fix this, but there are no specific plans so far. You may also consult http://www.advanscene.com/ to easily identify the save type for your game.

Q. Why can't I find a mac binary?

  • A. There is no official 0.9.1 mac binary. We do not have a very active mac port maintainer. Volunteer yourself. Or wait for 0.9.2 where the windows release manager is going to give it a shot.

Q. Where can I report bugs?

  • A. In the official bug tracker; you may also request features around the same location, too, but in the other trackers.

* Q. How do I get the latest svn code and build desmume myself?

* For a Windows build, you first have to download and install Microsoft Visual C++ 2008 Express Editon and TortoiseSVN. But first, a warning: don't try this unless you know what you are doing, because odds are you will run into trouble or make a crappy build that will run slow. But for those of you that are gluttons for punishment: Next, make a folder that you want the desmume src to be in. Then right-click it and do svn checkout. Fill in: https://desmume.svn.sourceforge.net/svnroot/desmume. Then hit ok, and it should download the current src. Then, in desmume/src/windows, open Desmume2008.vcproj. Then visual studio should open up. Go to build > configuration manager and change it to Interim SSE2 (if you have a ghetto computer just try interim). Back in the main window, press f7 to compile. After the compile completes, the executable should be located in windows\__bins\DeSmuME_VS2008_sse2.exe or somesuch. Since desmume source code comes with the necessary directx files, installation of the directx sdk is unnecessary.

* For building in linux, make sure that you have a GCC compiler toolchain installed. Most Distributions provide for this by offering a 'development install' at install time. Then either download the latest source tarball from desmume.org or run the svn command to download the latest source. proceed by cd'ing to the source directory, and run ./autogen.sh. Next, run ./configure, make, and make install. Please note that 'make install' needs to be run as the root user.

* Q. Whats 'svn' ?

* A. svn is a developers tool. It's used to let multiple developers work on the same codebase without conflicts. If youre an end-user, don't worry about it. And if you're a developer, see the question on how to get the latest svn code and build desmume yourself.

* Q. It is hard to zoom in on a widescreen display due to the weird aspect ratio of the DS.

* A. In fact it is hard to zoom in on a 4:3 screen, too. Proposals involve tearing apart windows and floating them side by side or separately or something. This may happen one day, in the form of side by side windows.

* Q. Why does'nt my 3d openGL work in linux?

* A. View the threads HERE and HERE and HERE. Alternatively, wait for 0.9.2 which will have a software rasterizer

* Q. Why doesn't my 3d openGL work in windows?

* A. You are probably using an ATI video card. ATI driver support of OpenGL is known to be poor. Get an nvidia. Do not argue with that, we are professional programmers and know what we're talking about. Alternatively, wait for desmume 0.9.2 which will have a software rasterizer instead of having to rely on openGL.

* Q. Why doesn't a menu option or tool exist in my linux or mac build?

* A. Because making portable tools and platform harnesses are not our cup of tea and so a developer puts a feature into whichever ports he cares about. This policy is never going to change, although some features might migrate to other platforms over time.

* Q. Why does music sound bad sometimes?

* A. Most DS music is sequenced music, loaded from the cart to the ARM7 entirely when the level loads. This works fine. Your music that doesn't work is probably streaming music, which loads from the cart on the fly and goes straight to the speakers. This is much harder to emulate as it requires correct timing, which is not one of desmume's strengths right now. This may not be fixed for a while.

* Q. Why doesn't my game boot or progress into the main game engine?

* A. Desmume is not perfect yet. Some games may fail due to wifi emulation. Apparently if you search the web correctly you can find ways to patch games to work better on emulators.

* Q. What hardware features are emulated?

* A.

* All known 2d graphics features are correct. Mosaics work but are imperfect. There may be small issues with colors as the correct color bit depths are not used at all points in the pipeline.

* All 3d features are emulated, except for: tests, wireframes, edge marking, fog, and antialising. The opengl engine is near its limit and renders some things incorrectly. Eventually the software rasterizer (in 0.9.2+) will support more features and be far more precise in the basic features. Both engines have trouble with some shadows, but software rasterizer is better. Software rasterizer has some noticeable texturing issues right now, especially in 2d games. Software rasterizer supports more correct lighting interpolation than opengl ever will (e.g. glitches at the edge of the screen while scrolling.) In software rasterizer, there are issues similar to 2d with incorrect bit depth being used in the pipeline.

* All sound features are emulated. The microphone support is new and the manual should be consulted, where you will find out, among other things, that it is only supported in windows right now.

* As of version 0.9.1, Wifi is not supported. It is currently under slow and incomplete development.

* We are unaware of any outstanding issues in the core system hardware (cpu, dma, mmu) but there are certainly still some. The instruction and memory timings are quite incorrect; however, this seems not to hurt most softwares.

* DLDI does anybody know if this still works? Dynamically Linked Driver Interface, commonly known as DLDI, is a driver framework that allows NDS and GBA homebrew to easily read and write to any number of different devices, just by substituting a driver file.

* RTC (real-time clock); will be working as of 0.9.2. This is what makes the time in your games stay at 00:00:00, and what makes your random number values always come up the same.

* Q. Does the GDB stub still work?

* A. This has not been built into the public releases, nor has the feature been tested in a while. If you want to be a test user, please hop on IRC and coordinate with us.

* Q. Where/what is IRC?

* A. IRC is part of basic internet operations principles. Consult your manual. Then download mirc and visit irc.freenode.net on port 6667 in the channel #desmume

* Q. Where is the manual?

* A. It came with your binary. It may not have the information that other entries in this FAQ promised that it would.

* Q. Why is the emulator slow?

* A. Because nobody pays us to work on it full time and it runs fast enough for us to be happy. Well, almost. The cheapest way to get 60fps is to buy the cart. Buying a newer, faster computer is somewhat more expensive, and it has other side benefits. Also, if you are in Windows, make sure you have tried the SSE build which helps a little bit. Additionally, if you are using someone else's interim build it might not be fully optimized since we make our Windows releases using some profiler-guided optimization which helps by several FPS. You could try turning off the sound. And one last thing: try a new video card. But only as long as it is an nvidia. Also, a faster CPU is more helpfull than a bleeding edge graphics card. desmume is more CPU intensive than it is GPU intensive. It just needs a graphics card that is glitch-free, and currently the nvidia cards have a better track record.

* Q. Does desmume support wifi ?

* A. As of version 0.9.1, Wifi is not supported. It is currently under slow and incomplete development.

* Q. Does desmume support the microphone ?

* A. Yes, but only on the Windows port. You do have to have an actual microphone attached to your PC, though.

* Q. Where can I find technical details on the Nintendo DS and GBA ?

* A. http://nocash.emubase.de/gbatek.htm

* Q. What is DLDI ?

* A. let me give you an overview on DLDI. You should know that there are many various flash cartridges for DS. They use different file allocation systems, different storages, etc. They are used for launching homebrew. So to make one proram run on all cards. You’d have to write support for each and every card so that it worked for everyone. But none needs support for other cards than their And then genial solution was found. There was an universal IO unit made that’s just interface to IO operations. If you don't have a DS, why do you bother with desmume ? You surely don't have bought any game to run on it. And compiled program does not know how to handle file system etc. And then user can append IO routines for his own card. “DLDI patch”. So, now when I have an M3 cart. I download rom, patch it with m3 DLDI patch. And it works on my cart. Say you had Supercard instead. You’d have to download very same rom and apply Supercart DLDI patch to it. DLDI patch is the same for all roms. So it’s easy for both developper and end user.

* Q: What does DeSmuME mean?

* A. DeSmuME is a Nintendo DS emulator and the name is a play of words - DS Emu + ME (like FlashMe - firmware hack and PassMe mod-chip for DS)

The name DeSmuME derives from the popular use of ME in Nintendo DS products by homebrew developers. So DeSmuME would equal DSemuMe. Other popular uses of ME include:

- LoadMe - a generic patcher for commercial DS roms that works with any GBA Flash Card

- PassMe - "mod-chip" using which takes authentication from an original DS card an allows execution of unauthenticated DS rom code - from the GBA cartridge slot / GBA flash card.

- FlashMe - a hacked firmware for DS that allows you to start code in DS mode from a flash card in the GBA slot.

- WifiMe - are a set of a custom drivers and software by FireFly for RALink based wireless network cards enabling to boot homebrew code on DS via Nintendo Wireless Multiboot method.

* Q: What are the origins of DeSmuME ?

* A. DeSmuME is a freeware emulator for the Nintendo DS created by YopYop156.

Do to change in French laws regarding emulation YopYop has decided to stop development of DeSmuME Nintendo DS emulator but that doesn't mean that DeSmuME is obsolete - programmers in this project have picked up where Yopyop left off. The original website was http://yopyop156.ifrance.com/.

Yopyop said: "It’s release under GPL. I have just removed the new 3D engine because it’s too much bugged. Hopefully it will be helpful for some of you."

The latest statement heard from yopyop was :

DeSmuMe project is over. You may don’t know but there are a new law in France that could put me in big trouble. With DeSmuMe, I have closed the doors of game company but I can not offer to pay for it.

The worst thing is that I have found the bad coded instructions. For those how have download the sources you have to look in sbc, rsbc instructions the Carry flag updating is wrong. Sorry for the home brew programmers.

For the illegality the demonstration seemed to me convincing thus without proof clarify I prefer to stick to this decision.

It is also the fact that few people seem interested by the project. Put besides some people who sent demonstrations to me which did not go, I received only malls to wonder to make function such or such plays or to ask me why moved is in French . Thus I will not do something of useless and illegal.

For the site it would not obstruct me if there were not the bond on the left which does nothing but add to confusion on the goal of the project.

And for the sources it is the same problem as for the project.

good week end


edit the law relates to the royalties and the rights close, not?

Personal tools