mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-21 11:19:11 -05:00
The libretro core passes system/mame/{hash,plugins,samples} (retro_init.cpp:111-155). Software lists are required in mamemess, where softlists are on by default. The trees and the 19 floppy samples are collected from libretro/mame at the pin.
12 lines
252 B
Lua
12 lines
252 B
Lua
xml = require("cheat_xml")
|
|
json = dofile("../json/init.lua")
|
|
|
|
function readAll(file)
|
|
local f = io.open(file, "rb")
|
|
local content = f:read("*all")
|
|
f:close()
|
|
return content
|
|
end
|
|
|
|
print(json.stringify(xml.conv_cheat(readAll(arg[1])), {indent = true}))
|