More actions
(→FAQ) |
No edit summary |
||
(42 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Infobox | {{Infobox DS Homebrews | ||
| title | |title=SNEmulDS | ||
| image | |image=Snemulds2.png | ||
| type | |description=SNES emulator. | ||
| version | |author=Archeide | ||
| | |lastupdated=2007/10/09 | ||
| | |type=Console | ||
| website | |version=0.6 Alpha | ||
|license=Mixed | |||
| source | |download=https://dlhb.gamebrew.org/dshomebrew2/snemulds_0.6a.zip | ||
|website=http://www.snemul.com/ds | |||
|source=http://code.google.com/p/snemuldsx | |||
}} | }} | ||
Nearly ten years after the heroic times of the first SNES emulators (SNEmul was one of them), the new console made by Nintendo, the Nintendo DS, offer new opportunites to turn alive again all those old games which probaby made the Super NES the best 2D game system of all time. | |||
SNEmulDS is partially based on [http://www.snemul.com/ds SNEmul], a SNES emulator for DOS and linux, which was the cooperative work of archeide & v0x. | |||
SNEmulDS | SNEmulDS includes [http://pocketspc.pocketheaven.com PocketSPC], a SPC song player made by gladius. It also has integrated the CPU core from [http://www.forwardcoding.com/projects/snezzids/snezzids.html SnezziDS]. | ||
It also has integrated the | |||
==Features== | ==Features== | ||
*65816 CPU (bugs remain, and 6502 emulation is not supported) | * 65816 CPU (bugs remain, and 6502 emulation is not supported). | ||
*LoROM/HiROM support | * LoROM/HiROM support. | ||
*Tile by tile graphics engine (broken as of 0.5 alpha) | * Tile by tile graphics engine (broken as of 0.5 alpha). | ||
*Line by line graphics engine (90% complete) | * Line by line graphics engine (90% complete). | ||
*Graphic Mode 1, 2, 3, 4, 7 | * Graphic Mode 1, 2, 3, 4, 7. | ||
*Graphics Modes 0,5,6 are implemented but not correct yet | * Graphics Modes 0,5,6 are implemented but not correct yet. | ||
*8x8, 16x16 tiles (16x16 may have problem with large screen modes) | * 8x8, 16x16 tiles (16x16 may have problem with large screen modes). | ||
*32x32, 64x32, 32x64, 64x64 screen modes | * 32x32, 64x32, 32x64, 64x64 screen modes. | ||
*8x8, 16x16, 32x32, 64x64 sprites | * 8x8, 16x16, 32x32, 64x64 sprites. | ||
*BG priorities (still buggy) | * BG priorities (still buggy). | ||
*Full DMA support | * Full DMA support. | ||
*HDMA support ( | * HDMA support (incomplete). | ||
*HIRQ/VIRQ/NMI interrupts | * HIRQ/VIRQ/NMI interrupts. | ||
*PAL/NTSC detection | * PAL/NTSC detection. | ||
*Subscren Add/sub for BG/sprites/BACK (not 100% correct yet) | * Subscren Add/sub for BG/sprites/BACK (not 100% correct yet). | ||
*Large ROM support (> 3Mbytes), even for slot-1 card users | * Large ROM support (> 3Mbytes), even for slot-1 card users. | ||
*SRAM support | * SRAM support. | ||
*Snapshots(State save) support | * Snapshots(State save) support. | ||
*SPC700 CPU (from PocketSPC by gladius) | * SPC700 CPU (from PocketSPC by gladius). | ||
*Sound DSP (from PocketSPC by gladius) | * Sound DSP (from PocketSPC by gladius). | ||
*Incomplete Line by line graphics engine (for MODE 7 game) | * Incomplete Line by line graphics engine (for MODE 7 game). | ||
*Mode 7 effects | * Mode 7 effects. | ||
*Correct BACK color support (look like ok) | * Correct BACK color support (look like ok). | ||
*SNES Mouse Emulation | * SNES Mouse Emulation. | ||
*Incomplete priority per tile | * Incomplete priority per tile. | ||
==Installation== | ==Installation== | ||
Current version of SNEmulDS needs a card reader (like M3, supercard, G6, R4DS, NinjaDS, etc | Current version of SNEmulDS needs a card reader (like M3, supercard, G6, R4DS, NinjaDS, etc) and a passkey/passcard (You should know how to get/use them) for slot-2 devices. | ||
Create a SNES directory in the root directory of your card and put all your SNES ROMs in this directory. | |||
Patch SNEmulDS.nds with a [[DLDI|DLDI]] patcher. | |||
Put SNEmulDS.nds and snemul.cfg in the root directory of your card. | |||
==User Guide== | ==User Guide== | ||
Launch the game, A list of all the SNES games appears, you can scroll with Up and Down, tap on the desired game and press Start to launch the game. | |||
See [https://wiki.gbatemp.net/wiki/SNEmulDS_Compatibility_List SNEmulDS Compatibility List]. | |||
===Menu=== | ===Menu=== | ||
*SelectROM | * SelectROM - show the content of a directory list to select another ROM. | ||
*Options | * Options - You can disable background, select the BG3 mode (see below)/the relative scroll height for BG1 and BG2, enable/disable the Vblank waiting and enable/disable speed hacks. | ||
*Load State | * Load State - Restore one of your 8 game states. (see below). | ||
*Save State | * Save State - Save your current game state (up to 8 game states for each game). States are saved in files put in the SNES directory along with your ROM (with extension .SM1 .SM2, etc). | ||
*Reset | * Reset - Reset the game. | ||
*Save SRAM | * Save SRAM - Save battery-saved cartridge RAM. The SRAM is saved in a file put in the SNES directory along with your ROM (the file has extension .SRM). | ||
*SPC jukebox | * SPC jukebox - Play your favorite songs (from SPC files in your SNES directory). | ||
*GFX config | * GFX config - Show the GFX config menu. (see below). | ||
*Debug | * Debug - Show debug informations. | ||
The BG3 mode selection allows the BG3 (in most games, a later containing only static informations) to be displayed entirely on the DS screen, even if it is bigger with a real SNES. It can be useful in some games. In fact, the middle of the layer is crushed, so you'll lose information in some games. | |||
===GFX config=== | ===GFX config=== | ||
*Priority per tile | * Priority per tile - In the SNES hardware, each background layer have two sub layers (high and low priority). | ||
You can choose between none, BG1 or BG2. | ** The DS 2D hardware doesn't have this feature, but have one more background layer. It uses an additional layer to emulate the priority per tile for one SNES background. | ||
*BG3 block priority | ** You can choose between none, BG1 or BG2. | ||
** Please be warned that this option can corrupt GFX or make some other tiles disappear. | |||
* BG3 block priority - This option emulate the priority per tile for BG3 by guessing, for each line, if the map contains more high or more low priority tiles, and then change the priority of the BG3 for each line. | |||
*BG1 / BG2 / BG3 / BGX(low) | ** This option is not perfect yet, and some text may disappear. | ||
*Sprite1 ... | ** This option only work in automatic mode. | ||
*(Fix) | * BG1/BG2/BG3/BGX(low) - Change the priority of this layer. The right part of screen, can select between automatic or not. | ||
*<Save> | * Sprite1... - Change the priority of the sprites. SNES has 4 priorities like DS, but it can be useful to change the prioriry bijection. | ||
* (Fix) - The number are register 212C 212D 2130 3130, tap on this part of screen to clear the GFX buffers and fix most GFX garbages on screen. | |||
* <Save> - Save those parameters in the CFG file. | |||
===Multi languages=== | |||
* Note that to get the new language settings to work, you'll first have to edit the config file that comes with SNEmulDS v0.6. | |||
* You can check if your language is correct. You can choose one of the language in the firmware or some language by editing the snemul.cfg: | |||
# Language of GUI | |||
# -1 -> Use firmware settings | |||
* Firmware languages: | |||
# 0 -> Japanese (Katakana only) | |||
# 1 -> English | |||
# 2 -> French | |||
# 3 -> German | |||
# 4 -> Italian | |||
# 5 -> Spanish | |||
* Non firmware languages: | |||
# 106 -> Portuguese | |||
# 107 -> Catalan | |||
# 108 -> Polish | |||
# 109 -> Dutch | |||
# 110 -> Danish | |||
== | ===Controls=== | ||
==SNES Mouse Emulation | '''SNES Mouse Emulation:''' | ||
Activaing mouse emulation mode will switch the bottom screen and the upper screen switch. You use the stylus to move the mouse cursor. | |||
- | |||
* START+L+R+LEFT - Enable SNES mouse emulation mode (switch both screens) | |||
* START+L+R+RIGHT - Switch screen and disable SNES mouse emulation mode | |||
| |||
Currently there are two methods of emulation: | Currently there are two methods of emulation: | ||
* One for all games that uses SNES mouse. It compute the distance between two stylus tap/click to emulate the move of the mouse. This is not accurate and some games like Populous II use non linear moving, so the mouse cursor doesn't follow the stylus. | |||
* Another method modifies directly the variables in RAM where the game stores the X and Y positions of cursor. This way, the mouse cursor moves accurately. | |||
| |||
For both methods, the D-Pad is used to select the way the stylus emulate the mouse: | |||
* Left (or Y) - When touch screen is pressed, the mouse is moved to this point and the mouse's left button is pressed. | |||
* Right (or A) - When touch screen is pressed, the mouse is moved to this point and the mouse's right button is pressed. | |||
* Down (or B) - When touch screen is pressed, the mouse is moved to this point. | |||
* When the touch screen is not pressed, the buttons are released and the cursor doesn't move. | |||
Another option is available with first method: | |||
* UP (or X) and press the touchscreen at the same time - the stylus calibrates to this point. Use this if the mouse cursor doesn't follow the stylus correctly. | |||
In mouse mode, you can also scroll the entire screen (all backgrounds) with: | |||
* L (or R) + Up (or X) - Scroll up the screen. | |||
* L (or R) + Down (or B) - Scroll down the screen. | |||
===FAQ=== | |||
'''Q. My graphic are all corrupted, flashing, ugly, what can I do?''' | |||
Go in the GFX config, and try to change options. Tap on fix zone to clear the GFX cache. Try to enable Wait for Vblank in the options. | |||
You may also need to change the background layers order.You can do it in the options (instead of Automatic layers) or by pressing START+L+R+UP (LEFT AND RIGHT side buttons). | |||
You can return to automatic layers by pressing START+LEFT+RIGHT+DOWN. Another option is to allow disabling or enabling background layers. | |||
'''Q. Why SNEmulDS sound is bad?''' | |||
SNEmulDS is not correctly synchronized with the SPC700 engine. | |||
Some new options in configuration file allow you to improve the sound (see SoundPortSync in CFG file). | |||
You can try the SPC jukebox instead, musics should be better. | |||
'''Q. How can I speed up SNEmulDS?'''' | |||
Make sure you are in No vblank mode in Options, and that Speed hack is in Full speed. | |||
'''Q. Why my game seems slow whereas SNEmulDS says the speed is over 80%?''' | |||
Most of the time, it comes from the speed hack. Not enough CPU cycles are given to the game, and it needs to use two frames instead of one. | |||
Set speed hacks No speed hack should help. | |||
'''Q. Game is too fast to play.''' | |||
Enable Wait for Vblank in the options. | |||
'''Q. Game doesn't start.''' | |||
''' | |||
Choose No speed hack and/or sound emulation in Options menu. Surprisely, some games need to be in Full speed hacks mode to launch (like SUPER BOMBERMAN). | |||
'''Q. I lost all my game progress. I will kill you.''' | |||
''' | |||
SNEmulDS | Don't forget that SNEmulDS doesn't save SRAM automatically. You have to tap Save SRAM in the main menu to save your game progress. You can also use save states. | ||
'''Q. Save states don't work.''' | |||
' | Sorry but the current FAT libraries doesn't support saving for all cards. Use of DS SRAM is a future feature that may be help you. | ||
Writing to card is not perfect, and your saved state can be corrupted, so you should save your game in several slots whenever possible. | |||
''' | '''Q. How I can use my own ZSNES/SNES9X save states?''' | ||
You should be able to use your .SRM created by other emus. Be sure it is not compressed. | |||
Simply put the SRM file in the SNES directory, along with your ROM. | |||
'''Q. Why do you not support packing, my card/flasher is not working with SNEmulDS?''' | |||
SNEmul philosophy is easy to use. That means no pre-script, no packer, no patches, etc. | |||
You put your ROMS, SRAMs, save states directly in your SNES directory and that's all. | |||
Moreover, by using a real filesytem development of specific features is much easier (especially large save states, SRAM saving, very large ROMs (4Mo) and multi ROMs support). | |||
==Screenshots== | |||
https://dlhb.gamebrew.org/dshomebrew/snemulds2.png | |||
https://dlhb.gamebrew.org/dshomebrew/snemulds3.png | |||
==Media== | |||
'''How to Play SNES Games on Your NDS/DSi/3DS/2DS''' ([https://www.youtube.com/watch?v=4DqjfvA1aAs PeaSensei2]) <br> | |||
<youtube>4DqjfvA1aAs</youtube> | |||
==Changelog== | ==Changelog== | ||
* New GUI using framebuffer for sub screen | '''0.6 alpha''' | ||
* Better human interface, improved file selector (alphabetically sorted), buttons, check boxes, multi choose zones, etc. | * New GUI using framebuffer for sub screen. | ||
* New GUI supports joypad (joypad is not supported when emulator is running however). | * Better human interface, improved file selector (alphabetically sorted), buttons, check boxes, multi choose zones, etc. | ||
* Multi language support (more than 10 supported, including katakana Japanese | * New GUI supports joypad (joypad is not supported when emulator is running however). | ||
* Memory pak support (Opera RAM, Slot 2 card reader, etc. using libram) with paging or with large ROM mapping | * Multi language support (more than 10 supported, including katakana Japanese). | ||
* Scaling with pseudo bi-linear filtering and sprites squishing : full screen scaling (like snezzids), half scaling (half scaled and without sprites squishing), and no scaling (classic snemulds mode) | * Memory pak support (Opera RAM, Slot 2 card reader, etc. using libram) with paging or with large ROM mapping. | ||
* Automatic SRAM saving when needed | * Scaling with pseudo bi-linear filtering and sprites squishing: full screen scaling (like snezzids), half scaling (half scaled and without sprites squishing), and no scaling (classic snemulds mode). | ||
* Some other bugfixes and improvements in GUI | * Automatic SRAM saving when needed. | ||
* Some other bugfixes and improvements in GUI. | |||
==External links== | |||
* Official website - http://www.snemul.com/ds | |||
* Google Code - http://code.google.com/p/snemuldsx | |||
* SourceForge - https://sourceforge.net/projects/snemuldsx |
Latest revision as of 06:02, 21 August 2024
SNEmulDS | |
---|---|
General | |
Author | Archeide |
Type | Console |
Version | 0.6 Alpha |
License | Mixed |
Last Updated | 2007/10/09 |
Links | |
Download | |
Website | |
Source | |
Nearly ten years after the heroic times of the first SNES emulators (SNEmul was one of them), the new console made by Nintendo, the Nintendo DS, offer new opportunites to turn alive again all those old games which probaby made the Super NES the best 2D game system of all time.
SNEmulDS is partially based on SNEmul, a SNES emulator for DOS and linux, which was the cooperative work of archeide & v0x.
SNEmulDS includes PocketSPC, a SPC song player made by gladius. It also has integrated the CPU core from SnezziDS.
Features
- 65816 CPU (bugs remain, and 6502 emulation is not supported).
- LoROM/HiROM support.
- Tile by tile graphics engine (broken as of 0.5 alpha).
- Line by line graphics engine (90% complete).
- Graphic Mode 1, 2, 3, 4, 7.
- Graphics Modes 0,5,6 are implemented but not correct yet.
- 8x8, 16x16 tiles (16x16 may have problem with large screen modes).
- 32x32, 64x32, 32x64, 64x64 screen modes.
- 8x8, 16x16, 32x32, 64x64 sprites.
- BG priorities (still buggy).
- Full DMA support.
- HDMA support (incomplete).
- HIRQ/VIRQ/NMI interrupts.
- PAL/NTSC detection.
- Subscren Add/sub for BG/sprites/BACK (not 100% correct yet).
- Large ROM support (> 3Mbytes), even for slot-1 card users.
- SRAM support.
- Snapshots(State save) support.
- SPC700 CPU (from PocketSPC by gladius).
- Sound DSP (from PocketSPC by gladius).
- Incomplete Line by line graphics engine (for MODE 7 game).
- Mode 7 effects.
- Correct BACK color support (look like ok).
- SNES Mouse Emulation.
- Incomplete priority per tile.
Installation
Current version of SNEmulDS needs a card reader (like M3, supercard, G6, R4DS, NinjaDS, etc) and a passkey/passcard (You should know how to get/use them) for slot-2 devices.
Create a SNES directory in the root directory of your card and put all your SNES ROMs in this directory.
Patch SNEmulDS.nds with a DLDI patcher.
Put SNEmulDS.nds and snemul.cfg in the root directory of your card.
User Guide
Launch the game, A list of all the SNES games appears, you can scroll with Up and Down, tap on the desired game and press Start to launch the game.
See SNEmulDS Compatibility List.
Menu
- SelectROM - show the content of a directory list to select another ROM.
- Options - You can disable background, select the BG3 mode (see below)/the relative scroll height for BG1 and BG2, enable/disable the Vblank waiting and enable/disable speed hacks.
- Load State - Restore one of your 8 game states. (see below).
- Save State - Save your current game state (up to 8 game states for each game). States are saved in files put in the SNES directory along with your ROM (with extension .SM1 .SM2, etc).
- Reset - Reset the game.
- Save SRAM - Save battery-saved cartridge RAM. The SRAM is saved in a file put in the SNES directory along with your ROM (the file has extension .SRM).
- SPC jukebox - Play your favorite songs (from SPC files in your SNES directory).
- GFX config - Show the GFX config menu. (see below).
- Debug - Show debug informations.
The BG3 mode selection allows the BG3 (in most games, a later containing only static informations) to be displayed entirely on the DS screen, even if it is bigger with a real SNES. It can be useful in some games. In fact, the middle of the layer is crushed, so you'll lose information in some games.
GFX config
- Priority per tile - In the SNES hardware, each background layer have two sub layers (high and low priority).
- The DS 2D hardware doesn't have this feature, but have one more background layer. It uses an additional layer to emulate the priority per tile for one SNES background.
- You can choose between none, BG1 or BG2.
- Please be warned that this option can corrupt GFX or make some other tiles disappear.
- BG3 block priority - This option emulate the priority per tile for BG3 by guessing, for each line, if the map contains more high or more low priority tiles, and then change the priority of the BG3 for each line.
- This option is not perfect yet, and some text may disappear.
- This option only work in automatic mode.
- BG1/BG2/BG3/BGX(low) - Change the priority of this layer. The right part of screen, can select between automatic or not.
- Sprite1... - Change the priority of the sprites. SNES has 4 priorities like DS, but it can be useful to change the prioriry bijection.
- (Fix) - The number are register 212C 212D 2130 3130, tap on this part of screen to clear the GFX buffers and fix most GFX garbages on screen.
- <Save> - Save those parameters in the CFG file.
Multi languages
- Note that to get the new language settings to work, you'll first have to edit the config file that comes with SNEmulDS v0.6.
- You can check if your language is correct. You can choose one of the language in the firmware or some language by editing the snemul.cfg:
# Language of GUI # -1 -> Use firmware settings
- Firmware languages:
# 0 -> Japanese (Katakana only) # 1 -> English # 2 -> French # 3 -> German # 4 -> Italian # 5 -> Spanish
- Non firmware languages:
# 106 -> Portuguese # 107 -> Catalan # 108 -> Polish # 109 -> Dutch # 110 -> Danish
Controls
SNES Mouse Emulation:
Activaing mouse emulation mode will switch the bottom screen and the upper screen switch. You use the stylus to move the mouse cursor.
- START+L+R+LEFT - Enable SNES mouse emulation mode (switch both screens)
- START+L+R+RIGHT - Switch screen and disable SNES mouse emulation mode
Currently there are two methods of emulation:
- One for all games that uses SNES mouse. It compute the distance between two stylus tap/click to emulate the move of the mouse. This is not accurate and some games like Populous II use non linear moving, so the mouse cursor doesn't follow the stylus.
- Another method modifies directly the variables in RAM where the game stores the X and Y positions of cursor. This way, the mouse cursor moves accurately.
For both methods, the D-Pad is used to select the way the stylus emulate the mouse:
- Left (or Y) - When touch screen is pressed, the mouse is moved to this point and the mouse's left button is pressed.
- Right (or A) - When touch screen is pressed, the mouse is moved to this point and the mouse's right button is pressed.
- Down (or B) - When touch screen is pressed, the mouse is moved to this point.
- When the touch screen is not pressed, the buttons are released and the cursor doesn't move.
Another option is available with first method:
- UP (or X) and press the touchscreen at the same time - the stylus calibrates to this point. Use this if the mouse cursor doesn't follow the stylus correctly.
In mouse mode, you can also scroll the entire screen (all backgrounds) with:
- L (or R) + Up (or X) - Scroll up the screen.
- L (or R) + Down (or B) - Scroll down the screen.
FAQ
Q. My graphic are all corrupted, flashing, ugly, what can I do?
Go in the GFX config, and try to change options. Tap on fix zone to clear the GFX cache. Try to enable Wait for Vblank in the options.
You may also need to change the background layers order.You can do it in the options (instead of Automatic layers) or by pressing START+L+R+UP (LEFT AND RIGHT side buttons).
You can return to automatic layers by pressing START+LEFT+RIGHT+DOWN. Another option is to allow disabling or enabling background layers.
Q. Why SNEmulDS sound is bad?
SNEmulDS is not correctly synchronized with the SPC700 engine.
Some new options in configuration file allow you to improve the sound (see SoundPortSync in CFG file).
You can try the SPC jukebox instead, musics should be better.
Q. How can I speed up SNEmulDS?'
Make sure you are in No vblank mode in Options, and that Speed hack is in Full speed.
Q. Why my game seems slow whereas SNEmulDS says the speed is over 80%?
Most of the time, it comes from the speed hack. Not enough CPU cycles are given to the game, and it needs to use two frames instead of one.
Set speed hacks No speed hack should help.
Q. Game is too fast to play.
Enable Wait for Vblank in the options.
Q. Game doesn't start.
Choose No speed hack and/or sound emulation in Options menu. Surprisely, some games need to be in Full speed hacks mode to launch (like SUPER BOMBERMAN).
Q. I lost all my game progress. I will kill you.
Don't forget that SNEmulDS doesn't save SRAM automatically. You have to tap Save SRAM in the main menu to save your game progress. You can also use save states.
Q. Save states don't work.
Sorry but the current FAT libraries doesn't support saving for all cards. Use of DS SRAM is a future feature that may be help you.
Writing to card is not perfect, and your saved state can be corrupted, so you should save your game in several slots whenever possible.
Q. How I can use my own ZSNES/SNES9X save states?
You should be able to use your .SRM created by other emus. Be sure it is not compressed.
Simply put the SRM file in the SNES directory, along with your ROM.
Q. Why do you not support packing, my card/flasher is not working with SNEmulDS?
SNEmul philosophy is easy to use. That means no pre-script, no packer, no patches, etc.
You put your ROMS, SRAMs, save states directly in your SNES directory and that's all.
Moreover, by using a real filesytem development of specific features is much easier (especially large save states, SRAM saving, very large ROMs (4Mo) and multi ROMs support).
Screenshots
Media
How to Play SNES Games on Your NDS/DSi/3DS/2DS (PeaSensei2)
Changelog
0.6 alpha
- New GUI using framebuffer for sub screen.
- Better human interface, improved file selector (alphabetically sorted), buttons, check boxes, multi choose zones, etc.
- New GUI supports joypad (joypad is not supported when emulator is running however).
- Multi language support (more than 10 supported, including katakana Japanese).
- Memory pak support (Opera RAM, Slot 2 card reader, etc. using libram) with paging or with large ROM mapping.
- Scaling with pseudo bi-linear filtering and sprites squishing: full screen scaling (like snezzids), half scaling (half scaled and without sprites squishing), and no scaling (classic snemulds mode).
- Automatic SRAM saving when needed.
- Some other bugfixes and improvements in GUI.
External links
- Official website - http://www.snemul.com/ds
- Google Code - http://code.google.com/p/snemuldsx
- SourceForge - https://sourceforge.net/projects/snemuldsx