{"action":"created","issue":{"url":"https://api.github.com/repos/schibo/1964js/issues/7","labels_url":"https://api.github.com/repos/schibo/1964js/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/schibo/1964js/issues/7/comments","events_url":"https://api.github.com/repos/schibo/1964js/issues/7/events","html_url":"https://github.com/schibo/1964js/issues/7","id":81628181,"number":7,"title":"Unzip all ROMs on GitHub","user":{"login":"vgturtle127","id":3183676,"avatar_url":"https://avatars.githubusercontent.com/u/3183676?v=3","gravatar_id":"","url":"https://api.github.com/users/vgturtle127","html_url":"https://github.com/vgturtle127","followers_url":"https://api.github.com/users/vgturtle127/followers","following_url":"https://api.github.com/users/vgturtle127/following{/other_user}","gists_url":"https://api.github.com/users/vgturtle127/gists{/gist_id}","starred_url":"https://api.github.com/users/vgturtle127/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vgturtle127/subscriptions","organizations_url":"https://api.github.com/users/vgturtle127/orgs","repos_url":"https://api.github.com/users/vgturtle127/repos","events_url":"https://api.github.com/users/vgturtle127/events{/privacy}","received_events_url":"https://api.github.com/users/vgturtle127/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/schibo/1964js/labels/cosmetic","name":"cosmetic","color":"5319e7"},{"url":"https://api.github.com/repos/schibo/1964js/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/schibo/1964js/labels/GitHub","name":"GitHub","color":"000000"},{"url":"https://api.github.com/repos/schibo/1964js/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/schibo/1964js/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"vgturtle127","id":3183676,"avatar_url":"https://avatars.githubusercontent.com/u/3183676?v=3","gravatar_id":"","url":"https://api.github.com/users/vgturtle127","html_url":"https://github.com/vgturtle127","followers_url":"https://api.github.com/users/vgturtle127/followers","following_url":"https://api.github.com/users/vgturtle127/following{/other_user}","gists_url":"https://api.github.com/users/vgturtle127/gists{/gist_id}","starred_url":"https://api.github.com/users/vgturtle127/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vgturtle127/subscriptions","organizations_url":"https://api.github.com/users/vgturtle127/orgs","repos_url":"https://api.github.com/users/vgturtle127/repos","events_url":"https://api.github.com/users/vgturtle127/events{/privacy}","received_events_url":"https://api.github.com/users/vgturtle127/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-05-27T21:15:41Z","updated_at":"2015-06-01T05:43:31Z","closed_at":null,"body":"GitHub isn't meant for binary files or archives.\r\n\r\nA better way would be to unzip them, then use a .gitattributes file to tell GitHub they are binary and to not modify them.\r\n\r\nI can write a .gitattributes file if you'd like.\r\n\r\nWe would also have to update any links in the website."},"comment":{"url":"https://api.github.com/repos/schibo/1964js/issues/comments/107315457","html_url":"https://github.com/schibo/1964js/issues/7#issuecomment-107315457","issue_url":"https://api.github.com/repos/schibo/1964js/issues/7","id":107315457,"user":{"login":"vgturtle127","id":3183676,"avatar_url":"https://avatars.githubusercontent.com/u/3183676?v=3","gravatar_id":"","url":"https://api.github.com/users/vgturtle127","html_url":"https://github.com/vgturtle127","followers_url":"https://api.github.com/users/vgturtle127/followers","following_url":"https://api.github.com/users/vgturtle127/following{/other_user}","gists_url":"https://api.github.com/users/vgturtle127/gists{/gist_id}","starred_url":"https://api.github.com/users/vgturtle127/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vgturtle127/subscriptions","organizations_url":"https://api.github.com/users/vgturtle127/orgs","repos_url":"https://api.github.com/users/vgturtle127/repos","events_url":"https://api.github.com/users/vgturtle127/events{/privacy}","received_events_url":"https://api.github.com/users/vgturtle127/received_events","type":"User","site_admin":false},"created_at":"2015-06-01T05:43:31Z","updated_at":"2015-06-01T05:43:31Z","body":"If I recall correctly, the bitjs source hasn't been touched since June of 2014. Since Google Code is shutting down soon, I went ahead and exported it to my GitHub to preserve it.\r\n\r\nThe bug you talk about actually happens with most archive libraries I have noticed. Only recently did this become an issue, mostly due to emulators and various other projects.\r\n\r\nYou have been using it properly, I think the bug is most likely due to the fact that the programmer didn't think people would need multiple files or directories or anything. Possibly he may have not even thought about it. Who knows.\r\n\r\nAnyway, I found out that zip.js and rar.js are other libraries we could use. There is also JSZip, which is actually hosted on GitHub. Unfortunately, no tar support in any of them. I'm not sure why you would use tar for ROM images, but if you or somebody else had a good reason then we may have to just fork bitjs.\r\n\r\nThere have been attempts at porting all of 7-zip's code to JavaScript, but no complete port exists.\r\n\r\nAlso, maybe just calling the directory \"roms\" might be a good idea? I can see the underscore causing issues on some operating systems, Git clients, etc.\r\n\r\nI also was wondering if you would like to add some more homebrew/public domain ROMs? THat help test the functionality of the emulator and stuff? Just an idea I had. I remember some ROM images I might have lying around that I use all the time for testing N64 emulators (since there are a lot of them and they almost always aren't perfect)."}}