Skip to content

Instantly share code, notes, and snippets.

@hermanocabral
hermanocabral / mount.md
Created June 11, 2024 17:20 — forked from AAGene/mount.md
AA mount tutorial

Tutorial: Adding a new Mount in ArcheAge

Note: This tutorial uses a backported model, and does not cover creating & exporting a custom model

Game Files (game_pak)

Model

I'll be using the wyvern model from 3.0. You can source this model on your own.

  • At the root of your game_pak, create a custom folder. In my case, it'll be "genesis"
  • Inside that folder, you'll place your custom files. Make them follow the base structure of the rest of the game_pak, just container in your custom folder.
@hermanocabral
hermanocabral / vehicle.md
Created June 11, 2024 17:20 — forked from AAGene/vehicle.md
ArcheAge vehicle backport tutorial

Tutorial: Backporting a Vehicle in ArcheAge

Note: This tutorial uses a backported model, and does not cover creating & exporting a custom model

Game Files (game_pak)

As usual, we have our custom folder root at the root of the game_pak. In my case, the folder is genesis

Model

Models can be put in genesis/objects For the 8 box freighter, it should be in genesis\objects\env\06_unit\05_carriage

@hermanocabral
hermanocabral / ao_dissector.lua
Created May 8, 2023 10:33 — forked from Green-Sky/ao_dissector.lua
albion online wireshark dissector (some photon stuff only atm)
-- albion online wireshark dissector.... or at least a beginning
-- used as ref: https://github.com/rafalfigura/AO-Radar/blob/master/AlbionRadaro/PhotonPacketHandler/PhotonPacketHandler.cs
-- (c) Green Sky
photon_protocol = Proto("Photon", "Photon Protocol")
peer_id = ProtoField.uint16("photon.peer_id", "peer_id", base.DEC)
crc_enabled = ProtoField.bool( "photon.crc_enabled", "crc_enabled")
command_count = ProtoField.uint8( "photon.command_count", "command_count", base.DEC)
time_stamp = ProtoField.int32( "photon.time_stamp", "time_stamp", base.DEC)
@hermanocabral
hermanocabral / CreateGhidraApp.sh
Created February 28, 2023 08:18 — forked from saagarjha/CreateGhidraApp.sh
Creates a Ghidra.app bundle for macOS
#!/bin/sh
set -eu
create_iconset() {
mkdir -p Ghidra.iconset
cat << EOF > Ghidra.iconset/Contents.json
{
"images":
[
@hermanocabral
hermanocabral / fields.py
Created April 12, 2017 00:57 — forked from yprez/fields.py
Django rest framework - Base64 image field
import base64
from django.core.files.base import ContentFile
from rest_framework import serializers
class Base64ImageField(serializers.ImageField):
def from_native(self, data):
if isinstance(data, basestring) and data.startswith('data:image'):
# base64 encoded image - decode
@hermanocabral
hermanocabral / Program.cs
Created June 1, 2016 17:34 — forked from ovrmrw/Program.cs
Topshelf + OWIN Self-Host + ASP.NET WebAPI + Ninject
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.Tracing;
using System.Reflection;
using Owin;
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing.Imaging;
using System.Runtime.InteropServices;
using System.IO;
namespace S16.Drawing
{
public class DDSImage
@hermanocabral
hermanocabral / DDSImageParser.cs
Created October 19, 2015 07:03 — forked from soeminnminn/DDSImageParser.cs
Read DDS image in C# way.
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing.Imaging;
using System.Runtime.InteropServices;
using System.IO;
namespace S16.Drawing
{
public class DDSImage