Jump to content

Canon EOS Webcam Utility patch guide: Difference between revisions

From Consumer_Action_Taskforce
Introduce patch guide for Canon EOS Webcam Utility
 
m Mingyee moved page Canon EOS Webcam Utility Patch Guide to Canon EOS Webcam Utility patch guide: Misspelled title: Sentence case
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
This article will instruct how to remove the subscription requirement from the Canon EOS Webcam Utility.
{{GuideNotice}}


=== Disclaimer ===
This article gives instructions for removal of the subscription requirement from the Canon EOS Webcam Utility.
 
===Disclaimer===
'''This method has not been tested thoroughly, and technical expertise may be required.'''
'''This method has not been tested thoroughly, and technical expertise may be required.'''


== For macOS ==
==For macOS==
 
<ol>
# Install the PKG from https://www.usa.canon.com/cameras/eos-webcam-utility
<li> Install the PKG from https://www.usa.canon.com/cameras/eos-webcam-utility </li>
# When finished installing, navigate to <code>/Applications/EOS Webcam Utility/EOS Webcam Utility Pro.app</code>
<li> When finished installing, navigate to <code>/Applications/EOS Webcam Utility/EOS Webcam Utility Pro.app</code></li>
# Right click > "Show package contents"
<li> Right click > "Show package contents"</li>
# Right click "Contents" > "Get info", and give your user read and write permission over the directory (ensure you click "..." > "Apply to enclosed items")
<li> Right click "Contents" > "Get info", and give your user read and write permission over the directory (ensure you click "..." > "Apply to enclosed items")</li>
# Install the <code>asar</code> CLI utility.
<li> Install the <code>asar</code> CLI utility.</li>
# Open a terminal inside of <code>EOS Webcam Utility Pro.app/Contents/Resources</code>
<li> Open a terminal inside of <code>EOS Webcam Utility Pro.app/Contents/Resources</code></li>
# Extract the application by running: <code>asar e app.asar appunpk</code>
<li> Extract the application by running: <code>asar e app.asar appunpk</code></li>
# Open <code>appunpk/eos-webcam-utility/main.<abunchofnumbers>.js</code>
<li> Open <code>appunpk/eos-webcam-utility/main.<abunchofnumbers>.js</code></li>
# Find the constructor for <code>class t</code> by looking for the instance of <code>this.selectMode$</code>
<li> Find the constructor for <code>class t</code> by looking for the instance of <code>this.selectMode$</code></li>
# In the class, define the function <code>getValue()</code> as follows...
<li> In the class, define the function <code>getValue()</code> as follows...
 
 
<pre>
<pre>
class t extends d1 {
class t extends d1 {
Line 47: Line 47:
}
}
</pre>
</pre>
 
<li> Now, search for <code>checkAuthUser() {</code>, and replace the contents of the <code>.subscribe(n => {</code> call such that it looks something like this:
 
11. Now, search for <code>checkAuthUser() {</code>, and replace the contents of the <code>.subscribe(n => {</code> call such that it looks something like this:
 
<pre>
<pre>
this.event$.pipe(ql(2e3)).subscribe(n => {
this.event$.pipe(ql(2e3)).subscribe(n => {
Line 58: Line 55:
// below the above call, there will be code that handles the "get-authen-user" event.
// below the above call, there will be code that handles the "get-authen-user" event.
// replace the ternary expression: h ? e.subscriptionRegister(c, f, m) : e.subscriptionUnregister(), with: e.subscriptionRegister(c, f, m)
// replace the ternary expression: h ? e.subscriptionRegister(c, f, m) : e.subscriptionUnregister(), with: e.subscriptionRegister(c, f, m)
</pre>
</pre></li>
<li>edit <code>appunpk/package.json</code> by removing the line: <code>"eos-addon": "file:./build",</code></li>
<li>Run <code>npm install</code></li>
<li>Reverse the change from step 12.</li>
<li> Ensure you are in the <code>EOS Webcam Utility Pro.app/Contents/Resources</code> directory before running: <code>asar p appunpk app.asar</code></li>
</ol>
You <I>should</I> now have a patched Canon EOS Webcam Utility application that does not require a subscription to use.


12. edit <code>appunpk/package.json</code> by removing the line: <code>"eos-addon": "file:./build",</code>
[[Category:User guides]]
13. Run <code>npm install</code>
14. Reverse the change from step 12.
15. Ensure you are in the <code>EOS Webcam Utility Pro.app/Contents/Resources</code> directory before running: <code>asar p appunpk app.asar</code>
 
You <I>should</I> now have a patched Canon EOS Webcam Utility application that does not require a subscription to use.

Latest revision as of 07:42, 23 January 2025

🔔This is a user-submitted guide

This article is a guide.


What is presented here is not objective information about a company's relation to consumer rights and does not follow the Consumer Action Taskforce Wiki's usual content guidelines.

This is a guide intended to give you more rights over your purchase. Inclusion of guides such as this one is only permitted in certain circumstances described in the article types page.

This guide may be incomplete and the information in it may have not been validated or updated. For more information see the discussion around it.

Follow at your own risk.

If you believe this notice has been placed in error, please visit the #appeals channel on our Discord server: Join Here.


This article gives instructions for removal of the subscription requirement from the Canon EOS Webcam Utility.

Disclaimer[edit | edit source]

This method has not been tested thoroughly, and technical expertise may be required.

For macOS[edit | edit source]

  1. Install the PKG from https://www.usa.canon.com/cameras/eos-webcam-utility
  2. When finished installing, navigate to /Applications/EOS Webcam Utility/EOS Webcam Utility Pro.app
  3. Right click > "Show package contents"
  4. Right click "Contents" > "Get info", and give your user read and write permission over the directory (ensure you click "..." > "Apply to enclosed items")
  5. Install the asar CLI utility.
  6. Open a terminal inside of EOS Webcam Utility Pro.app/Contents/Resources
  7. Extract the application by running: asar e app.asar appunpk
  8. Open appunpk/eos-webcam-utility/main.<abunchofnumbers>.js
  9. Find the constructor for class t by looking for the instance of this.selectMode$
  10. In the class, define the function getValue() as follows...
    class t extends d1 {
        constructor(e, n) { ... }
        getValue() {
            return {
                "entities":{},
                "ids":[],
                "loading":true,
                "error":null,
                "mode":"PAID",
                "username": "consumer_rights",
                "profile": {
                    "nickname": "consumer_rights"
                },
                "uuid": "1234567890",
                "active": 1,
                "isPro": true,
                "subscription": {
                    "val": {
                        "status": {
                            "displayStatus": "ACTIVE"
                        }
                    }
                },
                "keyAuth": "1234567890"
            }
        }
    }
    
  11. Now, search for checkAuthUser() {, and replace the contents of the .subscribe(n => { call such that it looks something like this:
    this.event$.pipe(ql(2e3)).subscribe(n => {
        this.changeToPaidMode()
    })
    
    // below the above call, there will be code that handles the "get-authen-user" event.
    // replace the ternary expression: h ? e.subscriptionRegister(c, f, m) : e.subscriptionUnregister(), with: e.subscriptionRegister(c, f, m)
    
  12. edit appunpk/package.json by removing the line: "eos-addon": "file:./build",
  13. Run npm install
  14. Reverse the change from step 12.
  15. Ensure you are in the EOS Webcam Utility Pro.app/Contents/Resources directory before running: asar p appunpk app.asar

You should now have a patched Canon EOS Webcam Utility application that does not require a subscription to use.