Skip to content

Instantly share code, notes, and snippets.

@PogoRollo
PogoRollo / 4story-settings.reg
Created November 13, 2023 08:36 — forked from gheoan/4story-settings.reg
My 4Story settings.
Windows Registry Editor Version 5.00
;-*- mode: ini;-*-
[HKEY_CURRENT_USER\SOFTWARE\Zemi Interactive\4Story]
[HKEY_CURRENT_USER\SOFTWARE\Zemi Interactive\4Story\ChatInterface]
"MAXLIST"=dword:00000005
"CHATFLAG0"=dword:000001b7
"CHATPOSX0"=dword:00000000
"CHATPOSY0"=dword:fffffeb1
@PogoRollo
PogoRollo / fna-wasm-instructions.md
Created December 28, 2021 15:33 — forked from TheSpydog/fna-wasm-instructions.md
How to build your FNA game for WebAssembly

How to build your FNA game for WebAssembly

WARNING: This process is EXTREMELY experimental and not officially supported yet!

Thanks to the ongoing work on .NET WebAssembly support, it is now possible to build FNA games for the web!

If you decide to give this a try, be sure to tell us about it in the FNA Discord! I'm happy to help if you run into problems or have any further questions that are not answered here.

The Basics

package.path = package.path .. ';' .. os.getenv ( 'USERPROFILE' ) .. '\\Documents\\ArcheAge\\Addon\\LootDrop\\?.lua'
local inspect = require( 'inspect' )
local output = os.getenv ( 'USERPROFILE' ) .. '\\Documents\\ArcheAge\\Addon\\LootDrop\\out.txt'
local outputFile = io.open( output, 'w+' )
ADDON:ImportAPI( UCST_UNIT )
ADDON:ImportObject( UOT_BASE_BUTTON )
<1>{
ABILITY_CATEGORY_DESCRIPTION_TEXT = 54,
ABILITY_CATEGORY_TEXT = 49,
ABILITY_CHANGER_TEXT = 20,
ADDON = <2>{
ChatLog = <function 1>,
CreateTopLevelWidget = <function 2>,
GetContent = <function 3>,
ImportAPI = <function 4>,
ImportObject = <function 5>,