Skip to content

Instantly share code, notes, and snippets.

View lmcintyre's full-sized avatar

liam lmcintyre

  • 17:13 (UTC -04:00)
View GitHub Profile
folder key (xx/XXXX) suffix type
00 wl(l|m|s) wall
00 wlc wall unknown
01 rf(l|m|s) roof
01 rfc roof unknown
02 dor door
03 wid window
04 fnc fence
05 osg ornament signboard
06 orf ornament, roof
This file has been truncated, but you can view the full file.
{
"groups": {
"0": {
"id": 0,
"type": 2,
"groupName": "teri",
"groupTransform": {
"translation": {
"x": 0.0,
"y": 0.0,
package com.fragmenterworks.ffxivextract;
import com.fragmenterworks.ffxivextract.models.SqPack_IndexFile;
import com.fragmenterworks.ffxivextract.storage.HashDatabase;
import java.io.*;
import java.nio.file.*;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
@lmcintyre
lmcintyre / m11500_a3-optimized.cl
Last active July 31, 2020 19:20
Hashcat FFXIV CRC32 module
/**
* Author......: See docs/credits.txt
* License.....: MIT
*/
/**
* Hashcat CRC32 impl for FFXIV hashes. If using a precompiled hashcat binary, you must disable selftest with --self-test-disable.
* Place this in the OpenCL folder in Hashcat and hope it uses a3, I guess
*/
@lmcintyre
lmcintyre / resolve.cs
Created April 3, 2021 07:00
material resoltuion
public static string ResolveRelativeMaterialPath(string relativePath, int variantId)
{
Regex reg = new Regex( "(.)([0-9]{4})(.)([0-9]{4})" );
var match = reg.Match( relativePath );
if( !match.Success || match.Groups.Count != 5)
throw new ArgumentException( "RelativePath was not in the proper form." );
var id1 = match.Groups[ 1 ].Captures[ 0 ].Value;
var val1 = match.Groups[ 2 ].Captures[ 0 ].Value;
var id2 = match.Groups[ 3 ].Captures[ 0 ].Value;
Best match for 2 - BGM_System_Title : 119. Calamity Unbound @ 0.94
Best match for 3 - BGM_System_Launcher : 80. Dreams Aloft @ 0.98
Best match for 4 - BGM_System_Chara : 02. Torn from the Heavens @ 0.99
Best match for 5 - BGM_Town_Rest_01 : 26. Behind Closed Doors @ 0.98
Best match for 6 - BGM_Town_Gri_Day : 25. Brothers in Arms @ 0.97
Best match for 7 - BGM_Town_Gri_Night : 30. The Rider's Boon @ 0.97
Best match for 8 - BGM_Field_Gri_01 : 59 - Serenity @ 0.97
Best match for 9 - BGM_Field_Gri_02 : 88. Through the Gloom @ 0.72
Best match for 10 - BGM_Field_Gri_03 : 27. Final Struggle @ 0.60
Best match for 11 - BGM_Field_Gri_04 : 94. In the Arms of Althyk @ 0.60
using Dalamud.Game.Command;
using Dalamud.Plugin;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Runtime.InteropServices;
using Dalamud.Data;
using Dalamud.Game;
using Dalamud.Utility;
type: sheet
name: CustomTalk
fields:
- type: array
count: 30
name: Define
fields:
- type: scalar
name: Name
- type: scalar
{
"sheet": "SpecialShop",
"defaultColumn": "Name",
"isGenericReferenceTarget": true,
"definitions": [
{
"name": "Name"
},
{
"index": 1,
type: sheet
name: SpecialShop
fields:
- name: Name
- name: Item
type: array
count: 60
fields:
- name: ReceiveCount
type: array