主题 : 【精品】NDS用NEOGEO模拟器NeoDS(接近完美)
妖 妖
级别: 模拟名流
UID: 32166
精华: 4
发帖: 4918
威望: 5 星
金钱: 45644 浮游币
贡献值: 1679 点
好评度: 7354 点
人气: 760 点
在线时间: 736(时)
注册时间: 2005-06-02
最后登录: 2024-08-06
楼主  发表于: 2008-04-30 13:30

【精品】NDS用NEOGEO模拟器NeoDS(接近完美)

NeoDS - Neo Geo AES/MVS Emulator for Nintendo DS
ingramb has today released a major shocker for the Nintendo DS Emulation Scene and that is a Neo Geo AES/MVS Emulator for Nintendo DS that he has been working on for a year. Games like windjammers, Metal Slug and Fatal Fury work either perfect of near perfect.
Heres the full details
NeoDS v0.1.0 by Ben Ingram
Website: http://groups.google.com/group/neods
If you have questions, READ THIS DOCUMENT FIRST!!! . If you still have questions, email me at ingramb AT gmail DOT com. I will be happy to help, but possibly slightly annoyed if your question is answered in this document.
INTRODUCTION
This is a NeoGeo AES/MVS emulator for the Nintendo DS. It can run all types of NeoGeo roms with some limitations.
Currently emulated:
* M68000 cpu (cyclone)
* Z80 cpu (DrZ80)
* All forms of NeoGeo protection/encryption
* Graphics
* ADPCM audio
* PSG audio
Not emulated:
* FM audio
* Raster effects
* Multiplayer
* Some timings are not that accurate
FM audio has already been done in jEnesisDS, so it is possible in theory. It will be hard to squeeze it into NeoDS, as both the ARM7 and ARM9 are pretty busy. But I will try. Most of the graphics in NeoDS are drawn with textured quads. Emulating raster effects using this method would require more polygons per frame than the DS is capable of (as far as I can tell). It may be possible to emulate raster effects using the DS 2D hardware, but there are lots of reasons why this would be difficult.
USING THE EMULATOR
Required:
* Nintendo DS (lite)
* DLDI compatible flash card
First, you need to patch NeoDS.nds for your DLDI flash card (NOTE - not all flashcards require patching). See here: http://chishm.drunkencoders.com/DLDI/index.html. Please don't email me for help about this, there are plenty of places online that explain how this works.
Next you will need to convert some NeoGeo roms (mslug.zip for example). You also need a bios rom (neogeo.zip). NeoDS uses the same rom sets as MAME, so make sure your games work in MAME before proceeding. Put all the roms you want to convert along with the bios together in a folder. Copy NeoDSConvert.exe into the same folder. Run NeoDSConvert, and it will convert all the NeoGeo roms in that folder. The converted roms will have the *.neo extension.
Copy the DLDI patched NeoDS.nds, and all the *.neo roms into the root of your flashcard. Run NeoDS.nds. The main menu should load, showing you a list of all the roms on your card. Use the arrow keys to select, and press start to choose. The rom should load, and you should be playing. You can load a rom without audio which will improve frame rate, but you won't get any sound (obviously). Once a game is loaded without audio, the only way to get audio back is to reload the game. Some games will freeze with audio disabled, so be warned!
Controls
[Arrow keys] - Arrow keys
[A, B, X, Y] - NeoGeo face buttons
[Start] - Start
[Select] - Coin
The NeoDS gui is controlled with the stylus.
* Video - Video can be normal or scaled. Normal is a cropped screen. Scaled shows the full screen, but scaled down to fit.
* CPU Clock- The NeoGeo cpu can be underclocked. This can actually make some games run faster! It is easier for NeoDS to emulate a slower cpu, and some NeoGeo games don't use the full cpu power anyway. Experiment and see.
* Screen Off - The lower screen can be turned off. Touch anywhere to turn it back on.
* Load rom - Load a new game
Please report any crashes to me. The more info you can give me, the better. Thanks!
ADVANCED
You can run NeoDSConvert from the command line. In this case, it takes up to 2 parameters.
-bios0 use the euro bios
-bios1 use the euro-s1 bios
-bios2 use the us bios
-bios3 use the us-e bios
-bios4 use the asia bios
-bios5 use the japan bios
-bios6 use the japan-s2 bios
-bios7 use the japan-s1 bios
-bios8 use the uni-bios.10 bios
-bios9 use the uni-bios.11 bios
-bios10 use the debug bios
-bios11 use the asia-aes bios
If there is another parameter, it will be interpreted as the name of the game, as given to MAME. In this case, only this rom will be converted.
For example, pretend you want to convert Metal Slug 1, using the japan-s2 bios. Create a new directory (C:\roms). Copy mslug.zip and NeoDsConvert.exe into C:\roms. To open a command line, click start, select "run...", type "cmd", and press enter. Type "cd c:\roms". Press enter. Then type "NeoDSConvert -bios6 mslug". Press enter.
TODO
* Save states
* Faster M68k cpu core
* Improved stability
* FM audio (?)
* Raster effects (?)
* Wifi multiplayer (?)
* Clean up NeoDSConvert source if I feel like it
TECHNICAL NOTES
NeoGeo games can be close to 100MB in size, while the ds only has 4MB of ram. Graphics, sound, and program code all need to be streamed into ram constantly while the emulator is running. NeoDs uses a modified libfat which has a lookup table to vastly speed up seek times. In the future, slot2 ds ram expansion packs could provide some speed up. But they only have 32MB, so games will still have to stream.
The emulator uses a slightly modified version of Cyclone for the m68k core. The memory handlers are all done in assembly code and integrated into the core. The jump table is also compressed using a series of sub jump tables. This uses an extra arm instruction to decode each opcode, but reduces the .nds file size by ~200k, and improves cache utilization. This seems to give a slight speed increase. My feeling is that cpu emulation is heavily memory bound. I think a smaller m68k core that fit mostly into the TCM could be much faster than cyclone, even if it needed more instructions to execute each opcode.
The NeoGeo sprite graphics are all done with textured quads using the ds 3d hardware. The NeoGeo tile layer is done with a ds tile background. Doing raster effects with quads is possible in theory, but changing quads per-scanline would need way more quads per frame than the ds is capable of rendering. 2d sprites could be used instead of quads, but this has several problems. The NeoGeo can render many more sprites than the ds, so it would take a complex hblank handler to swap them on a per-scanline basis. Also, the ds can only address 1024 sprites at once. This corresponds to 256k worth of vram, which is half what I can get using quads.
The NeoGeo adpcm audio is streamed from the card and decoded in software because the NeoGeo's audio format doesn't quite match the ds hardware format. The NeoGeo PSG is mapped directly to the ds PSG hardware. FM audio would probably have to be done on the arm7. But the arm7 has very little memory, and can't afford any slowdown (or else the audio will be choppy). A faster and smaller Z80 core might be needed first.
LICENCE
The gui code is all public domain (all files that begin with gui). The NeoDSConvert code is all public domain, except where the MAME/zlib licenses apply. The emulator code is free to use for non-commercial purposes. Contact me if these terms don't work for you.
I would appreciate credit/thanks in all cases if you use parts of NeoDs, but it's not required. Also, I would discourage the release of modified versions. If you have useful changes, submit them to me, and I'll put them in the official version, with full credit going to you. If you must release your own version, I would encourage you to release the source. But if you really want to release your own closed source version, I won't stop you (just don't try to sell it).
CREDITS
* FinalDave, notaz for Cyclone
* Reesy for DrZ80
* Wintermute for devkitPro toolchain
* chishm for libfat
* MAME for parts of NeoDSConvert
* Minizip used by NeoDSConvert
* GnGeo, FinalBurnAlpha, MAME, MVSPSP for source code reference
* Charles MacDonald for NeoGeo technical documentation
* Alexander Stante for NeoGeo technical documentation
* Brandon Long for a nice small sprintf implementation
* Everyone who answers questions on the gbadev.org forums
* Let me know if you think you should be here!
HISTORY
Project started Summer 2007
v0.1.0 4/29/2008
initial release

------------------------------------------------------------------------------------------------------------
My successfull tries
Lresort : Perfect
Wind Jammer : Perfect
Mslug3 : Perfect, some slowdown
Pulstar : Perfect, 35fps (on level 4) sometimes
Blazing Star : Background problem in some level (in the demo)
Cyber Lips : Perfect
Mark of The Wolf : Perfect, 45 fps on average
Ghost Pilot : Perfect
Baseball Star 2 : Perfect
Last Blade : Perfect, 45 fps on average
Shock trooper 2 : Perfect, 45 fps on average
Wiewpoint : Perfect
Football Frenzy : Perfect
Soccer Brawl : Perfect
other tries are with bad romset !
----------------------------------------------------------------------------------------------------------
So far I have tested these games:
Metal Slug: Works good, but crashes randomly (s)
NEOCUP 98: Menu works, crashes emu before a match starts (s)
KOF97: Works Almost perfectly (a little lag when action gets hectic) (s)
KOF94: Perfect (s)
Puzzle Bobble 2: Perfect (s)
Windjammers: Can't get it to load (s)
Neo Bomberman: Perfect (s)
Samurai Showdown: Perfect (s)
Viewpoint: Perfect (s)
Top Hunter: Perfect (s)
(s)= with sound
---------------------------------------------------------------------------------------------------------
the best way to convert is to make a .txt file
put in the location of NoDsConvert.exe and the
-bios1 e.g:
"C:\Documents and Settings\oem\My Documents\NeoDsConvert.exe -bios1"
then save the text file as a .bat
Then instead of running the command line all the time, all you do is run the .bat
Also a little compat update:
Metal Slug 2: works until you select character, then screen goes black and music repeats (s)
Metal Slug 4: Works good. Suffers from lag mostly during bosses
Perfect settings unsure, changing them around from time to time helps a little (S)
Some advice: Delete your existing non-working .neo files (ones that you didn't make with -bios1) before rebuilding with -bios1
as they will NOT work otherwise!
NeoDS是一款Neo Geo的AES/MVS基板的模拟器,你可以在DS上近乎完美的体验到SNK早期推出的经典游戏,诸如《合金弹头》、《饿狼传说》等经典游戏,年度最强感动之自制软件。
  模拟器的运行速度相当流畅,加上声音也可以接近全速的运行,而目前该模拟器还不支持FM音源,也不支持联机,但是第一个版本就有如此高的完成度,令人十分期待后续的更新版本。
以上是作者Readme文档中提供的转换过程。在实际试用的过程中,经过的几次尝试,提出以下几个要点提供参考。
试用心得:
  1.转换的时候,最好用命令行格式转换。我尝试了几次点击运行,转出的文件都无法运行。最后用命令行才搞定。虽然命令行部分叙述的比较麻烦,但是实际只有一个参数,还是比较简单的。
  2.游戏的ROM需要试用标准的ZIP文件,只要MAME模拟器能正常运行,游戏转换后就可以在该模拟器中运行。
  3.对于可以自动打DIDL补丁的烧录卡,你可以无需转换neods文件。
  4.实际试用的过程中,该模拟器的表现相当完美,加了声音之后也可以接近全速运行,强烈推荐怀旧玩家试用。
使用方法:
  1.将本站下载到的neods压缩包解压,会看到几个文件夹。其中NeoDs.nds文件就是模拟器的主文件。根据使用的烧录卡不同,可以要打相应烧录卡的DIDL补丁。
  2.将模拟器打好补丁之后,我们需要将游戏的ROM转成模拟器支持的格式。解压缩的文件夹中有个名为NeoDsConvert的文件夹,其中有个NeoDsConvert.exe文件,你需要将该文件和MVS基板的BIOS文件“neogeo.zip”和想转换的游戏ROM,放在同一个文件夹下。
  3.点击NeoDsConvert.exe文件,就会弹出命令行窗口,自动将游戏ROM进行转换,转换后的文件的后缀名为neo。
  4.作者也提供了命令行形式的转换形式。比如你想转换合金弹头1,用japan-s2的bios。你可以创建一个新的目录 (C:\roms)。将mslug.zip文件、neogeo.zip文件以及NeoDsConvert.exe都拷贝到C盘roms文件夹中。点击系统的开始按钮,选择“运行...”,输入"cmd",输入回车。在命令行窗口输入"cd c:\roms",按回车,然后输入 "NeoDSConvert -bios6 mslug",然后按回车就可以完成转换。命令行中可以选择的参数如下:
-bios0 use the euro bios(欧版)
-bios1 use the euro-s1 bios
-bios2 use the us bios (美版)
-bios3 use the us-e bios
-bios4 use the asia bios (亚版)
-bios5 use the japan bios (日版)
-bios6 use the japan-s2 bios
-bios7 use the japan-s1 bios
-bios8 use the uni-bios.10 bios
-bios9 use the uni-bios.11 bios
-bios10 use the debug bios (debug版)
-bios11 use the asia-aes bios

  5.将生成的neo文件以及打过补丁的模拟器文件放在烧录卡的TF卡根目录。
  6.之后,就可以将尽情的爽neogeo游戏了。感谢模拟器作者,带给我们这么完美的neogeo模拟器。
凡是出现可以进模拟器,但是游戏不能运行的情况都是因为没正确转换ROM,建议使用命令行进行ROM的转换。
NDS用NEO模拟器NeoDs下载地址:
匿名提取文件连接 http://pickup.mofile.com/2384380323622308
    或登录Mofile,使用提取码 2384380323622308 提取文件

NDS用NEO模拟器NeoDs BIOS下载地址:
匿名提取文件连接 http://pickup.mofile.com/1478154864734389
    或登录Mofile,使用提取码 1478154864734389 提取文件

妖 妖
级别: 模拟名流
UID: 32166
精华: 4
发帖: 4918
威望: 5 星
金钱: 45644 浮游币
贡献值: 1679 点
好评度: 7354 点
人气: 760 点
在线时间: 736(时)
注册时间: 2005-06-02
最后登录: 2024-08-06
沙发  发表于: 2008-04-30 13:43

合金弹头1:http://www.namipan.com/d/e834872724159be91cc5584ea89f90551e89a50f765fae00

合金弹头2:http://www.namipan.com/d/%e5%90%88%e9%87%91%e5%bc%b9%e5%a4%b42%e7%be%8e%e7%89%88.rar/884ac0fc45702d20c413afee2bc616d947dbbe42fd2ae500

合金弹头3:http://www.fs2you.com/files/92ce6e02-1687-11dd-a887-0014221f3995/

合金弹头4:http://www.fs2you.com/files/42389178-1760-11dd-8baa-00142218fc6e/

合金弹头5:http://www.fs2you.com/files/a7f28723-1688-11dd-b7f0-0014221f3995/

合金弹头X:http://www.fs2you.com/en/files/359565e8-1672-11dd-a1fb-00142218fc6e/

侍魂2:http://www.fs2you.com/files/124f82cc-16b7-11dd-af1a-0014221f4662/

侍魂3:http://www.fs2you.com/files/d582f973-16b9-11dd-8632-0014221f4662/

侍魂4:http://www.fs2you.com/files/50360607-16b9-11dd-8757-0014221f4662/

侍魂5:http://www.fs2you.com/files/b5ea21e3-167f-11dd-8745-00142218fc6e/

饿狼传说1:http://www.fs2you.com/files/0a8daea1-168b-11dd-b302-0014221f3995/

饿狼传说2:http://www.fs2you.com/files/834bfe8f-168b-11dd-b6b7-0014221f4662/

饿狼传说3-胜利之路:http://www.fs2you.com/files/c2fcdff5-1787-11dd-b741-00142218fc6e/

饿狼传说特别版:http://www.fs2you.com/files/ba180607-1788-11dd-b2c5-0014221b798a/

饿狼传说-狼之印记:http://www.fs2you.com/zh-cn/files/36c049d9-1677-11dd-9a17-0014221f3995/

真饿狼传说1:http://www.fs2you.com/files/2a081ce6-179d-11dd-8905-0014221f3995/

真饿狼传说2:http://www.fs2you.com/files/ea608875-178d-11dd-8fc4-0014221f4662/

真饿狼传说特别版:http://www.fs2you.com/files/78f878f3-178c-11dd-a9c8-00142218fc6e/

敌后奇兵1:http://www.fs2you.com/files/48929040-16aa-11dd-be66-0014221f3995/

敌后奇兵2:http://www.fs2you.com/files/1fd8bd6e-167d-11dd-a891-0014221b798a/

KOF96:http://www.fs2you.com/zh-cn/files/448ec287-1676-11dd-bcc7-0014221f4662/

KOF97:http://www.fs2you.com/files/6b77b502-1684-11dd-8d28-00142218fc6e/

KOF98:http://www.fs2you.com/files/cb8e0b1e-1691-11dd-b6d2-0014221b798a/

KOF99:http://www.fs2you.com/files/81a61266-1692-11dd-92f7-0014221f3995/

KOF2000:http://www.fs2you.com/files/850a4bd7-1695-11dd-a98e-0014221f4662/

KOF2001:http://www.fs2you.com/files/37b9e926-1696-11dd-b909-0014221b798a/

KOF2002:http://www.fs2you.com/files/131e5f6e-1698-11dd-9579-0014221f3995/

KOF2003:http://www.fs2you.com/files/c662d53d-1698-11dd-80af-0014221f3995/

月华剑士1:http://www.fs2you.com/files/540a5763-16a5-11dd-af9e-00142218fc6e/

月华剑士2:http://www.fs2you.com/files/75ae635e-1792-11dd-a653-0014221f3995/
[ 此贴被hp1980在2008-05-15 09:26重新编辑 ]
妖 妖
级别: 模拟名流
UID: 32166
精华: 4
发帖: 4918
威望: 5 星
金钱: 45644 浮游币
贡献值: 1679 点
好评度: 7354 点
人气: 760 点
在线时间: 736(时)
注册时间: 2005-06-02
最后登录: 2024-08-06
板凳  发表于: 2008-04-30 14:15

这层留着以后更新用。
附件是我用的NEO模拟器和BIOS文件。R4卡,全都可以正常运行。速度基本可以达到全速。
解压缩后放在TF卡的根目录下,模拟器和游戏不要放在文件夹内。否则无法找到游戏。
NeoDS简易教程
          1.将其与下载得到的neo一起放到你的烧录卡的根目录下,运行即可
          2. 选择好游戏后按start键开始游戏。
          3.游戏启动后,按select投币,start开始。其它按键自己看着办吧
          4.在游戏过程中,点击下屏的load rom可以重新选择游戏
          5.画面看不全怎么办?
            在下屏选择Video中的Scaled就可以将画面缩放到适应小N的屏幕了

天外魔境真传-东方伊甸园:http://www.fs2you.com/files/6f3d9fe6-16c3-11dd-ba1c-00142218fc6e/

世界英雄完美版:http://www.fs2you.com/files/175f2540-1713-11dd-98a1-0014221b798a/

梦幻小妖精:http://www.fs2you.com/files/0d1621a6-16ac-11dd-9538-00142218fc6e/

1945加强版:http://www.fs2you.com/files/ddf4b294-167d-11dd-86a6-00142218fc6e/

泡泡龙2n:http://www.namipan.com/d/%e6%b3%a1%e6%b3%a1%e9%be%992n.rar/96068fdad7422d89915b281a137995cb07b592f99f4d7c00

四国战机2:http://www.fs2you.com/files/19791668-171c-11dd-b785-0014221f4662/

四国战机3:http://www.fs2you.com/files/2875990f-171d-11dd-a6e5-0014221f3995/

blazsta和pulstar战机:http://www.fs2you.com/files/146b2845-16d1-11dd-80f5-0014221b798a/

魔鬼飞行员:http://www.fs2you.com/files/e824135c-16c2-11dd-b03a-0014221f4662/

炸弹人:http://www.namipan.com/d/a2b2ad14462349357b00914be052e12f4826910250e15800/

得点王2 世界杯:http://www.fs2you.com/files/86f6c00f-16aa-11dd-9e90-0014221f4662/

顶级猎手-罗迪和凯茜:http://www.fs2you.com/files/6bed9a0a-16ab-11dd-95e1-0014221b798a/

越南战争1975:http://www.fs2you.com/files/813da930-16b3-11dd-8adb-0014221f3995/

双截龙格斗:http://www.fs2you.com/files/aa41da63-171b-11dd-b24b-0014221b798a/

泡泡龙:http://www.fs2you.com/files/9cf2cf45-16ba-11dd-bda5-0014221b798a/

机甲部队:http://www.fs2you.com/files/fbb9b787-16ba-11dd-b25a-00142218fc6e/

战国传承1:http://www.fs2you.com/files/d371cdf5-1716-11dd-adc4-00142218fc6e/

战国传承2

战国传承3:http://www.fs2you.com/files/86abc775-1721-11dd-acf9-0014221f3995/

恐龙岛2:http://www.fs2you.com/zh-cn/files/b964343a-1721-11dd-855d-00142218fc6e/

新豪血寺-斗婚:http://www.fs2you.com/files/6cbdcb5c-173f-11dd-b354-0014221f4662/

龙吼:http://www.fs2you.com/files/bce4a205-1744-11dd-b74e-0014221b798a/

蓝色之旅:http://www.fs2you.com/files/4060e6ae-175b-11dd-9bfe-0014221b798a/

圣十字剑:http://www.fs2you.com/files/de0baf6b-175b-11dd-90b4-0014221b798a/

战斗边缘:http://www.fs2you.com/files/841ec863-175d-11dd-af73-00142218fc6e/

武藏严流记:http://www.fs2you.com/zh-cn/files/785f848f-175e-11dd-9cbd-0014221f4662/

变异公园格斗:http://www.fs2you.com/zh-cn/files/f00d295c-175e-11dd-8e35-0014221b798a/

忍者指令:http://www.namipan.com/d/ncommand.rar/09f83d3bf774e645c86937a2df128e8c76fc51412ff32d00

午夜恶梦:http://www.namipan.com/d/nitd.rar/afffe8ebfd1c89c6e60bc5b81501f1d1cd407c3f2f473a00

龙虎之拳2:http://www.fs2you.com/files/1ee158a8-1849-11dd-b62d-0014221b798a/

龙虎之拳3:http://www.fs2you.com/files/7cd63102-1849-11dd-b0fc-00142218fc6e/

SNK vs CAPCOM 十二隐藏人物版:http://www.fs2you.com/files/951738d1-1919-11dd-ad1c-00142218fc6e/

忍者指令:http://www.namipan.com/d/ncommand.rar/09f83d3bf774e645c86937a2df128e8c76fc51412ff32d00

午夜恶梦:http://www.namipan.com/d/nitd.rar/afffe8ebfd1c89c6e60bc5b81501f1d1cd407c3f2f473a00
[ 此贴被hp1980在2008-05-15 09:27重新编辑 ]
附件: NeoDs.rar (126 K) 下载次数:16
妖 妖
级别: 模拟名流
UID: 32166
精华: 4
发帖: 4918
威望: 5 星
金钱: 45644 浮游币
贡献值: 1679 点
好评度: 7354 点
人气: 760 点
在线时间: 736(时)
注册时间: 2005-06-02
最后登录: 2024-08-06
地板  发表于: 2008-04-30 15:32

这是各别游戏的截图。
敌后奇兵1

敌后奇兵2

顶级猎手-罗迪和凯茜

梦幻小妖精
[ 此贴被hp1980在2008-04-30 20:26重新编辑 ]
妖 妖
级别: 模拟名流
UID: 32166
精华: 4
发帖: 4918
威望: 5 星
金钱: 45644 浮游币
贡献值: 1679 点
好评度: 7354 点
人气: 760 点
在线时间: 736(时)
注册时间: 2005-06-02
最后登录: 2024-08-06
草席  发表于: 2008-04-30 17:30

这层楼也是,版主可以删掉
[ 此贴被hp1980在2008-04-30 19:30重新编辑 ]
妖 妖
级别: 模拟名流
UID: 32166
精华: 4
发帖: 4918
威望: 5 星
金钱: 45644 浮游币
贡献值: 1679 点
好评度: 7354 点
人气: 760 点
在线时间: 736(时)
注册时间: 2005-06-02
最后登录: 2024-08-06
5楼  发表于: 2008-04-30 19:26

我用R4试过了,基本都是全速。
妖 妖
级别: 模拟名流
UID: 32166
精华: 4
发帖: 4918
威望: 5 星
金钱: 45644 浮游币
贡献值: 1679 点
好评度: 7354 点
人气: 760 点
在线时间: 736(时)
注册时间: 2005-06-02
最后登录: 2024-08-06
6楼  发表于: 2008-05-01 10:26

98基本全速。
PS:所有游戏基本都是全速。各别会有拖慢。