Skip to content

Instantly share code, notes, and snippets.

View sonofevil's full-sized avatar

sonofevil sonofevil

View GitHub Profile
@sonofevil
sonofevil / functions.txt
Created July 3, 2023 19:31
Demon's Souls function list
Explanation:
This is an attempt to compile a list of all functions/commands used in Demon's Souls LUA scripts.
Furthermore, possible arguments and data types are indicated as specifically as possible.
This list is inevitably incomplete.
Key:
<num> : argument can be a number
<int> : argument can be an integer
<float> : argument can be a floating point number
<string> : argument can be a string
Jul 27 22:42:19 user-thinkpad kernel: ------------[ cut here ]------------
Jul 27 22:42:19 user-thinkpad kernel: WARNING: CPU: 1 PID: 49 at mm/mmu_notifier.c:502 __mmu_notifier_invalidate_range_start.cold+0x4a/0x56
Jul 27 22:42:19 user-thinkpad kernel: Modules linked in: snd_seq_dummy snd_seq snd_seq_device uinput ccm rfcomm xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp ip6table_mangle ip6table_nat ip6table_filter ip6_tables iptable_mangle iptable_nat nf_nat nf_conntrack snd_hda_codec_hdmi nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c iptable_filter cmac algif_hash algif_skcipher af_alg bnep uvcvideo bridge btusb videobuf2_vmalloc btrtl videobuf2_memops btbcm videobuf2_v4l2 btintel stp videobuf2_common llc bluetooth videodev xpad mc ff_memless ecdh_generic ecc iwlmvm i915 joydev mousedev mac80211 libarc4 iwlwifi intel_rapl_msr intel_rapl_common intel_spi_platform intel_spi cfg80211 x86_pkg_temp_thermal spi_nor i2c_algo_bit intel_powerclamp snd_hda_codec_realtek mei_wdt coretemp snd_hda_
Jul 23 22:32:07 user-thinkpad kernel: userptr_mn_invalidate_range_start+0x0/0x180 [i915] callback failed with -16 in blockable context.
Jul 23 22:32:07 user-thinkpad kernel: ------------[ cut here ]------------
Jul 23 22:32:07 user-thinkpad kernel: WARNING: CPU: 3 PID: 49 at mm/mmu_notifier.c:502 __mmu_notifier_invalidate_range_start.cold+0x4a/0x56
Jul 23 22:32:07 user-thinkpad kernel: Modules linked in: snd_seq_dummy snd_seq snd_seq_device uinput ccm rfcomm cmac algif_hash algif_skcipher af_alg bnep xt_CHECKSUM xt_MASQUERADE uvcvideo xt_conntrack btusb videobuf2_vmalloc videobuf2_memops btrtl ipt_REJECT videobuf2_v4l2 nf_reject_ipv4 btbcm btintel videobuf2_common snd_hda_codec_hdmi bluetooth videodev xpad ff_memless mc ecdh_generic ecc xt_tcpudp ip6table_mangle ip6table_nat ip6table_filter ip6_tables iptable_mangle iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c iptable_filter bridge stp llc joydev mousedev iwlmvm i915 mac80211 intel_rapl_msr intel_spi_platform intel_rapl_common intel
======================
Proton: 1624629470 proton-6.3-5
SteamGameId: 211420
Command: ['/mnt/apps/games/SteamLibrary/steamapps/common/Dark Souls Prepare to Die Edition/DATA/DARKSOULS.exe']
Options: {'forcelgadd'}
depot: 0.20210630.17
pressure-vessel: 0.20210630.0
scripts: v0.20210623.0-0-ga389036
soldier: 0.20210629.0 soldier 0.20210629.0
System WINEDLLOVERRIDES: dinput8=n,b;xinput1_3.dll=b,n
This file has been truncated, but you can view the full file.
======================
Proton: 1624629470 proton-6.3-5
SteamGameId: 211420
Command: ['/mnt/apps/games/SteamLibrary/steamapps/common/Dark Souls Prepare to Die Edition/DATA/DARKSOULS.exe']
Options: {'forcelgadd'}
depot: 0.20210630.17
pressure-vessel: 0.20210630.0
scripts: v0.20210623.0-0-ga389036
soldier: 0.20210629.0 soldier 0.20210629.0
System WINEDLLOVERRIDES: dinput8=n,b;xinput1_3.dll=b,n
@sonofevil
sonofevil / gimp-regex-tag-parser.txt
Last active March 11, 2021 13:44
GIMP RegEx tag parser
RegEx pattern for Kate to parse tags from identifiers in ~/.config/GIMP/2.10/tags.xml
Only parses up to the first 6 words (no-whitespace-strings) of an identifier.
Requires that at least one tag already exists for that identifier.
Regex handling may or may not be specific to Kate.
search:
(<resource identifier=")([^\w"-]*([\w-]*)[^\w"-]*([\w-]*)[^\w"-]*([\w-]*)[^\w"-]*([\w-]*)[^\w"-]*([\w-]*)[^\w"-]*([\w-]*)[^\w"-]*)(" checksum="\(null\)">\n\s*<tag>[^<]*</tag>)