Advertisement
Guest User

RetroPie-Setup Debug Log

a guest
Feb 28th, 2021
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 143.02 KB | None | 0 0
  1. + rps_logStart
  2. ++ date -d @1614511172
  3. + echo -e 'Log started at: Sun 28 Feb 13:19:32 EET 2021\n'
  4. Log started at: Sun 28 Feb 13:19:32 EET 2021
  5.  
  6. ++ git -C /home/pi/RetroPie-Setup log -1 --pretty=format:%h
  7. + echo 'RetroPie-Setup version: 4.7.9 (b3c1d15f)'
  8. RetroPie-Setup version: 4.7.9 (b3c1d15f)
  9. ++ uname -a
  10. + echo 'System: rpi3 (armv7l) - Raspbian GNU/Linux 10 (buster) - Linux retropie 5.10.11-v7+ #1399 SMP Thu Jan 28 12:06:05 GMT 2021 armv7l GNU/Linux'
  11. System: rpi3 (armv7l) - Raspbian GNU/Linux 10 (buster) - Linux retropie 5.10.11-v7+ #1399 SMP Thu Jan 28 12:06:05 GMT 2021 armv7l GNU/Linux
  12. + printHeading 'Running post update hooks'
  13. + printMsgs heading 'Running post update hooks'
  14. + local type=heading
  15. + shift
  16. + [[ 0 == \1 ]]
  17. + for msg in "$@"
  18. + [[ heading == \d\i\a\l\o\g ]]
  19. + [[ heading == \c\o\n\s\o\l\e ]]
  20. + [[ heading == \h\e\a\d\i\n\g ]]
  21. + echo -e '\n= = = = = = = = = = = = = = = = = = = = =\nRunning post update hooks\n= = = = = = = = = = = = = = = = = = = = =\n'
  22.  
  23. = = = = = = = = = = = = = = = = = = = = =
  24. Running post update hooks
  25. = = = = = = = = = = = = = = = = = = = = =
  26.  
  27. + return 0
  28. + rp_updateHooks
  29. + local function
  30. + local id
  31. ++ compgen -A function _update_hook_
  32. + for function in $(compgen -A function _update_hook_)
  33. + id=advmame
  34. + [[ -n advmame ]]
  35. + [[ 1 -eq 1 ]]
  36. + rp_callModule advmame _update_hook
  37. + local md_id=advmame
  38. + local mode=_update_hook
  39. + shift 2
  40. + rp_hasModule advmame
  41. + local id=advmame
  42. + [[ -n 2 ]]
  43. + return 0
  44. + rp_isEnabled advmame
  45. + local id=advmame
  46. + [[ 1 -eq 0 ]]
  47. + return 0
  48. + case "$mode" in
  49. ++ rp_moduleVars advmame
  50. ++ local id=advmame
  51. ++ local code
  52. ++ read -d '' -r code
  53. +++ rp_getInstallPath advmame
  54. +++ local id=advmame
  55. +++ echo /opt/retropie/emulators/advmame
  56. ++ echo 'local md_desc="AdvanceMAME v3.9"
  57. local md_help="ROM Extension: .zip\n\nCopy your AdvanceMAME roms to either /home/pi/RetroPie/roms/mame-advmame or\n/home/pi/RetroPie/roms/arcade"
  58. local md_type="emulators"
  59. local md_flags=""
  60. local md_path="/home/pi/RetroPie-Setup/scriptmodules/emulators/advmame.sh"
  61.  
  62. local md_repo_type="git"
  63. local md_repo_url="https://github.com/amadvance/advancemame"
  64. local md_repo_branch="v3.9"
  65. local md_repo_commit=""
  66.  
  67. local md_build="/home/pi/RetroPie-Setup/tmp/build/advmame"
  68. local md_inst="/opt/retropie/emulators/advmame"
  69. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  70. local md_data="/home/pi/RetroPie-Setup/scriptmodules/emulators/advmame"'
  71. + eval 'local md_desc="AdvanceMAME v3.9"
  72. local md_help="ROM Extension: .zip\n\nCopy your AdvanceMAME roms to either /home/pi/RetroPie/roms/mame-advmame or\n/home/pi/RetroPie/roms/arcade"
  73. local md_type="emulators"
  74. local md_flags=""
  75. local md_path="/home/pi/RetroPie-Setup/scriptmodules/emulators/advmame.sh"
  76.  
  77. local md_repo_type="git"
  78. local md_repo_url="https://github.com/amadvance/advancemame"
  79. local md_repo_branch="v3.9"
  80. local md_repo_commit=""
  81.  
  82. local md_build="/home/pi/RetroPie-Setup/tmp/build/advmame"
  83. local md_inst="/opt/retropie/emulators/advmame"
  84. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  85. local md_data="/home/pi/RetroPie-Setup/scriptmodules/emulators/advmame"'
  86. ++ local 'md_desc=AdvanceMAME v3.9'
  87. ++ local 'md_help=ROM Extension: .zip\n\nCopy your AdvanceMAME roms to either /home/pi/RetroPie/roms/mame-advmame or\n/home/pi/RetroPie/roms/arcade'
  88. ++ local md_type=emulators
  89. ++ local md_flags=
  90. ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/emulators/advmame.sh
  91. ++ local md_repo_type=git
  92. ++ local md_repo_url=https://github.com/amadvance/advancemame
  93. ++ local md_repo_branch=v3.9
  94. ++ local md_repo_commit=
  95. ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/advmame
  96. ++ local md_inst=/opt/retropie/emulators/advmame
  97. ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/emulators/advmame
  98. + local md_mode=install
  99. + local md_conf_root
  100. + [[ emulators == \p\o\r\t\s ]]
  101. + setConfigRoot ''
  102. + local dir=
  103. + md_conf_root=/opt/retropie/configs
  104. + [[ -n '' ]]
  105. + mkUserDir /opt/retropie/configs
  106. + mkdir -p /opt/retropie/configs
  107. + chown pi:pi /opt/retropie/configs
  108. + case "$mode" in
  109. + function=_update_hook_advmame
  110. + fnExists _update_hook_advmame
  111. + declare -f _update_hook_advmame
  112. + return 0
  113. + md_ret_require=()
  114. + local md_ret_require
  115. + md_ret_files=()
  116. + local md_ret_files
  117. + md_ret_errors=()
  118. + local md_ret_errors
  119. + md_ret_info=()
  120. + local md_ret_info
  121. + local action
  122. + local pushed=1
  123. + case "$mode" in
  124. + [[ -n '' ]]
  125. + case "$mode" in
  126. + _update_hook_advmame
  127. + [[ -d /opt/retropie/emulators/advmame/0.94.0 ]]
  128. + [[ -n '' ]]
  129. + [[ 0 -eq 0 ]]
  130. + [[ -n '' ]]
  131. + [[ -d /home/pi/RetroPie-Setup/tmp/build/advmame ]]
  132. + local ret=0
  133. + [[ 0 -gt 0 ]]
  134. + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
  135. + [[ _update_hook == \i\n\s\t\a\l\l ]]
  136. + fnExists install_advmame
  137. + declare -f install_advmame
  138. + return 0
  139. + [[ 0 -gt 0 ]]
  140. + [[ 1 -eq 0 ]]
  141. + return 0
  142. + for function in $(compgen -A function _update_hook_)
  143. + id=autostart
  144. + [[ -n autostart ]]
  145. + [[ 1 -eq 1 ]]
  146. + rp_callModule autostart _update_hook
  147. + local md_id=autostart
  148. + local mode=_update_hook
  149. + shift 2
  150. + rp_hasModule autostart
  151. + local id=autostart
  152. + [[ -n 188 ]]
  153. + return 0
  154. + rp_isEnabled autostart
  155. + local id=autostart
  156. + [[ 1 -eq 0 ]]
  157. + return 0
  158. + case "$mode" in
  159. ++ rp_moduleVars autostart
  160. ++ local id=autostart
  161. ++ local code
  162. ++ read -d '' -r code
  163. +++ rp_getInstallPath autostart
  164. +++ local id=autostart
  165. +++ echo /opt/retropie/supplementary/autostart
  166. ++ echo 'local md_desc="Auto-start Emulation Station / Kodi on boot"
  167. local md_help=""
  168. local md_type="supplementary"
  169. local md_flags=""
  170. local md_path="/home/pi/RetroPie-Setup/scriptmodules/supplementary/autostart.sh"
  171.  
  172. local md_repo_type=""
  173. local md_repo_url=""
  174. local md_repo_branch=""
  175. local md_repo_commit=""
  176.  
  177. local md_build="/home/pi/RetroPie-Setup/tmp/build/autostart"
  178. local md_inst="/opt/retropie/supplementary/autostart"
  179. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  180. local md_data="/home/pi/RetroPie-Setup/scriptmodules/supplementary/autostart"'
  181. + eval 'local md_desc="Auto-start Emulation Station / Kodi on boot"
  182. local md_help=""
  183. local md_type="supplementary"
  184. local md_flags=""
  185. local md_path="/home/pi/RetroPie-Setup/scriptmodules/supplementary/autostart.sh"
  186.  
  187. local md_repo_type=""
  188. local md_repo_url=""
  189. local md_repo_branch=""
  190. local md_repo_commit=""
  191.  
  192. local md_build="/home/pi/RetroPie-Setup/tmp/build/autostart"
  193. local md_inst="/opt/retropie/supplementary/autostart"
  194. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  195. local md_data="/home/pi/RetroPie-Setup/scriptmodules/supplementary/autostart"'
  196. ++ local 'md_desc=Auto-start Emulation Station / Kodi on boot'
  197. ++ local md_help=
  198. ++ local md_type=supplementary
  199. ++ local md_flags=
  200. ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/supplementary/autostart.sh
  201. ++ local md_repo_type=
  202. ++ local md_repo_url=
  203. ++ local md_repo_branch=
  204. ++ local md_repo_commit=
  205. ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/autostart
  206. ++ local md_inst=/opt/retropie/supplementary/autostart
  207. ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/supplementary/autostart
  208. + local md_mode=install
  209. + local md_conf_root
  210. + [[ supplementary == \p\o\r\t\s ]]
  211. + setConfigRoot ''
  212. + local dir=
  213. + md_conf_root=/opt/retropie/configs
  214. + [[ -n '' ]]
  215. + mkUserDir /opt/retropie/configs
  216. + mkdir -p /opt/retropie/configs
  217. + chown pi:pi /opt/retropie/configs
  218. + case "$mode" in
  219. + function=_update_hook_autostart
  220. + fnExists _update_hook_autostart
  221. + declare -f _update_hook_autostart
  222. + return 0
  223. + md_ret_require=()
  224. + local md_ret_require
  225. + md_ret_files=()
  226. + local md_ret_files
  227. + md_ret_errors=()
  228. + local md_ret_errors
  229. + md_ret_info=()
  230. + local md_ret_info
  231. + local action
  232. + local pushed=1
  233. + case "$mode" in
  234. + [[ -n '' ]]
  235. + case "$mode" in
  236. + _update_hook_autostart
  237. + [[ -f /etc/profile.d/10-emulationstation.sh ]]
  238. + [[ -n '' ]]
  239. + [[ 0 -eq 0 ]]
  240. + [[ -n '' ]]
  241. + [[ -d /home/pi/RetroPie-Setup/tmp/build/autostart ]]
  242. + local ret=0
  243. + [[ 0 -gt 0 ]]
  244. + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
  245. + [[ _update_hook == \i\n\s\t\a\l\l ]]
  246. + fnExists install_autostart
  247. + declare -f install_autostart
  248. + return 1
  249. + [[ _update_hook == \b\u\i\l\d ]]
  250. + [[ 0 -gt 0 ]]
  251. + [[ 1 -eq 0 ]]
  252. + return 0
  253. + for function in $(compgen -A function _update_hook_)
  254. + id=bluetooth
  255. + [[ -n bluetooth ]]
  256. + [[ 1 -eq 1 ]]
  257. + rp_callModule bluetooth _update_hook
  258. + local md_id=bluetooth
  259. + local mode=_update_hook
  260. + shift 2
  261. + rp_hasModule bluetooth
  262. + local id=bluetooth
  263. + [[ -n 190 ]]
  264. + return 0
  265. + rp_isEnabled bluetooth
  266. + local id=bluetooth
  267. + [[ 1 -eq 0 ]]
  268. + return 0
  269. + case "$mode" in
  270. ++ rp_moduleVars bluetooth
  271. ++ local id=bluetooth
  272. ++ local code
  273. ++ read -d '' -r code
  274. +++ rp_getInstallPath bluetooth
  275. +++ local id=bluetooth
  276. +++ echo /opt/retropie/supplementary/bluetooth
  277. ++ echo 'local md_desc="Configure Bluetooth Devices"
  278. local md_help=""
  279. local md_type="supplementary"
  280. local md_flags=""
  281. local md_path="/home/pi/RetroPie-Setup/scriptmodules/supplementary/bluetooth.sh"
  282.  
  283. local md_repo_type=""
  284. local md_repo_url=""
  285. local md_repo_branch=""
  286. local md_repo_commit=""
  287.  
  288. local md_build="/home/pi/RetroPie-Setup/tmp/build/bluetooth"
  289. local md_inst="/opt/retropie/supplementary/bluetooth"
  290. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  291. local md_data="/home/pi/RetroPie-Setup/scriptmodules/supplementary/bluetooth"'
  292. + eval 'local md_desc="Configure Bluetooth Devices"
  293. local md_help=""
  294. local md_type="supplementary"
  295. local md_flags=""
  296. local md_path="/home/pi/RetroPie-Setup/scriptmodules/supplementary/bluetooth.sh"
  297.  
  298. local md_repo_type=""
  299. local md_repo_url=""
  300. local md_repo_branch=""
  301. local md_repo_commit=""
  302.  
  303. local md_build="/home/pi/RetroPie-Setup/tmp/build/bluetooth"
  304. local md_inst="/opt/retropie/supplementary/bluetooth"
  305. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  306. local md_data="/home/pi/RetroPie-Setup/scriptmodules/supplementary/bluetooth"'
  307. ++ local 'md_desc=Configure Bluetooth Devices'
  308. ++ local md_help=
  309. ++ local md_type=supplementary
  310. ++ local md_flags=
  311. ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/supplementary/bluetooth.sh
  312. ++ local md_repo_type=
  313. ++ local md_repo_url=
  314. ++ local md_repo_branch=
  315. ++ local md_repo_commit=
  316. ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/bluetooth
  317. ++ local md_inst=/opt/retropie/supplementary/bluetooth
  318. ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/supplementary/bluetooth
  319. + local md_mode=install
  320. + local md_conf_root
  321. + [[ supplementary == \p\o\r\t\s ]]
  322. + setConfigRoot ''
  323. + local dir=
  324. + md_conf_root=/opt/retropie/configs
  325. + [[ -n '' ]]
  326. + mkUserDir /opt/retropie/configs
  327. + mkdir -p /opt/retropie/configs
  328. + chown pi:pi /opt/retropie/configs
  329. + case "$mode" in
  330. + function=_update_hook_bluetooth
  331. + fnExists _update_hook_bluetooth
  332. + declare -f _update_hook_bluetooth
  333. + return 0
  334. + md_ret_require=()
  335. + local md_ret_require
  336. + md_ret_files=()
  337. + local md_ret_files
  338. + md_ret_errors=()
  339. + local md_ret_errors
  340. + md_ret_info=()
  341. + local md_ret_info
  342. + local action
  343. + local pushed=1
  344. + case "$mode" in
  345. + [[ -n '' ]]
  346. + case "$mode" in
  347. + _update_hook_bluetooth
  348. + [[ -f /opt/retropie/configs/bluetooth.cfg ]]
  349. ++ _get_connect_mode
  350. ++ iniConfig = '"' /opt/retropie/configs/all/bluetooth.cfg
  351. ++ __ini_cfg_delim==
  352. ++ __ini_cfg_quote='"'
  353. ++ __ini_cfg_file=/opt/retropie/configs/all/bluetooth.cfg
  354. ++ iniGet connect_mode
  355. ++ local key=connect_mode
  356. ++ local file=
  357. ++ [[ -z '' ]]
  358. ++ file=/opt/retropie/configs/all/bluetooth.cfg
  359. ++ [[ ! -f /opt/retropie/configs/all/bluetooth.cfg ]]
  360. ++ ini_value=
  361. ++ return 1
  362. ++ [[ -n '' ]]
  363. ++ echo default
  364. + local mode=default
  365. + [[ default != \d\e\f\a\u\l\t ]]
  366. + [[ -n '' ]]
  367. + [[ 0 -eq 0 ]]
  368. + [[ -n '' ]]
  369. + [[ -d /home/pi/RetroPie-Setup/tmp/build/bluetooth ]]
  370. + local ret=0
  371. + [[ 0 -gt 0 ]]
  372. + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
  373. + [[ _update_hook == \i\n\s\t\a\l\l ]]
  374. + fnExists install_bluetooth
  375. + declare -f install_bluetooth
  376. + return 1
  377. + [[ _update_hook == \b\u\i\l\d ]]
  378. + [[ 0 -gt 0 ]]
  379. + [[ 1 -eq 0 ]]
  380. + return 0
  381. + for function in $(compgen -A function _update_hook_)
  382. + id=emulationstation
  383. + [[ -n emulationstation ]]
  384. + [[ 1 -eq 1 ]]
  385. + rp_callModule emulationstation _update_hook
  386. + local md_id=emulationstation
  387. + local mode=_update_hook
  388. + shift 2
  389. + rp_hasModule emulationstation
  390. + local id=emulationstation
  391. + [[ -n 199 ]]
  392. + return 0
  393. + rp_isEnabled emulationstation
  394. + local id=emulationstation
  395. + [[ 1 -eq 0 ]]
  396. + return 0
  397. + case "$mode" in
  398. ++ rp_moduleVars emulationstation
  399. ++ local id=emulationstation
  400. ++ local code
  401. ++ read -d '' -r code
  402. +++ rp_getInstallPath emulationstation
  403. +++ local id=emulationstation
  404. +++ echo /opt/retropie/supplementary/emulationstation
  405. ++ echo 'local md_desc="EmulationStation - Frontend used by RetroPie for launching emulators"
  406. local md_help=""
  407. local md_type="supplementary"
  408. local md_flags="frontend"
  409. local md_path="/home/pi/RetroPie-Setup/scriptmodules/supplementary/emulationstation.sh"
  410.  
  411. local md_repo_type="git"
  412. local md_repo_url="https://github.com/RetroPie/EmulationStation"
  413. local md_repo_branch=":_get_branch_emulationstation"
  414. local md_repo_commit=""
  415.  
  416. local md_build="/home/pi/RetroPie-Setup/tmp/build/emulationstation"
  417. local md_inst="/opt/retropie/supplementary/emulationstation"
  418. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  419. local md_data="/home/pi/RetroPie-Setup/scriptmodules/supplementary/emulationstation"'
  420. + eval 'local md_desc="EmulationStation - Frontend used by RetroPie for launching emulators"
  421. local md_help=""
  422. local md_type="supplementary"
  423. local md_flags="frontend"
  424. local md_path="/home/pi/RetroPie-Setup/scriptmodules/supplementary/emulationstation.sh"
  425.  
  426. local md_repo_type="git"
  427. local md_repo_url="https://github.com/RetroPie/EmulationStation"
  428. local md_repo_branch=":_get_branch_emulationstation"
  429. local md_repo_commit=""
  430.  
  431. local md_build="/home/pi/RetroPie-Setup/tmp/build/emulationstation"
  432. local md_inst="/opt/retropie/supplementary/emulationstation"
  433. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  434. local md_data="/home/pi/RetroPie-Setup/scriptmodules/supplementary/emulationstation"'
  435. ++ local 'md_desc=EmulationStation - Frontend used by RetroPie for launching emulators'
  436. ++ local md_help=
  437. ++ local md_type=supplementary
  438. ++ local md_flags=frontend
  439. ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/supplementary/emulationstation.sh
  440. ++ local md_repo_type=git
  441. ++ local md_repo_url=https://github.com/RetroPie/EmulationStation
  442. ++ local md_repo_branch=:_get_branch_emulationstation
  443. ++ local md_repo_commit=
  444. ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/emulationstation
  445. ++ local md_inst=/opt/retropie/supplementary/emulationstation
  446. ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/supplementary/emulationstation
  447. + local md_mode=install
  448. + local md_conf_root
  449. + [[ supplementary == \p\o\r\t\s ]]
  450. + setConfigRoot ''
  451. + local dir=
  452. + md_conf_root=/opt/retropie/configs
  453. + [[ -n '' ]]
  454. + mkUserDir /opt/retropie/configs
  455. + mkdir -p /opt/retropie/configs
  456. + chown pi:pi /opt/retropie/configs
  457. + case "$mode" in
  458. + function=_update_hook_emulationstation
  459. + fnExists _update_hook_emulationstation
  460. + declare -f _update_hook_emulationstation
  461. + return 0
  462. + md_ret_require=()
  463. + local md_ret_require
  464. + md_ret_files=()
  465. + local md_ret_files
  466. + md_ret_errors=()
  467. + local md_ret_errors
  468. + md_ret_info=()
  469. + local md_ret_info
  470. + local action
  471. + local pushed=1
  472. + case "$mode" in
  473. + [[ -n '' ]]
  474. + case "$mode" in
  475. + _update_hook_emulationstation
  476. + rp_isInstalled emulationstation
  477. + local id=emulationstation
  478. + local md_inst=/opt/retropie/supplementary/emulationstation
  479. + [[ -d /opt/retropie/supplementary/emulationstation ]]
  480. + return 0
  481. + copy_inputscripts_emulationstation
  482. + mkdir -p /opt/retropie/supplementary/emulationstation/scripts
  483. + cp -r /home/pi/RetroPie-Setup/scriptmodules/supplementary/emulationstation/configscripts /home/pi/RetroPie-Setup/scriptmodules/supplementary/emulationstation/inputconfiguration.sh /home/pi/RetroPie-Setup/scriptmodules/supplementary/emulationstation/retropie.svg /opt/retropie/supplementary/emulationstation/scripts/
  484. + chmod +x /opt/retropie/supplementary/emulationstation/scripts/inputconfiguration.sh
  485. + install_launch_emulationstation
  486. + cat
  487. + chmod +x /usr/bin/emulationstation
  488. + isPlatform x11
  489. + local flag=x11
  490. + hasFlag 'rpi3 32bit arm armv8 neon rpi gles videocore dispmanx' x11
  491. + local 'string=rpi3 32bit arm armv8 neon rpi gles videocore dispmanx'
  492. + local flag=x11
  493. + [[ -z rpi3 32bit arm armv8 neon rpi gles videocore dispmanx ]]
  494. + [[ -z x11 ]]
  495. + [[ rpi3 32bit arm armv8 neon rpi gles videocore dispmanx =~ (^| )x11($| ) ]]
  496. + return 1
  497. + return 1
  498. + [[ -n '' ]]
  499. + [[ 0 -eq 0 ]]
  500. + [[ -n '' ]]
  501. + [[ -d /home/pi/RetroPie-Setup/tmp/build/emulationstation ]]
  502. + local ret=0
  503. + [[ 0 -gt 0 ]]
  504. + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
  505. + [[ _update_hook == \i\n\s\t\a\l\l ]]
  506. + fnExists install_emulationstation
  507. + declare -f install_emulationstation
  508. + return 0
  509. + [[ 0 -gt 0 ]]
  510. + [[ 1 -eq 0 ]]
  511. + return 0
  512. + for function in $(compgen -A function _update_hook_)
  513. + id=emulationstation-dev
  514. + [[ -n emulationstation-dev ]]
  515. + [[ 1 -eq 1 ]]
  516. + rp_callModule emulationstation-dev _update_hook
  517. + local md_id=emulationstation-dev
  518. + local mode=_update_hook
  519. + shift 2
  520. + rp_hasModule emulationstation-dev
  521. + local id=emulationstation-dev
  522. + [[ -n 198 ]]
  523. + return 0
  524. + rp_isEnabled emulationstation-dev
  525. + local id=emulationstation-dev
  526. + [[ 1 -eq 0 ]]
  527. + return 0
  528. + case "$mode" in
  529. ++ rp_moduleVars emulationstation-dev
  530. ++ local id=emulationstation-dev
  531. ++ local code
  532. ++ read -d '' -r code
  533. +++ rp_getInstallPath emulationstation-dev
  534. +++ local id=emulationstation-dev
  535. +++ echo /opt/retropie/supplementary/emulationstation-dev
  536. ++ echo 'local md_desc="EmulationStation (latest development version) - Frontend used by RetroPie for launching emulators"
  537. local md_help=""
  538. local md_type="supplementary"
  539. local md_flags="frontend"
  540. local md_path="/home/pi/RetroPie-Setup/scriptmodules/supplementary/emulationstation-dev.sh"
  541.  
  542. local md_repo_type="git"
  543. local md_repo_url="https://github.com/RetroPie/EmulationStation"
  544. local md_repo_branch="master"
  545. local md_repo_commit=""
  546.  
  547. local md_build="/home/pi/RetroPie-Setup/tmp/build/emulationstation-dev"
  548. local md_inst="/opt/retropie/supplementary/emulationstation-dev"
  549. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  550. local md_data="/home/pi/RetroPie-Setup/scriptmodules/supplementary/emulationstation-dev"'
  551. + eval 'local md_desc="EmulationStation (latest development version) - Frontend used by RetroPie for launching emulators"
  552. local md_help=""
  553. local md_type="supplementary"
  554. local md_flags="frontend"
  555. local md_path="/home/pi/RetroPie-Setup/scriptmodules/supplementary/emulationstation-dev.sh"
  556.  
  557. local md_repo_type="git"
  558. local md_repo_url="https://github.com/RetroPie/EmulationStation"
  559. local md_repo_branch="master"
  560. local md_repo_commit=""
  561.  
  562. local md_build="/home/pi/RetroPie-Setup/tmp/build/emulationstation-dev"
  563. local md_inst="/opt/retropie/supplementary/emulationstation-dev"
  564. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  565. local md_data="/home/pi/RetroPie-Setup/scriptmodules/supplementary/emulationstation-dev"'
  566. ++ local 'md_desc=EmulationStation (latest development version) - Frontend used by RetroPie for launching emulators'
  567. ++ local md_help=
  568. ++ local md_type=supplementary
  569. ++ local md_flags=frontend
  570. ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/supplementary/emulationstation-dev.sh
  571. ++ local md_repo_type=git
  572. ++ local md_repo_url=https://github.com/RetroPie/EmulationStation
  573. ++ local md_repo_branch=master
  574. ++ local md_repo_commit=
  575. ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/emulationstation-dev
  576. ++ local md_inst=/opt/retropie/supplementary/emulationstation-dev
  577. ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/supplementary/emulationstation-dev
  578. + local md_mode=install
  579. + local md_conf_root
  580. + [[ supplementary == \p\o\r\t\s ]]
  581. + setConfigRoot ''
  582. + local dir=
  583. + md_conf_root=/opt/retropie/configs
  584. + [[ -n '' ]]
  585. + mkUserDir /opt/retropie/configs
  586. + mkdir -p /opt/retropie/configs
  587. + chown pi:pi /opt/retropie/configs
  588. + case "$mode" in
  589. + function=_update_hook_emulationstation-dev
  590. + fnExists _update_hook_emulationstation-dev
  591. + declare -f _update_hook_emulationstation-dev
  592. + return 0
  593. + md_ret_require=()
  594. + local md_ret_require
  595. + md_ret_files=()
  596. + local md_ret_files
  597. + md_ret_errors=()
  598. + local md_ret_errors
  599. + md_ret_info=()
  600. + local md_ret_info
  601. + local action
  602. + local pushed=1
  603. + case "$mode" in
  604. + [[ -n '' ]]
  605. + case "$mode" in
  606. + _update_hook_emulationstation-dev
  607. + _update_hook_emulationstation
  608. + rp_isInstalled emulationstation-dev
  609. + local id=emulationstation-dev
  610. + local md_inst=/opt/retropie/supplementary/emulationstation-dev
  611. + [[ -d /opt/retropie/supplementary/emulationstation-dev ]]
  612. + return 1
  613. + [[ -n '' ]]
  614. + [[ 0 -eq 0 ]]
  615. + [[ -n '' ]]
  616. + [[ -d /home/pi/RetroPie-Setup/tmp/build/emulationstation-dev ]]
  617. + local ret=0
  618. + [[ 0 -gt 0 ]]
  619. + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
  620. + [[ _update_hook == \i\n\s\t\a\l\l ]]
  621. + fnExists install_emulationstation-dev
  622. + declare -f install_emulationstation-dev
  623. + return 0
  624. + [[ 0 -gt 0 ]]
  625. + [[ 1 -eq 0 ]]
  626. + return 0
  627. + for function in $(compgen -A function _update_hook_)
  628. + id=frotz
  629. + [[ -n frotz ]]
  630. + [[ 1 -eq 1 ]]
  631. + rp_callModule frotz _update_hook
  632. + local md_id=frotz
  633. + local mode=_update_hook
  634. + shift 2
  635. + rp_hasModule frotz
  636. + local id=frotz
  637. + [[ -n 16 ]]
  638. + return 0
  639. + rp_isEnabled frotz
  640. + local id=frotz
  641. + [[ 1 -eq 0 ]]
  642. + return 0
  643. + case "$mode" in
  644. ++ rp_moduleVars frotz
  645. ++ local id=frotz
  646. ++ local code
  647. ++ read -d '' -r code
  648. +++ rp_getInstallPath frotz
  649. +++ local id=frotz
  650. +++ echo /opt/retropie/emulators/frotz
  651. ++ echo 'local md_desc="Z-Machine Interpreter for Infocom games"
  652. local md_help="ROM Extensions: .dat .zip .z1 .z2 .z3 .z4 .z5 .z6 .z7 .z8\n\nCopy your Infocom games to /home/pi/RetroPie/roms/zmachine"
  653. local md_type="emulators"
  654. local md_flags=""
  655. local md_path="/home/pi/RetroPie-Setup/scriptmodules/emulators/frotz.sh"
  656.  
  657. local md_repo_type=""
  658. local md_repo_url=""
  659. local md_repo_branch=""
  660. local md_repo_commit=""
  661.  
  662. local md_build="/home/pi/RetroPie-Setup/tmp/build/frotz"
  663. local md_inst="/opt/retropie/emulators/frotz"
  664. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  665. local md_data="/home/pi/RetroPie-Setup/scriptmodules/emulators/frotz"'
  666. + eval 'local md_desc="Z-Machine Interpreter for Infocom games"
  667. local md_help="ROM Extensions: .dat .zip .z1 .z2 .z3 .z4 .z5 .z6 .z7 .z8\n\nCopy your Infocom games to /home/pi/RetroPie/roms/zmachine"
  668. local md_type="emulators"
  669. local md_flags=""
  670. local md_path="/home/pi/RetroPie-Setup/scriptmodules/emulators/frotz.sh"
  671.  
  672. local md_repo_type=""
  673. local md_repo_url=""
  674. local md_repo_branch=""
  675. local md_repo_commit=""
  676.  
  677. local md_build="/home/pi/RetroPie-Setup/tmp/build/frotz"
  678. local md_inst="/opt/retropie/emulators/frotz"
  679. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  680. local md_data="/home/pi/RetroPie-Setup/scriptmodules/emulators/frotz"'
  681. ++ local 'md_desc=Z-Machine Interpreter for Infocom games'
  682. ++ local 'md_help=ROM Extensions: .dat .zip .z1 .z2 .z3 .z4 .z5 .z6 .z7 .z8\n\nCopy your Infocom games to /home/pi/RetroPie/roms/zmachine'
  683. ++ local md_type=emulators
  684. ++ local md_flags=
  685. ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/emulators/frotz.sh
  686. ++ local md_repo_type=
  687. ++ local md_repo_url=
  688. ++ local md_repo_branch=
  689. ++ local md_repo_commit=
  690. ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/frotz
  691. ++ local md_inst=/opt/retropie/emulators/frotz
  692. ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/emulators/frotz
  693. + local md_mode=install
  694. + local md_conf_root
  695. + [[ emulators == \p\o\r\t\s ]]
  696. + setConfigRoot ''
  697. + local dir=
  698. + md_conf_root=/opt/retropie/configs
  699. + [[ -n '' ]]
  700. + mkUserDir /opt/retropie/configs
  701. + mkdir -p /opt/retropie/configs
  702. + chown pi:pi /opt/retropie/configs
  703. + case "$mode" in
  704. + function=_update_hook_frotz
  705. + fnExists _update_hook_frotz
  706. + declare -f _update_hook_frotz
  707. + return 0
  708. + md_ret_require=()
  709. + local md_ret_require
  710. + md_ret_files=()
  711. + local md_ret_files
  712. + md_ret_errors=()
  713. + local md_ret_errors
  714. + md_ret_info=()
  715. + local md_ret_info
  716. + local action
  717. + local pushed=1
  718. + case "$mode" in
  719. + [[ -n '' ]]
  720. + case "$mode" in
  721. + _update_hook_frotz
  722. + hasPackage frotz
  723. + local pkg=frotz
  724. + local req_ver=
  725. + local comp=
  726. + [[ -z '' ]]
  727. + comp=ge
  728. + local ver
  729. + local status
  730. ++ dpkg-query -W '--showformat=${Status} ${Version}' frotz
  731. + local out=
  732. + [[ 0 -eq 0 ]]
  733. + ver=
  734. + status=
  735. + local installed=0
  736. + [[ '' == *\o\k\ \i\n\s\t\a\l\l\e\d ]]
  737. + [[ -z '' ]]
  738. + [[ 0 -eq 1 ]]
  739. + return 1
  740. + [[ -n '' ]]
  741. + [[ 0 -eq 0 ]]
  742. + [[ -n '' ]]
  743. + [[ -d /home/pi/RetroPie-Setup/tmp/build/frotz ]]
  744. + local ret=0
  745. + [[ 0 -gt 0 ]]
  746. + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
  747. + [[ _update_hook == \i\n\s\t\a\l\l ]]
  748. + fnExists install_frotz
  749. + declare -f install_frotz
  750. + return 1
  751. + [[ _update_hook == \b\u\i\l\d ]]
  752. + [[ 0 -gt 0 ]]
  753. + [[ 1 -eq 0 ]]
  754. + return 0
  755. + for function in $(compgen -A function _update_hook_)
  756. + id=kodi
  757. + [[ -n kodi ]]
  758. + [[ 1 -eq 1 ]]
  759. + rp_callModule kodi _update_hook
  760. + local md_id=kodi
  761. + local mode=_update_hook
  762. + shift 2
  763. + rp_hasModule kodi
  764. + local id=kodi
  765. + [[ -n 159 ]]
  766. + return 0
  767. + rp_isEnabled kodi
  768. + local id=kodi
  769. + [[ 1 -eq 0 ]]
  770. + return 0
  771. + case "$mode" in
  772. ++ rp_moduleVars kodi
  773. ++ local id=kodi
  774. ++ local code
  775. ++ read -d '' -r code
  776. +++ rp_getInstallPath kodi
  777. +++ local id=kodi
  778. +++ echo /opt/retropie/ports/kodi
  779. ++ echo 'local md_desc="Kodi - Open source home theatre software"
  780. local md_help=""
  781. local md_type="ports"
  782. local md_flags="!mali !osmc !xbian"
  783. local md_path="/home/pi/RetroPie-Setup/scriptmodules/ports/kodi.sh"
  784.  
  785. local md_repo_type=""
  786. local md_repo_url=""
  787. local md_repo_branch=""
  788. local md_repo_commit=""
  789.  
  790. local md_build="/home/pi/RetroPie-Setup/tmp/build/kodi"
  791. local md_inst="/opt/retropie/ports/kodi"
  792. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  793. local md_data="/home/pi/RetroPie-Setup/scriptmodules/ports/kodi"'
  794. + eval 'local md_desc="Kodi - Open source home theatre software"
  795. local md_help=""
  796. local md_type="ports"
  797. local md_flags="!mali !osmc !xbian"
  798. local md_path="/home/pi/RetroPie-Setup/scriptmodules/ports/kodi.sh"
  799.  
  800. local md_repo_type=""
  801. local md_repo_url=""
  802. local md_repo_branch=""
  803. local md_repo_commit=""
  804.  
  805. local md_build="/home/pi/RetroPie-Setup/tmp/build/kodi"
  806. local md_inst="/opt/retropie/ports/kodi"
  807. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  808. local md_data="/home/pi/RetroPie-Setup/scriptmodules/ports/kodi"'
  809. ++ local 'md_desc=Kodi - Open source home theatre software'
  810. ++ local md_help=
  811. ++ local md_type=ports
  812. ++ local 'md_flags=!mali !osmc !xbian'
  813. ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/ports/kodi.sh
  814. ++ local md_repo_type=
  815. ++ local md_repo_url=
  816. ++ local md_repo_branch=
  817. ++ local md_repo_commit=
  818. ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/kodi
  819. ++ local md_inst=/opt/retropie/ports/kodi
  820. ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/ports/kodi
  821. + local md_mode=install
  822. + local md_conf_root
  823. + [[ ports == \p\o\r\t\s ]]
  824. + setConfigRoot ports
  825. + local dir=ports
  826. + md_conf_root=/opt/retropie/configs
  827. + [[ -n ports ]]
  828. + md_conf_root+=/ports
  829. + mkUserDir /opt/retropie/configs/ports
  830. + mkdir -p /opt/retropie/configs/ports
  831. + chown pi:pi /opt/retropie/configs/ports
  832. + case "$mode" in
  833. + function=_update_hook_kodi
  834. + fnExists _update_hook_kodi
  835. + declare -f _update_hook_kodi
  836. + return 0
  837. + md_ret_require=()
  838. + local md_ret_require
  839. + md_ret_files=()
  840. + local md_ret_files
  841. + md_ret_errors=()
  842. + local md_ret_errors
  843. + md_ret_info=()
  844. + local md_ret_info
  845. + local action
  846. + local pushed=1
  847. + case "$mode" in
  848. + [[ -n '' ]]
  849. + case "$mode" in
  850. + _update_hook_kodi
  851. + hasPackage kodi
  852. + local pkg=kodi
  853. + local req_ver=
  854. + local comp=
  855. + [[ -z '' ]]
  856. + comp=ge
  857. + local ver
  858. + local status
  859. ++ dpkg-query -W '--showformat=${Status} ${Version}' kodi
  860. + local 'out=deinstall ok config-files 2:18.7-1~buster'
  861. + [[ 0 -eq 0 ]]
  862. + ver=2:18.7-1~buster
  863. + status='deinstall ok config-files'
  864. + local installed=0
  865. + [[ deinstall ok config-files == *\o\k\ \i\n\s\t\a\l\l\e\d ]]
  866. + [[ -z '' ]]
  867. + [[ 0 -eq 1 ]]
  868. + return 1
  869. + [[ -n '' ]]
  870. + [[ 0 -eq 0 ]]
  871. + [[ -n '' ]]
  872. + [[ -d /home/pi/RetroPie-Setup/tmp/build/kodi ]]
  873. + local ret=0
  874. + [[ 0 -gt 0 ]]
  875. + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
  876. + [[ _update_hook == \i\n\s\t\a\l\l ]]
  877. + fnExists install_kodi
  878. + declare -f install_kodi
  879. + return 1
  880. + [[ _update_hook == \b\u\i\l\d ]]
  881. + [[ 0 -gt 0 ]]
  882. + [[ 1 -eq 0 ]]
  883. + return 0
  884. + for function in $(compgen -A function _update_hook_)
  885. + id=lincity-ng
  886. + [[ -n lincity-ng ]]
  887. + [[ 1 -eq 1 ]]
  888. + rp_callModule lincity-ng _update_hook
  889. + local md_id=lincity-ng
  890. + local mode=_update_hook
  891. + shift 2
  892. + rp_hasModule lincity-ng
  893. + local id=lincity-ng
  894. + [[ -n 160 ]]
  895. + return 0
  896. + rp_isEnabled lincity-ng
  897. + local id=lincity-ng
  898. + [[ 1 -eq 0 ]]
  899. + return 0
  900. + case "$mode" in
  901. ++ rp_moduleVars lincity-ng
  902. ++ local id=lincity-ng
  903. ++ local code
  904. ++ read -d '' -r code
  905. +++ rp_getInstallPath lincity-ng
  906. +++ local id=lincity-ng
  907. +++ echo /opt/retropie/ports/lincity-ng
  908. ++ echo 'local md_desc="lincity-ng - Open Source City Building Game"
  909. local md_help=""
  910. local md_type="ports"
  911. local md_flags="!mali"
  912. local md_path="/home/pi/RetroPie-Setup/scriptmodules/ports/lincity-ng.sh"
  913.  
  914. local md_repo_type=""
  915. local md_repo_url=""
  916. local md_repo_branch=""
  917. local md_repo_commit=""
  918.  
  919. local md_build="/home/pi/RetroPie-Setup/tmp/build/lincity-ng"
  920. local md_inst="/opt/retropie/ports/lincity-ng"
  921. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  922. local md_data="/home/pi/RetroPie-Setup/scriptmodules/ports/lincity-ng"'
  923. + eval 'local md_desc="lincity-ng - Open Source City Building Game"
  924. local md_help=""
  925. local md_type="ports"
  926. local md_flags="!mali"
  927. local md_path="/home/pi/RetroPie-Setup/scriptmodules/ports/lincity-ng.sh"
  928.  
  929. local md_repo_type=""
  930. local md_repo_url=""
  931. local md_repo_branch=""
  932. local md_repo_commit=""
  933.  
  934. local md_build="/home/pi/RetroPie-Setup/tmp/build/lincity-ng"
  935. local md_inst="/opt/retropie/ports/lincity-ng"
  936. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  937. local md_data="/home/pi/RetroPie-Setup/scriptmodules/ports/lincity-ng"'
  938. ++ local 'md_desc=lincity-ng - Open Source City Building Game'
  939. ++ local md_help=
  940. ++ local md_type=ports
  941. ++ local 'md_flags=!mali'
  942. ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/ports/lincity-ng.sh
  943. ++ local md_repo_type=
  944. ++ local md_repo_url=
  945. ++ local md_repo_branch=
  946. ++ local md_repo_commit=
  947. ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/lincity-ng
  948. ++ local md_inst=/opt/retropie/ports/lincity-ng
  949. ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/ports/lincity-ng
  950. + local md_mode=install
  951. + local md_conf_root
  952. + [[ ports == \p\o\r\t\s ]]
  953. + setConfigRoot ports
  954. + local dir=ports
  955. + md_conf_root=/opt/retropie/configs
  956. + [[ -n ports ]]
  957. + md_conf_root+=/ports
  958. + mkUserDir /opt/retropie/configs/ports
  959. + mkdir -p /opt/retropie/configs/ports
  960. + chown pi:pi /opt/retropie/configs/ports
  961. + case "$mode" in
  962. + function=_update_hook_lincity-ng
  963. + fnExists _update_hook_lincity-ng
  964. + declare -f _update_hook_lincity-ng
  965. + return 0
  966. + md_ret_require=()
  967. + local md_ret_require
  968. + md_ret_files=()
  969. + local md_ret_files
  970. + md_ret_errors=()
  971. + local md_ret_errors
  972. + md_ret_info=()
  973. + local md_ret_info
  974. + local action
  975. + local pushed=1
  976. + case "$mode" in
  977. + [[ -n '' ]]
  978. + case "$mode" in
  979. + _update_hook_lincity-ng
  980. + hasPackage lincity-ng
  981. + local pkg=lincity-ng
  982. + local req_ver=
  983. + local comp=
  984. + [[ -z '' ]]
  985. + comp=ge
  986. + local ver
  987. + local status
  988. ++ dpkg-query -W '--showformat=${Status} ${Version}' lincity-ng
  989. + local out=
  990. + [[ 0 -eq 0 ]]
  991. + ver=
  992. + status=
  993. + local installed=0
  994. + [[ '' == *\o\k\ \i\n\s\t\a\l\l\e\d ]]
  995. + [[ -z '' ]]
  996. + [[ 0 -eq 1 ]]
  997. + return 1
  998. + [[ -n '' ]]
  999. + [[ 0 -eq 0 ]]
  1000. + [[ -n '' ]]
  1001. + [[ -d /home/pi/RetroPie-Setup/tmp/build/lincity-ng ]]
  1002. + local ret=0
  1003. + [[ 0 -gt 0 ]]
  1004. + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
  1005. + [[ _update_hook == \i\n\s\t\a\l\l ]]
  1006. + fnExists install_lincity-ng
  1007. + declare -f install_lincity-ng
  1008. + return 1
  1009. + [[ _update_hook == \b\u\i\l\d ]]
  1010. + [[ 0 -gt 0 ]]
  1011. + [[ 1 -eq 0 ]]
  1012. + return 0
  1013. + for function in $(compgen -A function _update_hook_)
  1014. + id=lr-beetle-ngp
  1015. + [[ -n lr-beetle-ngp ]]
  1016. + [[ 1 -eq 1 ]]
  1017. + rp_callModule lr-beetle-ngp _update_hook
  1018. + local md_id=lr-beetle-ngp
  1019. + local mode=_update_hook
  1020. + shift 2
  1021. + rp_hasModule lr-beetle-ngp
  1022. + local id=lr-beetle-ngp
  1023. + [[ -n 63 ]]
  1024. + return 0
  1025. + rp_isEnabled lr-beetle-ngp
  1026. + local id=lr-beetle-ngp
  1027. + [[ 1 -eq 0 ]]
  1028. + return 0
  1029. + case "$mode" in
  1030. ++ rp_moduleVars lr-beetle-ngp
  1031. ++ local id=lr-beetle-ngp
  1032. ++ local code
  1033. ++ read -d '' -r code
  1034. +++ rp_getInstallPath lr-beetle-ngp
  1035. +++ local id=lr-beetle-ngp
  1036. +++ echo /opt/retropie/libretrocores/lr-beetle-ngp
  1037. ++ echo 'local md_desc="Neo Geo Pocket(Color)emu - Mednafen Neo Geo Pocket core port for libretro"
  1038. local md_help="ROM Extensions: .ngc .ngp .zip\n\nCopy your Neo Geo Pocket roms to /home/pi/RetroPie/roms/ngp\n\nCopy your Neo Geo Pocket Color roms to /home/pi/RetroPie/roms/ngpc"
  1039. local md_type="libretrocores"
  1040. local md_flags=""
  1041. local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-beetle-ngp.sh"
  1042.  
  1043. local md_repo_type="git"
  1044. local md_repo_url="https://github.com/libretro/beetle-ngp-libretro.git"
  1045. local md_repo_branch="master"
  1046. local md_repo_commit=""
  1047.  
  1048. local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-beetle-ngp"
  1049. local md_inst="/opt/retropie/libretrocores/lr-beetle-ngp"
  1050. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  1051. local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-beetle-ngp"'
  1052. + eval 'local md_desc="Neo Geo Pocket(Color)emu - Mednafen Neo Geo Pocket core port for libretro"
  1053. local md_help="ROM Extensions: .ngc .ngp .zip\n\nCopy your Neo Geo Pocket roms to /home/pi/RetroPie/roms/ngp\n\nCopy your Neo Geo Pocket Color roms to /home/pi/RetroPie/roms/ngpc"
  1054. local md_type="libretrocores"
  1055. local md_flags=""
  1056. local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-beetle-ngp.sh"
  1057.  
  1058. local md_repo_type="git"
  1059. local md_repo_url="https://github.com/libretro/beetle-ngp-libretro.git"
  1060. local md_repo_branch="master"
  1061. local md_repo_commit=""
  1062.  
  1063. local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-beetle-ngp"
  1064. local md_inst="/opt/retropie/libretrocores/lr-beetle-ngp"
  1065. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  1066. local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-beetle-ngp"'
  1067. ++ local 'md_desc=Neo Geo Pocket(Color)emu - Mednafen Neo Geo Pocket core port for libretro'
  1068. ++ local 'md_help=ROM Extensions: .ngc .ngp .zip\n\nCopy your Neo Geo Pocket roms to /home/pi/RetroPie/roms/ngp\n\nCopy your Neo Geo Pocket Color roms to /home/pi/RetroPie/roms/ngpc'
  1069. ++ local md_type=libretrocores
  1070. ++ local md_flags=
  1071. ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-beetle-ngp.sh
  1072. ++ local md_repo_type=git
  1073. ++ local md_repo_url=https://github.com/libretro/beetle-ngp-libretro.git
  1074. ++ local md_repo_branch=master
  1075. ++ local md_repo_commit=
  1076. ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/lr-beetle-ngp
  1077. ++ local md_inst=/opt/retropie/libretrocores/lr-beetle-ngp
  1078. ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-beetle-ngp
  1079. + local md_mode=install
  1080. + local md_conf_root
  1081. + [[ libretrocores == \p\o\r\t\s ]]
  1082. + setConfigRoot ''
  1083. + local dir=
  1084. + md_conf_root=/opt/retropie/configs
  1085. + [[ -n '' ]]
  1086. + mkUserDir /opt/retropie/configs
  1087. + mkdir -p /opt/retropie/configs
  1088. + chown pi:pi /opt/retropie/configs
  1089. + case "$mode" in
  1090. + function=_update_hook_lr-beetle-ngp
  1091. + fnExists _update_hook_lr-beetle-ngp
  1092. + declare -f _update_hook_lr-beetle-ngp
  1093. + return 0
  1094. + md_ret_require=()
  1095. + local md_ret_require
  1096. + md_ret_files=()
  1097. + local md_ret_files
  1098. + md_ret_errors=()
  1099. + local md_ret_errors
  1100. + md_ret_info=()
  1101. + local md_ret_info
  1102. + local action
  1103. + local pushed=1
  1104. + case "$mode" in
  1105. + [[ -n '' ]]
  1106. + case "$mode" in
  1107. + _update_hook_lr-beetle-ngp
  1108. + renameModule lr-mednafen-ngp lr-beetle-ngp
  1109. + local from=lr-mednafen-ngp
  1110. + local to=lr-beetle-ngp
  1111. + [[ -d /opt/retropie/libretrocores/lr-mednafen-ngp ]]
  1112. + [[ -n '' ]]
  1113. + [[ 0 -eq 0 ]]
  1114. + [[ -n '' ]]
  1115. + [[ -d /home/pi/RetroPie-Setup/tmp/build/lr-beetle-ngp ]]
  1116. + local ret=0
  1117. + [[ 0 -gt 0 ]]
  1118. + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
  1119. + [[ _update_hook == \i\n\s\t\a\l\l ]]
  1120. + fnExists install_lr-beetle-ngp
  1121. + declare -f install_lr-beetle-ngp
  1122. + return 0
  1123. + [[ 0 -gt 0 ]]
  1124. + [[ 1 -eq 0 ]]
  1125. + return 0
  1126. + for function in $(compgen -A function _update_hook_)
  1127. + id=lr-beetle-pce-fast
  1128. + [[ -n lr-beetle-pce-fast ]]
  1129. + [[ 1 -eq 1 ]]
  1130. + rp_callModule lr-beetle-pce-fast _update_hook
  1131. + local md_id=lr-beetle-pce-fast
  1132. + local mode=_update_hook
  1133. + shift 2
  1134. + rp_hasModule lr-beetle-pce-fast
  1135. + local id=lr-beetle-pce-fast
  1136. + [[ -n 64 ]]
  1137. + return 0
  1138. + rp_isEnabled lr-beetle-pce-fast
  1139. + local id=lr-beetle-pce-fast
  1140. + [[ 1 -eq 0 ]]
  1141. + return 0
  1142. + case "$mode" in
  1143. ++ rp_moduleVars lr-beetle-pce-fast
  1144. ++ local id=lr-beetle-pce-fast
  1145. ++ local code
  1146. ++ read -d '' -r code
  1147. +++ rp_getInstallPath lr-beetle-pce-fast
  1148. +++ local id=lr-beetle-pce-fast
  1149. +++ echo /opt/retropie/libretrocores/lr-beetle-pce-fast
  1150. ++ echo 'local md_desc="PCEngine emu - Mednafen PCE Fast port for libretro"
  1151. local md_help="ROM Extensions: .pce .ccd .cue .zip\n\nCopy your PC Engine / TurboGrafx roms to /home/pi/RetroPie/roms/pcengine\n\nCopy the required BIOS file syscard3.pce to /home/pi/RetroPie/BIOS"
  1152. local md_type="libretrocores"
  1153. local md_flags=""
  1154. local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-beetle-pce-fast.sh"
  1155.  
  1156. local md_repo_type="git"
  1157. local md_repo_url="https://github.com/libretro/beetle-pce-fast-libretro.git"
  1158. local md_repo_branch="master"
  1159. local md_repo_commit=""
  1160.  
  1161. local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-beetle-pce-fast"
  1162. local md_inst="/opt/retropie/libretrocores/lr-beetle-pce-fast"
  1163. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  1164. local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-beetle-pce-fast"'
  1165. + eval 'local md_desc="PCEngine emu - Mednafen PCE Fast port for libretro"
  1166. local md_help="ROM Extensions: .pce .ccd .cue .zip\n\nCopy your PC Engine / TurboGrafx roms to /home/pi/RetroPie/roms/pcengine\n\nCopy the required BIOS file syscard3.pce to /home/pi/RetroPie/BIOS"
  1167. local md_type="libretrocores"
  1168. local md_flags=""
  1169. local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-beetle-pce-fast.sh"
  1170.  
  1171. local md_repo_type="git"
  1172. local md_repo_url="https://github.com/libretro/beetle-pce-fast-libretro.git"
  1173. local md_repo_branch="master"
  1174. local md_repo_commit=""
  1175.  
  1176. local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-beetle-pce-fast"
  1177. local md_inst="/opt/retropie/libretrocores/lr-beetle-pce-fast"
  1178. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  1179. local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-beetle-pce-fast"'
  1180. ++ local 'md_desc=PCEngine emu - Mednafen PCE Fast port for libretro'
  1181. ++ local 'md_help=ROM Extensions: .pce .ccd .cue .zip\n\nCopy your PC Engine / TurboGrafx roms to /home/pi/RetroPie/roms/pcengine\n\nCopy the required BIOS file syscard3.pce to /home/pi/RetroPie/BIOS'
  1182. ++ local md_type=libretrocores
  1183. ++ local md_flags=
  1184. ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-beetle-pce-fast.sh
  1185. ++ local md_repo_type=git
  1186. ++ local md_repo_url=https://github.com/libretro/beetle-pce-fast-libretro.git
  1187. ++ local md_repo_branch=master
  1188. ++ local md_repo_commit=
  1189. ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/lr-beetle-pce-fast
  1190. ++ local md_inst=/opt/retropie/libretrocores/lr-beetle-pce-fast
  1191. ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-beetle-pce-fast
  1192. + local md_mode=install
  1193. + local md_conf_root
  1194. + [[ libretrocores == \p\o\r\t\s ]]
  1195. + setConfigRoot ''
  1196. + local dir=
  1197. + md_conf_root=/opt/retropie/configs
  1198. + [[ -n '' ]]
  1199. + mkUserDir /opt/retropie/configs
  1200. + mkdir -p /opt/retropie/configs
  1201. + chown pi:pi /opt/retropie/configs
  1202. + case "$mode" in
  1203. + function=_update_hook_lr-beetle-pce-fast
  1204. + fnExists _update_hook_lr-beetle-pce-fast
  1205. + declare -f _update_hook_lr-beetle-pce-fast
  1206. + return 0
  1207. + md_ret_require=()
  1208. + local md_ret_require
  1209. + md_ret_files=()
  1210. + local md_ret_files
  1211. + md_ret_errors=()
  1212. + local md_ret_errors
  1213. + md_ret_info=()
  1214. + local md_ret_info
  1215. + local action
  1216. + local pushed=1
  1217. + case "$mode" in
  1218. + [[ -n '' ]]
  1219. + case "$mode" in
  1220. + _update_hook_lr-beetle-pce-fast
  1221. + renameModule lr-mednafen-pce-fast lr-beetle-pce-fast
  1222. + local from=lr-mednafen-pce-fast
  1223. + local to=lr-beetle-pce-fast
  1224. + [[ -d /opt/retropie/libretrocores/lr-mednafen-pce-fast ]]
  1225. + [[ -n '' ]]
  1226. + [[ 0 -eq 0 ]]
  1227. + [[ -n '' ]]
  1228. + [[ -d /home/pi/RetroPie-Setup/tmp/build/lr-beetle-pce-fast ]]
  1229. + local ret=0
  1230. + [[ 0 -gt 0 ]]
  1231. + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
  1232. + [[ _update_hook == \i\n\s\t\a\l\l ]]
  1233. + fnExists install_lr-beetle-pce-fast
  1234. + declare -f install_lr-beetle-pce-fast
  1235. + return 0
  1236. + [[ 0 -gt 0 ]]
  1237. + [[ 1 -eq 0 ]]
  1238. + return 0
  1239. + for function in $(compgen -A function _update_hook_)
  1240. + id=lr-beetle-wswan
  1241. + [[ -n lr-beetle-wswan ]]
  1242. + [[ 1 -eq 1 ]]
  1243. + rp_callModule lr-beetle-wswan _update_hook
  1244. + local md_id=lr-beetle-wswan
  1245. + local mode=_update_hook
  1246. + shift 2
  1247. + rp_hasModule lr-beetle-wswan
  1248. + local id=lr-beetle-wswan
  1249. + [[ -n 70 ]]
  1250. + return 0
  1251. + rp_isEnabled lr-beetle-wswan
  1252. + local id=lr-beetle-wswan
  1253. + [[ 1 -eq 0 ]]
  1254. + return 0
  1255. + case "$mode" in
  1256. ++ rp_moduleVars lr-beetle-wswan
  1257. ++ local id=lr-beetle-wswan
  1258. ++ local code
  1259. ++ read -d '' -r code
  1260. +++ rp_getInstallPath lr-beetle-wswan
  1261. +++ local id=lr-beetle-wswan
  1262. +++ echo /opt/retropie/libretrocores/lr-beetle-wswan
  1263. ++ echo 'local md_desc="Wonderswan emu - Mednafen WonderSwan core port for libretro"
  1264. local md_help="ROM Extensions: .ws .wsc .zip\n\nCopy your Wonderswan roms to /home/pi/RetroPie/roms/wonderswan\n\nCopy your Wonderswan Color roms to /home/pi/RetroPie/roms/wonderswancolor"
  1265. local md_type="libretrocores"
  1266. local md_flags=""
  1267. local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-beetle-wswan.sh"
  1268.  
  1269. local md_repo_type="git"
  1270. local md_repo_url="https://github.com/libretro/beetle-wswan-libretro.git"
  1271. local md_repo_branch="master"
  1272. local md_repo_commit=""
  1273.  
  1274. local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-beetle-wswan"
  1275. local md_inst="/opt/retropie/libretrocores/lr-beetle-wswan"
  1276. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  1277. local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-beetle-wswan"'
  1278. + eval 'local md_desc="Wonderswan emu - Mednafen WonderSwan core port for libretro"
  1279. local md_help="ROM Extensions: .ws .wsc .zip\n\nCopy your Wonderswan roms to /home/pi/RetroPie/roms/wonderswan\n\nCopy your Wonderswan Color roms to /home/pi/RetroPie/roms/wonderswancolor"
  1280. local md_type="libretrocores"
  1281. local md_flags=""
  1282. local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-beetle-wswan.sh"
  1283.  
  1284. local md_repo_type="git"
  1285. local md_repo_url="https://github.com/libretro/beetle-wswan-libretro.git"
  1286. local md_repo_branch="master"
  1287. local md_repo_commit=""
  1288.  
  1289. local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-beetle-wswan"
  1290. local md_inst="/opt/retropie/libretrocores/lr-beetle-wswan"
  1291. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  1292. local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-beetle-wswan"'
  1293. ++ local 'md_desc=Wonderswan emu - Mednafen WonderSwan core port for libretro'
  1294. ++ local 'md_help=ROM Extensions: .ws .wsc .zip\n\nCopy your Wonderswan roms to /home/pi/RetroPie/roms/wonderswan\n\nCopy your Wonderswan Color roms to /home/pi/RetroPie/roms/wonderswancolor'
  1295. ++ local md_type=libretrocores
  1296. ++ local md_flags=
  1297. ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-beetle-wswan.sh
  1298. ++ local md_repo_type=git
  1299. ++ local md_repo_url=https://github.com/libretro/beetle-wswan-libretro.git
  1300. ++ local md_repo_branch=master
  1301. ++ local md_repo_commit=
  1302. ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/lr-beetle-wswan
  1303. ++ local md_inst=/opt/retropie/libretrocores/lr-beetle-wswan
  1304. ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-beetle-wswan
  1305. + local md_mode=install
  1306. + local md_conf_root
  1307. + [[ libretrocores == \p\o\r\t\s ]]
  1308. + setConfigRoot ''
  1309. + local dir=
  1310. + md_conf_root=/opt/retropie/configs
  1311. + [[ -n '' ]]
  1312. + mkUserDir /opt/retropie/configs
  1313. + mkdir -p /opt/retropie/configs
  1314. + chown pi:pi /opt/retropie/configs
  1315. + case "$mode" in
  1316. + function=_update_hook_lr-beetle-wswan
  1317. + fnExists _update_hook_lr-beetle-wswan
  1318. + declare -f _update_hook_lr-beetle-wswan
  1319. + return 0
  1320. + md_ret_require=()
  1321. + local md_ret_require
  1322. + md_ret_files=()
  1323. + local md_ret_files
  1324. + md_ret_errors=()
  1325. + local md_ret_errors
  1326. + md_ret_info=()
  1327. + local md_ret_info
  1328. + local action
  1329. + local pushed=1
  1330. + case "$mode" in
  1331. + [[ -n '' ]]
  1332. + case "$mode" in
  1333. + _update_hook_lr-beetle-wswan
  1334. + renameModule lr-mednafen-wswan lr-beetle-wswan
  1335. + local from=lr-mednafen-wswan
  1336. + local to=lr-beetle-wswan
  1337. + [[ -d /opt/retropie/libretrocores/lr-mednafen-wswan ]]
  1338. + [[ -n '' ]]
  1339. + [[ 0 -eq 0 ]]
  1340. + [[ -n '' ]]
  1341. + [[ -d /home/pi/RetroPie-Setup/tmp/build/lr-beetle-wswan ]]
  1342. + local ret=0
  1343. + [[ 0 -gt 0 ]]
  1344. + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
  1345. + [[ _update_hook == \i\n\s\t\a\l\l ]]
  1346. + fnExists install_lr-beetle-wswan
  1347. + declare -f install_lr-beetle-wswan
  1348. + return 0
  1349. + [[ 0 -gt 0 ]]
  1350. + [[ 1 -eq 0 ]]
  1351. + return 0
  1352. + for function in $(compgen -A function _update_hook_)
  1353. + id=lr-fbalpha2012
  1354. + [[ -n lr-fbalpha2012 ]]
  1355. + [[ 1 -eq 1 ]]
  1356. + rp_callModule lr-fbalpha2012 _update_hook
  1357. + local md_id=lr-fbalpha2012
  1358. + local mode=_update_hook
  1359. + shift 2
  1360. + rp_hasModule lr-fbalpha2012
  1361. + local id=lr-fbalpha2012
  1362. + [[ -n 80 ]]
  1363. + return 0
  1364. + rp_isEnabled lr-fbalpha2012
  1365. + local id=lr-fbalpha2012
  1366. + [[ 1 -eq 0 ]]
  1367. + return 0
  1368. + case "$mode" in
  1369. ++ rp_moduleVars lr-fbalpha2012
  1370. ++ local id=lr-fbalpha2012
  1371. ++ local code
  1372. ++ read -d '' -r code
  1373. +++ rp_getInstallPath lr-fbalpha2012
  1374. +++ local id=lr-fbalpha2012
  1375. +++ echo /opt/retropie/libretrocores/lr-fbalpha2012
  1376. ++ echo 'local md_desc="Arcade emu - Final Burn Alpha (0.2.97.30) port for libretro"
  1377. local md_help="Previously called lr-fba\n\nROM Extension: .zip\n\nCopy your FBA roms to\n/home/pi/RetroPie/roms/fba or\n/home/pi/RetroPie/roms/neogeo or\n/home/pi/RetroPie/roms/arcade\n\nFor NeoGeo games the neogeo.zip BIOS is required and must be placed in the same directory as your FBA roms."
  1378. local md_type="libretrocores"
  1379. local md_flags=""
  1380. local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-fbalpha2012.sh"
  1381.  
  1382. local md_repo_type="git"
  1383. local md_repo_url="https://github.com/libretro/fbalpha2012.git"
  1384. local md_repo_branch="master"
  1385. local md_repo_commit=""
  1386.  
  1387. local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-fbalpha2012"
  1388. local md_inst="/opt/retropie/libretrocores/lr-fbalpha2012"
  1389. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  1390. local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-fbalpha2012"'
  1391. + eval 'local md_desc="Arcade emu - Final Burn Alpha (0.2.97.30) port for libretro"
  1392. local md_help="Previously called lr-fba\n\nROM Extension: .zip\n\nCopy your FBA roms to\n/home/pi/RetroPie/roms/fba or\n/home/pi/RetroPie/roms/neogeo or\n/home/pi/RetroPie/roms/arcade\n\nFor NeoGeo games the neogeo.zip BIOS is required and must be placed in the same directory as your FBA roms."
  1393. local md_type="libretrocores"
  1394. local md_flags=""
  1395. local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-fbalpha2012.sh"
  1396.  
  1397. local md_repo_type="git"
  1398. local md_repo_url="https://github.com/libretro/fbalpha2012.git"
  1399. local md_repo_branch="master"
  1400. local md_repo_commit=""
  1401.  
  1402. local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-fbalpha2012"
  1403. local md_inst="/opt/retropie/libretrocores/lr-fbalpha2012"
  1404. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  1405. local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-fbalpha2012"'
  1406. ++ local 'md_desc=Arcade emu - Final Burn Alpha (0.2.97.30) port for libretro'
  1407. ++ local 'md_help=Previously called lr-fba\n\nROM Extension: .zip\n\nCopy your FBA roms to\n/home/pi/RetroPie/roms/fba or\n/home/pi/RetroPie/roms/neogeo or\n/home/pi/RetroPie/roms/arcade\n\nFor NeoGeo games the neogeo.zip BIOS is required and must be placed in the same directory as your FBA roms.'
  1408. ++ local md_type=libretrocores
  1409. ++ local md_flags=
  1410. ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-fbalpha2012.sh
  1411. ++ local md_repo_type=git
  1412. ++ local md_repo_url=https://github.com/libretro/fbalpha2012.git
  1413. ++ local md_repo_branch=master
  1414. ++ local md_repo_commit=
  1415. ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/lr-fbalpha2012
  1416. ++ local md_inst=/opt/retropie/libretrocores/lr-fbalpha2012
  1417. ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-fbalpha2012
  1418. + local md_mode=install
  1419. + local md_conf_root
  1420. + [[ libretrocores == \p\o\r\t\s ]]
  1421. + setConfigRoot ''
  1422. + local dir=
  1423. + md_conf_root=/opt/retropie/configs
  1424. + [[ -n '' ]]
  1425. + mkUserDir /opt/retropie/configs
  1426. + mkdir -p /opt/retropie/configs
  1427. + chown pi:pi /opt/retropie/configs
  1428. + case "$mode" in
  1429. + function=_update_hook_lr-fbalpha2012
  1430. + fnExists _update_hook_lr-fbalpha2012
  1431. + declare -f _update_hook_lr-fbalpha2012
  1432. + return 0
  1433. + md_ret_require=()
  1434. + local md_ret_require
  1435. + md_ret_files=()
  1436. + local md_ret_files
  1437. + md_ret_errors=()
  1438. + local md_ret_errors
  1439. + md_ret_info=()
  1440. + local md_ret_info
  1441. + local action
  1442. + local pushed=1
  1443. + case "$mode" in
  1444. + [[ -n '' ]]
  1445. + case "$mode" in
  1446. + _update_hook_lr-fbalpha2012
  1447. + renameModule lr-fba lr-fbalpha2012
  1448. + local from=lr-fba
  1449. + local to=lr-fbalpha2012
  1450. + [[ -d /opt/retropie/libretrocores/lr-fba ]]
  1451. + [[ -n '' ]]
  1452. + [[ 0 -eq 0 ]]
  1453. + [[ -n '' ]]
  1454. + [[ -d /home/pi/RetroPie-Setup/tmp/build/lr-fbalpha2012 ]]
  1455. + local ret=0
  1456. + [[ 0 -gt 0 ]]
  1457. + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
  1458. + [[ _update_hook == \i\n\s\t\a\l\l ]]
  1459. + fnExists install_lr-fbalpha2012
  1460. + declare -f install_lr-fbalpha2012
  1461. + return 0
  1462. + [[ 0 -gt 0 ]]
  1463. + [[ 1 -eq 0 ]]
  1464. + return 0
  1465. + for function in $(compgen -A function _update_hook_)
  1466. + id=lr-fbneo
  1467. + [[ -n lr-fbneo ]]
  1468. + [[ 1 -eq 1 ]]
  1469. + rp_callModule lr-fbneo _update_hook
  1470. + local md_id=lr-fbneo
  1471. + local mode=_update_hook
  1472. + shift 2
  1473. + rp_hasModule lr-fbneo
  1474. + local id=lr-fbneo
  1475. + [[ -n 81 ]]
  1476. + return 0
  1477. + rp_isEnabled lr-fbneo
  1478. + local id=lr-fbneo
  1479. + [[ 1 -eq 0 ]]
  1480. + return 0
  1481. + case "$mode" in
  1482. ++ rp_moduleVars lr-fbneo
  1483. ++ local id=lr-fbneo
  1484. ++ local code
  1485. ++ read -d '' -r code
  1486. +++ rp_getInstallPath lr-fbneo
  1487. +++ local id=lr-fbneo
  1488. +++ echo /opt/retropie/libretrocores/lr-fbneo
  1489. ++ echo 'local md_desc="Arcade emu - FinalBurn Neo v1.0.0.01 (Upstream) port for libretro"
  1490. local md_help="Previously called lr-fba-next and fbalpha\n\ROM Extension: .zip\n\nCopy your FBA roms to\n/home/pi/RetroPie/roms/fba or\n/home/pi/RetroPie/roms/neogeo or\n/home/pi/RetroPie/roms/arcade\n\nFor NeoGeo games the neogeo.zip BIOS is required and must be placed in the same directory as your FBA roms."
  1491. local md_type="libretrocores"
  1492. local md_flags=""
  1493. local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-fbneo.sh"
  1494.  
  1495. local md_repo_type="git"
  1496. local md_repo_url="https://github.com/libretro/FBNeo.git"
  1497. local md_repo_branch="master"
  1498. local md_repo_commit=""
  1499.  
  1500. local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-fbneo"
  1501. local md_inst="/opt/retropie/libretrocores/lr-fbneo"
  1502. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  1503. local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-fbneo"'
  1504. + eval 'local md_desc="Arcade emu - FinalBurn Neo v1.0.0.01 (Upstream) port for libretro"
  1505. local md_help="Previously called lr-fba-next and fbalpha\n\ROM Extension: .zip\n\nCopy your FBA roms to\n/home/pi/RetroPie/roms/fba or\n/home/pi/RetroPie/roms/neogeo or\n/home/pi/RetroPie/roms/arcade\n\nFor NeoGeo games the neogeo.zip BIOS is required and must be placed in the same directory as your FBA roms."
  1506. local md_type="libretrocores"
  1507. local md_flags=""
  1508. local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-fbneo.sh"
  1509.  
  1510. local md_repo_type="git"
  1511. local md_repo_url="https://github.com/libretro/FBNeo.git"
  1512. local md_repo_branch="master"
  1513. local md_repo_commit=""
  1514.  
  1515. local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-fbneo"
  1516. local md_inst="/opt/retropie/libretrocores/lr-fbneo"
  1517. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  1518. local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-fbneo"'
  1519. ++ local 'md_desc=Arcade emu - FinalBurn Neo v1.0.0.01 (Upstream) port for libretro'
  1520. ++ local 'md_help=Previously called lr-fba-next and fbalpha\n\ROM Extension: .zip\n\nCopy your FBA roms to\n/home/pi/RetroPie/roms/fba or\n/home/pi/RetroPie/roms/neogeo or\n/home/pi/RetroPie/roms/arcade\n\nFor NeoGeo games the neogeo.zip BIOS is required and must be placed in the same directory as your FBA roms.'
  1521. ++ local md_type=libretrocores
  1522. ++ local md_flags=
  1523. ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-fbneo.sh
  1524. ++ local md_repo_type=git
  1525. ++ local md_repo_url=https://github.com/libretro/FBNeo.git
  1526. ++ local md_repo_branch=master
  1527. ++ local md_repo_commit=
  1528. ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/lr-fbneo
  1529. ++ local md_inst=/opt/retropie/libretrocores/lr-fbneo
  1530. ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-fbneo
  1531. + local md_mode=install
  1532. + local md_conf_root
  1533. + [[ libretrocores == \p\o\r\t\s ]]
  1534. + setConfigRoot ''
  1535. + local dir=
  1536. + md_conf_root=/opt/retropie/configs
  1537. + [[ -n '' ]]
  1538. + mkUserDir /opt/retropie/configs
  1539. + mkdir -p /opt/retropie/configs
  1540. + chown pi:pi /opt/retropie/configs
  1541. + case "$mode" in
  1542. + function=_update_hook_lr-fbneo
  1543. + fnExists _update_hook_lr-fbneo
  1544. + declare -f _update_hook_lr-fbneo
  1545. + return 0
  1546. + md_ret_require=()
  1547. + local md_ret_require
  1548. + md_ret_files=()
  1549. + local md_ret_files
  1550. + md_ret_errors=()
  1551. + local md_ret_errors
  1552. + md_ret_info=()
  1553. + local md_ret_info
  1554. + local action
  1555. + local pushed=1
  1556. + case "$mode" in
  1557. + [[ -n '' ]]
  1558. + case "$mode" in
  1559. + _update_hook_lr-fbneo
  1560. + renameModule lr-fba-next lr-fbalpha
  1561. + local from=lr-fba-next
  1562. + local to=lr-fbalpha
  1563. + [[ -d /opt/retropie/libretrocores/lr-fba-next ]]
  1564. + renameModule lr-fbalpha lr-fbneo
  1565. + local from=lr-fbalpha
  1566. + local to=lr-fbneo
  1567. + [[ -d /opt/retropie/libretrocores/lr-fbalpha ]]
  1568. + [[ -n '' ]]
  1569. + [[ 0 -eq 0 ]]
  1570. + [[ -n '' ]]
  1571. + [[ -d /home/pi/RetroPie-Setup/tmp/build/lr-fbneo ]]
  1572. + local ret=0
  1573. + [[ 0 -gt 0 ]]
  1574. + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
  1575. + [[ _update_hook == \i\n\s\t\a\l\l ]]
  1576. + fnExists install_lr-fbneo
  1577. + declare -f install_lr-fbneo
  1578. + return 0
  1579. + [[ 0 -gt 0 ]]
  1580. + [[ 1 -eq 0 ]]
  1581. + return 0
  1582. + for function in $(compgen -A function _update_hook_)
  1583. + id=lr-flycast
  1584. + [[ -n lr-flycast ]]
  1585. + [[ 1 -eq 1 ]]
  1586. + rp_callModule lr-flycast _update_hook
  1587. + local md_id=lr-flycast
  1588. + local mode=_update_hook
  1589. + shift 2
  1590. + rp_hasModule lr-flycast
  1591. + local id=lr-flycast
  1592. + [[ -n 83 ]]
  1593. + return 0
  1594. + rp_isEnabled lr-flycast
  1595. + local id=lr-flycast
  1596. + [[ 1 -eq 0 ]]
  1597. + return 0
  1598. + case "$mode" in
  1599. ++ rp_moduleVars lr-flycast
  1600. ++ local id=lr-flycast
  1601. ++ local code
  1602. ++ read -d '' -r code
  1603. +++ rp_getInstallPath lr-flycast
  1604. +++ local id=lr-flycast
  1605. +++ echo /opt/retropie/libretrocores/lr-flycast
  1606. ++ echo 'local md_desc="Dreamcast emulator - Reicast port for libretro"
  1607. local md_help="Previously named lr-reicast then lr-beetle-dc\n\nDreamcast ROM Extensions: .cdi .gdi .chd, Naomi/Atomiswave ROM Extension: .zip\n\nCopy your Dreamcast/Naomi roms to /home/pi/RetroPie/roms/dreamcast\n\nCopy the required Dreamcast BIOS files dc_boot.bin and dc_flash.bin to /home/pi/RetroPie/BIOS/dc\n\nCopy the required Naomi/Atomiswave BIOS files naomi.zip and awbios.zip to /home/pi/RetroPie/BIOS/dc"
  1608. local md_type="libretrocores"
  1609. local md_flags="!armv6"
  1610. local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-flycast.sh"
  1611.  
  1612. local md_repo_type="git"
  1613. local md_repo_url="https://github.com/libretro/flycast.git"
  1614. local md_repo_branch="master"
  1615. local md_repo_commit=""
  1616.  
  1617. local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-flycast"
  1618. local md_inst="/opt/retropie/libretrocores/lr-flycast"
  1619. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  1620. local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-flycast"'
  1621. + eval 'local md_desc="Dreamcast emulator - Reicast port for libretro"
  1622. local md_help="Previously named lr-reicast then lr-beetle-dc\n\nDreamcast ROM Extensions: .cdi .gdi .chd, Naomi/Atomiswave ROM Extension: .zip\n\nCopy your Dreamcast/Naomi roms to /home/pi/RetroPie/roms/dreamcast\n\nCopy the required Dreamcast BIOS files dc_boot.bin and dc_flash.bin to /home/pi/RetroPie/BIOS/dc\n\nCopy the required Naomi/Atomiswave BIOS files naomi.zip and awbios.zip to /home/pi/RetroPie/BIOS/dc"
  1623. local md_type="libretrocores"
  1624. local md_flags="!armv6"
  1625. local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-flycast.sh"
  1626.  
  1627. local md_repo_type="git"
  1628. local md_repo_url="https://github.com/libretro/flycast.git"
  1629. local md_repo_branch="master"
  1630. local md_repo_commit=""
  1631.  
  1632. local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-flycast"
  1633. local md_inst="/opt/retropie/libretrocores/lr-flycast"
  1634. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  1635. local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-flycast"'
  1636. ++ local 'md_desc=Dreamcast emulator - Reicast port for libretro'
  1637. ++ local 'md_help=Previously named lr-reicast then lr-beetle-dc\n\nDreamcast ROM Extensions: .cdi .gdi .chd, Naomi/Atomiswave ROM Extension: .zip\n\nCopy your Dreamcast/Naomi roms to /home/pi/RetroPie/roms/dreamcast\n\nCopy the required Dreamcast BIOS files dc_boot.bin and dc_flash.bin to /home/pi/RetroPie/BIOS/dc\n\nCopy the required Naomi/Atomiswave BIOS files naomi.zip and awbios.zip to /home/pi/RetroPie/BIOS/dc'
  1638. ++ local md_type=libretrocores
  1639. ++ local 'md_flags=!armv6'
  1640. ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-flycast.sh
  1641. ++ local md_repo_type=git
  1642. ++ local md_repo_url=https://github.com/libretro/flycast.git
  1643. ++ local md_repo_branch=master
  1644. ++ local md_repo_commit=
  1645. ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/lr-flycast
  1646. ++ local md_inst=/opt/retropie/libretrocores/lr-flycast
  1647. ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-flycast
  1648. + local md_mode=install
  1649. + local md_conf_root
  1650. + [[ libretrocores == \p\o\r\t\s ]]
  1651. + setConfigRoot ''
  1652. + local dir=
  1653. + md_conf_root=/opt/retropie/configs
  1654. + [[ -n '' ]]
  1655. + mkUserDir /opt/retropie/configs
  1656. + mkdir -p /opt/retropie/configs
  1657. + chown pi:pi /opt/retropie/configs
  1658. + case "$mode" in
  1659. + function=_update_hook_lr-flycast
  1660. + fnExists _update_hook_lr-flycast
  1661. + declare -f _update_hook_lr-flycast
  1662. + return 0
  1663. + md_ret_require=()
  1664. + local md_ret_require
  1665. + md_ret_files=()
  1666. + local md_ret_files
  1667. + md_ret_errors=()
  1668. + local md_ret_errors
  1669. + md_ret_info=()
  1670. + local md_ret_info
  1671. + local action
  1672. + local pushed=1
  1673. + case "$mode" in
  1674. + [[ -n '' ]]
  1675. + case "$mode" in
  1676. + _update_hook_lr-flycast
  1677. + renameModule lr-reicast lr-beetle-dc
  1678. + local from=lr-reicast
  1679. + local to=lr-beetle-dc
  1680. + [[ -d /opt/retropie/libretrocores/lr-reicast ]]
  1681. + renameModule lr-beetle-dc lr-flycast
  1682. + local from=lr-beetle-dc
  1683. + local to=lr-flycast
  1684. + [[ -d /opt/retropie/libretrocores/lr-beetle-dc ]]
  1685. + [[ -n '' ]]
  1686. + [[ 0 -eq 0 ]]
  1687. + [[ -n '' ]]
  1688. + [[ -d /home/pi/RetroPie-Setup/tmp/build/lr-flycast ]]
  1689. + local ret=0
  1690. + [[ 0 -gt 0 ]]
  1691. + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
  1692. + [[ _update_hook == \i\n\s\t\a\l\l ]]
  1693. + fnExists install_lr-flycast
  1694. + declare -f install_lr-flycast
  1695. + return 0
  1696. + [[ 0 -gt 0 ]]
  1697. + [[ 1 -eq 0 ]]
  1698. + return 0
  1699. + for function in $(compgen -A function _update_hook_)
  1700. + id=lr-mame2000
  1701. + [[ -n lr-mame2000 ]]
  1702. + [[ 1 -eq 1 ]]
  1703. + rp_callModule lr-mame2000 _update_hook
  1704. + local md_id=lr-mame2000
  1705. + local mode=_update_hook
  1706. + shift 2
  1707. + rp_hasModule lr-mame2000
  1708. + local id=lr-mame2000
  1709. + [[ -n 96 ]]
  1710. + return 0
  1711. + rp_isEnabled lr-mame2000
  1712. + local id=lr-mame2000
  1713. + [[ 1 -eq 0 ]]
  1714. + return 0
  1715. + case "$mode" in
  1716. ++ rp_moduleVars lr-mame2000
  1717. ++ local id=lr-mame2000
  1718. ++ local code
  1719. ++ read -d '' -r code
  1720. +++ rp_getInstallPath lr-mame2000
  1721. +++ local id=lr-mame2000
  1722. +++ echo /opt/retropie/libretrocores/lr-mame2000
  1723. ++ echo 'local md_desc="Arcade emu - MAME 0.37b5 port for libretro"
  1724. local md_help="ROM Extension: .zip\n\nCopy your MAME 0.37b5 roms to either /home/pi/RetroPie/roms/mame-mame4all or\n/home/pi/RetroPie/roms/arcade"
  1725. local md_type="libretrocores"
  1726. local md_flags=""
  1727. local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-mame2000.sh"
  1728.  
  1729. local md_repo_type="git"
  1730. local md_repo_url="https://github.com/libretro/mame2000-libretro.git"
  1731. local md_repo_branch="master"
  1732. local md_repo_commit=""
  1733.  
  1734. local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-mame2000"
  1735. local md_inst="/opt/retropie/libretrocores/lr-mame2000"
  1736. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  1737. local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-mame2000"'
  1738. + eval 'local md_desc="Arcade emu - MAME 0.37b5 port for libretro"
  1739. local md_help="ROM Extension: .zip\n\nCopy your MAME 0.37b5 roms to either /home/pi/RetroPie/roms/mame-mame4all or\n/home/pi/RetroPie/roms/arcade"
  1740. local md_type="libretrocores"
  1741. local md_flags=""
  1742. local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-mame2000.sh"
  1743.  
  1744. local md_repo_type="git"
  1745. local md_repo_url="https://github.com/libretro/mame2000-libretro.git"
  1746. local md_repo_branch="master"
  1747. local md_repo_commit=""
  1748.  
  1749. local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-mame2000"
  1750. local md_inst="/opt/retropie/libretrocores/lr-mame2000"
  1751. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  1752. local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-mame2000"'
  1753. ++ local 'md_desc=Arcade emu - MAME 0.37b5 port for libretro'
  1754. ++ local 'md_help=ROM Extension: .zip\n\nCopy your MAME 0.37b5 roms to either /home/pi/RetroPie/roms/mame-mame4all or\n/home/pi/RetroPie/roms/arcade'
  1755. ++ local md_type=libretrocores
  1756. ++ local md_flags=
  1757. ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-mame2000.sh
  1758. ++ local md_repo_type=git
  1759. ++ local md_repo_url=https://github.com/libretro/mame2000-libretro.git
  1760. ++ local md_repo_branch=master
  1761. ++ local md_repo_commit=
  1762. ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/lr-mame2000
  1763. ++ local md_inst=/opt/retropie/libretrocores/lr-mame2000
  1764. ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-mame2000
  1765. + local md_mode=install
  1766. + local md_conf_root
  1767. + [[ libretrocores == \p\o\r\t\s ]]
  1768. + setConfigRoot ''
  1769. + local dir=
  1770. + md_conf_root=/opt/retropie/configs
  1771. + [[ -n '' ]]
  1772. + mkUserDir /opt/retropie/configs
  1773. + mkdir -p /opt/retropie/configs
  1774. + chown pi:pi /opt/retropie/configs
  1775. + case "$mode" in
  1776. + function=_update_hook_lr-mame2000
  1777. + fnExists _update_hook_lr-mame2000
  1778. + declare -f _update_hook_lr-mame2000
  1779. + return 0
  1780. + md_ret_require=()
  1781. + local md_ret_require
  1782. + md_ret_files=()
  1783. + local md_ret_files
  1784. + md_ret_errors=()
  1785. + local md_ret_errors
  1786. + md_ret_info=()
  1787. + local md_ret_info
  1788. + local action
  1789. + local pushed=1
  1790. + case "$mode" in
  1791. + [[ -n '' ]]
  1792. + case "$mode" in
  1793. + _update_hook_lr-mame2000
  1794. + renameModule lr-imame4all lr-mame2000
  1795. + local from=lr-imame4all
  1796. + local to=lr-mame2000
  1797. + [[ -d /opt/retropie/libretrocores/lr-imame4all ]]
  1798. + [[ -n '' ]]
  1799. + [[ 0 -eq 0 ]]
  1800. + [[ -n '' ]]
  1801. + [[ -d /home/pi/RetroPie-Setup/tmp/build/lr-mame2000 ]]
  1802. + local ret=0
  1803. + [[ 0 -gt 0 ]]
  1804. + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
  1805. + [[ _update_hook == \i\n\s\t\a\l\l ]]
  1806. + fnExists install_lr-mame2000
  1807. + declare -f install_lr-mame2000
  1808. + return 0
  1809. + [[ 0 -gt 0 ]]
  1810. + [[ 1 -eq 0 ]]
  1811. + return 0
  1812. + for function in $(compgen -A function _update_hook_)
  1813. + id=lr-mame2015
  1814. + [[ -n lr-mame2015 ]]
  1815. + [[ 1 -eq 1 ]]
  1816. + rp_callModule lr-mame2015 _update_hook
  1817. + local md_id=lr-mame2015
  1818. + local mode=_update_hook
  1819. + shift 2
  1820. + rp_hasModule lr-mame2015
  1821. + local id=lr-mame2015
  1822. + [[ -n 100 ]]
  1823. + return 0
  1824. + rp_isEnabled lr-mame2015
  1825. + local id=lr-mame2015
  1826. + [[ 1 -eq 0 ]]
  1827. + return 0
  1828. + case "$mode" in
  1829. ++ rp_moduleVars lr-mame2015
  1830. ++ local id=lr-mame2015
  1831. ++ local code
  1832. ++ read -d '' -r code
  1833. +++ rp_getInstallPath lr-mame2015
  1834. +++ local id=lr-mame2015
  1835. +++ echo /opt/retropie/libretrocores/lr-mame2015
  1836. ++ echo 'local md_desc="Arcade emu - MAME 0.160 port for libretro"
  1837. local md_help="ROM Extension: .zip\n\nCopy your MAME roms to either /home/pi/RetroPie/roms/mame-libretro or\n/home/pi/RetroPie/roms/arcade"
  1838. local md_type="libretrocores"
  1839. local md_flags=""
  1840. local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-mame2015.sh"
  1841.  
  1842. local md_repo_type="git"
  1843. local md_repo_url="https://github.com/libretro/mame2015-libretro.git"
  1844. local md_repo_branch="master"
  1845. local md_repo_commit=""
  1846.  
  1847. local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-mame2015"
  1848. local md_inst="/opt/retropie/libretrocores/lr-mame2015"
  1849. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  1850. local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-mame2015"'
  1851. + eval 'local md_desc="Arcade emu - MAME 0.160 port for libretro"
  1852. local md_help="ROM Extension: .zip\n\nCopy your MAME roms to either /home/pi/RetroPie/roms/mame-libretro or\n/home/pi/RetroPie/roms/arcade"
  1853. local md_type="libretrocores"
  1854. local md_flags=""
  1855. local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-mame2015.sh"
  1856.  
  1857. local md_repo_type="git"
  1858. local md_repo_url="https://github.com/libretro/mame2015-libretro.git"
  1859. local md_repo_branch="master"
  1860. local md_repo_commit=""
  1861.  
  1862. local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-mame2015"
  1863. local md_inst="/opt/retropie/libretrocores/lr-mame2015"
  1864. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  1865. local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-mame2015"'
  1866. ++ local 'md_desc=Arcade emu - MAME 0.160 port for libretro'
  1867. ++ local 'md_help=ROM Extension: .zip\n\nCopy your MAME roms to either /home/pi/RetroPie/roms/mame-libretro or\n/home/pi/RetroPie/roms/arcade'
  1868. ++ local md_type=libretrocores
  1869. ++ local md_flags=
  1870. ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-mame2015.sh
  1871. ++ local md_repo_type=git
  1872. ++ local md_repo_url=https://github.com/libretro/mame2015-libretro.git
  1873. ++ local md_repo_branch=master
  1874. ++ local md_repo_commit=
  1875. ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/lr-mame2015
  1876. ++ local md_inst=/opt/retropie/libretrocores/lr-mame2015
  1877. ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-mame2015
  1878. + local md_mode=install
  1879. + local md_conf_root
  1880. + [[ libretrocores == \p\o\r\t\s ]]
  1881. + setConfigRoot ''
  1882. + local dir=
  1883. + md_conf_root=/opt/retropie/configs
  1884. + [[ -n '' ]]
  1885. + mkUserDir /opt/retropie/configs
  1886. + mkdir -p /opt/retropie/configs
  1887. + chown pi:pi /opt/retropie/configs
  1888. + case "$mode" in
  1889. + function=_update_hook_lr-mame2015
  1890. + fnExists _update_hook_lr-mame2015
  1891. + declare -f _update_hook_lr-mame2015
  1892. + return 0
  1893. + md_ret_require=()
  1894. + local md_ret_require
  1895. + md_ret_files=()
  1896. + local md_ret_files
  1897. + md_ret_errors=()
  1898. + local md_ret_errors
  1899. + md_ret_info=()
  1900. + local md_ret_info
  1901. + local action
  1902. + local pushed=1
  1903. + case "$mode" in
  1904. + [[ -n '' ]]
  1905. + case "$mode" in
  1906. + _update_hook_lr-mame2015
  1907. + renameModule lr-mame2014 lr-mame2015
  1908. + local from=lr-mame2014
  1909. + local to=lr-mame2015
  1910. + [[ -d /opt/retropie/libretrocores/lr-mame2014 ]]
  1911. + [[ -n '' ]]
  1912. + [[ 0 -eq 0 ]]
  1913. + [[ -n '' ]]
  1914. + [[ -d /home/pi/RetroPie-Setup/tmp/build/lr-mame2015 ]]
  1915. + local ret=0
  1916. + [[ 0 -gt 0 ]]
  1917. + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
  1918. + [[ _update_hook == \i\n\s\t\a\l\l ]]
  1919. + fnExists install_lr-mame2015
  1920. + declare -f install_lr-mame2015
  1921. + return 0
  1922. + [[ 0 -gt 0 ]]
  1923. + [[ 1 -eq 0 ]]
  1924. + return 0
  1925. + for function in $(compgen -A function _update_hook_)
  1926. + id=lr-mupen64plus
  1927. + [[ -n lr-mupen64plus ]]
  1928. + [[ 1 -eq 1 ]]
  1929. + rp_callModule lr-mupen64plus _update_hook
  1930. + local md_id=lr-mupen64plus
  1931. + local mode=_update_hook
  1932. + shift 2
  1933. + rp_hasModule lr-mupen64plus
  1934. + local id=lr-mupen64plus
  1935. + [[ -n 109 ]]
  1936. + return 0
  1937. + rp_isEnabled lr-mupen64plus
  1938. + local id=lr-mupen64plus
  1939. + [[ 1 -eq 0 ]]
  1940. + return 0
  1941. + case "$mode" in
  1942. ++ rp_moduleVars lr-mupen64plus
  1943. ++ local id=lr-mupen64plus
  1944. ++ local code
  1945. ++ read -d '' -r code
  1946. +++ rp_getInstallPath lr-mupen64plus
  1947. +++ local id=lr-mupen64plus
  1948. +++ echo /opt/retropie/libretrocores/lr-mupen64plus
  1949. ++ echo 'local md_desc="N64 emu - Mupen64Plus + GLideN64 for libretro"
  1950. local md_help="ROM Extensions: .z64 .n64 .v64\n\nCopy your N64 roms to /home/pi/RetroPie/roms/n64"
  1951. local md_type="libretrocores"
  1952. local md_flags="!aarch64"
  1953. local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-mupen64plus.sh"
  1954.  
  1955. local md_repo_type="git"
  1956. local md_repo_url="https://github.com/RetroPie/mupen64plus-libretro.git"
  1957. local md_repo_branch="master"
  1958. local md_repo_commit=""
  1959.  
  1960. local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-mupen64plus"
  1961. local md_inst="/opt/retropie/libretrocores/lr-mupen64plus"
  1962. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  1963. local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-mupen64plus"'
  1964. + eval 'local md_desc="N64 emu - Mupen64Plus + GLideN64 for libretro"
  1965. local md_help="ROM Extensions: .z64 .n64 .v64\n\nCopy your N64 roms to /home/pi/RetroPie/roms/n64"
  1966. local md_type="libretrocores"
  1967. local md_flags="!aarch64"
  1968. local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-mupen64plus.sh"
  1969.  
  1970. local md_repo_type="git"
  1971. local md_repo_url="https://github.com/RetroPie/mupen64plus-libretro.git"
  1972. local md_repo_branch="master"
  1973. local md_repo_commit=""
  1974.  
  1975. local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-mupen64plus"
  1976. local md_inst="/opt/retropie/libretrocores/lr-mupen64plus"
  1977. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  1978. local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-mupen64plus"'
  1979. ++ local 'md_desc=N64 emu - Mupen64Plus + GLideN64 for libretro'
  1980. ++ local 'md_help=ROM Extensions: .z64 .n64 .v64\n\nCopy your N64 roms to /home/pi/RetroPie/roms/n64'
  1981. ++ local md_type=libretrocores
  1982. ++ local 'md_flags=!aarch64'
  1983. ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-mupen64plus.sh
  1984. ++ local md_repo_type=git
  1985. ++ local md_repo_url=https://github.com/RetroPie/mupen64plus-libretro.git
  1986. ++ local md_repo_branch=master
  1987. ++ local md_repo_commit=
  1988. ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/lr-mupen64plus
  1989. ++ local md_inst=/opt/retropie/libretrocores/lr-mupen64plus
  1990. ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-mupen64plus
  1991. + local md_mode=install
  1992. + local md_conf_root
  1993. + [[ libretrocores == \p\o\r\t\s ]]
  1994. + setConfigRoot ''
  1995. + local dir=
  1996. + md_conf_root=/opt/retropie/configs
  1997. + [[ -n '' ]]
  1998. + mkUserDir /opt/retropie/configs
  1999. + mkdir -p /opt/retropie/configs
  2000. + chown pi:pi /opt/retropie/configs
  2001. + case "$mode" in
  2002. + function=_update_hook_lr-mupen64plus
  2003. + fnExists _update_hook_lr-mupen64plus
  2004. + declare -f _update_hook_lr-mupen64plus
  2005. + return 0
  2006. + md_ret_require=()
  2007. + local md_ret_require
  2008. + md_ret_files=()
  2009. + local md_ret_files
  2010. + md_ret_errors=()
  2011. + local md_ret_errors
  2012. + md_ret_info=()
  2013. + local md_ret_info
  2014. + local action
  2015. + local pushed=1
  2016. + case "$mode" in
  2017. + [[ -n '' ]]
  2018. + case "$mode" in
  2019. + _update_hook_lr-mupen64plus
  2020. + [[ -d /opt/retropie/libretrocores/lr-mupen64plus ]]
  2021. + grep -q GLideN64 /opt/retropie/libretrocores/lr-mupen64plus/README.md
  2022. + renameModule lr-glupen64 lr-mupen64plus
  2023. + local from=lr-glupen64
  2024. + local to=lr-mupen64plus
  2025. + [[ -d /opt/retropie/libretrocores/lr-glupen64 ]]
  2026. + [[ -n '' ]]
  2027. + [[ 0 -eq 0 ]]
  2028. + [[ -n '' ]]
  2029. + [[ -d /home/pi/RetroPie-Setup/tmp/build/lr-mupen64plus ]]
  2030. + local ret=0
  2031. + [[ 0 -gt 0 ]]
  2032. + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
  2033. + [[ _update_hook == \i\n\s\t\a\l\l ]]
  2034. + fnExists install_lr-mupen64plus
  2035. + declare -f install_lr-mupen64plus
  2036. + return 0
  2037. + [[ 0 -gt 0 ]]
  2038. + [[ 1 -eq 0 ]]
  2039. + return 0
  2040. + for function in $(compgen -A function _update_hook_)
  2041. + id=lr-opera
  2042. + [[ -n lr-opera ]]
  2043. + [[ 1 -eq 1 ]]
  2044. + rp_callModule lr-opera _update_hook
  2045. + local md_id=lr-opera
  2046. + local mode=_update_hook
  2047. + shift 2
  2048. + rp_hasModule lr-opera
  2049. + local id=lr-opera
  2050. + [[ -n 115 ]]
  2051. + return 0
  2052. + rp_isEnabled lr-opera
  2053. + local id=lr-opera
  2054. + [[ 1 -eq 0 ]]
  2055. + return 0
  2056. + case "$mode" in
  2057. ++ rp_moduleVars lr-opera
  2058. ++ local id=lr-opera
  2059. ++ local code
  2060. ++ read -d '' -r code
  2061. +++ rp_getInstallPath lr-opera
  2062. +++ local id=lr-opera
  2063. +++ echo /opt/retropie/libretrocores/lr-opera
  2064. ++ echo 'local md_desc="3DO emulator - fork of 4DO/FreeDO for libretro"
  2065. local md_help="ROM Extension: .cue .chd .iso\n\nCopy your 3do roms to /home/pi/RetroPie/roms/3do\n\nCopy the required BIOS file panazf10.bin to /home/pi/RetroPie/BIOS"
  2066. local md_type="libretrocores"
  2067. local md_flags=""
  2068. local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-opera.sh"
  2069.  
  2070. local md_repo_type="git"
  2071. local md_repo_url="https://github.com/libretro/opera-libretro.git"
  2072. local md_repo_branch="master"
  2073. local md_repo_commit=""
  2074.  
  2075. local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-opera"
  2076. local md_inst="/opt/retropie/libretrocores/lr-opera"
  2077. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  2078. local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-opera"'
  2079. + eval 'local md_desc="3DO emulator - fork of 4DO/FreeDO for libretro"
  2080. local md_help="ROM Extension: .cue .chd .iso\n\nCopy your 3do roms to /home/pi/RetroPie/roms/3do\n\nCopy the required BIOS file panazf10.bin to /home/pi/RetroPie/BIOS"
  2081. local md_type="libretrocores"
  2082. local md_flags=""
  2083. local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-opera.sh"
  2084.  
  2085. local md_repo_type="git"
  2086. local md_repo_url="https://github.com/libretro/opera-libretro.git"
  2087. local md_repo_branch="master"
  2088. local md_repo_commit=""
  2089.  
  2090. local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-opera"
  2091. local md_inst="/opt/retropie/libretrocores/lr-opera"
  2092. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  2093. local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-opera"'
  2094. ++ local 'md_desc=3DO emulator - fork of 4DO/FreeDO for libretro'
  2095. ++ local 'md_help=ROM Extension: .cue .chd .iso\n\nCopy your 3do roms to /home/pi/RetroPie/roms/3do\n\nCopy the required BIOS file panazf10.bin to /home/pi/RetroPie/BIOS'
  2096. ++ local md_type=libretrocores
  2097. ++ local md_flags=
  2098. ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-opera.sh
  2099. ++ local md_repo_type=git
  2100. ++ local md_repo_url=https://github.com/libretro/opera-libretro.git
  2101. ++ local md_repo_branch=master
  2102. ++ local md_repo_commit=
  2103. ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/lr-opera
  2104. ++ local md_inst=/opt/retropie/libretrocores/lr-opera
  2105. ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-opera
  2106. + local md_mode=install
  2107. + local md_conf_root
  2108. + [[ libretrocores == \p\o\r\t\s ]]
  2109. + setConfigRoot ''
  2110. + local dir=
  2111. + md_conf_root=/opt/retropie/configs
  2112. + [[ -n '' ]]
  2113. + mkUserDir /opt/retropie/configs
  2114. + mkdir -p /opt/retropie/configs
  2115. + chown pi:pi /opt/retropie/configs
  2116. + case "$mode" in
  2117. + function=_update_hook_lr-opera
  2118. + fnExists _update_hook_lr-opera
  2119. + declare -f _update_hook_lr-opera
  2120. + return 0
  2121. + md_ret_require=()
  2122. + local md_ret_require
  2123. + md_ret_files=()
  2124. + local md_ret_files
  2125. + md_ret_errors=()
  2126. + local md_ret_errors
  2127. + md_ret_info=()
  2128. + local md_ret_info
  2129. + local action
  2130. + local pushed=1
  2131. + case "$mode" in
  2132. + [[ -n '' ]]
  2133. + case "$mode" in
  2134. + _update_hook_lr-opera
  2135. + renameModule lr-4do lr-opera
  2136. + local from=lr-4do
  2137. + local to=lr-opera
  2138. + [[ -d /opt/retropie/libretrocores/lr-4do ]]
  2139. + [[ -n '' ]]
  2140. + [[ 0 -eq 0 ]]
  2141. + [[ -n '' ]]
  2142. + [[ -d /home/pi/RetroPie-Setup/tmp/build/lr-opera ]]
  2143. + local ret=0
  2144. + [[ 0 -gt 0 ]]
  2145. + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
  2146. + [[ _update_hook == \i\n\s\t\a\l\l ]]
  2147. + fnExists install_lr-opera
  2148. + declare -f install_lr-opera
  2149. + return 0
  2150. + [[ 0 -gt 0 ]]
  2151. + [[ 1 -eq 0 ]]
  2152. + return 0
  2153. + for function in $(compgen -A function _update_hook_)
  2154. + id=lr-snes9x2002
  2155. + [[ -n lr-snes9x2002 ]]
  2156. + [[ 1 -eq 1 ]]
  2157. + rp_callModule lr-snes9x2002 _update_hook
  2158. + local md_id=lr-snes9x2002
  2159. + local mode=_update_hook
  2160. + shift 2
  2161. + rp_hasModule lr-snes9x2002
  2162. + local id=lr-snes9x2002
  2163. + [[ -n 129 ]]
  2164. + return 0
  2165. + rp_isEnabled lr-snes9x2002
  2166. + local id=lr-snes9x2002
  2167. + [[ 1 -eq 0 ]]
  2168. + return 0
  2169. + case "$mode" in
  2170. ++ rp_moduleVars lr-snes9x2002
  2171. ++ local id=lr-snes9x2002
  2172. ++ local code
  2173. ++ read -d '' -r code
  2174. +++ rp_getInstallPath lr-snes9x2002
  2175. +++ local id=lr-snes9x2002
  2176. +++ echo /opt/retropie/libretrocores/lr-snes9x2002
  2177. ++ echo 'local md_desc="Super Nintendo emu - ARM optimised Snes9x 1.39 port for libretro"
  2178. local md_help="Previously called lr-pocketsnes\n\nROM Extensions: .bin .smc .sfc .fig .swc .mgd .zip\n\nCopy your SNES roms to /home/pi/RetroPie/roms/snes"
  2179. local md_type="libretrocores"
  2180. local md_flags="!all arm"
  2181. local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-snes9x2002.sh"
  2182.  
  2183. local md_repo_type="git"
  2184. local md_repo_url="https://github.com/libretro/snes9x2002.git"
  2185. local md_repo_branch="master"
  2186. local md_repo_commit=""
  2187.  
  2188. local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-snes9x2002"
  2189. local md_inst="/opt/retropie/libretrocores/lr-snes9x2002"
  2190. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  2191. local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-snes9x2002"'
  2192. + eval 'local md_desc="Super Nintendo emu - ARM optimised Snes9x 1.39 port for libretro"
  2193. local md_help="Previously called lr-pocketsnes\n\nROM Extensions: .bin .smc .sfc .fig .swc .mgd .zip\n\nCopy your SNES roms to /home/pi/RetroPie/roms/snes"
  2194. local md_type="libretrocores"
  2195. local md_flags="!all arm"
  2196. local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-snes9x2002.sh"
  2197.  
  2198. local md_repo_type="git"
  2199. local md_repo_url="https://github.com/libretro/snes9x2002.git"
  2200. local md_repo_branch="master"
  2201. local md_repo_commit=""
  2202.  
  2203. local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-snes9x2002"
  2204. local md_inst="/opt/retropie/libretrocores/lr-snes9x2002"
  2205. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  2206. local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-snes9x2002"'
  2207. ++ local 'md_desc=Super Nintendo emu - ARM optimised Snes9x 1.39 port for libretro'
  2208. ++ local 'md_help=Previously called lr-pocketsnes\n\nROM Extensions: .bin .smc .sfc .fig .swc .mgd .zip\n\nCopy your SNES roms to /home/pi/RetroPie/roms/snes'
  2209. ++ local md_type=libretrocores
  2210. ++ local 'md_flags=!all arm'
  2211. ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-snes9x2002.sh
  2212. ++ local md_repo_type=git
  2213. ++ local md_repo_url=https://github.com/libretro/snes9x2002.git
  2214. ++ local md_repo_branch=master
  2215. ++ local md_repo_commit=
  2216. ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/lr-snes9x2002
  2217. ++ local md_inst=/opt/retropie/libretrocores/lr-snes9x2002
  2218. ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-snes9x2002
  2219. + local md_mode=install
  2220. + local md_conf_root
  2221. + [[ libretrocores == \p\o\r\t\s ]]
  2222. + setConfigRoot ''
  2223. + local dir=
  2224. + md_conf_root=/opt/retropie/configs
  2225. + [[ -n '' ]]
  2226. + mkUserDir /opt/retropie/configs
  2227. + mkdir -p /opt/retropie/configs
  2228. + chown pi:pi /opt/retropie/configs
  2229. + case "$mode" in
  2230. + function=_update_hook_lr-snes9x2002
  2231. + fnExists _update_hook_lr-snes9x2002
  2232. + declare -f _update_hook_lr-snes9x2002
  2233. + return 0
  2234. + md_ret_require=()
  2235. + local md_ret_require
  2236. + md_ret_files=()
  2237. + local md_ret_files
  2238. + md_ret_errors=()
  2239. + local md_ret_errors
  2240. + md_ret_info=()
  2241. + local md_ret_info
  2242. + local action
  2243. + local pushed=1
  2244. + case "$mode" in
  2245. + [[ -n '' ]]
  2246. + case "$mode" in
  2247. + _update_hook_lr-snes9x2002
  2248. + renameModule lr-pocketsnes lr-snes9x2002
  2249. + local from=lr-pocketsnes
  2250. + local to=lr-snes9x2002
  2251. + [[ -d /opt/retropie/libretrocores/lr-pocketsnes ]]
  2252. + [[ -n '' ]]
  2253. + [[ 0 -eq 0 ]]
  2254. + [[ -n '' ]]
  2255. + [[ -d /home/pi/RetroPie-Setup/tmp/build/lr-snes9x2002 ]]
  2256. + local ret=0
  2257. + [[ 0 -gt 0 ]]
  2258. + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
  2259. + [[ _update_hook == \i\n\s\t\a\l\l ]]
  2260. + fnExists install_lr-snes9x2002
  2261. + declare -f install_lr-snes9x2002
  2262. + return 0
  2263. + [[ 0 -gt 0 ]]
  2264. + [[ 1 -eq 0 ]]
  2265. + return 0
  2266. + for function in $(compgen -A function _update_hook_)
  2267. + id=lr-snes9x2005
  2268. + [[ -n lr-snes9x2005 ]]
  2269. + [[ 1 -eq 1 ]]
  2270. + rp_callModule lr-snes9x2005 _update_hook
  2271. + local md_id=lr-snes9x2005
  2272. + local mode=_update_hook
  2273. + shift 2
  2274. + rp_hasModule lr-snes9x2005
  2275. + local id=lr-snes9x2005
  2276. + [[ -n 130 ]]
  2277. + return 0
  2278. + rp_isEnabled lr-snes9x2005
  2279. + local id=lr-snes9x2005
  2280. + [[ 1 -eq 0 ]]
  2281. + return 0
  2282. + case "$mode" in
  2283. ++ rp_moduleVars lr-snes9x2005
  2284. ++ local id=lr-snes9x2005
  2285. ++ local code
  2286. ++ read -d '' -r code
  2287. +++ rp_getInstallPath lr-snes9x2005
  2288. +++ local id=lr-snes9x2005
  2289. +++ echo /opt/retropie/libretrocores/lr-snes9x2005
  2290. ++ echo 'local md_desc="Super Nintendo emu - Snes9x 1.43 based port for libretro"
  2291. local md_help="Previously called lr-catsfc\n\nROM Extensions: .bin .smc .sfc .fig .swc .mgd .zip\n\nCopy your SNES roms to /home/pi/RetroPie/roms/snes"
  2292. local md_type="libretrocores"
  2293. local md_flags=""
  2294. local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-snes9x2005.sh"
  2295.  
  2296. local md_repo_type="git"
  2297. local md_repo_url="https://github.com/libretro/snes9x2005.git"
  2298. local md_repo_branch="master"
  2299. local md_repo_commit=""
  2300.  
  2301. local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-snes9x2005"
  2302. local md_inst="/opt/retropie/libretrocores/lr-snes9x2005"
  2303. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  2304. local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-snes9x2005"'
  2305. + eval 'local md_desc="Super Nintendo emu - Snes9x 1.43 based port for libretro"
  2306. local md_help="Previously called lr-catsfc\n\nROM Extensions: .bin .smc .sfc .fig .swc .mgd .zip\n\nCopy your SNES roms to /home/pi/RetroPie/roms/snes"
  2307. local md_type="libretrocores"
  2308. local md_flags=""
  2309. local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-snes9x2005.sh"
  2310.  
  2311. local md_repo_type="git"
  2312. local md_repo_url="https://github.com/libretro/snes9x2005.git"
  2313. local md_repo_branch="master"
  2314. local md_repo_commit=""
  2315.  
  2316. local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-snes9x2005"
  2317. local md_inst="/opt/retropie/libretrocores/lr-snes9x2005"
  2318. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  2319. local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-snes9x2005"'
  2320. ++ local 'md_desc=Super Nintendo emu - Snes9x 1.43 based port for libretro'
  2321. ++ local 'md_help=Previously called lr-catsfc\n\nROM Extensions: .bin .smc .sfc .fig .swc .mgd .zip\n\nCopy your SNES roms to /home/pi/RetroPie/roms/snes'
  2322. ++ local md_type=libretrocores
  2323. ++ local md_flags=
  2324. ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-snes9x2005.sh
  2325. ++ local md_repo_type=git
  2326. ++ local md_repo_url=https://github.com/libretro/snes9x2005.git
  2327. ++ local md_repo_branch=master
  2328. ++ local md_repo_commit=
  2329. ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/lr-snes9x2005
  2330. ++ local md_inst=/opt/retropie/libretrocores/lr-snes9x2005
  2331. ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-snes9x2005
  2332. + local md_mode=install
  2333. + local md_conf_root
  2334. + [[ libretrocores == \p\o\r\t\s ]]
  2335. + setConfigRoot ''
  2336. + local dir=
  2337. + md_conf_root=/opt/retropie/configs
  2338. + [[ -n '' ]]
  2339. + mkUserDir /opt/retropie/configs
  2340. + mkdir -p /opt/retropie/configs
  2341. + chown pi:pi /opt/retropie/configs
  2342. + case "$mode" in
  2343. + function=_update_hook_lr-snes9x2005
  2344. + fnExists _update_hook_lr-snes9x2005
  2345. + declare -f _update_hook_lr-snes9x2005
  2346. + return 0
  2347. + md_ret_require=()
  2348. + local md_ret_require
  2349. + md_ret_files=()
  2350. + local md_ret_files
  2351. + md_ret_errors=()
  2352. + local md_ret_errors
  2353. + md_ret_info=()
  2354. + local md_ret_info
  2355. + local action
  2356. + local pushed=1
  2357. + case "$mode" in
  2358. + [[ -n '' ]]
  2359. + case "$mode" in
  2360. + _update_hook_lr-snes9x2005
  2361. + renameModule lr-catsfc lr-snes9x2005
  2362. + local from=lr-catsfc
  2363. + local to=lr-snes9x2005
  2364. + [[ -d /opt/retropie/libretrocores/lr-catsfc ]]
  2365. + [[ -n '' ]]
  2366. + [[ 0 -eq 0 ]]
  2367. + [[ -n '' ]]
  2368. + [[ -d /home/pi/RetroPie-Setup/tmp/build/lr-snes9x2005 ]]
  2369. + local ret=0
  2370. + [[ 0 -gt 0 ]]
  2371. + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
  2372. + [[ _update_hook == \i\n\s\t\a\l\l ]]
  2373. + fnExists install_lr-snes9x2005
  2374. + declare -f install_lr-snes9x2005
  2375. + return 0
  2376. + [[ 0 -gt 0 ]]
  2377. + [[ 1 -eq 0 ]]
  2378. + return 0
  2379. + for function in $(compgen -A function _update_hook_)
  2380. + id=lr-snes9x2010
  2381. + [[ -n lr-snes9x2010 ]]
  2382. + [[ 1 -eq 1 ]]
  2383. + rp_callModule lr-snes9x2010 _update_hook
  2384. + local md_id=lr-snes9x2010
  2385. + local mode=_update_hook
  2386. + shift 2
  2387. + rp_hasModule lr-snes9x2010
  2388. + local id=lr-snes9x2010
  2389. + [[ -n 131 ]]
  2390. + return 0
  2391. + rp_isEnabled lr-snes9x2010
  2392. + local id=lr-snes9x2010
  2393. + [[ 1 -eq 0 ]]
  2394. + return 0
  2395. + case "$mode" in
  2396. ++ rp_moduleVars lr-snes9x2010
  2397. ++ local id=lr-snes9x2010
  2398. ++ local code
  2399. ++ read -d '' -r code
  2400. +++ rp_getInstallPath lr-snes9x2010
  2401. +++ local id=lr-snes9x2010
  2402. +++ echo /opt/retropie/libretrocores/lr-snes9x2010
  2403. ++ echo 'local md_desc="Super Nintendo emu - Snes9x 1.52 based port for libretro"
  2404. local md_help="Previously called lr-snes9x-next\n\nROM Extensions: .bin .smc .sfc .fig .swc .mgd .zip\n\nCopy your SNES roms to /home/pi/RetroPie/roms/snes"
  2405. local md_type="libretrocores"
  2406. local md_flags=""
  2407. local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-snes9x2010.sh"
  2408.  
  2409. local md_repo_type="git"
  2410. local md_repo_url="https://github.com/libretro/snes9x2010.git"
  2411. local md_repo_branch="master"
  2412. local md_repo_commit=""
  2413.  
  2414. local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-snes9x2010"
  2415. local md_inst="/opt/retropie/libretrocores/lr-snes9x2010"
  2416. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  2417. local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-snes9x2010"'
  2418. + eval 'local md_desc="Super Nintendo emu - Snes9x 1.52 based port for libretro"
  2419. local md_help="Previously called lr-snes9x-next\n\nROM Extensions: .bin .smc .sfc .fig .swc .mgd .zip\n\nCopy your SNES roms to /home/pi/RetroPie/roms/snes"
  2420. local md_type="libretrocores"
  2421. local md_flags=""
  2422. local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-snes9x2010.sh"
  2423.  
  2424. local md_repo_type="git"
  2425. local md_repo_url="https://github.com/libretro/snes9x2010.git"
  2426. local md_repo_branch="master"
  2427. local md_repo_commit=""
  2428.  
  2429. local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-snes9x2010"
  2430. local md_inst="/opt/retropie/libretrocores/lr-snes9x2010"
  2431. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  2432. local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-snes9x2010"'
  2433. ++ local 'md_desc=Super Nintendo emu - Snes9x 1.52 based port for libretro'
  2434. ++ local 'md_help=Previously called lr-snes9x-next\n\nROM Extensions: .bin .smc .sfc .fig .swc .mgd .zip\n\nCopy your SNES roms to /home/pi/RetroPie/roms/snes'
  2435. ++ local md_type=libretrocores
  2436. ++ local md_flags=
  2437. ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-snes9x2010.sh
  2438. ++ local md_repo_type=git
  2439. ++ local md_repo_url=https://github.com/libretro/snes9x2010.git
  2440. ++ local md_repo_branch=master
  2441. ++ local md_repo_commit=
  2442. ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/lr-snes9x2010
  2443. ++ local md_inst=/opt/retropie/libretrocores/lr-snes9x2010
  2444. ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-snes9x2010
  2445. + local md_mode=install
  2446. + local md_conf_root
  2447. + [[ libretrocores == \p\o\r\t\s ]]
  2448. + setConfigRoot ''
  2449. + local dir=
  2450. + md_conf_root=/opt/retropie/configs
  2451. + [[ -n '' ]]
  2452. + mkUserDir /opt/retropie/configs
  2453. + mkdir -p /opt/retropie/configs
  2454. + chown pi:pi /opt/retropie/configs
  2455. + case "$mode" in
  2456. + function=_update_hook_lr-snes9x2010
  2457. + fnExists _update_hook_lr-snes9x2010
  2458. + declare -f _update_hook_lr-snes9x2010
  2459. + return 0
  2460. + md_ret_require=()
  2461. + local md_ret_require
  2462. + md_ret_files=()
  2463. + local md_ret_files
  2464. + md_ret_errors=()
  2465. + local md_ret_errors
  2466. + md_ret_info=()
  2467. + local md_ret_info
  2468. + local action
  2469. + local pushed=1
  2470. + case "$mode" in
  2471. + [[ -n '' ]]
  2472. + case "$mode" in
  2473. + _update_hook_lr-snes9x2010
  2474. + renameModule lr-snes9x-next lr-snes9x2010
  2475. + local from=lr-snes9x-next
  2476. + local to=lr-snes9x2010
  2477. + [[ -d /opt/retropie/libretrocores/lr-snes9x-next ]]
  2478. + [[ -n '' ]]
  2479. + [[ 0 -eq 0 ]]
  2480. + [[ -n '' ]]
  2481. + [[ -d /home/pi/RetroPie-Setup/tmp/build/lr-snes9x2010 ]]
  2482. + local ret=0
  2483. + [[ 0 -gt 0 ]]
  2484. + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
  2485. + [[ _update_hook == \i\n\s\t\a\l\l ]]
  2486. + fnExists install_lr-snes9x2010
  2487. + declare -f install_lr-snes9x2010
  2488. + return 0
  2489. + [[ 0 -gt 0 ]]
  2490. + [[ 1 -eq 0 ]]
  2491. + return 0
  2492. + for function in $(compgen -A function _update_hook_)
  2493. + id=lr-stella2014
  2494. + [[ -n lr-stella2014 ]]
  2495. + [[ 1 -eq 1 ]]
  2496. + rp_callModule lr-stella2014 _update_hook
  2497. + local md_id=lr-stella2014
  2498. + local mode=_update_hook
  2499. + shift 2
  2500. + rp_hasModule lr-stella2014
  2501. + local id=lr-stella2014
  2502. + [[ -n 133 ]]
  2503. + return 0
  2504. + rp_isEnabled lr-stella2014
  2505. + local id=lr-stella2014
  2506. + [[ 1 -eq 0 ]]
  2507. + return 0
  2508. + case "$mode" in
  2509. ++ rp_moduleVars lr-stella2014
  2510. ++ local id=lr-stella2014
  2511. ++ local code
  2512. ++ read -d '' -r code
  2513. +++ rp_getInstallPath lr-stella2014
  2514. +++ local id=lr-stella2014
  2515. +++ echo /opt/retropie/libretrocores/lr-stella2014
  2516. ++ echo 'local md_desc="Atari 2600 emulator - Stella port for libretro"
  2517. local md_help="ROM Extensions: .a26 .bin .rom .zip .gz\n\nCopy your Atari 2600 roms to /home/pi/RetroPie/roms/atari2600"
  2518. local md_type="libretrocores"
  2519. local md_flags=""
  2520. local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-stella2014.sh"
  2521.  
  2522. local md_repo_type="git"
  2523. local md_repo_url="https://github.com/libretro/stella2014-libretro.git"
  2524. local md_repo_branch="master"
  2525. local md_repo_commit=""
  2526.  
  2527. local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-stella2014"
  2528. local md_inst="/opt/retropie/libretrocores/lr-stella2014"
  2529. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  2530. local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-stella2014"'
  2531. + eval 'local md_desc="Atari 2600 emulator - Stella port for libretro"
  2532. local md_help="ROM Extensions: .a26 .bin .rom .zip .gz\n\nCopy your Atari 2600 roms to /home/pi/RetroPie/roms/atari2600"
  2533. local md_type="libretrocores"
  2534. local md_flags=""
  2535. local md_path="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-stella2014.sh"
  2536.  
  2537. local md_repo_type="git"
  2538. local md_repo_url="https://github.com/libretro/stella2014-libretro.git"
  2539. local md_repo_branch="master"
  2540. local md_repo_commit=""
  2541.  
  2542. local md_build="/home/pi/RetroPie-Setup/tmp/build/lr-stella2014"
  2543. local md_inst="/opt/retropie/libretrocores/lr-stella2014"
  2544. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  2545. local md_data="/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-stella2014"'
  2546. ++ local 'md_desc=Atari 2600 emulator - Stella port for libretro'
  2547. ++ local 'md_help=ROM Extensions: .a26 .bin .rom .zip .gz\n\nCopy your Atari 2600 roms to /home/pi/RetroPie/roms/atari2600'
  2548. ++ local md_type=libretrocores
  2549. ++ local md_flags=
  2550. ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-stella2014.sh
  2551. ++ local md_repo_type=git
  2552. ++ local md_repo_url=https://github.com/libretro/stella2014-libretro.git
  2553. ++ local md_repo_branch=master
  2554. ++ local md_repo_commit=
  2555. ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/lr-stella2014
  2556. ++ local md_inst=/opt/retropie/libretrocores/lr-stella2014
  2557. ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-stella2014
  2558. + local md_mode=install
  2559. + local md_conf_root
  2560. + [[ libretrocores == \p\o\r\t\s ]]
  2561. + setConfigRoot ''
  2562. + local dir=
  2563. + md_conf_root=/opt/retropie/configs
  2564. + [[ -n '' ]]
  2565. + mkUserDir /opt/retropie/configs
  2566. + mkdir -p /opt/retropie/configs
  2567. + chown pi:pi /opt/retropie/configs
  2568. + case "$mode" in
  2569. + function=_update_hook_lr-stella2014
  2570. + fnExists _update_hook_lr-stella2014
  2571. + declare -f _update_hook_lr-stella2014
  2572. + return 0
  2573. + md_ret_require=()
  2574. + local md_ret_require
  2575. + md_ret_files=()
  2576. + local md_ret_files
  2577. + md_ret_errors=()
  2578. + local md_ret_errors
  2579. + md_ret_info=()
  2580. + local md_ret_info
  2581. + local action
  2582. + local pushed=1
  2583. + case "$mode" in
  2584. + [[ -n '' ]]
  2585. + case "$mode" in
  2586. + _update_hook_lr-stella2014
  2587. + renameModule lr-stella lr-stella2014
  2588. + local from=lr-stella
  2589. + local to=lr-stella2014
  2590. + [[ -d /opt/retropie/libretrocores/lr-stella ]]
  2591. + [[ -n '' ]]
  2592. + [[ 0 -eq 0 ]]
  2593. + [[ -n '' ]]
  2594. + [[ -d /home/pi/RetroPie-Setup/tmp/build/lr-stella2014 ]]
  2595. + local ret=0
  2596. + [[ 0 -gt 0 ]]
  2597. + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
  2598. + [[ _update_hook == \i\n\s\t\a\l\l ]]
  2599. + fnExists install_lr-stella2014
  2600. + declare -f install_lr-stella2014
  2601. + return 0
  2602. + [[ 0 -gt 0 ]]
  2603. + [[ 1 -eq 0 ]]
  2604. + return 0
  2605. + for function in $(compgen -A function _update_hook_)
  2606. + id=openttd
  2607. + [[ -n openttd ]]
  2608. + [[ 1 -eq 1 ]]
  2609. + rp_callModule openttd _update_hook
  2610. + local md_id=openttd
  2611. + local mode=_update_hook
  2612. + shift 2
  2613. + rp_hasModule openttd
  2614. + local id=openttd
  2615. + [[ -n 170 ]]
  2616. + return 0
  2617. + rp_isEnabled openttd
  2618. + local id=openttd
  2619. + [[ 1 -eq 0 ]]
  2620. + return 0
  2621. + case "$mode" in
  2622. ++ rp_moduleVars openttd
  2623. ++ local id=openttd
  2624. ++ local code
  2625. ++ read -d '' -r code
  2626. +++ rp_getInstallPath openttd
  2627. +++ local id=openttd
  2628. +++ echo /opt/retropie/ports/openttd
  2629. ++ echo 'local md_desc="Open Source Simulator Based On Transport Tycoon Deluxe"
  2630. local md_help=""
  2631. local md_type="ports"
  2632. local md_flags="dispmanx !mali"
  2633. local md_path="/home/pi/RetroPie-Setup/scriptmodules/ports/openttd.sh"
  2634.  
  2635. local md_repo_type=""
  2636. local md_repo_url=""
  2637. local md_repo_branch=""
  2638. local md_repo_commit=""
  2639.  
  2640. local md_build="/home/pi/RetroPie-Setup/tmp/build/openttd"
  2641. local md_inst="/opt/retropie/ports/openttd"
  2642. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  2643. local md_data="/home/pi/RetroPie-Setup/scriptmodules/ports/openttd"'
  2644. + eval 'local md_desc="Open Source Simulator Based On Transport Tycoon Deluxe"
  2645. local md_help=""
  2646. local md_type="ports"
  2647. local md_flags="dispmanx !mali"
  2648. local md_path="/home/pi/RetroPie-Setup/scriptmodules/ports/openttd.sh"
  2649.  
  2650. local md_repo_type=""
  2651. local md_repo_url=""
  2652. local md_repo_branch=""
  2653. local md_repo_commit=""
  2654.  
  2655. local md_build="/home/pi/RetroPie-Setup/tmp/build/openttd"
  2656. local md_inst="/opt/retropie/ports/openttd"
  2657. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  2658. local md_data="/home/pi/RetroPie-Setup/scriptmodules/ports/openttd"'
  2659. ++ local 'md_desc=Open Source Simulator Based On Transport Tycoon Deluxe'
  2660. ++ local md_help=
  2661. ++ local md_type=ports
  2662. ++ local 'md_flags=dispmanx !mali'
  2663. ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/ports/openttd.sh
  2664. ++ local md_repo_type=
  2665. ++ local md_repo_url=
  2666. ++ local md_repo_branch=
  2667. ++ local md_repo_commit=
  2668. ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/openttd
  2669. ++ local md_inst=/opt/retropie/ports/openttd
  2670. ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/ports/openttd
  2671. + local md_mode=install
  2672. + local md_conf_root
  2673. + [[ ports == \p\o\r\t\s ]]
  2674. + setConfigRoot ports
  2675. + local dir=ports
  2676. + md_conf_root=/opt/retropie/configs
  2677. + [[ -n ports ]]
  2678. + md_conf_root+=/ports
  2679. + mkUserDir /opt/retropie/configs/ports
  2680. + mkdir -p /opt/retropie/configs/ports
  2681. + chown pi:pi /opt/retropie/configs/ports
  2682. + case "$mode" in
  2683. + function=_update_hook_openttd
  2684. + fnExists _update_hook_openttd
  2685. + declare -f _update_hook_openttd
  2686. + return 0
  2687. + md_ret_require=()
  2688. + local md_ret_require
  2689. + md_ret_files=()
  2690. + local md_ret_files
  2691. + md_ret_errors=()
  2692. + local md_ret_errors
  2693. + md_ret_info=()
  2694. + local md_ret_info
  2695. + local action
  2696. + local pushed=1
  2697. + case "$mode" in
  2698. + [[ -n '' ]]
  2699. + case "$mode" in
  2700. + _update_hook_openttd
  2701. + hasPackage openttd
  2702. + local pkg=openttd
  2703. + local req_ver=
  2704. + local comp=
  2705. + [[ -z '' ]]
  2706. + comp=ge
  2707. + local ver
  2708. + local status
  2709. ++ dpkg-query -W '--showformat=${Status} ${Version}' openttd
  2710. + local 'out=unknown ok not-installed '
  2711. + [[ 0 -eq 0 ]]
  2712. + ver=
  2713. + status='unknown ok not-installed'
  2714. + local installed=0
  2715. + [[ unknown ok not-installed == *\o\k\ \i\n\s\t\a\l\l\e\d ]]
  2716. + [[ -z '' ]]
  2717. + [[ 0 -eq 1 ]]
  2718. + return 1
  2719. + [[ -n '' ]]
  2720. + [[ 0 -eq 0 ]]
  2721. + [[ -n '' ]]
  2722. + [[ -d /home/pi/RetroPie-Setup/tmp/build/openttd ]]
  2723. + local ret=0
  2724. + [[ 0 -gt 0 ]]
  2725. + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
  2726. + [[ _update_hook == \i\n\s\t\a\l\l ]]
  2727. + fnExists install_openttd
  2728. + declare -f install_openttd
  2729. + return 1
  2730. + [[ _update_hook == \b\u\i\l\d ]]
  2731. + [[ 0 -gt 0 ]]
  2732. + [[ 1 -eq 0 ]]
  2733. + return 0
  2734. + for function in $(compgen -A function _update_hook_)
  2735. + id=retropiemenu
  2736. + [[ -n retropiemenu ]]
  2737. + [[ 1 -eq 1 ]]
  2738. + rp_callModule retropiemenu _update_hook
  2739. + local md_id=retropiemenu
  2740. + local mode=_update_hook
  2741. + shift 2
  2742. + rp_hasModule retropiemenu
  2743. + local id=retropiemenu
  2744. + [[ -n 217 ]]
  2745. + return 0
  2746. + rp_isEnabled retropiemenu
  2747. + local id=retropiemenu
  2748. + [[ 1 -eq 0 ]]
  2749. + return 0
  2750. + case "$mode" in
  2751. ++ rp_moduleVars retropiemenu
  2752. ++ local id=retropiemenu
  2753. ++ local code
  2754. ++ read -d '' -r code
  2755. +++ rp_getInstallPath retropiemenu
  2756. +++ local id=retropiemenu
  2757. +++ echo /opt/retropie/supplementary/retropiemenu
  2758. ++ echo 'local md_desc="RetroPie configuration menu for EmulationStation"
  2759. local md_help=""
  2760. local md_type="supplementary"
  2761. local md_flags="nonet"
  2762. local md_path="/home/pi/RetroPie-Setup/scriptmodules/supplementary/retropiemenu.sh"
  2763.  
  2764. local md_repo_type=""
  2765. local md_repo_url=""
  2766. local md_repo_branch=""
  2767. local md_repo_commit=""
  2768.  
  2769. local md_build="/home/pi/RetroPie-Setup/tmp/build/retropiemenu"
  2770. local md_inst="/opt/retropie/supplementary/retropiemenu"
  2771. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  2772. local md_data="/home/pi/RetroPie-Setup/scriptmodules/supplementary/retropiemenu"'
  2773. + eval 'local md_desc="RetroPie configuration menu for EmulationStation"
  2774. local md_help=""
  2775. local md_type="supplementary"
  2776. local md_flags="nonet"
  2777. local md_path="/home/pi/RetroPie-Setup/scriptmodules/supplementary/retropiemenu.sh"
  2778.  
  2779. local md_repo_type=""
  2780. local md_repo_url=""
  2781. local md_repo_branch=""
  2782. local md_repo_commit=""
  2783.  
  2784. local md_build="/home/pi/RetroPie-Setup/tmp/build/retropiemenu"
  2785. local md_inst="/opt/retropie/supplementary/retropiemenu"
  2786. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  2787. local md_data="/home/pi/RetroPie-Setup/scriptmodules/supplementary/retropiemenu"'
  2788. ++ local 'md_desc=RetroPie configuration menu for EmulationStation'
  2789. ++ local md_help=
  2790. ++ local md_type=supplementary
  2791. ++ local md_flags=nonet
  2792. ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/supplementary/retropiemenu.sh
  2793. ++ local md_repo_type=
  2794. ++ local md_repo_url=
  2795. ++ local md_repo_branch=
  2796. ++ local md_repo_commit=
  2797. ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/retropiemenu
  2798. ++ local md_inst=/opt/retropie/supplementary/retropiemenu
  2799. ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/supplementary/retropiemenu
  2800. + local md_mode=install
  2801. + local md_conf_root
  2802. + [[ supplementary == \p\o\r\t\s ]]
  2803. + setConfigRoot ''
  2804. + local dir=
  2805. + md_conf_root=/opt/retropie/configs
  2806. + [[ -n '' ]]
  2807. + mkUserDir /opt/retropie/configs
  2808. + mkdir -p /opt/retropie/configs
  2809. + chown pi:pi /opt/retropie/configs
  2810. + case "$mode" in
  2811. + function=_update_hook_retropiemenu
  2812. + fnExists _update_hook_retropiemenu
  2813. + declare -f _update_hook_retropiemenu
  2814. + return 0
  2815. + md_ret_require=()
  2816. + local md_ret_require
  2817. + md_ret_files=()
  2818. + local md_ret_files
  2819. + md_ret_errors=()
  2820. + local md_ret_errors
  2821. + md_ret_info=()
  2822. + local md_ret_info
  2823. + local action
  2824. + local pushed=1
  2825. + case "$mode" in
  2826. + [[ -n '' ]]
  2827. + case "$mode" in
  2828. + _update_hook_retropiemenu
  2829. + rp_isInstalled retropiemenu
  2830. + local id=retropiemenu
  2831. + local md_inst=/opt/retropie/supplementary/retropiemenu
  2832. + [[ -d /opt/retropie/supplementary/retropiemenu ]]
  2833. + return 0
  2834. + [[ -n '' ]]
  2835. + [[ 0 -eq 0 ]]
  2836. + [[ -n '' ]]
  2837. + [[ -d /home/pi/RetroPie-Setup/tmp/build/retropiemenu ]]
  2838. + local ret=0
  2839. + [[ 0 -gt 0 ]]
  2840. + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
  2841. + [[ _update_hook == \i\n\s\t\a\l\l ]]
  2842. + fnExists install_retropiemenu
  2843. + declare -f install_retropiemenu
  2844. + return 1
  2845. + [[ _update_hook == \b\u\i\l\d ]]
  2846. + [[ 0 -gt 0 ]]
  2847. + [[ 1 -eq 0 ]]
  2848. + return 0
  2849. + for function in $(compgen -A function _update_hook_)
  2850. + id=runcommand
  2851. + [[ -n runcommand ]]
  2852. + [[ 1 -eq 1 ]]
  2853. + rp_callModule runcommand _update_hook
  2854. + local md_id=runcommand
  2855. + local mode=_update_hook
  2856. + shift 2
  2857. + rp_hasModule runcommand
  2858. + local id=runcommand
  2859. + [[ -n 218 ]]
  2860. + return 0
  2861. + rp_isEnabled runcommand
  2862. + local id=runcommand
  2863. + [[ 1 -eq 0 ]]
  2864. + return 0
  2865. + case "$mode" in
  2866. ++ rp_moduleVars runcommand
  2867. ++ local id=runcommand
  2868. ++ local code
  2869. ++ read -d '' -r code
  2870. +++ rp_getInstallPath runcommand
  2871. +++ local id=runcommand
  2872. +++ echo /opt/retropie/supplementary/runcommand
  2873. ++ echo 'local md_desc="The '\''runcommand'\'' launch script - needed for launching the emulators from the frontend"
  2874. local md_help=""
  2875. local md_type="supplementary"
  2876. local md_flags="nonet"
  2877. local md_path="/home/pi/RetroPie-Setup/scriptmodules/supplementary/runcommand.sh"
  2878.  
  2879. local md_repo_type=""
  2880. local md_repo_url=""
  2881. local md_repo_branch=""
  2882. local md_repo_commit=""
  2883.  
  2884. local md_build="/home/pi/RetroPie-Setup/tmp/build/runcommand"
  2885. local md_inst="/opt/retropie/supplementary/runcommand"
  2886. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  2887. local md_data="/home/pi/RetroPie-Setup/scriptmodules/supplementary/runcommand"'
  2888. + eval 'local md_desc="The '\''runcommand'\'' launch script - needed for launching the emulators from the frontend"
  2889. local md_help=""
  2890. local md_type="supplementary"
  2891. local md_flags="nonet"
  2892. local md_path="/home/pi/RetroPie-Setup/scriptmodules/supplementary/runcommand.sh"
  2893.  
  2894. local md_repo_type=""
  2895. local md_repo_url=""
  2896. local md_repo_branch=""
  2897. local md_repo_commit=""
  2898.  
  2899. local md_build="/home/pi/RetroPie-Setup/tmp/build/runcommand"
  2900. local md_inst="/opt/retropie/supplementary/runcommand"
  2901. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  2902. local md_data="/home/pi/RetroPie-Setup/scriptmodules/supplementary/runcommand"'
  2903. ++ local 'md_desc=The '\''runcommand'\'' launch script - needed for launching the emulators from the frontend'
  2904. ++ local md_help=
  2905. ++ local md_type=supplementary
  2906. ++ local md_flags=nonet
  2907. ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/supplementary/runcommand.sh
  2908. ++ local md_repo_type=
  2909. ++ local md_repo_url=
  2910. ++ local md_repo_branch=
  2911. ++ local md_repo_commit=
  2912. ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/runcommand
  2913. ++ local md_inst=/opt/retropie/supplementary/runcommand
  2914. ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/supplementary/runcommand
  2915. + local md_mode=install
  2916. + local md_conf_root
  2917. + [[ supplementary == \p\o\r\t\s ]]
  2918. + setConfigRoot ''
  2919. + local dir=
  2920. + md_conf_root=/opt/retropie/configs
  2921. + [[ -n '' ]]
  2922. + mkUserDir /opt/retropie/configs
  2923. + mkdir -p /opt/retropie/configs
  2924. + chown pi:pi /opt/retropie/configs
  2925. + case "$mode" in
  2926. + function=_update_hook_runcommand
  2927. + fnExists _update_hook_runcommand
  2928. + declare -f _update_hook_runcommand
  2929. + return 0
  2930. + md_ret_require=()
  2931. + local md_ret_require
  2932. + md_ret_files=()
  2933. + local md_ret_files
  2934. + md_ret_errors=()
  2935. + local md_ret_errors
  2936. + md_ret_info=()
  2937. + local md_ret_info
  2938. + local action
  2939. + local pushed=1
  2940. + case "$mode" in
  2941. + [[ -n '' ]]
  2942. + case "$mode" in
  2943. + _update_hook_runcommand
  2944. + rp_isInstalled runcommand
  2945. + local id=runcommand
  2946. + local md_inst=/opt/retropie/supplementary/runcommand
  2947. + [[ -d /opt/retropie/supplementary/runcommand ]]
  2948. + return 0
  2949. + install_bin_runcommand
  2950. + cp /home/pi/RetroPie-Setup/scriptmodules/supplementary/runcommand/runcommand.sh /opt/retropie/supplementary/runcommand/
  2951. + cp /home/pi/RetroPie-Setup/scriptmodules/supplementary/runcommand/joy2key.py /opt/retropie/supplementary/runcommand/
  2952. + chmod a+x /opt/retropie/supplementary/runcommand/runcommand.sh
  2953. + chmod a+x /opt/retropie/supplementary/runcommand/joy2key.py
  2954. + python3 -m compileall /opt/retropie/supplementary/runcommand/joy2key.py
  2955. Compiling '/opt/retropie/supplementary/runcommand/joy2key.py'...
  2956. + [[ ! -f /opt/retropie/configs/all/runcommand.cfg ]]
  2957. + [[ ! -f /opt/retropie/configs/all/runcommand-launch-dialog.cfg ]]
  2958. + compareVersions 10 ge 10
  2959. + dpkg --compare-versions 10 ge 10
  2960. + return 0
  2961. + rp_installModule mesa-drm _autoupdate_
  2962. + local id=mesa-drm
  2963. + local mode=_autoupdate_
  2964. + [[ -z _autoupdate_ ]]
  2965. + rp_callModule mesa-drm _autoupdate_
  2966. + local md_id=mesa-drm
  2967. + local mode=_autoupdate_
  2968. + shift 2
  2969. + rp_hasModule mesa-drm
  2970. + local id=mesa-drm
  2971. + [[ -n 205 ]]
  2972. + return 0
  2973. + rp_isEnabled mesa-drm
  2974. + local id=mesa-drm
  2975. + [[ 1 -eq 0 ]]
  2976. + return 0
  2977. + case "$mode" in
  2978. + rp_isInstalled mesa-drm
  2979. + local id=mesa-drm
  2980. + local md_inst=/opt/retropie/supplementary/mesa-drm
  2981. + [[ -d /opt/retropie/supplementary/mesa-drm ]]
  2982. + return 0
  2983. + rp_callModule mesa-drm _update_
  2984. + local md_id=mesa-drm
  2985. + local mode=_update_
  2986. + shift 2
  2987. + rp_hasModule mesa-drm
  2988. + local id=mesa-drm
  2989. + [[ -n 205 ]]
  2990. + return 0
  2991. + rp_isEnabled mesa-drm
  2992. + local id=mesa-drm
  2993. + [[ 1 -eq 0 ]]
  2994. + return 0
  2995. + case "$mode" in
  2996. + [[ _update_ == \_\u\p\d\a\t\e\_ ]]
  2997. + rp_isInstalled mesa-drm
  2998. + local id=mesa-drm
  2999. + local md_inst=/opt/retropie/supplementary/mesa-drm
  3000. + [[ -d /opt/retropie/supplementary/mesa-drm ]]
  3001. + return 0
  3002. + rp_loadPackageInfo mesa-drm pkg_origin
  3003. + local id=mesa-drm
  3004. + [[ '' -eq 1 ]]
  3005. + local keys
  3006. + local cache=1
  3007. + [[ -z pkg_origin ]]
  3008. + shift
  3009. + keys=("$@")
  3010. + cache=0
  3011. + local load=0
  3012. ++ rp_getInstallPath mesa-drm
  3013. ++ local id=mesa-drm
  3014. ++ echo /opt/retropie/supplementary/mesa-drm
  3015. + local pkg_file=/opt/retropie/supplementary/mesa-drm/retropie.pkg
  3016. + [[ -f /opt/retropie/supplementary/mesa-drm/retropie.pkg ]]
  3017. + load=1
  3018. + local key
  3019. + local data
  3020. + for key in "${keys[@]}"
  3021. + data=
  3022. + [[ pkg_origin == \p\k\g\_\o\r\i\g\i\n ]]
  3023. + data=unknown
  3024. + __mod_info[$id/$key]=unknown
  3025. + [[ 1 -eq 1 ]]
  3026. ++ grep -oP 'pkg_origin="\K[^"]+' /opt/retropie/supplementary/mesa-drm/retropie.pkg
  3027. + data=binary
  3028. + [[ -n binary ]]
  3029. + __mod_info[$id/$key]=binary
  3030. + [[ 0 -eq 1 ]]
  3031. + local pkg_origin=binary
  3032. + local has_binary=0
  3033. + local has_net=0
  3034. ++ getIPAddress
  3035. ++ local dev=
  3036. ++ local ip_route
  3037. +++ ip -4 route get 8.8.8.8
  3038. ++ ip_route='8.8.8.8 via 192.168.2.1 dev eth0 src 192.168.2.5 uid 0
  3039. cache '
  3040. ++ [[ -z 8.8.8.8 via 192.168.2.1 dev eth0 src 192.168.2.5 uid 0
  3041. cache ]]
  3042. ++ [[ -n 8.8.8.8 via 192.168.2.1 dev eth0 src 192.168.2.5 uid 0
  3043. cache ]]
  3044. ++ grep -oP 'src \K[^\s]+'
  3045. + local ip=192.168.2.5
  3046. + [[ -n 192.168.2.5 ]]
  3047. + has_net=1
  3048. + hasFlag '' nonet
  3049. + local string=
  3050. + local flag=nonet
  3051. + [[ -z '' ]]
  3052. + return 1
  3053. + [[ 1 -eq 1 ]]
  3054. + rp_hasBinary mesa-drm
  3055. + local id=mesa-drm
  3056. + [[ Raspbian != \R\a\s\p\b\i\a\n ]]
  3057. ++ rp_getBinaryUrl mesa-drm
  3058. ++ local id=mesa-drm
  3059. ++ local url=https://files.retropie.org.uk/binaries/buster/rpi3/supplementary/mesa-drm.tar.gz
  3060. ++ fnExists install_bin_mesa-drm
  3061. ++ declare -f install_bin_mesa-drm
  3062. ++ return 1
  3063. ++ echo https://files.retropie.org.uk/binaries/buster/rpi3/supplementary/mesa-drm.tar.gz
  3064. + local url=https://files.retropie.org.uk/binaries/buster/rpi3/supplementary/mesa-drm.tar.gz
  3065. + [[ https://files.retropie.org.uk/binaries/buster/rpi3/supplementary/mesa-drm.tar.gz == \n\o\t\e\s\t ]]
  3066. + [[ -z https://files.retropie.org.uk/binaries/buster/rpi3/supplementary/mesa-drm.tar.gz ]]
  3067. + [[ -n '' ]]
  3068. + local ret=1
  3069. + rp_hasBinaries
  3070. + [[ 1 -eq 1 ]]
  3071. + return 0
  3072. + rp_remoteFileExists https://files.retropie.org.uk/binaries/buster/rpi3/supplementary/mesa-drm.tar.gz
  3073. + local url=https://files.retropie.org.uk/binaries/buster/rpi3/supplementary/mesa-drm.tar.gz
  3074. + local ret
  3075. + curl --max-time 5 -o /dev/null -sfI https://files.retropie.org.uk/binaries/buster/rpi3/supplementary/mesa-drm.tar.gz
  3076. + ret=28
  3077. + [[ 28 -eq 0 ]]
  3078. + [[ 28 -eq 22 ]]
  3079. + return 2
  3080. + ret=2
  3081. + [[ 2 -ne 2 ]]
  3082. + return 2
  3083. + local ret=2
  3084. + [[ 2 -eq 0 ]]
  3085. + [[ 2 -eq 2 ]]
  3086. + has_net=0
  3087. + [[ 0 -eq 0 ]]
  3088. + __ERRMSGS+=("Can't install/update $md_id - unable to connect to the internet")
  3089. + return 1
  3090. + return 1
  3091. + return 1
  3092. + md_ret_require=/opt/retropie/supplementary/runcommand/runcommand.sh
  3093. + [[ -n /opt/retropie/supplementary/runcommand/runcommand.sh ]]
  3094. + for file in "${md_ret_require[@]}"
  3095. + [[ ! -e /opt/retropie/supplementary/runcommand/runcommand.sh ]]
  3096. + [[ 0 -eq 0 ]]
  3097. + [[ -n '' ]]
  3098. + [[ -d /home/pi/RetroPie-Setup/tmp/build/runcommand ]]
  3099. + local ret=0
  3100. + [[ 0 -gt 0 ]]
  3101. + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
  3102. + [[ _update_hook == \i\n\s\t\a\l\l ]]
  3103. + fnExists install_runcommand
  3104. + declare -f install_runcommand
  3105. + return 1
  3106. + [[ _update_hook == \b\u\i\l\d ]]
  3107. + [[ 0 -gt 0 ]]
  3108. + [[ 1 -eq 0 ]]
  3109. + return 0
  3110. + for function in $(compgen -A function _update_hook_)
  3111. + id=splashscreen
  3112. + [[ -n splashscreen ]]
  3113. + [[ 1 -eq 1 ]]
  3114. + rp_callModule splashscreen _update_hook
  3115. + local md_id=splashscreen
  3116. + local mode=_update_hook
  3117. + shift 2
  3118. + rp_hasModule splashscreen
  3119. + local id=splashscreen
  3120. + [[ -n 226 ]]
  3121. + return 0
  3122. + rp_isEnabled splashscreen
  3123. + local id=splashscreen
  3124. + [[ 1 -eq 0 ]]
  3125. + return 0
  3126. + case "$mode" in
  3127. ++ rp_moduleVars splashscreen
  3128. ++ local id=splashscreen
  3129. ++ local code
  3130. ++ read -d '' -r code
  3131. +++ rp_getInstallPath splashscreen
  3132. +++ local id=splashscreen
  3133. +++ echo /opt/retropie/supplementary/splashscreen
  3134. ++ echo 'local md_desc="Configure Splashscreen"
  3135. local md_help=""
  3136. local md_type="supplementary"
  3137. local md_flags="noinstclean !all rpi !osmc !xbian !aarch64"
  3138. local md_path="/home/pi/RetroPie-Setup/scriptmodules/supplementary/splashscreen.sh"
  3139.  
  3140. local md_repo_type="git"
  3141. local md_repo_url="https://github.com/RetroPie/retropie-splashscreens.git"
  3142. local md_repo_branch="master"
  3143. local md_repo_commit=""
  3144.  
  3145. local md_build="/home/pi/RetroPie-Setup/tmp/build/splashscreen"
  3146. local md_inst="/opt/retropie/supplementary/splashscreen"
  3147. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  3148. local md_data="/home/pi/RetroPie-Setup/scriptmodules/supplementary/splashscreen"'
  3149. + eval 'local md_desc="Configure Splashscreen"
  3150. local md_help=""
  3151. local md_type="supplementary"
  3152. local md_flags="noinstclean !all rpi !osmc !xbian !aarch64"
  3153. local md_path="/home/pi/RetroPie-Setup/scriptmodules/supplementary/splashscreen.sh"
  3154.  
  3155. local md_repo_type="git"
  3156. local md_repo_url="https://github.com/RetroPie/retropie-splashscreens.git"
  3157. local md_repo_branch="master"
  3158. local md_repo_commit=""
  3159.  
  3160. local md_build="/home/pi/RetroPie-Setup/tmp/build/splashscreen"
  3161. local md_inst="/opt/retropie/supplementary/splashscreen"
  3162. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  3163. local md_data="/home/pi/RetroPie-Setup/scriptmodules/supplementary/splashscreen"'
  3164. ++ local 'md_desc=Configure Splashscreen'
  3165. ++ local md_help=
  3166. ++ local md_type=supplementary
  3167. ++ local 'md_flags=noinstclean !all rpi !osmc !xbian !aarch64'
  3168. ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/supplementary/splashscreen.sh
  3169. ++ local md_repo_type=git
  3170. ++ local md_repo_url=https://github.com/RetroPie/retropie-splashscreens.git
  3171. ++ local md_repo_branch=master
  3172. ++ local md_repo_commit=
  3173. ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/splashscreen
  3174. ++ local md_inst=/opt/retropie/supplementary/splashscreen
  3175. ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/supplementary/splashscreen
  3176. + local md_mode=install
  3177. + local md_conf_root
  3178. + [[ supplementary == \p\o\r\t\s ]]
  3179. + setConfigRoot ''
  3180. + local dir=
  3181. + md_conf_root=/opt/retropie/configs
  3182. + [[ -n '' ]]
  3183. + mkUserDir /opt/retropie/configs
  3184. + mkdir -p /opt/retropie/configs
  3185. + chown pi:pi /opt/retropie/configs
  3186. + case "$mode" in
  3187. + function=_update_hook_splashscreen
  3188. + fnExists _update_hook_splashscreen
  3189. + declare -f _update_hook_splashscreen
  3190. + return 0
  3191. + md_ret_require=()
  3192. + local md_ret_require
  3193. + md_ret_files=()
  3194. + local md_ret_files
  3195. + md_ret_errors=()
  3196. + local md_ret_errors
  3197. + md_ret_info=()
  3198. + local md_ret_info
  3199. + local action
  3200. + local pushed=1
  3201. + case "$mode" in
  3202. + [[ -n '' ]]
  3203. + case "$mode" in
  3204. + _update_hook_splashscreen
  3205. + rp_isInstalled splashscreen
  3206. + local id=splashscreen
  3207. + local md_inst=/opt/retropie/supplementary/splashscreen
  3208. + [[ -d /opt/retropie/supplementary/splashscreen ]]
  3209. + return 0
  3210. + install_bin_splashscreen
  3211. + cat
  3212. + rp_installModule omxiv _autoupdate_
  3213. + local id=omxiv
  3214. + local mode=_autoupdate_
  3215. + [[ -z _autoupdate_ ]]
  3216. + rp_callModule omxiv _autoupdate_
  3217. + local md_id=omxiv
  3218. + local mode=_autoupdate_
  3219. + shift 2
  3220. + rp_hasModule omxiv
  3221. + local id=omxiv
  3222. + [[ -n 209 ]]
  3223. + return 0
  3224. + rp_isEnabled omxiv
  3225. + local id=omxiv
  3226. + [[ 1 -eq 0 ]]
  3227. + return 0
  3228. + case "$mode" in
  3229. + rp_isInstalled omxiv
  3230. + local id=omxiv
  3231. + local md_inst=/opt/retropie/supplementary/omxiv
  3232. + [[ -d /opt/retropie/supplementary/omxiv ]]
  3233. + return 0
  3234. + rp_callModule omxiv _update_
  3235. + local md_id=omxiv
  3236. + local mode=_update_
  3237. + shift 2
  3238. + rp_hasModule omxiv
  3239. + local id=omxiv
  3240. + [[ -n 209 ]]
  3241. + return 0
  3242. + rp_isEnabled omxiv
  3243. + local id=omxiv
  3244. + [[ 1 -eq 0 ]]
  3245. + return 0
  3246. + case "$mode" in
  3247. + [[ _update_ == \_\u\p\d\a\t\e\_ ]]
  3248. + rp_isInstalled omxiv
  3249. + local id=omxiv
  3250. + local md_inst=/opt/retropie/supplementary/omxiv
  3251. + [[ -d /opt/retropie/supplementary/omxiv ]]
  3252. + return 0
  3253. + rp_loadPackageInfo omxiv pkg_origin
  3254. + local id=omxiv
  3255. + [[ '' -eq 1 ]]
  3256. + local keys
  3257. + local cache=1
  3258. + [[ -z pkg_origin ]]
  3259. + shift
  3260. + keys=("$@")
  3261. + cache=0
  3262. + local load=0
  3263. ++ rp_getInstallPath omxiv
  3264. ++ local id=omxiv
  3265. ++ echo /opt/retropie/supplementary/omxiv
  3266. + local pkg_file=/opt/retropie/supplementary/omxiv/retropie.pkg
  3267. + [[ -f /opt/retropie/supplementary/omxiv/retropie.pkg ]]
  3268. + load=1
  3269. + local key
  3270. + local data
  3271. + for key in "${keys[@]}"
  3272. + data=
  3273. + [[ pkg_origin == \p\k\g\_\o\r\i\g\i\n ]]
  3274. + data=unknown
  3275. + __mod_info[$id/$key]=unknown
  3276. + [[ 1 -eq 1 ]]
  3277. ++ grep -oP 'pkg_origin="\K[^"]+' /opt/retropie/supplementary/omxiv/retropie.pkg
  3278. + data=binary
  3279. + [[ -n binary ]]
  3280. + __mod_info[$id/$key]=binary
  3281. + [[ 0 -eq 1 ]]
  3282. + local pkg_origin=binary
  3283. + local has_binary=0
  3284. + local has_net=0
  3285. ++ getIPAddress
  3286. ++ local dev=
  3287. ++ local ip_route
  3288. +++ ip -4 route get 8.8.8.8
  3289. ++ ip_route='8.8.8.8 via 192.168.2.1 dev eth0 src 192.168.2.5 uid 0
  3290. cache '
  3291. ++ [[ -z 8.8.8.8 via 192.168.2.1 dev eth0 src 192.168.2.5 uid 0
  3292. cache ]]
  3293. ++ [[ -n 8.8.8.8 via 192.168.2.1 dev eth0 src 192.168.2.5 uid 0
  3294. cache ]]
  3295. ++ grep -oP 'src \K[^\s]+'
  3296. + local ip=192.168.2.5
  3297. + [[ -n 192.168.2.5 ]]
  3298. + has_net=1
  3299. + hasFlag '!all rpi' nonet
  3300. + local 'string=!all rpi'
  3301. + local flag=nonet
  3302. + [[ -z !all rpi ]]
  3303. + [[ -z nonet ]]
  3304. + [[ !all rpi =~ (^| )nonet($| ) ]]
  3305. + return 1
  3306. + [[ 1 -eq 1 ]]
  3307. + rp_hasBinary omxiv
  3308. + local id=omxiv
  3309. + [[ Raspbian != \R\a\s\p\b\i\a\n ]]
  3310. ++ rp_getBinaryUrl omxiv
  3311. ++ local id=omxiv
  3312. ++ local url=https://files.retropie.org.uk/binaries/buster/rpi3/supplementary/omxiv.tar.gz
  3313. ++ fnExists install_bin_omxiv
  3314. ++ declare -f install_bin_omxiv
  3315. ++ return 1
  3316. ++ echo https://files.retropie.org.uk/binaries/buster/rpi3/supplementary/omxiv.tar.gz
  3317. + local url=https://files.retropie.org.uk/binaries/buster/rpi3/supplementary/omxiv.tar.gz
  3318. + [[ https://files.retropie.org.uk/binaries/buster/rpi3/supplementary/omxiv.tar.gz == \n\o\t\e\s\t ]]
  3319. + [[ -z https://files.retropie.org.uk/binaries/buster/rpi3/supplementary/omxiv.tar.gz ]]
  3320. + [[ -n '' ]]
  3321. + local ret=1
  3322. + rp_hasBinaries
  3323. + [[ 1 -eq 1 ]]
  3324. + return 0
  3325. + rp_remoteFileExists https://files.retropie.org.uk/binaries/buster/rpi3/supplementary/omxiv.tar.gz
  3326. + local url=https://files.retropie.org.uk/binaries/buster/rpi3/supplementary/omxiv.tar.gz
  3327. + local ret
  3328. + curl --max-time 5 -o /dev/null -sfI https://files.retropie.org.uk/binaries/buster/rpi3/supplementary/omxiv.tar.gz
  3329. + ret=28
  3330. + [[ 28 -eq 0 ]]
  3331. + [[ 28 -eq 22 ]]
  3332. + return 2
  3333. + ret=2
  3334. + [[ 2 -ne 2 ]]
  3335. + return 2
  3336. + local ret=2
  3337. + [[ 2 -eq 0 ]]
  3338. + [[ 2 -eq 2 ]]
  3339. + has_net=0
  3340. + [[ 0 -eq 0 ]]
  3341. + __ERRMSGS+=("Can't install/update $md_id - unable to connect to the internet")
  3342. + return 1
  3343. + return 1
  3344. + return 1
  3345. + gitPullOrClone /opt/retropie/supplementary/splashscreen
  3346. + local dir=/opt/retropie/supplementary/splashscreen
  3347. + [[ -z /opt/retropie/supplementary/splashscreen ]]
  3348. + local repo=
  3349. + local branch=
  3350. + local commit=
  3351. + local depth=
  3352. + [[ -z '' ]]
  3353. + [[ -n https://github.com/RetroPie/retropie-splashscreens.git ]]
  3354. ++ rp_resolveRepoParam https://github.com/RetroPie/retropie-splashscreens.git
  3355. ++ local param=https://github.com/RetroPie/retropie-splashscreens.git
  3356. ++ [[ https://github.com/RetroPie/retropie-splashscreens.git == :* ]]
  3357. ++ echo https://github.com/RetroPie/retropie-splashscreens.git
  3358. + repo=https://github.com/RetroPie/retropie-splashscreens.git
  3359. ++ rp_resolveRepoParam master
  3360. ++ local param=master
  3361. ++ [[ master == :* ]]
  3362. ++ echo master
  3363. + branch=master
  3364. ++ rp_resolveRepoParam ''
  3365. ++ local param=
  3366. ++ [[ '' == :* ]]
  3367. ++ echo ''
  3368. + commit=
  3369. + [[ -z https://github.com/RetroPie/retropie-splashscreens.git ]]
  3370. + [[ -z master ]]
  3371. + [[ -z '' ]]
  3372. + [[ '' -ne 1 ]]
  3373. + [[ -z '' ]]
  3374. + depth=1
  3375. + [[ -z '' ]]
  3376. + __mod_info[$md_id/repo_dir]=/opt/retropie/supplementary/splashscreen
  3377. + [[ -d /opt/retropie/supplementary/splashscreen/.git ]]
  3378. + pushd /opt/retropie/supplementary/splashscreen
  3379. + runCmd git checkout master
  3380. + local ret
  3381. + git checkout master
  3382. Already on 'master'
  3383. Your branch is up to date with 'origin/master'.
  3384. + ret=0
  3385. + [[ 0 -ne 0 ]]
  3386. + return 0
  3387. + runCmd git pull --ff-only
  3388. + local ret
  3389. + git pull --ff-only
  3390. Already up to date.
  3391. + ret=0
  3392. + [[ 0 -ne 0 ]]
  3393. + return 0
  3394. + runCmd git submodule update --init --recursive
  3395. + local ret
  3396. + git submodule update --init --recursive
  3397. + ret=0
  3398. + [[ 0 -ne 0 ]]
  3399. + return 0
  3400. + popd
  3401. + [[ -n '' ]]
  3402. ++ runCmd git -C /opt/retropie/supplementary/splashscreen rev-parse --abbrev-ref HEAD
  3403. ++ local ret
  3404. ++ git -C /opt/retropie/supplementary/splashscreen rev-parse --abbrev-ref HEAD
  3405. ++ ret=0
  3406. ++ [[ 0 -ne 0 ]]
  3407. ++ return 0
  3408. + branch=master
  3409. ++ runCmd git -C /opt/retropie/supplementary/splashscreen rev-parse HEAD
  3410. ++ local ret
  3411. ++ git -C /opt/retropie/supplementary/splashscreen rev-parse HEAD
  3412. ++ ret=0
  3413. ++ [[ 0 -ne 0 ]]
  3414. ++ return 0
  3415. + commit=b8645a8197d977a0492fc56341dc7248f7d7bb10
  3416. + printMsgs console 'HEAD is now in branch '\''master'\'' at commit '\''b8645a8197d977a0492fc56341dc7248f7d7bb10'\'''
  3417. + local type=console
  3418. + shift
  3419. + [[ 0 == \1 ]]
  3420. + for msg in "$@"
  3421. + [[ console == \d\i\a\l\o\g ]]
  3422. + [[ console == \c\o\n\s\o\l\e ]]
  3423. + echo -e 'HEAD is now in branch '\''master'\'' at commit '\''b8645a8197d977a0492fc56341dc7248f7d7bb10'\'''
  3424. HEAD is now in branch 'master' at commit 'b8645a8197d977a0492fc56341dc7248f7d7bb10'
  3425. + [[ console == \h\e\a\d\i\n\g ]]
  3426. + return 0
  3427. + cp /home/pi/RetroPie-Setup/scriptmodules/supplementary/splashscreen/asplashscreen.sh /opt/retropie/supplementary/splashscreen
  3428. + iniConfig = '"' /opt/retropie/supplementary/splashscreen/asplashscreen.sh
  3429. + __ini_cfg_delim==
  3430. + __ini_cfg_quote='"'
  3431. + __ini_cfg_file=/opt/retropie/supplementary/splashscreen/asplashscreen.sh
  3432. + iniSet ROOTDIR /opt/retropie
  3433. + iniProcess set ROOTDIR /opt/retropie ''
  3434. + local cmd=set
  3435. + local key=ROOTDIR
  3436. + local value=/opt/retropie
  3437. + local file=
  3438. + [[ -z '' ]]
  3439. + file=/opt/retropie/supplementary/splashscreen/asplashscreen.sh
  3440. + local delim==
  3441. + local 'quote="'
  3442. + [[ -z /opt/retropie/supplementary/splashscreen/asplashscreen.sh ]]
  3443. + [[ -z ROOTDIR ]]
  3444. + local delim_strip==
  3445. + [[ -z = ]]
  3446. + local 'match_re=^[[:space:]#]*ROOTDIR[[:space:]]*=.*$'
  3447. + local match
  3448. + [[ -f /opt/retropie/supplementary/splashscreen/asplashscreen.sh ]]
  3449. ++ egrep -i '^[[:space:]#]*ROOTDIR[[:space:]]*=.*$' /opt/retropie/supplementary/splashscreen/asplashscreen.sh
  3450. ++ tail -1
  3451. + match='ROOTDIR=""'
  3452. + [[ set == \d\e\l ]]
  3453. + [[ set == \u\n\s\e\t ]]
  3454. + local 'replace=ROOTDIR="/opt/retropie"'
  3455. + [[ -z ROOTDIR="" ]]
  3456. ++ sedQuote 'ROOTDIR=""'
  3457. ++ local 'string=ROOTDIR=""'
  3458. ++ string='ROOTDIR=""'
  3459. ++ string='ROOTDIR=""'
  3460. ++ string='ROOTDIR=""'
  3461. ++ string='ROOTDIR=""'
  3462. ++ echo 'ROOTDIR=""'
  3463. ++ sedQuote 'ROOTDIR="/opt/retropie"'
  3464. ++ local 'string=ROOTDIR="/opt/retropie"'
  3465. ++ string='ROOTDIR="/opt/retropie"'
  3466. ++ string='ROOTDIR="/opt/retropie"'
  3467. ++ string='ROOTDIR="/opt/retropie"'
  3468. ++ string='ROOTDIR="/opt/retropie"'
  3469. ++ echo 'ROOTDIR="/opt/retropie"'
  3470. + sed -i --follow-symlinks 's|ROOTDIR=""|ROOTDIR="/opt/retropie"|g' /opt/retropie/supplementary/splashscreen/asplashscreen.sh
  3471. + [[ /opt/retropie/supplementary/splashscreen/asplashscreen.sh =~ retroarch\.cfg$ ]]
  3472. + return 0
  3473. + iniSet DATADIR /home/pi/RetroPie
  3474. + iniProcess set DATADIR /home/pi/RetroPie ''
  3475. + local cmd=set
  3476. + local key=DATADIR
  3477. + local value=/home/pi/RetroPie
  3478. + local file=
  3479. + [[ -z '' ]]
  3480. + file=/opt/retropie/supplementary/splashscreen/asplashscreen.sh
  3481. + local delim==
  3482. + local 'quote="'
  3483. + [[ -z /opt/retropie/supplementary/splashscreen/asplashscreen.sh ]]
  3484. + [[ -z DATADIR ]]
  3485. + local delim_strip==
  3486. + [[ -z = ]]
  3487. + local 'match_re=^[[:space:]#]*DATADIR[[:space:]]*=.*$'
  3488. + local match
  3489. + [[ -f /opt/retropie/supplementary/splashscreen/asplashscreen.sh ]]
  3490. ++ egrep -i '^[[:space:]#]*DATADIR[[:space:]]*=.*$' /opt/retropie/supplementary/splashscreen/asplashscreen.sh
  3491. ++ tail -1
  3492. + match='DATADIR=""'
  3493. + [[ set == \d\e\l ]]
  3494. + [[ set == \u\n\s\e\t ]]
  3495. + local 'replace=DATADIR="/home/pi/RetroPie"'
  3496. + [[ -z DATADIR="" ]]
  3497. ++ sedQuote 'DATADIR=""'
  3498. ++ local 'string=DATADIR=""'
  3499. ++ string='DATADIR=""'
  3500. ++ string='DATADIR=""'
  3501. ++ string='DATADIR=""'
  3502. ++ string='DATADIR=""'
  3503. ++ echo 'DATADIR=""'
  3504. ++ sedQuote 'DATADIR="/home/pi/RetroPie"'
  3505. ++ local 'string=DATADIR="/home/pi/RetroPie"'
  3506. ++ string='DATADIR="/home/pi/RetroPie"'
  3507. ++ string='DATADIR="/home/pi/RetroPie"'
  3508. ++ string='DATADIR="/home/pi/RetroPie"'
  3509. ++ string='DATADIR="/home/pi/RetroPie"'
  3510. ++ echo 'DATADIR="/home/pi/RetroPie"'
  3511. + sed -i --follow-symlinks 's|DATADIR=""|DATADIR="/home/pi/RetroPie"|g' /opt/retropie/supplementary/splashscreen/asplashscreen.sh
  3512. + [[ /opt/retropie/supplementary/splashscreen/asplashscreen.sh =~ retroarch\.cfg$ ]]
  3513. + return 0
  3514. ++ _image_exts_splashscreen
  3515. ++ echo '\.bmp\|\.jpg\|\.jpeg\|\.gif\|\.png\|\.ppm\|\.tiff\|\.webp'
  3516. + iniSet REGEX_IMAGE '\.bmp\|\.jpg\|\.jpeg\|\.gif\|\.png\|\.ppm\|\.tiff\|\.webp'
  3517. + iniProcess set REGEX_IMAGE '\.bmp\|\.jpg\|\.jpeg\|\.gif\|\.png\|\.ppm\|\.tiff\|\.webp' ''
  3518. + local cmd=set
  3519. + local key=REGEX_IMAGE
  3520. + local 'value=\.bmp\|\.jpg\|\.jpeg\|\.gif\|\.png\|\.ppm\|\.tiff\|\.webp'
  3521. + local file=
  3522. + [[ -z '' ]]
  3523. + file=/opt/retropie/supplementary/splashscreen/asplashscreen.sh
  3524. + local delim==
  3525. + local 'quote="'
  3526. + [[ -z /opt/retropie/supplementary/splashscreen/asplashscreen.sh ]]
  3527. + [[ -z REGEX_IMAGE ]]
  3528. + local delim_strip==
  3529. + [[ -z = ]]
  3530. + local 'match_re=^[[:space:]#]*REGEX_IMAGE[[:space:]]*=.*$'
  3531. + local match
  3532. + [[ -f /opt/retropie/supplementary/splashscreen/asplashscreen.sh ]]
  3533. ++ egrep -i '^[[:space:]#]*REGEX_IMAGE[[:space:]]*=.*$' /opt/retropie/supplementary/splashscreen/asplashscreen.sh
  3534. ++ tail -1
  3535. + match='REGEX_IMAGE=""'
  3536. + [[ set == \d\e\l ]]
  3537. + [[ set == \u\n\s\e\t ]]
  3538. + local 'replace=REGEX_IMAGE="\.bmp\|\.jpg\|\.jpeg\|\.gif\|\.png\|\.ppm\|\.tiff\|\.webp"'
  3539. + [[ -z REGEX_IMAGE="" ]]
  3540. ++ sedQuote 'REGEX_IMAGE=""'
  3541. ++ local 'string=REGEX_IMAGE=""'
  3542. ++ string='REGEX_IMAGE=""'
  3543. ++ string='REGEX_IMAGE=""'
  3544. ++ string='REGEX_IMAGE=""'
  3545. ++ string='REGEX_IMAGE=""'
  3546. ++ echo 'REGEX_IMAGE=""'
  3547. ++ sedQuote 'REGEX_IMAGE="\.bmp\|\.jpg\|\.jpeg\|\.gif\|\.png\|\.ppm\|\.tiff\|\.webp"'
  3548. ++ local 'string=REGEX_IMAGE="\.bmp\|\.jpg\|\.jpeg\|\.gif\|\.png\|\.ppm\|\.tiff\|\.webp"'
  3549. ++ string='REGEX_IMAGE="\\.bmp\\|\\.jpg\\|\\.jpeg\\|\\.gif\\|\\.png\\|\\.ppm\\|\\.tiff\\|\\.webp"'
  3550. ++ string='REGEX_IMAGE="\\.bmp\\\|\\.jpg\\\|\\.jpeg\\\|\\.gif\\\|\\.png\\\|\\.ppm\\\|\\.tiff\\\|\\.webp"'
  3551. ++ string='REGEX_IMAGE="\\.bmp\\\|\\.jpg\\\|\\.jpeg\\\|\\.gif\\\|\\.png\\\|\\.ppm\\\|\\.tiff\\\|\\.webp"'
  3552. ++ string='REGEX_IMAGE="\\.bmp\\\|\\.jpg\\\|\\.jpeg\\\|\\.gif\\\|\\.png\\\|\\.ppm\\\|\\.tiff\\\|\\.webp"'
  3553. ++ echo 'REGEX_IMAGE="\\.bmp\\\|\\.jpg\\\|\\.jpeg\\\|\\.gif\\\|\\.png\\\|\\.ppm\\\|\\.tiff\\\|\\.webp"'
  3554. + sed -i --follow-symlinks 's|REGEX_IMAGE=""|REGEX_IMAGE="\\.bmp\\\|\\.jpg\\\|\\.jpeg\\\|\\.gif\\\|\\.png\\\|\\.ppm\\\|\\.tiff\\\|\\.webp"|g' /opt/retropie/supplementary/splashscreen/asplashscreen.sh
  3555. + [[ /opt/retropie/supplementary/splashscreen/asplashscreen.sh =~ retroarch\.cfg$ ]]
  3556. + return 0
  3557. ++ _video_exts_splashscreen
  3558. ++ echo '\.avi\|\.mov\|\.mp4\|\.mkv\|\.3gp\|\.mpg\|\.mp3\|\.wav\|\.m4a\|\.aac\|\.ogg\|\.flac'
  3559. + iniSet REGEX_VIDEO '\.avi\|\.mov\|\.mp4\|\.mkv\|\.3gp\|\.mpg\|\.mp3\|\.wav\|\.m4a\|\.aac\|\.ogg\|\.flac'
  3560. + iniProcess set REGEX_VIDEO '\.avi\|\.mov\|\.mp4\|\.mkv\|\.3gp\|\.mpg\|\.mp3\|\.wav\|\.m4a\|\.aac\|\.ogg\|\.flac' ''
  3561. + local cmd=set
  3562. + local key=REGEX_VIDEO
  3563. + local 'value=\.avi\|\.mov\|\.mp4\|\.mkv\|\.3gp\|\.mpg\|\.mp3\|\.wav\|\.m4a\|\.aac\|\.ogg\|\.flac'
  3564. + local file=
  3565. + [[ -z '' ]]
  3566. + file=/opt/retropie/supplementary/splashscreen/asplashscreen.sh
  3567. + local delim==
  3568. + local 'quote="'
  3569. + [[ -z /opt/retropie/supplementary/splashscreen/asplashscreen.sh ]]
  3570. + [[ -z REGEX_VIDEO ]]
  3571. + local delim_strip==
  3572. + [[ -z = ]]
  3573. + local 'match_re=^[[:space:]#]*REGEX_VIDEO[[:space:]]*=.*$'
  3574. + local match
  3575. + [[ -f /opt/retropie/supplementary/splashscreen/asplashscreen.sh ]]
  3576. ++ egrep -i '^[[:space:]#]*REGEX_VIDEO[[:space:]]*=.*$' /opt/retropie/supplementary/splashscreen/asplashscreen.sh
  3577. ++ tail -1
  3578. + match='REGEX_VIDEO=""'
  3579. + [[ set == \d\e\l ]]
  3580. + [[ set == \u\n\s\e\t ]]
  3581. + local 'replace=REGEX_VIDEO="\.avi\|\.mov\|\.mp4\|\.mkv\|\.3gp\|\.mpg\|\.mp3\|\.wav\|\.m4a\|\.aac\|\.ogg\|\.flac"'
  3582. + [[ -z REGEX_VIDEO="" ]]
  3583. ++ sedQuote 'REGEX_VIDEO=""'
  3584. ++ local 'string=REGEX_VIDEO=""'
  3585. ++ string='REGEX_VIDEO=""'
  3586. ++ string='REGEX_VIDEO=""'
  3587. ++ string='REGEX_VIDEO=""'
  3588. ++ string='REGEX_VIDEO=""'
  3589. ++ echo 'REGEX_VIDEO=""'
  3590. ++ sedQuote 'REGEX_VIDEO="\.avi\|\.mov\|\.mp4\|\.mkv\|\.3gp\|\.mpg\|\.mp3\|\.wav\|\.m4a\|\.aac\|\.ogg\|\.flac"'
  3591. ++ local 'string=REGEX_VIDEO="\.avi\|\.mov\|\.mp4\|\.mkv\|\.3gp\|\.mpg\|\.mp3\|\.wav\|\.m4a\|\.aac\|\.ogg\|\.flac"'
  3592. ++ string='REGEX_VIDEO="\\.avi\\|\\.mov\\|\\.mp4\\|\\.mkv\\|\\.3gp\\|\\.mpg\\|\\.mp3\\|\\.wav\\|\\.m4a\\|\\.aac\\|\\.ogg\\|\\.flac"'
  3593. ++ string='REGEX_VIDEO="\\.avi\\\|\\.mov\\\|\\.mp4\\\|\\.mkv\\\|\\.3gp\\\|\\.mpg\\\|\\.mp3\\\|\\.wav\\\|\\.m4a\\\|\\.aac\\\|\\.ogg\\\|\\.flac"'
  3594. ++ string='REGEX_VIDEO="\\.avi\\\|\\.mov\\\|\\.mp4\\\|\\.mkv\\\|\\.3gp\\\|\\.mpg\\\|\\.mp3\\\|\\.wav\\\|\\.m4a\\\|\\.aac\\\|\\.ogg\\\|\\.flac"'
  3595. ++ string='REGEX_VIDEO="\\.avi\\\|\\.mov\\\|\\.mp4\\\|\\.mkv\\\|\\.3gp\\\|\\.mpg\\\|\\.mp3\\\|\\.wav\\\|\\.m4a\\\|\\.aac\\\|\\.ogg\\\|\\.flac"'
  3596. ++ echo 'REGEX_VIDEO="\\.avi\\\|\\.mov\\\|\\.mp4\\\|\\.mkv\\\|\\.3gp\\\|\\.mpg\\\|\\.mp3\\\|\\.wav\\\|\\.m4a\\\|\\.aac\\\|\\.ogg\\\|\\.flac"'
  3597. + sed -i --follow-symlinks 's|REGEX_VIDEO=""|REGEX_VIDEO="\\.avi\\\|\\.mov\\\|\\.mp4\\\|\\.mkv\\\|\\.3gp\\\|\\.mpg\\\|\\.mp3\\\|\\.wav\\\|\\.m4a\\\|\\.aac\\\|\\.ogg\\\|\\.flac"|g' /opt/retropie/supplementary/splashscreen/asplashscreen.sh
  3598. + [[ /opt/retropie/supplementary/splashscreen/asplashscreen.sh =~ retroarch\.cfg$ ]]
  3599. + return 0
  3600. + [[ ! -f /opt/retropie/configs/all/splashscreen.cfg ]]
  3601. + chown pi:pi /opt/retropie/configs/all/splashscreen.cfg
  3602. + mkUserDir /home/pi/RetroPie/splashscreens
  3603. + mkdir -p /home/pi/RetroPie/splashscreens
  3604. + chown pi:pi /home/pi/RetroPie/splashscreens
  3605. + echo 'Place your own splashscreens in here.'
  3606. + chown pi:pi /home/pi/RetroPie/splashscreens/README.txt
  3607. + configure_splashscreen
  3608. + [[ install == \r\e\m\o\v\e ]]
  3609. + [[ -f /etc/init.d/asplashscreen ]]
  3610. + disable_plymouth_splashscreen
  3611. + local config=/boot/cmdline.txt
  3612. + [[ -f /boot/cmdline.txt ]]
  3613. + grep -q plymouth.enable /boot/cmdline.txt
  3614. + enable_splashscreen
  3615. + systemctl enable asplashscreen
  3616. + [[ ! -f /etc/splashscreen.list ]]
  3617. + [[ -n '' ]]
  3618. + [[ 0 -eq 0 ]]
  3619. + [[ -n '' ]]
  3620. + [[ -d /home/pi/RetroPie-Setup/tmp/build/splashscreen ]]
  3621. + local ret=0
  3622. + [[ 0 -gt 0 ]]
  3623. + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
  3624. + [[ _update_hook == \i\n\s\t\a\l\l ]]
  3625. + fnExists install_splashscreen
  3626. + declare -f install_splashscreen
  3627. + return 1
  3628. + [[ _update_hook == \b\u\i\l\d ]]
  3629. + [[ 0 -gt 0 ]]
  3630. + [[ 1 -eq 0 ]]
  3631. + return 0
  3632. + for function in $(compgen -A function _update_hook_)
  3633. + id=supertux
  3634. + [[ -n supertux ]]
  3635. + [[ 1 -eq 1 ]]
  3636. + rp_callModule supertux _update_hook
  3637. + local md_id=supertux
  3638. + local mode=_update_hook
  3639. + shift 2
  3640. + rp_hasModule supertux
  3641. + local id=supertux
  3642. + [[ -n 179 ]]
  3643. + return 0
  3644. + rp_isEnabled supertux
  3645. + local id=supertux
  3646. + [[ 1 -eq 0 ]]
  3647. + return 0
  3648. + case "$mode" in
  3649. ++ rp_moduleVars supertux
  3650. ++ local id=supertux
  3651. ++ local code
  3652. ++ read -d '' -r code
  3653. +++ rp_getInstallPath supertux
  3654. +++ local id=supertux
  3655. +++ echo /opt/retropie/ports/supertux
  3656. ++ echo 'local md_desc="SuperTux 2d scrolling platform"
  3657. local md_help=""
  3658. local md_type="ports"
  3659. local md_flags="!mali"
  3660. local md_path="/home/pi/RetroPie-Setup/scriptmodules/ports/supertux.sh"
  3661.  
  3662. local md_repo_type=""
  3663. local md_repo_url=""
  3664. local md_repo_branch=""
  3665. local md_repo_commit=""
  3666.  
  3667. local md_build="/home/pi/RetroPie-Setup/tmp/build/supertux"
  3668. local md_inst="/opt/retropie/ports/supertux"
  3669. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  3670. local md_data="/home/pi/RetroPie-Setup/scriptmodules/ports/supertux"'
  3671. + eval 'local md_desc="SuperTux 2d scrolling platform"
  3672. local md_help=""
  3673. local md_type="ports"
  3674. local md_flags="!mali"
  3675. local md_path="/home/pi/RetroPie-Setup/scriptmodules/ports/supertux.sh"
  3676.  
  3677. local md_repo_type=""
  3678. local md_repo_url=""
  3679. local md_repo_branch=""
  3680. local md_repo_commit=""
  3681.  
  3682. local md_build="/home/pi/RetroPie-Setup/tmp/build/supertux"
  3683. local md_inst="/opt/retropie/ports/supertux"
  3684. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  3685. local md_data="/home/pi/RetroPie-Setup/scriptmodules/ports/supertux"'
  3686. ++ local 'md_desc=SuperTux 2d scrolling platform'
  3687. ++ local md_help=
  3688. ++ local md_type=ports
  3689. ++ local 'md_flags=!mali'
  3690. ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/ports/supertux.sh
  3691. ++ local md_repo_type=
  3692. ++ local md_repo_url=
  3693. ++ local md_repo_branch=
  3694. ++ local md_repo_commit=
  3695. ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/supertux
  3696. ++ local md_inst=/opt/retropie/ports/supertux
  3697. ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/ports/supertux
  3698. + local md_mode=install
  3699. + local md_conf_root
  3700. + [[ ports == \p\o\r\t\s ]]
  3701. + setConfigRoot ports
  3702. + local dir=ports
  3703. + md_conf_root=/opt/retropie/configs
  3704. + [[ -n ports ]]
  3705. + md_conf_root+=/ports
  3706. + mkUserDir /opt/retropie/configs/ports
  3707. + mkdir -p /opt/retropie/configs/ports
  3708. + chown pi:pi /opt/retropie/configs/ports
  3709. + case "$mode" in
  3710. + function=_update_hook_supertux
  3711. + fnExists _update_hook_supertux
  3712. + declare -f _update_hook_supertux
  3713. + return 0
  3714. + md_ret_require=()
  3715. + local md_ret_require
  3716. + md_ret_files=()
  3717. + local md_ret_files
  3718. + md_ret_errors=()
  3719. + local md_ret_errors
  3720. + md_ret_info=()
  3721. + local md_ret_info
  3722. + local action
  3723. + local pushed=1
  3724. + case "$mode" in
  3725. + [[ -n '' ]]
  3726. + case "$mode" in
  3727. + _update_hook_supertux
  3728. + hasPackage supertux
  3729. + local pkg=supertux
  3730. + local req_ver=
  3731. + local comp=
  3732. + [[ -z '' ]]
  3733. + comp=ge
  3734. + local ver
  3735. + local status
  3736. ++ dpkg-query -W '--showformat=${Status} ${Version}' supertux
  3737. + local out=
  3738. + [[ 0 -eq 0 ]]
  3739. + ver=
  3740. + status=
  3741. + local installed=0
  3742. + [[ '' == *\o\k\ \i\n\s\t\a\l\l\e\d ]]
  3743. + [[ -z '' ]]
  3744. + [[ 0 -eq 1 ]]
  3745. + return 1
  3746. + [[ -n '' ]]
  3747. + [[ 0 -eq 0 ]]
  3748. + [[ -n '' ]]
  3749. + [[ -d /home/pi/RetroPie-Setup/tmp/build/supertux ]]
  3750. + local ret=0
  3751. + [[ 0 -gt 0 ]]
  3752. + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
  3753. + [[ _update_hook == \i\n\s\t\a\l\l ]]
  3754. + fnExists install_supertux
  3755. + declare -f install_supertux
  3756. + return 1
  3757. + [[ _update_hook == \b\u\i\l\d ]]
  3758. + [[ 0 -gt 0 ]]
  3759. + [[ 1 -eq 0 ]]
  3760. + return 0
  3761. + for function in $(compgen -A function _update_hook_)
  3762. + id=uqm
  3763. + [[ -n uqm ]]
  3764. + [[ 1 -eq 1 ]]
  3765. + rp_callModule uqm _update_hook
  3766. + local md_id=uqm
  3767. + local mode=_update_hook
  3768. + shift 2
  3769. + rp_hasModule uqm
  3770. + local id=uqm
  3771. + [[ -n 181 ]]
  3772. + return 0
  3773. + rp_isEnabled uqm
  3774. + local id=uqm
  3775. + [[ 1 -eq 0 ]]
  3776. + return 0
  3777. + case "$mode" in
  3778. ++ rp_moduleVars uqm
  3779. ++ local id=uqm
  3780. ++ local code
  3781. ++ read -d '' -r code
  3782. +++ rp_getInstallPath uqm
  3783. +++ local id=uqm
  3784. +++ echo /opt/retropie/ports/uqm
  3785. ++ echo 'local md_desc="The Ur-Quan Masters (Port of DOS game Star Control 2)"
  3786. local md_help=""
  3787. local md_type="ports"
  3788. local md_flags="!mali"
  3789. local md_path="/home/pi/RetroPie-Setup/scriptmodules/ports/uqm.sh"
  3790.  
  3791. local md_repo_type=""
  3792. local md_repo_url=""
  3793. local md_repo_branch=""
  3794. local md_repo_commit=""
  3795.  
  3796. local md_build="/home/pi/RetroPie-Setup/tmp/build/uqm"
  3797. local md_inst="/opt/retropie/ports/uqm"
  3798. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  3799. local md_data="/home/pi/RetroPie-Setup/scriptmodules/ports/uqm"'
  3800. + eval 'local md_desc="The Ur-Quan Masters (Port of DOS game Star Control 2)"
  3801. local md_help=""
  3802. local md_type="ports"
  3803. local md_flags="!mali"
  3804. local md_path="/home/pi/RetroPie-Setup/scriptmodules/ports/uqm.sh"
  3805.  
  3806. local md_repo_type=""
  3807. local md_repo_url=""
  3808. local md_repo_branch=""
  3809. local md_repo_commit=""
  3810.  
  3811. local md_build="/home/pi/RetroPie-Setup/tmp/build/uqm"
  3812. local md_inst="/opt/retropie/ports/uqm"
  3813. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  3814. local md_data="/home/pi/RetroPie-Setup/scriptmodules/ports/uqm"'
  3815. ++ local 'md_desc=The Ur-Quan Masters (Port of DOS game Star Control 2)'
  3816. ++ local md_help=
  3817. ++ local md_type=ports
  3818. ++ local 'md_flags=!mali'
  3819. ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/ports/uqm.sh
  3820. ++ local md_repo_type=
  3821. ++ local md_repo_url=
  3822. ++ local md_repo_branch=
  3823. ++ local md_repo_commit=
  3824. ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/uqm
  3825. ++ local md_inst=/opt/retropie/ports/uqm
  3826. ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/ports/uqm
  3827. + local md_mode=install
  3828. + local md_conf_root
  3829. + [[ ports == \p\o\r\t\s ]]
  3830. + setConfigRoot ports
  3831. + local dir=ports
  3832. + md_conf_root=/opt/retropie/configs
  3833. + [[ -n ports ]]
  3834. + md_conf_root+=/ports
  3835. + mkUserDir /opt/retropie/configs/ports
  3836. + mkdir -p /opt/retropie/configs/ports
  3837. + chown pi:pi /opt/retropie/configs/ports
  3838. + case "$mode" in
  3839. + function=_update_hook_uqm
  3840. + fnExists _update_hook_uqm
  3841. + declare -f _update_hook_uqm
  3842. + return 0
  3843. + md_ret_require=()
  3844. + local md_ret_require
  3845. + md_ret_files=()
  3846. + local md_ret_files
  3847. + md_ret_errors=()
  3848. + local md_ret_errors
  3849. + md_ret_info=()
  3850. + local md_ret_info
  3851. + local action
  3852. + local pushed=1
  3853. + case "$mode" in
  3854. + [[ -n '' ]]
  3855. + case "$mode" in
  3856. + _update_hook_uqm
  3857. + hasPackage uqm
  3858. + local pkg=uqm
  3859. + local req_ver=
  3860. + local comp=
  3861. + [[ -z '' ]]
  3862. + comp=ge
  3863. + local ver
  3864. + local status
  3865. ++ dpkg-query -W '--showformat=${Status} ${Version}' uqm
  3866. + local out=
  3867. + [[ 0 -eq 0 ]]
  3868. + ver=
  3869. + status=
  3870. + local installed=0
  3871. + [[ '' == *\o\k\ \i\n\s\t\a\l\l\e\d ]]
  3872. + [[ -z '' ]]
  3873. + [[ 0 -eq 1 ]]
  3874. + return 1
  3875. + [[ -n '' ]]
  3876. + [[ 0 -eq 0 ]]
  3877. + [[ -n '' ]]
  3878. + [[ -d /home/pi/RetroPie-Setup/tmp/build/uqm ]]
  3879. + local ret=0
  3880. + [[ 0 -gt 0 ]]
  3881. + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
  3882. + [[ _update_hook == \i\n\s\t\a\l\l ]]
  3883. + fnExists install_uqm
  3884. + declare -f install_uqm
  3885. + return 0
  3886. + [[ 0 -gt 0 ]]
  3887. + [[ 1 -eq 0 ]]
  3888. + return 0
  3889. + for function in $(compgen -A function _update_hook_)
  3890. + id=usbromservice
  3891. + [[ -n usbromservice ]]
  3892. + [[ 1 -eq 1 ]]
  3893. + rp_callModule usbromservice _update_hook
  3894. + local md_id=usbromservice
  3895. + local mode=_update_hook
  3896. + shift 2
  3897. + rp_hasModule usbromservice
  3898. + local id=usbromservice
  3899. + [[ -n 228 ]]
  3900. + return 0
  3901. + rp_isEnabled usbromservice
  3902. + local id=usbromservice
  3903. + [[ 1 -eq 0 ]]
  3904. + return 0
  3905. + case "$mode" in
  3906. ++ rp_moduleVars usbromservice
  3907. ++ local id=usbromservice
  3908. ++ local code
  3909. ++ read -d '' -r code
  3910. +++ rp_getInstallPath usbromservice
  3911. +++ local id=usbromservice
  3912. +++ echo /opt/retropie/supplementary/usbromservice
  3913. ++ echo 'local md_desc="USB ROM Service"
  3914. local md_help=""
  3915. local md_type="supplementary"
  3916. local md_flags=""
  3917. local md_path="/home/pi/RetroPie-Setup/scriptmodules/supplementary/usbromservice.sh"
  3918.  
  3919. local md_repo_type=""
  3920. local md_repo_url=""
  3921. local md_repo_branch=""
  3922. local md_repo_commit=""
  3923.  
  3924. local md_build="/home/pi/RetroPie-Setup/tmp/build/usbromservice"
  3925. local md_inst="/opt/retropie/supplementary/usbromservice"
  3926. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  3927. local md_data="/home/pi/RetroPie-Setup/scriptmodules/supplementary/usbromservice"'
  3928. + eval 'local md_desc="USB ROM Service"
  3929. local md_help=""
  3930. local md_type="supplementary"
  3931. local md_flags=""
  3932. local md_path="/home/pi/RetroPie-Setup/scriptmodules/supplementary/usbromservice.sh"
  3933.  
  3934. local md_repo_type=""
  3935. local md_repo_url=""
  3936. local md_repo_branch=""
  3937. local md_repo_commit=""
  3938.  
  3939. local md_build="/home/pi/RetroPie-Setup/tmp/build/usbromservice"
  3940. local md_inst="/opt/retropie/supplementary/usbromservice"
  3941. # get module path folder + md_id for /home/pi/RetroPie-Setup/scriptmodules/admin/setup
  3942. local md_data="/home/pi/RetroPie-Setup/scriptmodules/supplementary/usbromservice"'
  3943. ++ local 'md_desc=USB ROM Service'
  3944. ++ local md_help=
  3945. ++ local md_type=supplementary
  3946. ++ local md_flags=
  3947. ++ local md_path=/home/pi/RetroPie-Setup/scriptmodules/supplementary/usbromservice.sh
  3948. ++ local md_repo_type=
  3949. ++ local md_repo_url=
  3950. ++ local md_repo_branch=
  3951. ++ local md_repo_commit=
  3952. ++ local md_build=/home/pi/RetroPie-Setup/tmp/build/usbromservice
  3953. ++ local md_inst=/opt/retropie/supplementary/usbromservice
  3954. ++ local md_data=/home/pi/RetroPie-Setup/scriptmodules/supplementary/usbromservice
  3955. + local md_mode=install
  3956. + local md_conf_root
  3957. + [[ supplementary == \p\o\r\t\s ]]
  3958. + setConfigRoot ''
  3959. + local dir=
  3960. + md_conf_root=/opt/retropie/configs
  3961. + [[ -n '' ]]
  3962. + mkUserDir /opt/retropie/configs
  3963. + mkdir -p /opt/retropie/configs
  3964. + chown pi:pi /opt/retropie/configs
  3965. + case "$mode" in
  3966. + function=_update_hook_usbromservice
  3967. + fnExists _update_hook_usbromservice
  3968. + declare -f _update_hook_usbromservice
  3969. + return 0
  3970. + md_ret_require=()
  3971. + local md_ret_require
  3972. + md_ret_files=()
  3973. + local md_ret_files
  3974. + md_ret_errors=()
  3975. + local md_ret_errors
  3976. + md_ret_info=()
  3977. + local md_ret_info
  3978. + local action
  3979. + local pushed=1
  3980. + case "$mode" in
  3981. + [[ -n '' ]]
  3982. + case "$mode" in
  3983. + _update_hook_usbromservice
  3984. + rp_isInstalled usbromservice
  3985. + local id=usbromservice
  3986. + local md_inst=/opt/retropie/supplementary/usbromservice
  3987. + [[ -d /opt/retropie/supplementary/usbromservice ]]
  3988. + return 0
  3989. + [[ ! -f /opt/retropie/supplementary/usbromservice/disabled ]]
  3990. + install_scripts_usbromservice
  3991. + local file
  3992. + local dest
  3993. + for file in "$md_data/"*
  3994. + dest=/etc/usbmount/mount.d/01_retropie_copyroms
  3995. + sed s/USERTOBECHOSEN/pi/g /home/pi/RetroPie-Setup/scriptmodules/supplementary/usbromservice/01_retropie_copyroms
  3996. + chmod +x /etc/usbmount/mount.d/01_retropie_copyroms
  3997. + for file in "$md_data/"*
  3998. + dest=/etc/usbmount/mount.d/10_retropie_mount
  3999. + sed s/USERTOBECHOSEN/pi/g /home/pi/RetroPie-Setup/scriptmodules/supplementary/usbromservice/10_retropie_mount
  4000. + chmod +x /etc/usbmount/mount.d/10_retropie_mount
  4001. + [[ -n '' ]]
  4002. + [[ 0 -eq 0 ]]
  4003. + [[ -n '' ]]
  4004. + [[ -d /home/pi/RetroPie-Setup/tmp/build/usbromservice ]]
  4005. + local ret=0
  4006. + [[ 0 -gt 0 ]]
  4007. + [[ _update_hook == \i\n\s\t\a\l\l\_\b\i\n ]]
  4008. + [[ _update_hook == \i\n\s\t\a\l\l ]]
  4009. + fnExists install_usbromservice
  4010. + declare -f install_usbromservice
  4011. + return 1
  4012. + [[ _update_hook == \b\u\i\l\d ]]
  4013. + [[ 0 -gt 0 ]]
  4014. + [[ 1 -eq 0 ]]
  4015. + return 0
  4016. + rps_logEnd
  4017. ++ date +%s
  4018. + time_end=1614511192
  4019. + echo
  4020.  
  4021. ++ date -d @1614511192
  4022. + echo 'Log ended at: Sun 28 Feb 13:19:52 EET 2021'
  4023. Log ended at: Sun 28 Feb 13:19:52 EET 2021
  4024. + date_total=20
  4025. + local hours=0
  4026. + local mins=0
  4027. + local secs=20
  4028. + echo 'Total running time: 0 hours, 0 mins, 20 secs'
  4029. Total running time: 0 hours, 0 mins, 20 secs
  4030.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement