Jump to content
freezy

Introducing Pind: A Pinball Daemon

Recommended Posts

Yes, I believe those are all recreations. I'm just getting started building my pinball system, so the near-term benefit of this app (for me) is to start building a complete library of assets with minimal manual effort - similar to what HyperSync can do for a MAME/Console system.

Recreating that issue should be pretty straightforward if you create a default install of HyperPin to a second directory (c:\hyperpin-default?), reset your Pind schema, and execute the various table syncing options.

I agree the name matching is going to be the biggest challenge for you - I started writing my own app for doing this, but yours is so much more feature-complete, so I'd rather help you out. I'm not a Node.js guy, but I can probably figure out what you are doing there.

I did find another error related to name matching...when running a VPF media sync, it looks like a Manufacturer mismatch is causing a fatal error. As you'll see in the attachments, the Media Pack for Black Belt is using Zaccaria as the manufacturer name. The app crashes a little later where it is looking for Bally as the manufacturer. I'm attaching the log and console outputs for this.

Hope you don't mind the error reports in the forum - let me know if you'd like them reported elsewhere, or if you need additional details. I think this app has a lot of potential, so I wanted to send back some real-world feedback!

logs.zip

Share this post


Link to post
Share on other sites

Yes, the issue of media pack assets named with different manufacturer than the "default" name from IPDB should be next on the list. Shouldn't crash though, need to check this too.

UPDATE: Doesn't crash anymore, but will look into the issue when manufacturer doesn't match.

Edited by freezy

Share this post


Link to post
Share on other sites
Hope you don't mind the error reports in the forum - let me know if you'd like them reported elsewhere, or if you need additional details. I think this app has a lot of potential, so I wanted to send back some real-world feedback!

That's fine for me. The app isn't battle-field tested at all, so this will harden it for public use - thanks!

Share this post


Link to post
Share on other sites

I pulled the updated code for IPDB and retested. It's not crashing anymore, but now I am getting a hang pretty early in the sync process.

Details attached.

logs.zip

Share this post


Link to post
Share on other sites

Update.

Was a missing callback when no match at ipdb. Need to fiddle with more regexes, problem is that "Black Jack Bally 1977" doesn't come up with anything at ipdb. Right now I'm assuming the

Syntax "Name (Manufacturer Year)", for correct stripping, so if the parenthesis are missing, I'm not getting any hits.

Share this post


Link to post
Share on other sites
whats the best way to update?

Manual update:

git pull --rebase

npm install

and you probably should do a

node create-schema

as well, since there have been db schema changes today. However, from now on, you should be able to use the upgrade feature under admin / global, which takes care of all that (and doesn't erase your data) - i've just fixed a few bugs there.

Edited by freezy

Share this post


Link to post
Share on other sites
Manual update:

git pull --rebase

npm install

and you probably should do a

node create-schema

as well, since there have been db schema changes today. However, from now on, you should be able to use the upgrade feature under admin / global, which takes care of all that (and doesn't erase your data) - i've just fixed a few bugs there.

ok thanks so new to all the git stuff

quick question is this done the windows cmd or through the git program?

Share this post


Link to post
Share on other sites
Cannot find module sqlite3?

Is this a rhetorical question? ;)

If not, I'd need more info than that, like

* When does it happen

* Where does it happen

* What did you do to make it happen

* Is there more displayed than this

Share this post


Link to post
Share on other sites

Yes. I had allready done that before create-schema.

I tried npm install again. I have the "node-pind\node_modules" directory open and can see it does create the sqlite3 folder but then deletes after it encounters some errors in the install.

post-49389-142870600322_thumb.png

Share this post


Link to post
Share on other sites

So sqlite3 compilation went ok? What did you do?

Does C:\temp exist?

In your settings-mine.js:

	/**
	 * A temp folder for extracting stuff. No trailing slash!
	 * @important
	 */
	tmp: 'C:/temp',

From INSTALL:

3. Make sure you got everything by searching "@important" in the file and double-check each value.

Share this post


Link to post
Share on other sites
So sqlite3 compilation went ok? What did you do?

Does C:\temp exist?

In your settings-mine.js:

	/**
	 * A temp folder for extracting stuff. No trailing slash!
	 * @important
	 */
	tmp: 'C:/temp',

From INSTALL:

woops i forgot to check where the temp folder is...seems to have fixed the problem

your a legend!

Share this post


Link to post
Share on other sites

after it automatically adding a table i then go to hyperpin and all my tables are missing.

i checked the xml file and see it created a back up one of my old one

Share this post


Link to post
Share on other sites
So sqlite3 compilation went ok? What did you do?

Well, I had to find pre compiled binary for the sqlite3 to eventually work. Then had to do a similar thing with jsdom, then with jquery and now completely stuck on contextify.

This really is too much work & headache so far for Win7 64.

Share this post


Link to post
Share on other sites
Well, I had to find pre compiled binary for the sqlite3 to eventually work. Then had to do a similar thing with jsdom, then with jquery and now completely stuck on contextify.

This really is too much work & headache so far for Win7 64.

If you have more detailed instructions so others could benefit from it, that would be great. Apart from that, I know that on Windows it can quite a pain to get the node modules which need compilation working correctly. If it reassures you, I've spent quite some time on it too, but finally installing the SDK mentioned in the installation instructions did the trick.

Share this post


Link to post
Share on other sites

From some quick reading, it looks like NPM is not expecting to provide a option for distributing Node module binaries any time soon. But in the case of this app, would it be possible to host and distribute precompiled binaries through the Git repository? Or is something like nexe a distribution option? Frankly, given the complexity and storage footprint of all of the prerequisites, it is probably going to scare many people away from this app. At the very least, it would probably result in a much higher level of support vs innovation.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...