T43 Dissasembly
- Gatecrasher
- Posts: 278
- Joined: Sat Apr 25, 2020 6:09 am
Re: T43 Dissasembly
Damn. That is really cool. Nice work.
- antus
- Site Admin
- Posts: 8261
- Joined: Sat Feb 28, 2009 8:34 pm
- cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B - Contact:
Re: T43 Dissasembly
Good work, but you might want to check your checksum plugin UUID, it's not unique and its a clash with one of my earlier ones. viewtopic.php?p=111677#p111677
I'd suggest changing this quickly and bumping your XDF version number and take the current DLL and XDF down (and update + repost) before it causes more confusion and problems for people having multiple and clashing plugin IDs and dlls/xdfs.
I'd suggest changing this quickly and bumping your XDF version number and take the current DLL and XDF down (and update + repost) before it causes more confusion and problems for people having multiple and clashing plugin IDs and dlls/xdfs.
- Attachments
-
- Screenshot 2024-01-03 174544.png (86.14 KiB) Viewed 1002 times
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
Re: T43 Dissasembly
Done. I'll message Mark too so hack's like me don't get caught out again
- antus
- Site Admin
- Posts: 8261
- Joined: Sat Feb 28, 2009 8:34 pm
- cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B - Contact:
Re: T43 Dissasembly
Thanks! Was that the stock one? Did I not update it either back in the day and never noticed? Doh!
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
Re: T43 Dissasembly
Yeah it was the stock one.
New learning curve for me, do I just hack the guid and hope for the best or include a module that can guarantee a unique uuid? I know what the correct 'model answer' is, but in reality what can you guys get away with?
New learning curve for me, do I just hack the guid and hope for the best or include a module that can guarantee a unique uuid? I know what the correct 'model answer' is, but in reality what can you guys get away with?
Re: T43 Dissasembly
@kittens_melbourne
- antus
- Site Admin
- Posts: 8261
- Joined: Sat Feb 28, 2009 8:34 pm
- cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B - Contact:
Re: T43 Dissasembly
Its one of those things, there are competing standards about how to create them, if everyone used the same method, it'd be very unlikely to get a clash, as its tied to several things including hardware, date and time. But everyone doesn't use the same standard and the built in generator in visual studio is a bit crap. In general just search "uuid generator" and use one of the many free ones on the net. Its also easy to generate them in code and then cut and paste the output in to your source. https://www.uuidgenerator.net/dev-corner/c-sharp
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
Re: T43 Dissasembly
I had a go at using a dynamic uuid library. Got it working then pondered. It won't work because if there was to be a conflict the dll has to be re-generated which the end user can't do. Static randomly generated uuid it is.
xdf and dll now re-attached to this post
xdf and dll now re-attached to this post
- antus
- Site Admin
- Posts: 8261
- Joined: Sat Feb 28, 2009 8:34 pm
- cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B - Contact:
Re: T43 Dissasembly
The developer is supposed to do it once, and then they own that uuid, and all plugins have a unique ID (not each copy of the same plugin). Tunerpro uses it internally, and wont load two plugins with the same ID. Thus, you can get away with it, until some user tries to use both at the same time and then one of them wont load. It's also used by the XDF to identify which plugin to use with the XDF. So its possible you can get the XDF loading the wrong one, if a user attempts to load two and the wrong one loads first. Then it'd probably crash, or at least miscalculate the checksum. It's a pitty the plugin SDK have a default one that works. Probably the SDK should fail to compile until its set, and have a link to information about how to generate one in the source. Or, maybe tunerpro could have rejected any and all plugins with the default so nobody can use it by accident. Anyway, easy to say in hindsight after they've been out there for 10 years.
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
Re: T43 Dissasembly
Mark probably & quite rightly assumes people know what they're doing. Then hacks like me come along... Anyway, I know now for next time and for any other project in the future where I run across a uuid requirement. Cheers mate