Search found 5 matches

by C64
Mon Oct 18, 2021 3:30 pm
Forum: GIMX Discussion
Topic: Python- with GIMX
Replies: 3
Views: 4728

Re: Python- with GIMX

Not with my python script unfortunately :D
by C64
Tue Oct 12, 2021 1:29 pm
Forum: GIMX Discussion
Topic: Python- with GIMX
Replies: 3
Views: 4728

Re: Python- with GIMX

To perform any actions with GIMX: Here is a python script to easily convert a logfile to a macro: https://gimx.fr/forum/viewtopic.php?p=20281#p20281 You can record some input from a controller to a log. Convert the log to a macro using the python script and replay the controller input in a loop for ...
by C64
Sat Jun 12, 2021 1:04 pm
Forum: GIMX Discussion
Topic: Howto: Record controller input and convert to macro
Replies: 3
Views: 14915

Re: Howto: Record controller input and convert to macro

My son converted the scripts to python. The python script is ready to use. You don't need any other tools. How to use: copy this code to a file named log2macro.py import csv, sys, os tempFol = "./temp" outFol = "./out" infile = sys.argv[1] name = sys.argv[2] + "_macro.txt&qu...
by C64
Sat Sep 07, 2019 8:47 am
Forum: GIMX Discussion
Topic: Howto: Record controller input and convert to macro
Replies: 3
Views: 14915

Re: Howto: Record controller input and convert to macro

Thnx ! I made some changes to the script: cleaned up and re-used some code started to get all code within script.sh so Excel and VBA are not needed anymore the values within the database / csv are already converted for the macro, for example [-32767..32768] instead of [-128..127] the script is quick...
by C64
Mon Sep 02, 2019 6:18 pm
Forum: GIMX Discussion
Topic: Howto: Record controller input and convert to macro
Replies: 3
Views: 14915

Howto: Record controller input and convert to macro

Update: there is an easier python script now, read my post below (#4) I was looking for a way to capture all movements in part of a game and convert this capture to a macro so I could play back this 'recording' several times, using the Gimx adapter. Maybe this could help others :D So this is what I ...