Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some changes to no-intro effect some code lines #34

Open
pkos opened this issue Mar 3, 2020 · 2 comments
Open

Some changes to no-intro effect some code lines #34

pkos opened this issue Mar 3, 2020 · 2 comments

Comments

@pkos
Copy link

pkos commented Mar 3, 2020

i forked the libretro-dats
i noticed part of the code downloads from no-intro
the form you use in the code is no longer compatible with the no-intro website
its two pages now, one to prepare and one to downloads
i was playing around and learning some javascript
but i dont have an answer yet

@pkos
Copy link
Author

pkos commented Mar 3, 2020

function nointro() {
return new Promise(function(resolve, reject) {
if (fs.existsSync('nointro.zip')) {
extractFile('nointro.zip', 'input/no-intro').then(resolve, reject).catch(reject)
} else {
console.log('Downloading No-Intro')
request.post('https://datomatic.no-intro.org/?page=download&fun=daily', {
form: {
dat_type: 'standard',
download: 'Download'
}
})

@RobLoach
Copy link
Owner

RobLoach commented Mar 4, 2020

Tried to fix this up, but it'll need something more lol.... Alternatively for now you can just donwload nointro.zip manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants