It is currently Tue Dec 10, 2019 3:02 am



Reply to topic  [ 11 posts ] 
 FreePIE - first experience and help needed 
Author Message
Cross Eyed!

Joined: Fri Jul 04, 2014 1:43 am
Posts: 192
Reply with quote
Hi to all! First of all, great site and great resources! BTW, Happy Independence Day to all friends across the big water :)
I am not a programmer, but have been on the scripting side for many years as a hobby (with large intervals of inactivity) - first with JavaScript and DHTML, then a beta tester for Adobe Atmosphere (long-time-dead) for >1 year, which also used JavaScript, I even managed to script a "3D game" with inverse kinematics in that Adobe Atmosphere :)
Then my interests changed to GlovePIE and its use with the wiimote, which I think is a fantastic piece of software+hardware combination. Just last week I managed to put together a great script (it took 2 years, mainly because of annoying bluetooth connectivity issues) for emulating a mouse/joystick in FPSs. The results were really unparalleled to any other "lightgun" experience that I had so far, maybe only second to GoldenEye on the Wii and KZ3 on the PS3+Move+Sharpshooter (without the PS Move drift). I own also the MAG II, which is a very unrefined implementation on the software side. The good results that I obtained are mainly due to the "hybrid" nature of the script, on which I plan to make a fully-fledged youtube tutorial.
I was just about to start making the tutorial when I read on some websites that GlovePIE has been hacked and is full of malware (is this true?). That would bring me back almost to square 1...
Anyway, I searched for alternatives and found FreePIE as the best alternative so far. I hope you could help me transfer the whole project quickly to FreePIE. I am having the following difficulties:
- the programme gives an error under WinXP https://docs.google.com/file/d/0B_7L0fiUQpSYXzBvYUpwdjlDQkk/edit
- I am completely unfamiliar with Python. I started with the referenced link https://docs.python.org/2/library/index.html, but it is very, very unnatural to me. I was able to pick up the GlovePIE's scripting and API in just 1 day reading the Documentation file. Is there a document that explains FreePIE's scripting as simply as the Documentation file in GlovePIE? Is there an extensive library of sample scripts?
- Is there a way to convert GlovePIE scripts into FreePIE scripts (maybe too optimistic)?
- Does FreePIE support the IR wii "sensor" bar? My script is almost exclusively based on it.
All help is appreciated.


Fri Jul 04, 2014 2:24 am
Profile
Petrif-Eyed

Joined: Mon Jun 22, 2009 8:36 am
Posts: 2164
Location: Stockholm, Sweden
Reply with quote
Strange do you get anything in the FreePIE log?

%appdata%\FreePIE\FreePIE.log

Haven't tested with XP in a long time but should work

You have some details here
https://github.com/AndersMalmgren/FreeP ... /Scripting

Also check out this getting started wiki
https://github.com/AndersMalmgren/FreeP ... ng-Started

Here are some samples
http://andersmalmgren.github.io/FreePIE/samples.html

The wii mote thread as some sample scripts
viewtopic.php?f=139&t=18342

The IR is not yet supported sadly, but we should get around to fix that

_________________
FreePIE
My blog


Fri Jul 04, 2014 3:06 am
Profile
Cross Eyed!

Joined: Fri Jul 04, 2014 1:43 am
Posts: 192
Reply with quote
Thanks a lot. Not having the IR bar available for scripting is a bummer :( BTW, do you know if there is an alternative that uses the IR bar?
In my experience with GlovePIE, everything else ultimately leads to a drift over time, so there is never the feeling that the on-screen gun follows your wii gun consistently over time.
Same thing with the MAG II, i.e. no IR => drifting.
Funnily, also the PS3+Move gives a drift over time too (although smaller). I believe it is because my PS Eye (the camera) is slightly tilted upwards, but the main actual reason is that there is only 1 light source (the glowing ball on the PS Move) and it is not picking up correctly some quite common moves like rotating the handle of the PS Move while the glowing ball is generally stable.
Maybe I will go on with the GlovePIE youtube tutorial and will post it here for you to tell me if that can be implemented in FreePIE.
My humble opinion though - I would be really interested in having the whole API documentation like for GlovePIE. Without it I am really lost in reading the scripts (GlovePIE was infinitely easier to understand, but maybe that's me).


Fri Jul 04, 2014 3:36 am
Profile
Petrif-Eyed

Joined: Mon Jun 22, 2009 8:36 am
Posts: 2164
Location: Stockholm, Sweden
Reply with quote
FreePIE has code completion so the plugins can be accessed using that atleast. Im pretty much alone on this project and I dont have that much time for doc's :/

_________________
FreePIE
My blog


Fri Jul 04, 2014 3:47 am
Profile
Cross Eyed!

Joined: Fri Jul 04, 2014 1:43 am
Posts: 192
Reply with quote
OK, will try the code completion maybe this weekend, or after I finish the project. In any event, I will have to wait for the implementation of the IR bar, so still time to learn Python.
It's strange you are working on your own, I saw a 200-post thread on this forum how the idea of FreePIE emerged and there was great enthusiasm from everyone.
Does anyone know whether GlovePIE is still safe, or is it, as claimed, now full of malware?
Or is there an alternative that supports the IR bar?


Fri Jul 04, 2014 6:16 am
Profile
Cross Eyed!

Joined: Fri Jul 04, 2014 1:43 am
Posts: 192
Reply with quote
The folder C:\Documents and Settings\x\Application Data\FreePIE is empty :(
I understand it is a very laborious task to make the documentation all on your own, as I understand you are.
However, would it not be possible to expose the whole "tree" that is used for the auto-completion?
I would imagine it should be pretty straightforward, but I have never done anything like that...


Sat Jul 05, 2014 12:11 pm
Profile
Petrif-Eyed

Joined: Mon Jun 22, 2009 8:36 am
Posts: 2164
Location: Stockholm, Sweden
Reply with quote
Anything in the Windows Event Viewer?

I guess that would be possible but it wont be more help then the code completion in the program though

_________________
FreePIE
My blog


Sat Jul 05, 2014 3:57 pm
Profile
Cross Eyed!

Joined: Fri Jul 04, 2014 1:43 am
Posts: 192
Reply with quote
Hi, yes, it gives errors with the .NET framework. I just re-installed the 4.0 full (I think last available for XP):
https://docs.google.com/file/d/0B_7L0fi ... J0cDQ/edit
Here are the errors:
---------------------------------------------------------------------------------------
Event Type: Error
Event Source: .NET Runtime 4.0 Error Reporting
Event Category: None
Event ID: 1000
Date: 7/6/2014
Time: 9:41:11 AM
User: N/A
Computer: X-EB5516035AFE4
Description:
Faulting application freepie.exe, version 1.5.459.0, stamp 538cfdb6, faulting

module s3dwrapperd3d9.dll, version 1.0.167.4016, stamp 4cc492f9, debug? 0,

fault address 0x000249d0.

For more information, see Help and Support Center

at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 41 00 70 00 70 00 6c 00 A.p.p.l.
0008: 69 00 63 00 61 00 74 00 i.c.a.t.
0010: 69 00 6f 00 6e 00 20 00 i.o.n. .
0018: 46 00 61 00 69 00 6c 00 F.a.i.l.
0020: 75 00 72 00 65 00 20 00 u.r.e. .
0028: 20 00 66 00 72 00 65 00 .f.r.e.
0030: 65 00 70 00 69 00 65 00 e.p.i.e.
0038: 2e 00 65 00 78 00 65 00 ..e.x.e.
0040: 20 00 31 00 2e 00 35 00 .1...5.
0048: 2e 00 34 00 35 00 39 00 ..4.5.9.
0050: 2e 00 30 00 20 00 35 00 ..0. .5.
0058: 33 00 38 00 63 00 66 00 3.8.c.f.
0060: 64 00 62 00 36 00 20 00 d.b.6. .
0068: 69 00 6e 00 20 00 73 00 i.n. .s.
0070: 33 00 64 00 77 00 72 00 3.d.w.r.
0078: 61 00 70 00 70 00 65 00 a.p.p.e.
0080: 72 00 64 00 33 00 64 00 r.d.3.d.
0088: 39 00 2e 00 64 00 6c 00 9...d.l.
0090: 6c 00 20 00 31 00 2e 00 l. .1...
0098: 30 00 2e 00 31 00 36 00 0...1.6.
00a0: 37 00 2e 00 34 00 30 00 7...4.0.
00a8: 31 00 36 00 20 00 34 00 1.6. .4.
00b0: 63 00 63 00 34 00 39 00 c.c.4.9.
00b8: 32 00 66 00 39 00 20 00 2.f.9. .
00c0: 66 00 44 00 65 00 62 00 f.D.e.b.
00c8: 75 00 67 00 20 00 30 00 u.g. .0.
00d0: 20 00 61 00 74 00 20 00 .a.t. .
00d8: 6f 00 66 00 66 00 73 00 o.f.f.s.
00e0: 65 00 74 00 20 00 30 00 e.t. .0.
00e8: 30 00 30 00 32 00 34 00 0.0.2.4.
00f0: 39 00 64 00 30 00 0d 00 9.d.0...
00f8: 0a 00 ..
---------------------------------------------------------------------------------------------
Event Type: Error
Event Source: .NET Runtime
Event Category: None
Event ID: 1026
Date: 7/6/2014
Time: 9:41:13 AM
User: N/A
Computer: X-EB5516035AFE4
Description:
Application: FreePIE.exe
Framework Version: v4.0.30319
Description: The

process was terminated due to an unhandled exception.
Exception Info:

exception code c0000005, exception address 051D49D0


For more information,

see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.


Sun Jul 06, 2014 2:18 am
Profile
Cross Eyed!

Joined: Fri Jul 04, 2014 1:43 am
Posts: 192
Reply with quote
On disclosing the full tree, I don't know, maybe for writing the code you are right, but for reading others' code, I think it may really help, even in a text format.


Sun Jul 06, 2014 2:20 am
Profile
Petrif-Eyed

Joined: Mon Jun 22, 2009 8:36 am
Posts: 2164
Location: Stockholm, Sweden
Reply with quote
https://github.com/AndersMalmgren/FreeP ... /Reference

_________________
FreePIE
My blog


Sun Jul 06, 2014 5:54 am
Profile
Cross Eyed!

Joined: Fri Jul 04, 2014 1:43 am
Posts: 192
Reply with quote
Awesome, thanks :)


Sun Jul 06, 2014 1:17 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 11 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


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

Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by STSoftware.