Jump to content
freezy

Introducing Pind: A Pinball Daemon

Recommended Posts

Well then it seems to work? What does the log say? You need to scan for tables first by clicking on the settings panel on the upper right and go through the options (see first post).

I'm so stupid i think it is stuck while it works perfectly. I need to create an account and use it.

Thanks a lot

Share this post


Link to post
Share on other sites

I have tried different times and i have reached quite good result except for ipdb match, all my xml table name and description are in HP format for example:

<game name="Attack from Mars (Bally 1995) Megapin">

<description>Attack from Mars (Bally 1995)</description>

<manufacturer>Bally</manufacturer>

<year>1995</year>

<type>SS</type>

<enabled>yes</enabled>

</game>

<game name="Back to the Future (Data East 1990)">

<description>Back to the Future (Data East 1990)</description>

<manufacturer>Data East</manufacturer>

<year>1990</year>

<type>SS</type>

<enabled>yes</enabled>

</game>

but no ipdb number are added performing Match with IPDB.org.

I have used sqllite browser and only new downloaded table from pind have the correct ipdb match.

Share this post


Link to post
Share on other sites

Well it's true that it only adds the IPDB IDs when it actually has to write the XML file. You could force that by clicking twice on the HyperPin icon next to a random table in order disable/reenable it, that will dump the XML and add the IPDB IDs.

On second though it might be a good idea to always write them down. Can you open a issue on GitHub for that?

Share this post


Link to post
Share on other sites
Well it's true that it only adds the IPDB IDs when it actually has to write the XML file. You could force that by clicking twice on the HyperPin icon next to a random table in order disable/reenable it, that will dump the XML and add the IPDB IDs.

On second though it might be a good idea to always write them down. Can you open a issue on GitHub for that?

I have tried to force that by clicking twice on the HyperPin icon next to a random table with no result pheraps because i do not hane ipdb number and extra info even in the pind.db browsed using sqllite editor.

Really strange I have made Resync with HyperPin and now it works!

Edited by bmiki75

Share this post


Link to post
Share on other sites

Hi Freezy, trying to get this to work and when I run node app I get an error that says:

Error: Cannot find module 'buffertools'

at Function.Module._resolveFilename (module.js:338:15)

at Function.Module._load (module.js:280:25)

at Module.require (module.js:364:17)

at require (module.js:380:17)

at Object.<anonymous> (C:\games\node-pind\app.js:6:1)

at Module._compile (module.js:456:26)

at Object.Module._extensions..js (module.js:474:10)

at Module.load (module.js:356:32)

at Function.Module._load (module.js:312:12)

at Function.Module.runMain (module.js:497:10)

Share this post


Link to post
Share on other sites
Hi Freezy, trying to get this to work and when I run node app I get an error that says:

Error: Cannot find module 'buffertools'

Hmm do you get that after updating? I've recently added the buffertools dependency but it should be added when running npm install during install. During the automatic upgrade that should be ran as well.

Share this post


Link to post
Share on other sites

Freezy,

I too am getting this error and breaking my skull to fix it.

Error: Cannot find module 'buffertools'

at Function.Module._resolveFilename (module.js:338:15)

at Function.Module._load (module.js:280:25)

at Module.require (module.js:364:17)

at require (module.js:380:17)

at Object.<anonymous> (C:\games\node-pind\app.js:6:1)

at Module._compile (module.js:456:26)

at Object.Module._extensions..js (module.js:474:10)

at Module.load (module.js:356:32)

at Function.Module._load (module.js:312:12)

at Function.Module.runMain (module.js:497:10)

Any word on a fix?

I tried doing a fresh install beginning to end 3 times. I get the same error Everytime.

Edited by xagesz

Share this post


Link to post
Share on other sites

Anyone? I still can't get this to fly.

I have dug into my computer and found that Buffertools does have a directory buried in roaming. I don't know what this is doing anymore.

Edited by xagesz
Results

Share this post


Link to post
Share on other sites

Sorry for responding so late, was busy the weekend and then forgot about it yesterday.

Can you try npm install buffertools while being in the folder where you cloned the repository? If there's any red or errors, paste the log.

Share this post


Link to post
Share on other sites

I will try tomorrow. Just got home. I do remember trying that exact line though and there being errors soo i will update soon

Share this post


Link to post
Share on other sites

my last effort was a full fresh install with all the Install.md tips in place. Im awake enough right now that i will get you a n error sheet in 5 minutes

Share this post


Link to post
Share on other sites

This is what I get.

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\Pinball>cd C:/Games/node-pind

C:\Games\node-pind>npm install buffertools
npm http GET https://registry.npmjs.org/buffertools/2.0.0
npm http 200 https://registry.npmjs.org/buffertools/2.0.0
npm http GET https://registry.npmjs.org/buffertools/-/buffertools-2.0.0.tgz
npm http 200 https://registry.npmjs.org/buffertools/-/buffertools-2.0.0.tgz

> [email protected] install C:\Games\node-pind\node_modules\buffertools
> node-gyp rebuild


C:\Games\node-pind\node_modules\buffertools>node "C:\Program Files\nodejs\node_m
odules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuil
d
 buffertools.cc
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xlocale(323): wa
rning C4530: C++ exception handler used, but unwind semantics are not enabled.
Specify /EHsc [C:\Games\node-pind\node_modules\buffertools\build\buffertools.vc
xproj]
c:\games\node-pind\node_modules\buffertools\BoyerMoore.h(35): warning C4267: '=
' : conversion from 'size_t' to 'int', possible loss of data [C:\Games\node-pin
d\node_modules\buffertools\build\buffertools.vcxproj]
c:\games\node-pind\node_modules\buffertools\BoyerMoore.h(57): warning C4267: '=
' : conversion from 'size_t' to 'int', possible loss of data [C:\Games\node-pin
d\node_modules\buffertools\build\buffertools.vcxproj]
c:\games\node-pind\node_modules\buffertools\BoyerMoore.h(61): warning C4267: 'i
nitializing' : conversion from 'size_t' to 'const int', possible loss of data [
C:\Games\node-pind\node_modules\buffertools\build\buffertools.vcxproj]
c:\games\node-pind\node_modules\buffertools\BoyerMoore.h(62): warning C4267: 'i
nitializing' : conversion from 'size_t' to 'const int', possible loss of data [
C:\Games\node-pind\node_modules\buffertools\build\buffertools.vcxproj]
c:\games\node-pind\node_modules\buffertools\BoyerMoore.h(110): warning C4267: '
=' : conversion from 'size_t' to 'int', possible loss of data [C:\Games\node-pi
nd\node_modules\buffertools\build\buffertools.vcxproj]
..\buffertools.cc(126): warning C4267: 'initializing' : conversion from 'size_t
' to 'const int', possible loss of data [C:\Games\node-pind\node_modules\buffer
tools\build\buffertools.vcxproj]
..\buffertools.cc(127): warning C4267: 'initializing' : conversion from 'size_t
' to 'const int', possible loss of data [C:\Games\node-pind\node_modules\buffer
tools\build\buffertools.vcxproj]
..\buffertools.cc(220): warning C4267: '=' : conversion from 'size_t' to 'int32
_t', possible loss of data [C:\Games\node-pind\node_modules\buffertools\build\b
uffertools.vcxproj]
..\buffertools.cc(222): warning C4267: '=' : conversion from 'size_t' to 'int32
_t', possible loss of data [C:\Games\node-pind\node_modules\buffertools\build\b
uffertools.vcxproj]
..\buffertools.cc(228): warning C4244: 'argument' : conversion from 'const ptrd
iff_t' to 'int32_t', possible loss of data [C:\Games\node-pind\node_modules\buf
fertools\build\buffertools.vcxproj]
..\buffertools.cc(300): warning C4267: 'argument' : conversion from 'size_t' to
'int', possible loss of data [C:\Games\node-pind\node_modules\buffertools\buil
d\buffertools.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\xlocnum(1066): w
arning C4506: no definition for inline function 'v8::Persistent<T> v8::Persiste
nt<T>::New(v8::Handle<T>)' [C:\Games\node-pind\node_modules\buffertools\build\b
uffertools.vcxproj]
         with
         [
             T=v8::Object
         ]
LINK : fatal error LNK1181: cannot open input file 'kernel32.lib' [C:\Games\nod
e-pind\node_modules\buffertools\build\buffertools.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `c:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\
npm\node_modules\node-gyp\lib\build.js:267:23)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:789:
12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "node" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modu
les\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Games\node-pind\node_modules\buffertools
gyp ERR! node -v v0.10.24
gyp ERR! node-gyp -v v0.12.1
gyp ERR! not ok
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the buffertools package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls buffertools
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nod
ejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "buffertools"
npm ERR! cwd C:\Games\node-pind
npm ERR! node -v v0.10.24
npm ERR! npm -v 1.3.21
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     C:\Games\node-pind\npm-debug.log
npm ERR! not ok code 0

C:\Games\node-pind>

Share this post


Link to post
Share on other sites

Sorry, forgot about this. Are you running node 0.8.x or 0.10.x? Seems Win7 needs older 0.8.x. Otherwise I unfortunately can't offer you any other tips besides what's under Troubleshooting in the installation instructions. I'm using buffertools for writing the .vpt format so I can dynamically update the table script, but the feature is not yet finished and I probably could do it without buffertools, if other people have the same problem.

However, right now I'm quite busy with work and other projects, so it's not gonna happen very soon.

Share this post


Link to post
Share on other sites

Ill give it a try over the weekend

The other stuff looks interesting I shall give it a go...is there much to do?

Edited by matty_g_8

Share this post


Link to post
Share on other sites

Well the other stuff is going to be a hosted service, so it's not intended for running on a cab. You're welcome to check it out though, but it's still under heavy development.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×