Releases: nenge123/emulatorjs
Releases · nenge123/emulatorjs
emulatorjs-0.5.8
no longer fetch new version form emulatorjs.com,I love steamdeck
0.4.99_19
v4.99_19 Replace Version
- renplace indexDB database table
vat T=Nenge; T.Libzip = 'zip.min.js';//低版本IOS可能不兼容 如果不是对中文有必要要求,用 extractzip.min.js 替代 T.DB_NAME = 'Emulatorjs'; //定义 indexdb name T.LibStore = 'data-libjs';//定义 储存js文件表 T.version = 4; T.DB_STORE_MAP = {//所有表 'data-patch': {}, 'data-rooms': {}, 'data-parent': {}, 'data-info': { 'system': false }, 'data-system': {}, 'data-bios': { 'system': false }, 'retroarch': { 'timestamp': false }, 'userdata': { 'timestamp': false }, 'openbor-save': { 'timestamp': false }, 'data-libjs': {}, };
- ajax=>fetch
return Nenge.FetchItem({ url: GameUrl, key: GameSystem + '-' + GameName, store: 'data-rooms', //this will save in indexdb //unpack:true will auto to load 7z/rar4/zip dataOption: { 'system': GameSystem }, success(data) { LoadGameFileData(GameName, data); }, error(e) { StatusElm.innerHTML = ('<strong style=\x22color' + ':#f00;text-shadow: 0' + 'px 0px 3px;\x22>')['concat'](e.message, '</strong>'); }, process(e) { StatusElm.innerHTML = 'Loading Game Data ' + e; } });