vgmrips

The forum about vgm files
It is currently 2019-11-14, 1:01:19

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 12 posts ] 
Author Message
PostPosted: 2019-05-30, 12:47:22 

Programmers Programmers
Offline

Joined: 2015-05-19, 22:03:39
Posts: 35
Vampirefrog suggested I post this in the forum "so more people get a chance to help"..

I am thinking about adding "vgmrips" subtree in my online browser/player: http://www.wothke.ch/playmod/
This would allow to search for the works of a composer not only across modland (which lacks arcade related songs)
but also include the stuff from vgmrips, similarly respective songs could be used to create personal playlists, etc.
From the PlayMOD perspective it would add examples of songs that use more "exotic" audio chips which the
modland collection is lacking (see their very limited "Video Games Music" section).

I don't have much space on my web server and that's why my player so far refers to song files that are hosted separately elsewhere (I'd like to keep it that way). Vampirefrog told me that it would be OK if I used the same approach to access the individual .vgm/.vgz files hosted in "https://vgmrips.net/packs/...

What I need is a list of the respective "https://vgmrips.net/packs/" filenames/paths (the list you'd get when running a "find $(pwd) -type f" from the "packs" folder). From what I see the "pack" names used in vgmrips are different from the ones used in the "MAME software list ROMs" (so that file is useless to derive a mapping - see https://archive.org/download/MAME_0.202 ... Ms_merged). Vampirefrog suggested that I could scrape the respective info from the individual vgmrips "pack" web pages but without even knowing the used pack names I'd have to do a crawler for the complete vgmrips site to 1st find this pack pages - which seems to be a rather silly approach..

Judging by the current vgmrips UI I would guess that all the information that I need is actually already available on some vgmrips side DB table/view and the easiest way would be to just run a SELECT on the respective table/view..

Anybody here that could help me?


Top
 Profile  
 
 Post subject:
PostPosted: 2019-05-31, 4:04:12 

Staff Staff
Programmers Programmers
Contributors Contributors
Ball Fondlers Ball Fondlers
Offline
User avatar

Joined: 2014-01-28, 5:51:54
Posts: 690
there's no data linking our packs to MAME ROM names, you can do it yourself, just put all the packs in a spreadsheet and do it by hand.

There's some extra data in this spreadsheet https://docs.google.com/spreadsheets/d/ ... 1860115394

if you want I can give you edit access and you can input the mame ROM names in that sheet.

_________________
Follow me on twitter.

If you like this post, give it a big thumbs up and hit that subscribe button down below! And as always, thanks for reading, and see you next post.


Top
 Profile  
 
 Post subject:
PostPosted: 2019-05-31, 5:29:04 

Staff Staff
Programmers Programmers
Contributors Contributors
Ball Fondlers Ball Fondlers
Offline
User avatar

Joined: 2014-01-28, 5:51:54
Posts: 690
I don't like that they stripped the text files from the vgmrips archive.

_________________
Follow me on twitter.

If you like this post, give it a big thumbs up and hit that subscribe button down below! And as always, thanks for reading, and see you next post.


Top
 Profile  
 
 Post subject:
PostPosted: 2019-05-31, 10:45:36 

Staff Staff
Programmers Programmers
Musicians Musicians
Contributors Contributors
Reverse engineers Reverse engineers
Offline
User avatar

Joined: 2011-12-01, 20:20:07
Posts: 3171
Location: Germany
From what I understand, he actually wants to do this:
  • playing back VGMs from the vgmrips archive
  • not having to mirror the while archive on his server
So his preferred solution would be to download the VGMs from vgmrips.net using the link from the "Download vgz" button on the Packs page.

However, for this he needs to know the file structure on the server. (Getting that from the MAME mirror is probably difficult to do due to different pack names.)
So the best solution for him would probably be some sort of read access (either directly or via a very simple PHP script) to the database used by the pack pages. And I think that is what he really wants.


Top
 Profile  
 
 Post subject:
PostPosted: 2019-05-31, 11:27:44 

Staff Staff
Programmers Programmers
Contributors Contributors
Ball Fondlers Ball Fondlers
Offline
User avatar

Joined: 2014-01-28, 5:51:54
Posts: 690
this already exists:

use the data-vgmurl="" attribute

Image

you can scrape the pages, no problem.

_________________
Follow me on twitter.

If you like this post, give it a big thumbs up and hit that subscribe button down below! And as always, thanks for reading, and see you next post.


Top
 Profile  
 
 Post subject:
PostPosted: 2019-06-01, 18:30:41 

Programmers Programmers
Offline

Joined: 2015-05-19, 22:03:39
Posts: 35
@ValleyBell yes, you summarized it perfectly (I had indeed thought it might be easy for the DB admin to just run a respective select on the table once and then send me the respective zipped dump - I am happy to use a snapshot and don't need to be up-to-date with the latest changes..)

@vampirefrog thanks for the shreadsheet, I think with the contained URL to the "pack" pages I can do a little script to extract the
data from the HTML pages

Cheers.


Top
 Profile  
 
 Post subject:
PostPosted: 2019-06-02, 5:37:22 

Staff Staff
Programmers Programmers
Contributors Contributors
Ball Fondlers Ball Fondlers
Offline
User avatar

Joined: 2014-01-28, 5:51:54
Posts: 690
There's also vgmrips . net / dump . php

_________________
Follow me on twitter.

If you like this post, give it a big thumbs up and hit that subscribe button down below! And as always, thanks for reading, and see you next post.


Top
 Profile  
 
 Post subject:
PostPosted: 2019-06-02, 19:14:47 

Programmers Programmers
Offline

Joined: 2015-05-19, 22:03:39
Posts: 35
thx, yes I think I'll use the pack_url info from the dump file as a starting point..


Top
 Profile  
 
 Post subject:
PostPosted: 2019-06-05, 3:09:35 

Programmers Programmers
Offline

Joined: 2015-05-19, 22:03:39
Posts: 35
that worked nicely.. :-)


Top
 Profile  
 
 Post subject: done..
PostPosted: 2019-06-07, 15:14:33 

Programmers Programmers
Offline

Joined: 2015-05-19, 22:03:39
Posts: 35
you can now browse the vgmrips.net collection from within PlayMOD: http://www.wothke.ch/playmod/


Top
 Profile  
 
 Post subject:
PostPosted: 2019-06-08, 10:42:54 

Staff Staff
Programmers Programmers
Contributors Contributors
Ball Fondlers Ball Fondlers
Offline
User avatar

Joined: 2014-01-28, 5:51:54
Posts: 690
Attachment:
greatjob .jpg
greatjob .jpg [ 31.77 KiB | Viewed 417 times ]

_________________
Follow me on twitter.

If you like this post, give it a big thumbs up and hit that subscribe button down below! And as always, thanks for reading, and see you next post.


Top
 Profile  
 
 Post subject:
PostPosted: 2019-06-08, 14:57:41 

Programmers Programmers
Offline

Joined: 2015-05-19, 22:03:39
Posts: 35
just a plea: please give me a heads up in case you might change the path to the individual .vgz/.vgm files in some future update of your site (or better still keep them stable) :-)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
[ Time : 0.432s | 19 Queries | GZIP : On ]