ManiaPlanet und Wii motion plus

Sprechen Sie über alles und nichts.

Moderator: German Moderator

Post Reply
BK-ZD50
Posts: 265
Joined: 25 Nov 2011, 18:55
Location: 29646 Bispingen

ManiaPlanet und Wii motion plus

Post by BK-ZD50 »

Moin Forumers,
ich habe in letzter zeit ein wenig wii gespielt (auf den pc)
und wollte es mal auch in maniaplnet verwenden
zu mindestens in trackmania^^

Leider nimmt MP den Controler nicht an ;(

Ich kann aber mit dem Controler "Nintendo RVL-CNT-01-TR" (wii MotionPlus inside) immerhin die wii emus spielen (Dolphin)

Habt ihr zufällig Rat, damit ich den Wii-Controler auf in ManiaPlanet nutzen kann?

LG: DraggyElements
User avatar
TMarc
Posts: 15255
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: ManiaPlanet und Wii motion plus

Post by TMarc »

Wird der Controller denn von Windows erkannt und kannst Du den korrekt in der Systemsteuerung testen?
Ansonsten könnte auch das hier helfen http://www.smoothboard.net/wiiremoteplus/

Dann sollte ManiaPlanet den auch sehen.
Vorsicht: Erst PC einschalten und Controller anschließen, und erst dann ManiaPlanet starten und konfigurieren!
BK-ZD50
Posts: 265
Joined: 25 Nov 2011, 18:55
Location: 29646 Bispingen

Re: ManiaPlanet und Wii motion plus

Post by BK-ZD50 »

Ich habs jetzt hinbekommen :D
Hatte einfach nur die alte Glovepie version

mit GlovePie 0.45 geht es :D
User avatar
TMarc
Posts: 15255
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: ManiaPlanet und Wii motion plus

Post by TMarc »

prima :thumbsup:
BK-ZD50
Posts: 265
Joined: 25 Nov 2011, 18:55
Location: 29646 Bispingen

Re: ManiaPlanet und Wii motion plus

Post by BK-ZD50 »

soll ich mal ein kleines tut machen, für leute die das gleiche problem haben?
User avatar
TMarc
Posts: 15255
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: ManiaPlanet und Wii motion plus

Post by TMarc »

gerne, das wäre sicher hilfreich :)
BK-ZD50
Posts: 265
Joined: 25 Nov 2011, 18:55
Location: 29646 Bispingen

Re: ManiaPlanet und Wii motion plus

Post by BK-ZD50 »

ok dann mache ich hier mal ein kleines tutorial
Info: Dieses Tutorial ist noch als Test! Das entgültige Tutorial folgt noch!

Du brauchst:
Eine WiI Motion Plus (Inside)
Einen Bluetooth Stick
Toshiba Bluetooth Stuck Klicke Hier zum Herunterladen
GlovePie 0.45 :arrow: Klicke Hier zum Herunterladen
TestWiimotePlusTR.zip :arrow: Klicke Hier zum Herunterladen


1) Lade dir das obern Beschriebene Runter.

2.1) Systemsteureung > Benutzer > Benutzerkonten > Einstellung der Benutzerkonten ändern > Regler auf "Nie Benachrichtigen
2.2) Installiere Toshiba Bluetooth Stuck
2.3) Starte deinen Computer neu
2.4) Systemsteureung > Benutzer > Benutzerkonten > Einstellung der Benutzerkonten ändern > Regler zurücksetzen

3.1) Stecke deinen Bluetooth Stick an deinen PC
Unten rechtes hast jetzt du einen Bluetooth symbol (Blau - Weiß)
3.2) Klicke doppelt auf dieses Symblol
3.3) Klick auf "Neue Verbindung" > Weiter >
Drücke mehrmals die "B" taste deiner wiimote bis du "Nintendo - ..." siehst >
Weiter und wieder mehrmals "B" drücken
Wenn alles gut läuft hat der deine Wiimote erkannt
wenn du jetzt auch deiner wiimote drückst sollten die 4 leds nicht blinken
(wenn die wiimote noch blinkt, trenne die verbindung und verbinde den kontroler neu)

4.1) Extrahiere GlovePie in einem beliebiegen Ordner
4.2) ersetze die PieFree.exe aus der TestWiimotePlus.zip
mach dir am besten eine Verknüpfung auf den Desktop, um das programm schneller zu starten :D

5.1) Starte PieFree.exe
5.1.2) Schreibe

Code: Select all

Wiimote.Leds=9

jetzt müssten bei der Wiimote Led1 und Led4 leuchten.

so jetzt kommen wir zu den einstellungen der wiimote^^
hier ein paar codes für glovepie:

Blinkende Leds:

Code: Select all

wiimote.leds=0
wait 3 second
wiimote.leds=1
wait 1 second
wiimote.leds=0
wait 1 second
wiimote.leds=2
wait 1 second
wiimote.leds=0
wait 1 second
wiimote.leds=3
wait 1 second
wiimote.leds=0
wait 1 second
wiimote.leds=4
wait 1 second
wiimote.leds=0
wait 1 second
wiimote.leds=5
wait 1 second
wiimote.leds=0
wait 1 second
wiimote.leds=6
wait 1 second
wiimote.leds=0
wait 1 second
wiimote.leds=7
wait 1 second
wiimote.leds=0
wait 1 second
wiimote.leds=8
wait 1 second
wiimote.leds=0
wait 1 second
wiimote.leds=9
wait 1 second
wiimote.leds=0
wait 1 second
wiimote.leds=10
wait 1 second
wiimote.leds=0
wait 1 second
wiimote.leds=11
wait 1 second
wiimote.leds=0
wait 1 second
wiimote.leds=12
wait 1 second
wiimote.leds=0
wait 1 second
wiimote.leds=13
wait 1 second
wiimote.leds=0
wait 1 second
wiimote.leds=14
wait 1 second
wiimote.leds=0
wait 1 second
wiimote.leds=15
wait 1 second
Battery Status anzeige mit den Leds:

Code: Select all

Wiimote.Rumble = var.battPerCent<=10.00
var.Batt = wiimote.Battery / 48
var.BattPerCent = 100*48*var.Batt/192
if true then
wait 5 seconds
Wiimote.Report15 = 0x80 | Int(wiimote.Rumble)
end if
var.Blink = 500ms
debug = "Battery level: " + 100*48*var.Batt/192 + "%"
if 0<=var.Batt<=0.25 then
Wiimote.Leds = 1
wait var.Blink
Wiimote.Leds = 0
wait var.Blink
elseif 0.25 < var.Batt<=1 then
Wiimote.Leds = 1
elseif 1 < var.Batt<=1.25 then
Wiimote.Leds = 3
wait var.Blink
Wiimote.Leds = 1
wait var.Blink
elseif 1.25 < var.Batt<=2 then
Wiimote.Leds = 3
elseif 2 < var.Batt<=2.25 then
Wiimote.Leds = 7
wait var.Blink
Wiimote.Leds = 3
wait var.Blink
elseif 2.25 < var.Batt<=3 then
Wiimote.Leds = 7
elseif 3 < var.Batt<=3.25 then
Wiimote.Leds = 15
wait var.Blink
Wiimote.Leds = 7
wait var.Blink
elseif 3.25 < var.Batt<=4 then
Wiimote.Leds = 15
else
Wiimote.Leds = 0
endif

Code: Select all

Wiimote Lenkrad Steureung:
var.BaseOn = 30
var.AddOn = 4
var.BaseOff = 20
var.AddOff = 0
var.zBase = 0.20
var.zAdd = 0.04
Keyboard.Enter = Wiimote.A
Keyboard.Down = Wiimote.One
Keyboard.Up = Wiimote.Two
Keyboard.Escape = Wiimote.Home
Keyboard.NUMPAD1 = Wiimote.Up
Keyboard.NUMPAD2 = Wiimote.Right
Keyboard.NUMPAD3 = Wiimote.Down
//Lenkung nach rechts
if Wiimote.gZ >= var.zBase and < (var.zBase + var.zAdd)
   Keyboard.Right = 1
   wait (var.baseon ms)
   Keyboard.Right = 0
   wait (var.baseoff ms)
endif
if Wiimote.gZ >= (var.zBase + var.zAdd) and < (var.zBase + var.zAdd * 2)
   Keyboard.Right = 1
   wait (var.baseon + var.addon ms)
   Keyboard.Right = 0
   wait (var.baseoff + var.addoff ms)
endif
if Wiimote.gZ >= (var.zBase + var.zAdd * 2) and < (var.zBase + var.zAdd * 3)
   Keyboard.Right = 1
   wait (var.baseon + var.addon * 2 ms)
   Keyboard.Right = 0
   wait (var.baseoff + var.addoff * 2 ms)
endif
if Wiimote.gZ >= (var.zBase + var.zAdd * 3) and < (var.zBase + var.zAdd * 4)
   Keyboard.Right = 1
   wait (var.baseon + var.addon * 3 ms)
   Keyboard.Right = 0
   wait (var.baseoff + var.addoff * 3 ms)
endif
if Wiimote.gZ >= (var.zBase + var.zAdd * 4) and < (var.zBase + var.zAdd * 5)
   Keyboard.Right = 1
   wait (var.baseon + var.addon * 4 ms)
   Keyboard.Right = 0
   wait (var.baseoff + var.addoff * 4 ms)
endif
if Wiimote.gZ >= (var.zBase + var.zAdd * 5) and < (var.zBase + var.zAdd * 6)
   Keyboard.Right = 1
   wait (var.baseon + var.addon * 5 ms)
   Keyboard.Right = 0
   wait (var.baseoff + var.addoff * 5 ms)
endif
if Wiimote.gZ >= (var.zBase + var.zAdd * 6) and < (var.zBase + var.zAdd * 7)
   Keyboard.Right = 1
   wait (var.baseon + var.addon * 6 ms)
   Keyboard.Right = 0
   wait (var.baseoff + var.addoff * 6 ms)
endif
if Wiimote.gZ >= (var.zBase + var.zAdd * 7) and < (var.zBase + var.zAdd * 8)
   Keyboard.Right = 1
   wait (var.baseon + var.addon * 7 ms)
   Keyboard.Right = 0
   wait (var.baseoff + var.addoff * 7 ms)
endif
if Wiimote.gZ >= (var.zBase + var.zAdd * 8) and < (var.zBase + var.zAdd * 9)
   Keyboard.Right = 1
   wait (var.baseon + var.addon * 8 ms)
   Keyboard.Right = 0
   wait (var.baseoff + var.addoff * 8 ms)
endif
if Wiimote.gZ >= (var.zBase + var.zAdd * 9) and < (var.zBase + var.zAdd * 10)
   Keyboard.Right = 1
   wait (var.baseon + var.addon * 9 ms)
   Keyboard.Right = 0
   wait (var.baseoff + var.addoff * 9 ms)
endif
if Wiimote.gZ >= (var.zBase + var.zAdd * 10) and < (var.zBase + var.zAdd * 11)
   Keyboard.Right = 1
   wait (var.baseon + var.addon * 10 ms)
   Keyboard.Right = 0
   wait (var.baseoff + var.addoff * 10 ms)
endif
if Wiimote.gZ >= (var.zBase + var.zAdd * 11)
   Keyboard.Right = 1
endif
//Lenkung nach links
if Wiimote.gZ <= -(var.zBase) and > -(var.zBase + var.zAdd)
   Keyboard.Left = 1
   wait (var.baseon ms)
   Keyboard.Left = 0
   wait (var.baseoff ms)
endif
if Wiimote.gZ <= -(var.zBase + var.zAdd) and > -(var.zBase + var.zAdd * 2)
   Keyboard.Left = 1
   wait (var.baseon + var.addon ms)
   Keyboard.Left = 0
   wait (var.baseoff + var.addoff ms)
endif
if Wiimote.gZ <= -(var.zBase + var.zAdd * 2) and > -(var.zBase + var.zAdd * 3)
   Keyboard.Left = 1
   wait (var.baseon + var.addon * 2 ms)
   Keyboard.Left = 0
   wait (var.baseoff + var.addoff * 2 ms)
endif
if Wiimote.gZ <= -(var.zBase + var.zAdd * 3) and > -(var.zBase + var.zAdd * 4)
   Keyboard.Left = 1
   wait (var.baseon + var.addon * 3 ms)
   Keyboard.Left = 0
   wait (var.baseoff + var.addoff * 3 ms)
endif
if Wiimote.gZ <= -(var.zBase + var.zAdd * 4) and > -(var.zBase + var.zAdd * 5)
   Keyboard.Left = 1
   wait (var.baseon + var.addon * 4 ms)
   Keyboard.Left = 0
   wait (var.baseoff + var.addoff * 4 ms)
endif
if Wiimote.gZ <= -(var.zBase + var.zAdd * 5) and > -(var.zBase + var.zAdd * 6)
   Keyboard.Left = 1
   wait (var.baseon + var.addon * 5 ms)
   Keyboard.Left = 0
   wait (var.baseoff + var.addoff * 5 ms)
endif
if Wiimote.gZ <= -(var.zBase + var.zAdd * 6) and > -(var.zBase + var.zAdd * 7)
   Keyboard.Left = 1
   wait (var.baseon + var.addon * 6 ms)
   Keyboard.Left = 0
   wait (var.baseoff + var.addoff * 6 ms)
endif
if Wiimote.gZ <= -(var.zBase + var.zAdd * 7) and > -(var.zBase + var.zAdd * 8)
   Keyboard.Left = 1
   wait (var.baseon + var.addon * 7 ms)
   Keyboard.Left = 0
   wait 20ms
endif
if Wiimote.gZ <= -(var.zBase + var.zAdd * 8) and > -(var.zBase + var.zAdd * 9)
   Keyboard.Left = 1
   wait (var.baseon + var.addon * 8 ms)
   Keyboard.Left = 0
   wait (var.baseoff + var.addoff * 8 ms)
endif
if Wiimote.gZ <= -(var.zBase + var.zAdd * 9) and > -(var.zBase + var.zAdd * 10)
   Keyboard.Left = 1
   wait (var.baseon + var.addon * 9 ms)
   Keyboard.Left = 0
   wait (var.baseoff + var.addoff * 9 ms)
endif
if Wiimote.gZ <= -(var.zBase + var.zAdd * 10) and > -(var.zBase + var.zAdd * 11)
   Keyboard.Left = 1
   wait (var.baseon + var.addon * 10 ms)
   Keyboard.Left = 0
   wait (var.baseoff + var.addoff * 10 ms)
endif
if Wiimote.gZ <= -(var.zBase + var.zAdd * 11)
   Keyboard.Left = 1
endif
////End of the Controls for steering to the left
//Nullpunkt (Tote Zone)
if Wiimote.gZ > -(var.zBase) and < var.zBase
   Keyboard.Left = 0
   Keyboard.Right = 0
   if var.led = 1
      Wiimote.Leds = 6
   endif
endif
//LED-Steuerung Hier kommen die Led Codes rein:
Wiimote ohne Lenkrad:

Code: Select all

//wenn ein Nunchuk angebaut ist:
if Nunchuk.Exists then
 Keyboard.Left = Nunchuk.Left;
 Keyboard.Right = Nunchuk.Right;
 Keyboard.Up = Wiimote.A;
 Keyboard.Down = Wiimote.B;
 Keyboard.Tab = Wiimote.Down;
 Keyboard.Enter = Nunchuk.C;
 Keyboard.Delete = Nunchuk.Z;
 Keyboard.Escape = Wiimote.Home;
else //wiimote ohne alles
 Keyboard.Left = Wiimote.Up;
 Keyboard.Right = Wiimote.Down;
 Keyboard.Up = Wiimote.Two;
 Keyboard.Down = Wiimote.One;
 Keyboard.Enter = Wiimote.A;
 Keyboard.Delete = Wiimote.B + Wiimote.A;
 Keyboard.Escape = Wiimote.Home;
 Keyboard.VolumeDown = Wiimote.Minus;
 Keyboard.VolumeUp = Wiimote.Plus;
 Keyboard.NUMPAD0 = Wiimote.B;
end if
//LED-Steuerung Hier kommen die Led Codes rein:
Weitere Codes folgen noch wie zum Beispiel: Wiimote als Maus, ...

Habt spaß beim ausprobieren und gibt bitte Feedback :D

LG: DraggyElements
User avatar
TMarc
Posts: 15255
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: ManiaPlanet und Wii motion plus

Post by TMarc »

Hab keine WiiMote, daher kann ich das nicht testen.
Melde Dich am besten wieder, sobald ich das in einen eigenen Thread verschieben kann :thumbsup:
User avatar
NJin
Posts: 712
Joined: 26 May 2012, 20:16
Contact:

Re: ManiaPlanet und Wii motion plus

Post by NJin »

Nettes Tutorial, DraggyElements!! :D
Obwohl ich keine wii motion plus habe xD
n-jin.xyz || Instagram || Twitter || Twitch || Discord: njin

Image
BK-ZD50
Posts: 265
Joined: 25 Nov 2011, 18:55
Location: 29646 Bispingen

Re: ManiaPlanet und Wii motion plus

Post by BK-ZD50 »

naja ok, das kann man auch mit der tastatur emulieren :D
zumindesten die code dinger :D
Post Reply

Return to “Andere Themen”

Who is online

Users browsing this forum: No registered users and 1 guest