Skip to content

Instantly share code, notes, and snippets.

View arves100's full-sized avatar

Arves100 arves100

  • Italy
  • 22:45 (UTC +02:00)
View GitHub Profile
@arves100
arves100 / scaleform.py
Created June 18, 2024 09:59
Scaleform GFx 3.x setup verification code generator
# Scaleform GFx SDK v3.1.80 for Windows Watermarked
# Verification code server key generator
# 17-June-2024 by Arves100
#
# How to use:
# 1. Generate a fake openssl certificate
# 2. Trust them in your system
# 3. Start the server
# 4. Copy the verification code into the setup
@arves100
arves100 / Main.java
Created November 11, 2023 00:33
hawana pnp key bruteforce
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Locale;
/*
comments:
you want the string that starts with X
@arves100
arves100 / event.cpp
Created September 21, 2023 11:38
C++ crappy event manager
#include <memory>
#include <array>
#include <any>
#include <functional>
#include <string>
#include <chrono>
#include <iostream>
struct Event : public std::enable_shared_from_this<Event>
{
@arves100
arves100 / queryformat.cpp
Created September 21, 2023 11:37
C++ query formatter
#include <string>
#include <iostream>
#include <variant>
#include <unordered_map>
#include <fmt/format.h>
#include <fmt/std.h>
/*!
* A generic query buffer
*/
@arves100
arves100 / dmo_reg.reg
Created April 1, 2023 18:41
MoveGames reg/launch without weblogin
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\DIGITALIC]
[HKEY_CURRENT_USER\SOFTWARE\DIGITALIC\DigimonMasters]
"Path"="D:\\MoveGames\\Digimon Masters Online(MoveGames)"
@arves100
arves100 / all_tim_unpack.py
Created March 16, 2023 17:17
Simple unpacker of Digimon World 1 ALLTIM.TIM files
# ALLTIM.TIM Unpacker
import os
FN = "ALLTIM.TIM"
STEP = 0x4800
# sep: 0x4800
@arves100
arves100 / DigimonRPG_SPR.MD
Created November 29, 2022 01:10
Digimon RPG Sprite Format

Decompressed file format

This file format is the decompressed file format.

DigimonRPG originally had 5 magic sprites, the magics are removed in the latest version of the sprites decompressed from the client (presumably because now HF/PF protects the sprites)

NOTE: The decompressed file format is the same as any decompressed/unprotected sprite (eg: DCSPRITE10) NOTE2: Old versions of the sprite might not have the shadow or the outline part (eg: DCSPRITE0.5 or very old DCSPRITE10 sprites) Just skip those components and threat the sprite as having 0 with both the sizes.

@arves100
arves100 / pokenetdoc.txt
Created May 24, 2022 23:06
PokeNet Valiant Venoat Network protocol documentation (rev. 1868 server, rev. 2110 client)
PokeNet Valiant Venoat Network protocol documentation (rev. 1868 server, rev. 2110 client)
====================================================
Command format: | Command ID [1 byte] | Data.... |
Data might be formatted into multiple values by splitting them by ","
Password hashing:
----------------------------------------------------------------------------
Generate a salt by mixing a lowercase rapresentation of
TEXCACHE
Fur Fighters texture database file format (texdb.tdb)
used for loading map textures with type = 0xE
Seek at 0x400, THIS IS A FIXED POSITION
Read 4 bytes, this contains the size of the texture info chunk
TextureInfo in this (size 0x28)
Seek at 0x28*readed texture chunk
Based from the length it get a specific texture chunk (do this 256 times)
@arves100
arves100 / GT2 doc.txt
Last active May 24, 2022 23:05
GameSpy Reliable UDP 2 (GameSpy Transport 2) Packet Format
Documentation: GameSpy Transport 2 (Reliable UDP) packet format
Date: 25/01/2022 - 26/01/2022
Authored by: Arves100
The protocol does not have any checksum or send time, it can be easily tampered.
UDP unrealiable packets are sent directly (no magic+header+...)
Protocol magic: 0xFE 0xFE