Page 4 of 5

Re: Personal request to everyone - please publish in GPC

PostPosted: Fri Mar 08, 2019 7:48 pm
by UK_Wildcats
Naoki95957 wrote:Okay, well I guess this goes back to Wildcats' point

If you are using my point, then you are in trouble. LOL

Re: Personal request to everyone - please publish in GPC

PostPosted: Wed Jul 31, 2019 10:39 pm
by thedude
Published my mappings and script for Virpil control and throttle.
Working, but there are bugs which I am trying to fix, but just recently started programing for this device.
Any contributions are welcome.
https://www.consoletuner.com/greslib/?0&F&0&0&&VmlycGls

Question: an I update my contributions to a newer version, or is it going to be a new one every time I publish?

Re: Personal request to everyone - please publish in GPC

PostPosted: Wed Jul 31, 2019 11:27 pm
by Mad
When you go to publish make sure "Replace existing published work" is ticked to update :smile0517:

Re: Personal request to everyone - please publish in GPC

PostPosted: Thu Aug 01, 2019 7:48 pm
by thedude
Mad wrote:When you go to publish make sure "Replace existing published work" is ticked to update :smile0517:


I don't seen this option.
I am using GTuner IV 1.2

Re: Personal request to everyone - please publish in GPC

PostPosted: Thu Aug 01, 2019 9:17 pm
by Mad
Have you renamed/moved the file since the first upload?

Re: Personal request to everyone - please publish in GPC

PostPosted: Sat Aug 03, 2019 6:54 pm
by thedude
Mad wrote:Have you renamed/moved the file since the first upload?


Yep, that was it.
Sorted, thanks.

Re: Personal request to everyone - please publish in GPC

PostPosted: Fri Dec 18, 2020 8:56 pm
by SirBrass
I've no problem publishing in GPC, but it seems that it published as GBC by default. How do I fix that when uploading updates? I'd like for folks to look at my code and give feedback.

Re: Personal request to everyone - please publish in GPC

PostPosted: Fri Dec 18, 2020 9:11 pm
by Mad
SirBrass wrote:I've no problem publishing in GPC, but it seems that it published as GBC by default. How do I fix that when uploading updates? I'd like for folks to look at my code and give feedback.

"Publish as GPC Bytecode" is the top checkbox when publishing, and it disabled by default. You can republish and uncheck this option.

Re: Personal request to everyone - please publish in GPC

PostPosted: Sat Jun 26, 2021 1:41 pm
by Scoonix
For computer vision tutorial please use this link:

https://www.consoletuner.com/wiki/index ... ter_vision

If at least there would be a starting basic sample that we could easily understand, users could play with it, understand it and share informations/discoveries ,contribute more to the community. But it seems that this part of gtuner is kept "secret".
Sorry, that's my feeling about how this new feature is handled. I understand it's time consuming to make tuto, examples, etc... but just the basic would allow us (ok me) to explore this feature.

Yes, there is a tuto in the forum to install all required things, but I couldn't find any basic example (and if there is and I just couldn't find it, I'm really sorry... really). That's a domain I'm really interested in and getting a starting point would help me share scripts, basic example with other users.

Kind regards to all.

Re: Personal request to everyone - please publish in GPC

PostPosted: Sat Jun 26, 2021 9:36 pm
by Mad
Scoonix wrote:Sorry, that's my feeling about how this new feature is handled. I understand it's time consuming to make tuto, examples, etc... but just the basic would allow us (ok me) to explore this feature.

gvc_ready and gcv_read: https://www.consoletuner.com/wiki/index ... _functions

Empty GCV script:
Code: Select all
import os
import cv2
import gtuner
 
class GCVWorker:
    def __init__(self, width, height):
        os.chdir(os.path.dirname(__file__))
        if width != 1920 or height != 1080:
            print("WARNING: This GCV script is optimized for 1920x1080 resolution")
        self.gcvdata = bytearray([0xFF, 0xFF, 0xFF, 0xFF, 0xFF])
 
    def __del__(self):
        del self.gcvdata
 
    def process(self, frame):
        return (frame, None)

It's no secret, you'll find all the CV tutorials you need with a quick google search. :smile0517:
For questions and code related help, the CV channel on Discord is pretty good for that.