Desmume

Possible Solutions

So what’s the solution? Thankfully, I think I have managed to track down what is needed to be done, and I have a few possible alternatives.

1. Convert the Sprites, but not the 3D.

This would involve finding the source of the sprite generation. What we could do is apply the «texel conversion» normally done in the Draw() function to the sprite upon its creation.

2. Render in layers.

Desmume uses a layered structure for its rendering engine. It will loop through every line and apply the background, sprites, 3D, and more sprites on top of that.

  • The start of line 2087 does the background layer
  • Line 2133 renders sprites with the function: «gpu->spriteRender»
  • 3D is rendered on line 2180: «gpu->setFinalColor3d»
  • And the final sprites are done on line 2212: «gpu->setFinalColorSpr»

There’s some more in there but this is a good example. The software will compare alpha combine pixels for each layer in the line. This is (I believe) accomplished in the function: GPU_RenderLine_layer in GPU.cpp.

It is possible to render each layer as a separate entity, convert the sprite layers, and combine them with the rendered 3D image (it’s a texture) as a multi-layered texture using the GX hardware.

3. «Unconvert» the 3D.

I do not like this one, but I thought that I should suggest it nonetheless. This would involve doing the exact opposite of the 4×4 texel conversion to the rendered 3D image. That way, when we convert it later, it will look correct. This, obviously, would involve more rather than less CPU cycles; the entire reason to use GX in the first place. This could be a quick-fix until a more permanent solution is found.

Установка DesmuME

Мягкая фетровая шляпа

Установка эмулятора DesmuME на Fedora не так проста, как другие дистрибутивы. Чтобы установить его, вам необходимо включить сторонний программный репозиторий. Используйте инструмент DNF для включения этого программного обеспечения. Не забудьте изменить X, чтобы соответствовать номеру выпуска вашей версии Fedora!

sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-X.noarch.rpm -y

С RPM Fusion на Fedora вы сможете установить DesmuME с помощью инструмента пакета DNF.

sudo dnf install desmume -y

OpenSUSE

DesmuME свободно доступен прямо в службе сборки OpenSUSE. Чтобы получить его, по этой ссылке и ищите свой выпуск OpenSUSE. Нажмите кнопку «1-click install», чтобы получить программу.

Is Desmume safe and legal to Use?

When you use any app, the first question that comes in your mind is the safety and legal issues with this app. Will this emulator harm my system? Can I get in trouble with my count’s authorities while using this emulator?

If you have some doubts, just visit the next section as it will clear all your doubts about safety and legal issues regarding this app.

Is Desmume safe to use?

Yes, it is definitely safe to use Desmume as it doesn’t contain any type of malware or virus, which can harm your PC.

Is it legal to use Desmume?

It is perfectly legal to use this amazing app. It is just a medium to let you enjoy your PSP gaming on the improved and larger screen of your computer. Just install this app and use it without any fear of legalization and safety.

DeSmuME 0.9.6 released!

May 19th, 2010

This release focuses on emulation bugfixes and features of interest
to homebrew developers. Most users will find that the compatibility
is increased substantially.

Some save files may be invalidated due to use of broken crc logic.
Back up your DSV files before using this version of the emulator or else
the game might wipe it.

Users of OSX, gtk, cli and gtk-glade frontends please note that now we
have a common directory in ~/.config/desmume for config file,
saves and savestates. The old .desmume.ini will be moved
automatically with the name config but you have to move your saves
manually.

UPDATE We have released a new version of the source tarball to fix problems building the glade frontend. If you downloaded your copy before 05/25/2010, please download it again

Issues[edit]

DeSmuME uses DirectInput if an Xbox 360 controller is being used. No support for exists. This will be noticeable if an Xbox 360 controller’s LT and RT inputs are mapped to emulate the DS’s L and R buttons respectively.

Several features aren’t supported by DeSmuME and aren’t parts of its future as per the emulator’s current design philosophy. They include:

  • DS Download Play
  • DS Local Play (local multiplayer)
  • DS Wi-Fi Play (online multiplayer)
  • DSi emulation (DSi-enhanced retail, DSi-exclusive retail, DSiWare)
  • DS/Wii Connectivity

A DeSmuME fork with online multiplayer, which includes functional code that made it to official version 0.9.7 before being removed, is available and has been improved to allow for limited dumping of online data prior to the server shutdown in 2014, as well as a version allowing for using online play for a select few games and downloading DLC data from alternative servers with the backed-up data.

At some point in 2010, development on these features was permanently discontinued and the developers distanced themselves from the above-mentioned fork. The official team stance on this is as follows, and is as clear as it can get:

As you may have come to find, Release versions and WIP builds distributed by DeSmuME developers do not have the Wi-Fi menu enabled, while builds provided by dodgy scener sites or the one your best friend in the whole wide world has handed to you on a USB key does.
Officially, DeSmuME DOES NOT support the use of builds with Wi-Fi support.
As such, though it may come as a shock to you, requests for help or information about it are thus NOT likely to obtain a response to your satisfaction.
The developers have no current interest for furthering the development of the EXPERIMENTAL_WIFI, and the current state of the DeSmuME source code might have even completely broken it.

It was also deemed that the Dynamic JIT recompiler was a poor fit for the DeSmuME project and as such a fork called «DeSmuME 0.9.9 JIT» including it was made, and some used to recommend it over the mainline project. Much later, like with the internal resolution feature, a compromise was reached and a slightly different implementation was since included in the main project after 0.9.11.

DeSmuME 0.9.8 released!

April 9th, 2012

Yes, it’s been a while since the last release, but we haven’t been completely idle. There’s a brand new top shelf Cocoa frontend to make life far more pleasant for OSX users, and a host of compatibility fixes.

Head on over to the download page and check it out!

* edit (09-apr-2012) – the win32 binary was updated to remove the console window which was accidentally left enabled
* edit (18-apr-2012) – the win32 nosse2 binary was updated to fix it so that it was actually what it says it is
* edit (29-jul-2012) – the OSX version doesn’t work in mountain lion. youll get sound but no video. we’ll post an update here when we have a solution for you.

Особенности

В отличие от других эмуляторов NDS (Ideas, NO$GBA), DeSmuME обладает рядом особенностей присущих только ему:

  • Бесплатность, открытый исходный код
  • JIT-рекомпилятор (ускорение процесса эмуляции)
  • Полноценная поддержка savestates (быстрых сохранений в любом месте игры/любого состояния игры)
  • TAS-совместимость (возможность записи аудио и видео процесса)
  • Lua-скриптинг (TAS)
  • Дополнительный инструментарий (TAS)
  • Поддержка расширений SLOT2 (GBA+SRAM для бонусов в играх, Rumble Pack, Expansion Memory для NDS Browser, Guitar Grip, Flash, Piano, Paddle)
  • Возможность настройки размеров и положения экранов без сторонних программ
  • Возможность настройки быстрых клавиш без сторонних программ
  • Поддержка микрофона
  • Эмуляция микрофона (по какой-то причине отсутствует в linux-сборке)
  • Поддержка поиска значений в памяти DS с возможностью добавления в список обманов (Чит-коды)

[PS2] PCSX2 ver 0.9.7 rev2495 (2010)

PCSX2 эмулятор игровой приставки Sony Playstation 2. Позволяет запускать некоторые игры для данной приставка на ПК. Эмулятор очень требовательный к начинке компьютера.

Год выпуска: 2010Жанр: эмуляторРазработчик: PCSX2 teamСайт разработчика: http://pcsx2.netЯзык интерфейса: ENGПлатформа: PS2Минимальные требования: Pentium 4 HT 3Gghz, 1 Gig RAM, Geforce 6600GT 128mb DX9 Windows XP (Поддержка Pixel Shader 2 и выше) (Игры будут идти со скоростью 5-40фпс в зависимости от игры)Рекомендованные требования: Core2Duo e 6600 3Ghz, 2 Gig RAM, Geforce 8800GTS 320mb DX10 Windows Vista ( 20-60фпс )

Installing PSP game using Desmume on PC:

As you have now installed and configured this emulator on your Windows PC, it is time to install your favorite PSP game on it by using this amazing Desmume. Let’s learn how to install games using this emulator.

  • To be able to run any PSP game on Desmume, you need to have this game pre-installed on your PC. For example, here we are going to install “God of War”, one of the best PSP games of all time.
  • First of all, open the emulator and click on the Games button.
  • Now, click on the browse button and search for the game God of War.
  • Double-click the game to open it and simply start playing the game and rule the world with Kratos.

История

Оригинальный DeSmuME

Оригинальная версия эмулятора была разработана YopYop156 и имела пользовательский интерфейс на французском языке (со множеством неофициальных переводов на другие языки). В основном она эмулировала NDS-homebrew и тестовые демо-программы.

Спустя некоторое время, автор прекратил разработку программы (на тот момент её версия была 0.3.3) и опубликовал её исходный код.

Текущая версия

Публикация кода привела к появлению множества т. н. «форков» — несколько разработчиков с энтузиазмом продолжили развитие эмулятора. В конце-концов, все эти наработки были объединены в единый проект DeSmuME, не только успешно существующий и по сей день, но и заметно продвинувшийся и отличающийся от оригинальной версии.

Консольная версия

Помимо основных PC-платформ, эмулятор был портирован и на PlayStation Portable. К сожалению, ввиду низкой производительности эмуляции и отсутствия у PSP сенсорного экрана — на данной платформе эмулятор не приобрел особой популярности и востребованности, и дальнейшая его разработка была заморожена.

Тем не менее, многие хвалили PSP-версию уже за тот факт, что она вполне сносно запускала и эмулировала ПО/homebrew для Nintendo DS.

В 3-ем квартале 2009 года появился Wii-порт DeSmuME, который успешно существует и развивается до сих пор.

Название

Согласно wiki проекта, название эмулятора «DeSmuME» — это игра слов в английском языке, DS Emu + ME (по аналогии с FlashME, PassME, WifiMe, LoadME; вообще, использование окончания «ME» в продуктах NDS-сцены — довольно распространено среди homebrew-разработчиков), поэтому, DeSmuME вполне можно читать как «DSemuMe», или «DS emulator for me».

Setting up Desmume on PC:

To enjoy your favorite PSP games on your PC, you need to set this emulator on your PC in the first place. Make some certain changes within the app to fully utilize Desmume and follow these steps-

  • Open Desmume and choose Game Settings.
  • Make sure that the Postprocessing Shader option is off in this section.
  • It is set at Auto for rendering resolutions; you can change it as per your convenience.
  • Click on More Setting option and go to the Graphics section.
  • Click on the backend and select your desired API under this section.
  • Now go to the Audio Section, check to enable sound, and set Audio Latency to Medium.

Apart from these configurations, you need to change various options as they play a major role in the performance of this emulator.

Now, it is time to install a PSP game on your PC using Desmume.

How to Install Desmume on PC?

This emulator gives you an option to play your PSP games on a larger and crystal clear screen of your computer.

Providing an opportunity to you to play your favorite games in full HD (1080p) quality is quite rare and this excellence is making this emulator a must-try solution to play your favorite PSP games. This quality makes Desmume one of the best in the gaming industry and gives an insight into why millions of people love this emulator so fiercely.

After reading so much about this emulator, you will be eager to download and install this amazing emulator in your PC/Mac.

All you have to do is to follow these steps given here-

Troubleshooting[edit]

If the game is slow:

  • Enable the dynamic recompiler in Emulation Settings.
  • If it’s still slow, you must be running on a toaster. It can’t be helped. But try tinkering with things for the fastest settings you can find.
  • Use frameskip as the absolute last resort.
  • If your graphics card was designed by Nvidia and the OpenGL Display Method (useful for its filter) is stuttering despite reporting good framerate, open the Nvidia Control Panel and turn off Threaded Optimization for this program. What’s happening is sequential OpenGL code is being put on different processors running at different speeds, forcing them to wait for each other repeatedly.

If the sound is distorted.

Synchronous mode is far less buggy. Method Z seems to work the best in most cases.

If the 3D is messed up.

  • Set it to OpenGL 3.2. Old OpenGL had problems with 3D itself, while SoftRasterizer had alignment issues with 2D. But 3.2 seems to fix most of both.
  • SoftRasterizer’s texture alignment issues are supposedly fixed on a per game basis with the newer TXT hack. It now seems to be more compatible and showing more effects than GL3.2. Etrian Odyssey and Dragon Quest V seem to work best with it over GL3.2.

Setting up Desmume on Android:

There are no doubts about the PSP game’s performance on Android devices as they run as smoothly and efficiently as they can. They may lag sometimes and this may be frustrating for users.

To solve this problem we have to configure our Android device according to this emulator to get the best results and efficient gameplay.

  • Go to the Graphics Setting and select Graphics.
  • In Non-buffered rendering, select the Mode option.
  • Turn off the option called Anisotropic Filtering.
  • Now open Developers options and select Dynarec under CPU Core.

Made these changes and you will enjoy this emulator to the fullest.

Problems and Roadblocks

1. The GPU renders things in lines. I do not know where the sprites are stored. Speaking with the «Vanilla» Desmume developers, it seems that they are taken directly from the DS game. What does this mean? It means (unless there IS a big storage place that houses all the sprite layers, which would be awesome) that it may be very difficult to convert the individual lines into 4×4 texels, since each line would not comprise all the information that a 4×4 texel would need. Again, I am not 100% sure about this, so maybe there is hope.

2. This may involve significant rewriting of the Desmume GPU code in order to get native GX to run at full efficiency. This may affect the software renderer. This is just a possibility, however. Someone more familiar with the software renderer should be able to address this better than I.

What’s wrong with GX?

There is actually very little wrong with GX, it is actually Desmume, and how it does its work, that is causing the trouble when we move to native GX code.

Problems: **Sprites** Textures

I will be using Super Mario 64 DS as an example. If you load up the game, you will see something very, very odd: What looks like four blue buttons on the top screen and blue gibberish on the bottom screen. What? It’s broken! Not so. Here is why it does this:

I direct your gaze to the Draw() function in main.cpp. When we use the software renderer, everything ends up coming out in the wrong format, so we need to convert it to be 4×4 texels (what the Wii likes) in order to render it to the screen. Notice the line:

If current3Dcore is one, then we want to use GX, (if it is two, we use the software renderer). Notice that within that if statement we are not «converting» the image before we render it to the screen. If you comment this out, you will see that the text is fine, but woe! The 3D has become gibberish! This is because GX will, obviously, render 3D in the correct format! But, the sprites (text) are not in the correct format, since these are generated via the Desmume software.

This also leads into the discussion of textures. You may still call the 3D star at the start of SM64DS a failure since it is clearly the wrong color, but in actuality I believe this is due to the same problem that we have rendering sprites: incorrect format. I am not 100% certain that this is the case, however. I could be wrong.

Features of Desmume:

Once you look at the features of software or an emulator, it provides you an outlet about what this particular product offers to its users and how you can use it to maximize your other related work.

Just go through the features section and you’ll understand why it sits near the pinnacle of the gaming emulator industry.

  • Be it D-pad, buttons, or touch screen; everything is accessible in this emulator. You can customize user-control as per your convenience. Even the rare Adjustable Stylus is also supported in Windows OS through this emulator.
  • In this amazing emulator, all 2D-graphics features are supported. You can enjoy your favorite games in the 2D form by just installing this emulator.
  • This emulator has its own custom software renderer called SoftRestirizer. This renderer uses CPU for rendering purposes and to make your gaming experience enhanced and awesome.
  • All the sound features are emulated and supported in this emulator as you will not face any difficulties regarding sound efficiency.
  • If you want to start streaming a game and want to use a microphone, then this emulator is specially designed for you. Desmume enhances the quality of voice going through your microphone and makes it pleasant and audible to users and watchers.

This emulator is specially designed for gamers who like to play PSP games on PC and it will only enhance their gaming experience through its quality.

Desmume has built its rapport all around the world due to its service, graphics and sheer quality offered to users.

Now, it is time to get to the next section as it will give you information about how to install this wonderful gaming emulator on your PC.

Graphical Enhancement[edit]

After the increased internal resolutions were implemented in the X432 fork, as well as in DraStic and even the barebones official Nintendo Virtual Console DS emulator on Wii U, the mainline DeSmuME project developers decided to reconsider and include their own implementation for higher internal resolution.

Official dev builds now have the option to render at a higher resolution as well, and filter textures to boot. Overall, it’s more hardware intensive than X432R’s implementation.

  • The OpenGL 3.2 renderer option in 3D Settings supports Multisampling Anti-Aliasing (MSAA)

    Versions before r5032 had this option for a long time, but it was only put in the GUI at r5032. To turn it on in older versions you needed to change a value from false to true in the source code and recompile it.

    . Turning it on helps the edges of ultra low-res DS polygons and lines smooth out appear to wobble less during movement, and retain their shape better when viewed from distance. Unlike post-processing effects that modify the still frame after completion and essentially try to guess at the shapes they are smoothing, this effect knows the actual shapes of the polygons themselves.

  • Another thing you can do is filter it. Make sure OpenGL and Filter are checked under Display Method.
  • Finally, there are a variety of post-processing shaders that can be selected under Magnification Filter. Whether that is simple Nearest 2x or some pixel art scaling filter like HQx or xBRZ is up to you. No post-processing smoothing is perfect, but if you want to use one the xBRZ options are generally the most high-end among smoothing filters present.
  • macOS version of DeSmuME also has support for multi-pass post-processing shaders and filters which Windows version currently doesn’t have.
  • Leaving it native and aligning it to a CRT (Set to a 384 high resolution) is also an option, if you feel like going through the effort.
  • Recent DeSmuME revisions now add support for texture filtering, greatly reducing pixelation albeit at the cost of blurrier visuals. Some may find this rather jarring or too N64-esque, so it’s a matter of individual preference as there’s an option to turn it on or off.

DeSmuME X432Redit

Mainline DeSmuME didn’t offer any options for higher than native internal resolutions at first. DeSmuME X432R is a fork with the option to increase internal resolution. Be warned that this option is very system-intensive. There have been reports of people who can run Dolphin and PCSX2 at a perfect pace but can’t run this at full speed using increased internal resolution, however newer versions are much faster.

While generally more accurate, the SoftRasterizer is massively CPU-intensive in this mode, whereas the OpenGL renderer shares the load with your GPU. This can be considered a speedup option, but it also boasts an MSAA option unavailable to SoftRasterizer.

This fork also has some options for configuring sub-screens. This fork is no longer active, and its last version is dated 19-04-2015.

DeSmuME 0.9.7 released!

February 1st, 2011

These bits may seem a bit stale to those of you who have been watching our SVN, as they were made in November 2010. Sorry it took so long to get released. A lot of testing and laziness were involved.

This version brings with it the usual assortment of core, graphics, and frontend fixes. Compatibility improvements are numerous, but there is a long way to go still.

Please note that a super OSX buildmaster would be a welcome addition to our team, as it is not really our area of expertise and continually gets short-changed due to lack of attention…

* edit (04-feb-2011) – the NOSSE2 build is posted
* edit (06-feb-2011) – the NOSSE2 build is re-posted since the previous one was a total fail.
* edit (30-apr-2011) – the OSX build is posted

Installing Desmume on PC:

It is very easy to install Desmume on your PC and you’ll be surprised by the simple and easy method of downloading and installation.

To install Desmume on your PC, you have to-

  • First of all, download an android emulator called BlueStacks by using the link given here.
  • Now, carefully follow the instructions given on the screen and install it.
  • A shortcut icon will be added to your desktop once you have completed the installation steps.
  • Sign in to Google Account and open Google Play Store.
  • Now, type Desmume in the search bar and select the top-most option for the right app.
  • Now, click on the install button and wait for a few minutes.
  • Open the icon from the home screen of BlueStacks and wait for a few seconds again.
  • Once opened, you can enjoy your favorite PSP games on your PC.

Note: if you can’t find Desmume in the play store, then you can simply install the APK file downloaded from the internet using BlueStacks.

Использование DesmuME

Чтобы играть в игру с DesmuME, откройте ее и нажмите «файл». В меню файла вам нужно выбрать опцию «открыть». При нажатии «открыть» открывается меню просмотра файлов. Используйте это меню для просмотра файлов ROM Nintendo DS на вашем ПК.

Открытие ПЗУ должно немедленно начать воспроизведение эмуляции. Если вы хотите остановить воспроизведение, вернитесь к основному интерфейсу DesmuME и нажмите кнопку паузы. Чтобы полностью закрыть воспроизведение ПЗУ, нажмите кнопку справа от кнопки паузы. Нажатие этой кнопки закроет эмулятор. Кроме того, нажмите «файл», затем «выйти», чтобы выйти.

Экономия

Сохранение игр в эмуляторе DesmuME DS работает, используя «save states». Эта функция позволяет пользователю мгновенно сохранять или загружать в любое время, даже если ROM не хочет вас.

Чтобы создать новое состояние сохранения в эмуляторе для любого ПЗУ, нажмите «файл». В меню файла найдите «Сохранить состояние» и наведите указатель мыши на него. При наведении курсора на это меню откроется много разных состояний сохранения. Выберите состояние для сохранения. Повторяйте этот процесс каждый раз, когда вы хотите перезаписать сохранение.

Имейте в виду, что эмулятор DesmuME позволяет пользователям Linux сохранять несколько раз. Чтобы выполнять различные состояния сохранения, просто выберите другой слот сохранения каждый раз, когда вы создаете новое состояние.

загрузка

Загрузка работает так же, как и сохранение. Чтобы загрузить игру, нажмите «файл» и выберите «load state from». Используйте пользовательский интерфейс, чтобы найти состояние, в котором ваша игра сохранена, и загрузите его. Повторяйте этот процесс каждый раз, когда вам нужно загрузить состояние сохранения.

Настройки графики

Для эмулятора DesmuME нет специального графического окна настроек. Вместо этого пользователи хотят изменить такие параметры, как разрешение, и вам нужно будет выбрать меню «Вид». В этой области параметры, такие как «видеофильтр», «макет ЖК-дисплея» и «разрешение», настраиваются. Для других графических параметров щелкните меню «config». В конфигурации пользователи могут изменять частоту кадров воспроизведения ПЗУ и т. Д.

Настройка контроллера

Чтобы настроить контроллер с помощью DesmuME, сначала подключите совместимый джойстик, а затем выберите «Config» в меню. В меню «Config» найдите «Edit Joystick Controls» и выберите его. Перейдите в список элементов управления и щелкните по каждому из них, чтобы начать процесс сопоставления.

Примечание. Чтобы повторно связать элементы управления с контроллером, перейдите и переустановите каждый из элементов управления. При каждом нажатии кнопки управления DesmuME попросит пользователя повторно назначить элемент управления.

Рекордный игровой процесс

Эмулятор DesmuME имеет возможность записывать игровой процесс Nintendo DS. Чтобы записать, откройте ПЗУ и начните эмуляцию. Оттуда нажмите «файл» и выберите «записать фильм в». Щелчок по кнопке записи открывает браузер файлов. Используйте этот браузер, чтобы сообщить эмулятору, где он должен сохранить записанный вами игровой процесс. Когда вы закончите запись, нажмите «файл», затем «остановить фильм».

Примечание. Записи DesmuME в формате DSM.

Наряду с записью, DesmuME имеет возможность воспроизведения записанных фильмов. Чтобы воспроизвести запись DSM, нажмите «файл», затем выберите «воспроизвести фильм из», чтобы начать воспроизведение.

Распространять любовь

Оцените статью
Рейтинг автора
5
Материал подготовил
Андрей Измаилов
Наш эксперт
Написано статей
116
Добавить комментарий