<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Retroarch on heartnn的自留地</title><link>https://www.heartnn.com/tags/retroarch/</link><description>Recent content in Retroarch on heartnn的自留地</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><copyright>&amp;copy;2008-2022 heartnn的自留地</copyright><lastBuildDate>Tue, 25 Jun 2019 19:02:18 +0800</lastBuildDate><atom:link href="https://www.heartnn.com/tags/retroarch/index.xml" rel="self" type="application/rss+xml"/><item><title>自动生成PSV RetroArch游戏列表</title><link>https://www.heartnn.com/2019/06/25/auto-generate-retroarch-playlists-for-psvita/</link><pubDate>Tue, 25 Jun 2019 19:02:18 +0800</pubDate><guid>https://www.heartnn.com/2019/06/25/auto-generate-retroarch-playlists-for-psvita/</guid><description>本版本为psvita破解吧原有版本的增强版，可自动生成FC、SFC、MD、PCE、GBC、GBA、PS1列表，且按照名称排序，并在生成后借助iconv自动转换为UTF-8编码。
将下面代码和iconv.exe一起放在ux0:/Roms下即可，生成的列表在ux0:/data/retroarch/playlists下。
iconv的Windows版本下载地址：https://github.com/mlocati/gettext-iconv-windows/releases，需下载static 64位版本并解压缩。
@echo off setlocal EnableDelayedExpansion set NAME1=GBA set CORE1=vba_next_libretro.self set NAME2=FC set CORE2=fceumm_libretro.self set NAME3=GBC set CORE3=gambatte_libretro.self set NAME4=MD set CORE4=genesis_plus_gx_libretro.self set NAME5=PCE set CORE5=mednafen_pce_fast_libretro.self set NAME6=SFC set CORE6=snes9x2005_libretro.self set NAME7=PS1 set CORE7=pcsx_rearmed_libretro.self set dvr=%~d0 set pth1=%cd:~7% set pth=%pth1:Roms% set lstpth=data\retroarch\playlists for /l %%i in (1,1,7) do ( set nam=!NAME%%i! set cor=!CORE%%i! dir /on /b !nam!&amp;gt;%temp%\tmp.txt type nul&amp;gt;!dvr!\!lstpth!\!nam!.lpl for /f &amp;#34;delims=&amp;#34; %%g in (%temp%\tmp.txt) do ( set n=%%g set gn=!</description></item></channel></rss>