Skip to content

Instantly share code, notes, and snippets.

View freem's full-sized avatar
⛏️
work continues

AJ Kelly freem

⛏️
work continues
View GitHub Profile
@freem
freem / many_files.txt
Last active March 14, 2017 19:06
example output of earliest useful version of TXA Tool
TXA Tool by freem
Successfully loaded TXA file.
Section Length: 155 (x 8192 bytes = 1269760 bytes total?)
Number of Files: 24
Data begins at offset 0x0380
----------------------------------------------------------------
File Entry 0: DummyWrestler.tga
Header Length: 32 bytes
Image Size: 126x176px
Unknown 1: 0x00
FM Patches exist in many different formats.
<Sources>
* "DMP_SPECS.txt" by Delek
* vgm2pre "sub.ym2612.cpp"
* MVSTracker source code
* https://github.com/sikthehedgehog/Echo/blob/master/doc/eif.txt
<Definitions>
mul MULtiple
@freem
freem / changelog_20170911-1151.txt
Created September 11, 2017 16:52
Fire Pro World Save Tool (incomplete) Changelog for v1.0.5.0; accurate as of 2017/09/11 11:51 central daylight time usa
preview release 2017/xx/yy (v1.0.5.0)
=====================================
* [Changelog] New changelog entry format.
* [CPU Logic dialog] Fixed bug related to Priority move slot "None".
* [Referee dialog] Finally removed JSON export button in private version.
* [Main form] Removed "Preset Wrestler Groups" option that I was never going to
code anyways.
* [Chunk Browser] Removed Chunk Browser (was only in private version).
* [Achievements dialog] Color-coded cells in "Unlocked" column based on status.
* [Missions dialog] Color-coded cells in status column.
@freem
freem / worldsavetool-future.md
Last active October 9, 2017 16:16
fire pro world save tool future plans?

fire pro world save tool future plans?

last updated 2017/10/09 11:16 usa central daylight time

At this point, the Fire Pro World Save Tool is generally "usable", but there are still a few things I'd like to deal with...

CPU Logic dialog

Coding the logic editor is annoying since it uses a single DataGridView. Every time the category is changed, I need to write the existing values to the working logic set. If the categories don't add up to 100%, I have to handle that in some fashion.

@freem
freem / twitter-killjunk.js
Last active December 28, 2022 22:22
disabling extraneous twitter features
/* NOTICE: THIS WAS MADE BACK IN 2017, OF COURSE IT'S NOT GOING TO WORK WELL NOW THAT TWITTER'S FUCKED THINGS UP */
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("twitter.com") {
[data-component-context="suggest_recap"],
[data-component-context="suggest_who_to_follow"],
[data-component-context="suggest_activity"],
[data-component-context="suggest_activity_tweet"],
[data-component-context="suggest_recycled_tweet_inline"],
[data-component-context="suggest_recycled_tweet"]{
@freem
freem / mmlv-format.txt
Created May 4, 2018 06:12
Mega Man Maker Level Format (.mmlv file)
Mega Man Maker Level Format (.mmlv file)
========================================
This is a work in progress and still requires investigation.
If a value is missing from a level file, it's assumed to be 0.
MMLV files are similar to INI files. There's only one section, "[Level]".
================================================================================
References:
@freem
freem / AkiModel.cs
Created June 10, 2018 23:47
my current aki model handling code
// WIP code from VPW Studio, extracted from project on 2018/6/10 (June 10, 2018)
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Text;
namespace VPWStudio
{
vpw2 default costume data
* located in "default sram" (VPW2 File ID 0x006B)
* each costume is 49 (0x31) bytes?
therefore each wrestler's full costume set is 49*4 (196, 0xC4) bytes.
00 - Body Type
01 - Skin Color
02 - Ring Attire Item
03 - Ring Attire Color 1
04 - Ring Attire Color 2
WM2K/VPW2 <-> No Mercy Face Conversion
Obviously this will not be the BEST process, but here we go...
--------------------------------------------------------------------------------
[WM2K/VPW2 to No Mercy]
1) resize existing 32x64 face to 32x53
2) resize canvas to 32x64
3) Move face so that the chin bottom is one pixel from the bottom of the image.
4) Perform manual corrections
AKI polygon format
------------------
by S.K. Styles and jordyad (doc by freem)
general file format:
* header
* point/vertex data
* face data
this format is mad simple