感谢贴吧老哥的教程
https://tieba.baidu.com/p/8959979835
首先下载贴吧老哥分享的文件,网盘地址:share.weiyun.com/3EVcqXoG
解压后打开RA核心压缩包:

复制“RA核心和信息文件”-“fbneo_ips_hack_libretro.info”到Retrobat根目录中:RetroBat\emulators\retroarch\info

复制“RA核心和信息文件”-“windows_x86_x64/fbneo_ips_hack_libretro.dll”到Retrobat根目录中:RetroBat\emulators\retroarch\cores

最终RetroBat\emulators\retroarch目录中cores文件夹和info文件夹各有一个刚才复制的ips文件


注意目录位置,然后复制“romset的dats表”到“RetroBat\bios\fbneo”文件夹中覆盖

复制完成后,可以直接打开"RetroBat\emulators\retroarch\retroarch.exe"加载核心查看是否有ips核心,如果没有看见加载核心,可以打开设置-界面菜单项可见性-开启“加载核心”和“加载游戏”


加载完成核心可以在菜单-系统信息-核心信息查看核心

这里就加载成功了,如果是用retroarch玩的话可以直接开始编辑ips-hack文件开玩了。
打开Retrobat中ES前端的配置文件:"F:\Games\RetroBat\emulationstation\.emulationstation\es_systems.cfg",添加刚才添加的核心配置:
<system>
<name>fbneo-ips</name>
<fullname>Final Burn Neo</fullname>
<manufacturer>Arcade</manufacturer>
<release/>
<hardware>arcade</hardware>
<path>~\..\roms\fbneo-ips</path>
<extension>.zip .7z .hak .fid</extension>
<command>"%HOME%\emulatorLauncher.exe" -gameinfo %GAMEINFOXML% %CONTROLLERSCONFIG% -system %SYSTEM% -emulator %EMULATOR% -core %CORE% -rom %ROM%</command>
<emulators>
<emulator name="libretro">
<cores>
<core default="true">fbneo</core>
<core>fbneo_ips_hack</core>
</cores>
</emulator>
</emulators>
<platform>arcade</platform>
<theme>fbneo</theme>
</system>
<system>
<name>Neo-Geo-ips</name>
<fullname>Neo Geo</fullname>
<manufacturer>SNK</manufacturer>
<release>1991</release>
<hardware>console</hardware>
<path>~\..\roms\neogeo</path>
<extension>.7z .zip .hak .fid</extension>
<command>"%HOME%\emulatorLauncher.exe" -gameinfo %GAMEINFOXML% %CONTROLLERSCONFIG% -system %SYSTEM% -emulator %EMULATOR% -core %CORE% -rom %ROM%</command>
<emulators>
<emulator name="libretro">
<cores>
<core default="true">fbneo</core>
<core>fbneo_ips_hack</core>
<core>mame</core>
<core>mame0139</core>
<core>mame078plus</core>
</cores>
</emulator>
<emulator name="mame">
<cores>
<core>mame</core>
</cores>
</emulator>
</emulators>
<platform>neogeo</platform>
<theme>neogeo</theme>
</system>
将这两串代码添加到配置文件,然后我们打开Retrobat-设置-游戏设置-按系统(模拟器配置):

选择fbneo使用ips-hack核心:Final Burn Neo-模拟器-LIBRETRO:FBNEO IPS HACK

这一步选好之后就可以开始编写hack文件了
根据贴吧老哥的教程,我们将ips补丁、rom文件、和hak文件放在同一个目录下,然后编写hak文件

hak文件编写好之后就可以打开Retrobat开始愉快玩耍了