{"action":"created","issue":{"url":"https://api.github.com/repos/project64/project64/issues/144","labels_url":"https://api.github.com/repos/project64/project64/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/project64/project64/issues/144/comments","events_url":"https://api.github.com/repos/project64/project64/issues/144/events","html_url":"https://github.com/project64/project64/issues/144","id":58999698,"number":144,"title":"ROM Scan Hangs","user":{"login":"Kolano","id":6509657,"avatar_url":"https://avatars.githubusercontent.com/u/6509657?v=3","gravatar_id":"","url":"https://api.github.com/users/Kolano","html_url":"https://github.com/Kolano","followers_url":"https://api.github.com/users/Kolano/followers","following_url":"https://api.github.com/users/Kolano/following{/other_user}","gists_url":"https://api.github.com/users/Kolano/gists{/gist_id}","starred_url":"https://api.github.com/users/Kolano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kolano/subscriptions","organizations_url":"https://api.github.com/users/Kolano/orgs","repos_url":"https://api.github.com/users/Kolano/repos","events_url":"https://api.github.com/users/Kolano/events{/privacy}","received_events_url":"https://api.github.com/users/Kolano/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-26T01:00:21Z","updated_at":"2015-02-26T19:49:45Z","closed_at":null,"body":"With v20150222 (and likely other revs) the ROM scanning process seems to frequently hang. Particular ROMs will be reached and then no progress will be made. If the archive with the ROM it's hung on is removed the scan will continue, but then gets hung again.\r\n\r\nOn a 7zip'd No-intro set it seems to consistently hang on:\r\n* Mystical Ninja Starring Goemon (USA).n64\r\n\r\nAnd then, if that is removed:\r\n* Knockout Kings 2000 (USA).n64\r\n* World Cup 98 (USA) (En,Fr,De,Es,If,Nl,Sv,Da).n64\r\n* Powerpuff Girls, The - Chemical X-Traction (USA).n64\r\n* Legend of Zelda, The - Majora's Mask (Europe) (GameCube Edition).n64\r\n\r\n...and so on."},"comment":{"url":"https://api.github.com/repos/project64/project64/issues/comments/76255007","html_url":"https://github.com/project64/project64/issues/144#issuecomment-76255007","issue_url":"https://api.github.com/repos/project64/project64/issues/144","id":76255007,"user":{"login":"project64","id":4994272,"avatar_url":"https://avatars.githubusercontent.com/u/4994272?v=3","gravatar_id":"","url":"https://api.github.com/users/project64","html_url":"https://github.com/project64","followers_url":"https://api.github.com/users/project64/followers","following_url":"https://api.github.com/users/project64/following{/other_user}","gists_url":"https://api.github.com/users/project64/gists{/gist_id}","starred_url":"https://api.github.com/users/project64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/project64/subscriptions","organizations_url":"https://api.github.com/users/project64/orgs","repos_url":"https://api.github.com/users/project64/repos","events_url":"https://api.github.com/users/project64/events{/privacy}","received_events_url":"https://api.github.com/users/project64/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T19:49:45Z","updated_at":"2015-02-26T19:49:45Z","body":"> The scanning of compressed ROMs seems quite slow. Can it be done based off the checksums that can be extracted from most compression schemes rather than by decompressing each archive?\r\n\r\nwith 7zip they are solid state zips which means you get really good compression but you need to extract it all to get the information from it. I do cache that information so the second time it is much faster. If they are just in a zip it should be able to just read the start of the file and not be to slow.\r\n\r\n> The LZMA2 mode is fairly stable at this point, and may be worth implementing\r\n\r\nI am just using a 3rd party library, I can see if there is an upgrade that supports this"}}