找回密码
 立即注册

微信扫码登录

使用验证码登录

QQ登录

只需一步,快速开始

楼主: lili

【已解决】Retroarch的mame核心问题

[复制链接]

21

主题

305

回帖

868

积分

高级会员

积分
868
 楼主| 发表于 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"

200

主题

213

回帖

8570

积分

论坛元老

随意

积分
8570

活跃会员

发表于 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里能不能加载。

21

主题

305

回帖

868

积分

高级会员

积分
868
 楼主| 发表于 2025-2-13 17:29:01 | 显示全部楼层
leoxxx 发表于 2025-2-13 17:19
有什么提示?
你先试snes -cart 2020bb -rp "system\mame\roms\snes"在RETROARCH里能不能加载。 ...

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

QQ20250213-172822.png

21

主题

305

回帖

868

积分

高级会员

积分
868
 楼主| 发表于 2025-2-13 17:31:48 | 显示全部楼层
leoxxx 发表于 2025-2-13 17:19
有什么提示?
你先试snes -cart 2020bb -rp "system\mame\roms\snes"在RETROARCH里能不能加载。 ...

hash文件夹也是完整的

QQ20250213-173131.png

21

主题

305

回帖

868

积分

高级会员

积分
868
 楼主| 发表于 2025-2-13 17:43:23 来自手机 | 显示全部楼层
爱唱歌的汤姆猫 发表于 2025-2-13 16:40
全是7z格式的游戏压缩包,用zip格式的不香吗

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

153

主题

3528

回帖

7595

积分

论坛元老

独乐乐不如众乐乐,免费分享游戏光荣,贩卖游戏可耻.

积分
7595

推广达人最佳新人

发表于 2025-2-13 17:48:54 | 显示全部楼层
lili 发表于 2025-2-13 17:43
猫神,7z的合并集组占用空间少


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

21

主题

305

回帖

868

积分

高级会员

积分
868
 楼主| 发表于 2025-2-13 17:50:23 来自手机 | 显示全部楼层
爱唱歌的汤姆猫 发表于 2025-2-13 17:48
lili 发表于 2025-2-13 17:43
猫神,7z的合并集组占用空间少


强迫症,个人习惯问题

200

主题

213

回帖

8570

积分

论坛元老

随意

积分
8570

活跃会员

发表于 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
  1. retroarch -L mame "G:\RetroArch-Win64\system\mame\roms\kof95.zip"
复制代码
虽然路径可以写成system\mame\roms\kof95,可以启动ROM,但日志显示有错。这个应该是自动纠正了。

错误的日志
  1. [libretro INFO] ------------------------
  2. [libretro INFO] MAME 0.274 (e7d5643bfe5)
  3. [libretro INFO] ------------------------
  4. [INFO] [Content]: Content loading skipped. Implementation will load it on its own.
  5. [libretro ERROR] Error parsing game path: "G:\RetroArch-Win64\system\mame\roms\kof95"
  6. [libretro INFO] Starting game from command line: "kof95"
  7. [libretro WARN] Parse path failed: "kof95"
复制代码

正确的日志
  1. [libretro INFO] ------------------------
  2. [libretro INFO] MAME 0.274 (e7d5643bfe5)
  3. [libretro INFO] ------------------------
  4. [INFO] [Content]: Content loading skipped. Implementation will load it on its own.
  5. [libretro INFO] Starting game: "G:\RetroArch-Win64\system\mame\roms\kof95.zip"
复制代码

  1. retroarch -L mame kof95
复制代码
这样写是启动不了的。

  1. [libretro INFO] ------------------------
  2. [libretro INFO] MAME 0.274 (e7d5643bfe5)
  3. [libretro INFO] ------------------------
  4. [INFO] [Content]: Content loading skipped. Implementation will load it on its own.
  5. [libretro ERROR] Error parsing game path: "kof95"
  6. [libretro ERROR] Error parsing system name: "kof95"
  7. [libretro ERROR] Error parsing parent path: "kof95"
  8. [libretro INFO] Starting game from command line: "kof95"
  9. [libretro WARN] Parse path failed: "kof95"
  10. [libretro WARN] Parse systemname failed: "kof95"
  11. [libretro INFO] Game name: kof95
  12. [libretro INFO] Game description: The King of Fighters '95 (NGM-084)
  13. [libretro INFO] Game name: kof95
  14. [libretro INFO] Game description: The King of Fighters '95 (NGM-084)
  15. [libretro INFO] System found: "kof95"
  16. [ERROR] [Content]: Failed to load content
  17. [INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
  18. [INFO] [Core]: Unloading core..
  19. [INFO] [Core]: Unloading core symbols..
  20. [INFO] [Core]: Saved core options file to "G:\RetroArch-Win64\config\MAME\MAME.opt".
复制代码

命令行帮助

  1. ===================================================================
  2. RetroArch - Frontend for libretro
  3. Version: 1.20.0 (Git 6412f4feef) Jan  4 2025
  4. Compiler: MinGW (10.2.0) 64-bit
  5. ===================================================================

  6. Usage: retroarch [OPTIONS]... [FILE]

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

看看日志能不能找出直接批处理语法。

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

  1. retroarch -L mame "2.cmd"
复制代码
这个保存bat或cmd。

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

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

评分

参与人数 1金钱 +10 收起 理由
lili + 10 超级赞,竟然成功了

查看全部评分

21

主题

305

回帖

868

积分

高级会员

积分
868
 楼主| 发表于 2025-2-13 20:44:21 | 显示全部楼层
leoxxx 发表于 2025-2-13 18:40
retroarch不支持相关语法。
比如:我用mame启动KOF95
虽然路径可以写成system\mame\roms\kof95,可以启动R ...

超级赞,竟然成功了

200

主题

213

回帖

8570

积分

论坛元老

随意

积分
8570

活跃会员

发表于 2025-2-13 21:07:40 | 显示全部楼层
lili 发表于 2025-2-13 20:44
超级赞,竟然成功了

到底哪一条是对的?
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|肖琪模拟游戏站 ( 沪ICP备2023018581号-5|沪公网安备31011702888952号 )

GMT+8, 2025-2-23 14:31 , Processed in 0.077982 second(s), 5 queries , Redis On.

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表