Skip to content

Instantly share code, notes, and snippets.

View jwp-mission-dot.py
#!/usr/bin/env python3
# vim: set expandtab tabstop=4 shiftwidth=4:
# Borderlands 3 Data Processing Scripts
# Copyright (C) 2022 CJ Kucera
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
View dlc_names.txt
Main Game: Oak
DLC1 (Moxxi's Heist of the Handsome Jackpot) - Dandelion
DLC2 (Guns, Love, and Tentacles) - Hibiscus
DLC3 (Bounty of Blood) - Geranium
DLC4 (Psycho Krieg and the Fantastic Fustercluck) - Alisma
DLC5 (Designer's Cut) - Ixora
DLC6 (Director's Cut) - Ixora2
Unknowns:
View ue2swf.py
#!/usr/bin/env python
# vim: set expandtab tabstop=4 shiftwidth=4:
import os
import sys
import json
import struct
import subprocess
var = sys.argv[1]
View expanded_legendary_pools.bl3hotfix
@title Expanded Legendary Pools
@version 1.6.1
@author Apocalyptech
@contact https://apocalyptech.com/contact.php
@categories loot-system, enemy-drops
@license Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
@license-url https://creativecommons.org/licenses/by-sa/4.0/
View fmodel.json
[
{
"ExportType": "GbxAttributeData",
"ExportValue": {
"ValueResolver": {
"ObjectName": "ValueResolver_SimpleMathValueResolver",
"OuterIndex": {
"ObjectName": "Att_GearUp_LegendaryWeight_EventChest",
"OuterIndex": 0
}
View Att_GearUp_LegendaryWeight_EventChest.json
[
{
"export_type": "GbxAttributeData",
"_apoc_data_ver": 27,
"_jwp_export_idx": 1,
"_jwp_is_asset": true,
"_jwp_object_name": "Att_GearUp_LegendaryWeight_EventChest",
"ValueResolver": {
"export": 2,
"_jwp_export_dst_type": "SimpleMathValueResolver",
View Init_Calc_Mayhem_GearUp_IxoraDropOddsMultiplier-ubergraph-002-CalculateAttributeInitialValue.json
[
{
"StatementIndex": 0,
"Inst": "Let",
"Variable": {
"Inst": "LocalVariable",
"Variable Outer": "Init_Calc_Mayhem_GearUp_IxoraDropOddsMultiplier_C",
"Variable Name": "CalculateAttributeInitialValue.CallFunc_GetValueOfAttribute_ReturnValue"
},
"Expression": {
View serialize-ubergraph.py
#!/usr/bin/env python3
# vim: set expandtab tabstop=4 shiftwidth=4:
#uassetapi_dir = '/home/pez/Programs/games/borderlands_3/uassetgui/v1.0.0.0-alpha.6'
#uassetapi_dir = '/home/pez/git/b2patching/UAssetAPI/UAssetAPI/bin/Debug'
uassetapi_dir = '/home/pez/git/b2patching/UAssetAPI/UAssetAPI/bin/Release'
import os
import clr
import sys
View areliteralsequal-codes.txt
EX_ObjectConst = 0x20
EX_NameConst = 0x21
EX_InstanceDelegate = 0x4B
EX_RotationConst = 0x22
EX_IntConst = 0x1D
EX_ByteConst = 0x24
EX_IntZero = 0x25
View areliteralsequal.cpp
/* Micropatching::BlueprintBytecode::FBytecodeEditor::AreLiteralsEqual(EExprToken, stringref<wchar_t
const>, stringref<wchar_t const>) */
undefined8
Micropatching::BlueprintBytecode::FBytecodeEditor::AreLiteralsEqual
(EExprToken param_1,stringref param_2,stringref param_3)
{
int *piVar1;