lili 发表于 2025-2-13 17:13:33

leoxxx 发表于 2025-2-13 17:07
通常应该是-cart,卡带。
你mame sns -lm一下看看。上面有示例。
或者你右键到SNES上看看是什么。上面图我 ...

启动不了,不知哪里错了:
retroarch -L cores\mame_libretro.dll snes -cart 2020bb -rp "system\mame\roms\snes"

leoxxx 发表于 2025-2-13 17:19:40

本帖最后由 leoxxx 于 2025-2-13 17:21 编辑

lili 发表于 2025-2-13 17:13
启动不了,不知哪里错了:
retroarch -L cores\mame_libretro.dll snes -cart 2020bb -rp "system\mame\r ...
有什么提示?
你先试snes -cart 2020bb -rp "system\mame\roms\snes"在RETROARCH里能不能加载。

lili 发表于 2025-2-13 17:29:01

leoxxx 发表于 2025-2-13 17:19
有什么提示?
你先试snes -cart 2020bb -rp "system\mame\roms\snes"在RETROARCH里能不能加载。 ...

打开RETROARCH后用加载游戏选择roms可用,用的是mame核心


lili 发表于 2025-2-13 17:31:48

leoxxx 发表于 2025-2-13 17:19
有什么提示?
你先试snes -cart 2020bb -rp "system\mame\roms\snes"在RETROARCH里能不能加载。 ...

hash文件夹也是完整的

lili 发表于 2025-2-13 17:43:23

爱唱歌的汤姆猫 发表于 2025-2-13 16:40
全是7z格式的游戏压缩包,用zip格式的不香吗

猫神,7z的合并集组占用空间少

爱唱歌的汤姆猫 发表于 2025-2-13 17:48:54

lili 发表于 2025-2-13 17:43
猫神,7z的合并集组占用空间少

原来是省硬盘空间啊,但是我感觉吧,买个超大容量的电脑硬盘,什么问题都解决了,比如买个4T,8T,16T的硬盘, 再说现在硬盘都白菜价格了,多买几个备份资源还是不错的。

lili 发表于 2025-2-13 17:50:23

爱唱歌的汤姆猫 发表于 2025-2-13 17:48
lili 发表于 2025-2-13 17:43
猫神,7z的合并集组占用空间少



强迫症,个人习惯问题

leoxxx 发表于 2025-2-13 18:40:05

本帖最后由 leoxxx 于 2025-2-13 21:45 编辑

lili 发表于 2025-2-13 17:13
启动不了,不知哪里错了:
retroarch -L cores\mame_libretro.dll snes -cart 2020bb -rp "system\mame\r ...
retroarch不支持相关语法。
比如:我用mame启动KOF95
retroarch -L mame "G:\RetroArch-Win64\system\mame\roms\kof95.zip"虽然路径可以写成system\mame\roms\kof95,可以启动ROM,但日志显示有错。这个应该是自动纠正了。

错误的日志
------------------------
MAME 0.274 (e7d5643bfe5)
------------------------
: Content loading skipped. Implementation will load it on its own.
Error parsing game path: "G:\RetroArch-Win64\system\mame\roms\kof95"
Starting game from command line: "kof95"
Parse path failed: "kof95"
正确的日志
------------------------
MAME 0.274 (e7d5643bfe5)
------------------------
: Content loading skipped. Implementation will load it on its own.
Starting game: "G:\RetroArch-Win64\system\mame\roms\kof95.zip"

retroarch -L mame kof95这样写是启动不了的。

------------------------
MAME 0.274 (e7d5643bfe5)
------------------------
: Content loading skipped. Implementation will load it on its own.
Error parsing game path: "kof95"
Error parsing system name: "kof95"
Error parsing parent path: "kof95"
Starting game from command line: "kof95"
Parse path failed: "kof95"
Parse systemname failed: "kof95"
Game name: kof95
Game description: The King of Fighters '95 (NGM-084)
Game name: kof95
Game description: The King of Fighters '95 (NGM-084)
System found: "kof95"
: Failed to load content
: Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
: Unloading core..
: Unloading core symbols..
: Saved core options file to "G:\RetroArch-Win64\config\MAME\MAME.opt".
命令行帮助

===================================================================
RetroArch - Frontend for libretro
Version: 1.20.0 (Git 6412f4feef) Jan4 2025
Compiler: MinGW (10.2.0) 64-bit
===================================================================

Usage: retroarch ...

-h, --help                     Show this help message.
-v, --verbose                  Verbose logging.
      --log-file=FILE            Log messages to FILE.
-V, --version                  Show version.
      --features               Print available features compiled into program.
      --menu                     Do not require content or libretro core to be loaded,
                                 starts directly in menu. If no arguments are passed to
                                 the program, it is equivalent to using --menu as only argument.
-c, --config=FILE            Path for config file.
                                 Defaults to retroarch.cfg in same directory as retroarch.exe.
                                 If a default config is not found, the program will attempt to create one.
      --appendconfig=FILE      Extra config files are loaded in, and take priority over
                                 config selected in -c (or default). Multiple configs are
                                 delimited by '|'.
      --subsystem=NAME         Use a subsystem of the libretro core. Multiple content
                                 files are loaded as multiple arguments. If a content
                                 file is skipped, use a blank ("") command line argument.
-L, --libretro=FILE            Path to libretro implementation. Overrides any config setting.
                                 FILE may be one of the following:
                                 1. The full path to a core shared object library: path/to/<core_name>_libretro.<lib_ext>
                                 2. A core shared object library 'file name' (*): <core_name>_libretro.<lib_ext>
                                 3. A core 'short name' (*): <core_name>_libretro OR <core_name>
                                 (*) If 'file name' or 'short name' do not correspond to an existing full file path,
                                 the configured frontend 'cores' directory will be searched for a match.
                                 Content must be loaded in an order which depends on the
                                 particular subsystem used. See verbose log output to learn
                                 how a particular subsystem wants content to be loaded.
      --scan=PATH|FILE         Import content from path.
-f, --fullscreen               Start the program in fullscreen regardless of config setting.
      --set-shader=PATH          Path to a shader (preset) that will be loaded each time content is loaded.
                                 Effectively overrides automatic shader presets.
                                 An empty argument "" will disable automatic shader presets.
-N, --nodevice=PORT            Disconnects controller device connected to PORT (1 to 16).
-A, --dualanalog=PORT          Connect a DualAnalog controller to PORT (1 to 16).
-d, --device=PORT:ID         Connect a generic device into PORT of the device (1 to 16).
                                 Format is PORT:ID, where ID is a number corresponding to the particular device.
-M, --sram-mode=MODE         SRAM handling mode. MODE can be:
                                 'noload-nosave', 'noload-save', 'load-nosave' or 'load-save'.
                                 Note: 'noload-save' implies that save files *WILL BE OVERWRITTEN*.
-H, --host                     Host netplay as user 1.
-C, --connect=HOST             Connect to netplay server as user 2.
      --port=PORT                Port used to netplay. Default is 55435.
      --mitm-session=ID         MITM (relay) session ID to join.
      --nick=NICK                Picks a username (for use with netplay). Not mandatory.
      --check-frames=NUMBER      Check frames when using netplay.
      --command                  Sends a command over UDP to an already running program process.
                                 Available commands are listed if command is invalid.
-P, --play-replay=FILE         Playback a replay file.
-R, --record-replay=FILE       Start recording a replay file from the beginning.
      --eof-exit               Exit upon reaching the end of the replay file.
-r, --record=FILE            Path to record video file. Using mkv extension is recommended.
      --recordconfig             Path to settings used during recording.
      --size=WIDTHxHEIGHT      Overrides output video size when recording.
-D, --detach                   Detach program from the running console. Not relevant for all platforms.
      --max-frames=NUMBER      Runs for the specified number of frames, then exits.
-U, --ups=FILE               Specifies path for UPS patch that will be applied to content.
      --bps=FILE               Specifies path for BPS patch that will be applied to content.
      --ips=FILE               Specifies path for IPS patch that will be applied to content.
      --xdelta=FILE            Specifies path for Xdelta patch that will be applied to content.
      --no-patch               Disables all forms of content patching.
      --max-frames-ss            Takes a screenshot at the end of max-frames.
      --max-frames-ss-path=FILEPath to save the screenshot to at the end of max-frames.
      --accessibility            Enables accessibility for blind users using text-to-speech.
      --load-menu-on-error       Open menu instead of quitting if specified core or content fails to load.
-e, --entryslot=NUMBER         Slot from which to load an entry state.
-s, --save=PATH                Path for save files (*.srm). (DEPRECATED, use --appendconfig and savefile_directory)
-S, --savestate=PATH         Path for the save state files (*.state). (DEPRECATED, use --appendconfig and savestate_directory)

See verbose log output to learn
how a particular subsystem wants content to be loaded.
看看日志能不能找出直接批处理语法。

retroarch -L mame "system\mame\roms\snes\2020bb.7z"先试试这个能不能能行。如果不行,先试做两个批处理。

retroarch -L mame "2.cmd"这个保存bat或cmd。

snes -cart 2020bb -rp "system\mame\roms\snes"这个保存为2.cmd。
用运行第一个批处理看能不能行。

retroarch -L mame "snes -cart 2020bb -rp "system\mame\roms\snes""还可以试试这个。
最好用完整路径。

lili 发表于 2025-2-13 20:44:21

leoxxx 发表于 2025-2-13 18:40
retroarch不支持相关语法。
比如:我用mame启动KOF95
虽然路径可以写成system\mame\roms\kof95,可以启动R ...

超级赞,竟然成功了:victory::handshake

leoxxx 发表于 2025-2-13 21:07:40

lili 发表于 2025-2-13 20:44
超级赞,竟然成功了

到底哪一条是对的?
页: 1 2 [3] 4
查看完整版本: 【已解决】Retroarch的mame核心问题