Invert Scrolling in Paint Tool SAI
Posted 8 years agoPaint Tool SAI's zooming is inverted. That is, when you scroll up on your mousewheel it zooms out, while in every other program that doesn't have a crayon up its nose zooms in instead. And vice-versa.

It only requires a tiny modification to the sfl.dll in SAI's Program Files folder. For fear of copyright infringement or whatever, I don't want to upload the file itself, but here's the patch:
1sPEAAQgc2ZsX2ludmVydGVkc2Nyb2xsLmRsbC8vc2ZsLmRsbC8FnsAAABqewAAAAgkEGCZ3FvfaE4SlAQMTmpp9AISlAw==
Base64 decode that (I think certutil does that in Windows?) and apply it to SAI's sfl.dll with xdelta3. Alternatively, find me someone that doesn't afraid of hosting the DLL in their Dropbox or something.
Or if you want to flex your hex editor skills and patch it manually, insert `f7 da` (this adds a neg %edx instruction, which flips around the scrolling offset) at offset 0x11281 and remove two 90 (no-ops following the subroutine) from the bunch of them that start at offset 0x112ac to align the rest of the file again.
Drawpile Scripts
Posted 10 years agoDedicated Drawpile servers are nice, but they lack the ability to automatically created canvases on startup or when they expire.
To solve this problem for myself, I hacked some things together that just connect to the server and tell it to create canvases. If you're running a dedicated Drawpile server, these might be useful to you too.
https://bitbucket.org/askmeaboutloo.....awpile-scripts
To solve this problem for myself, I hacked some things together that just connect to the server and tell it to create canvases. If you're running a dedicated Drawpile server, these might be useful to you too.
https://bitbucket.org/askmeaboutloo.....awpile-scripts
On Icons On FA
Posted 11 years agoLarry Wall wrote:Let's call it an accidental feature.
Very quietly, FA has introduced some new syntax to refer to users.
Make a link: @askmeaboutloom => askmeaboutloom
Link with icon: @@k-puz =>
k-puz
The old syntax still works too, luckily.
Make a link: :linkpichu90: => pichu90 (pretty sure this was undocumented)
Link with icon: :iconmiles57: =>
miles57
Just an icon: :dessyicon: =>
There is also supposed to be a limit of 12 icons per text field, but that's not how it's implemented.
Instead, you have 12 icons using the :iconuser: syntax and another 12 using the :usericon: syntax.
Now they repeated thisbug feature with the new syntax, so you now get another 12 icons using the @@user syntax for a total of 36 icons.
This limit also applies to links without icons, but nobody knows or cares about those.
Q: How did you escape FA's parser and make :iconuser: show up literally?
A: Magic. And I also put a zero-width space between the user name and the : or @ respectively.
Very quietly, FA has introduced some new syntax to refer to users.
Make a link: @askmeaboutloom => askmeaboutloom
Link with icon: @@k-puz =>

The old syntax still works too, luckily.
Make a link: :linkpichu90: => pichu90 (pretty sure this was undocumented)
Link with icon: :iconmiles57: =>

Just an icon: :dessyicon: =>

There is also supposed to be a limit of 12 icons per text field, but that's not how it's implemented.
Instead, you have 12 icons using the :iconuser: syntax and another 12 using the :usericon: syntax.
Now they repeated this
This limit also applies to links without icons, but nobody knows or cares about those.
Q: How did you escape FA's parser and make :iconuser: show up literally?
A: Magic. And I also put a zero-width space between the user name and the : or @ respectively.