Skip to content

Instantly share code, notes, and snippets.

@Metalcape
Metalcape / 0-twl-crypto.md
Last active September 27, 2025 02:16
DSi-enhanced cryptography & signatures

DSi-enhanced games make use of an extended header together with other data structures which implement additional integrity and obfuscation measures over those already present in NDS games. These measures make it currently impossible to produce a ROM image that will run on unmodded retail hardware, however due to the existence of leaked debug keys, it is possible to resign retail ROMs to make them bootable on dev hardware such as the IS-TWL-DEBUGGER.

Header

A very good description of the TWL header format can be found on GBATEK. It is expanded from the 512 bytes of the DS to 4KiB, and it contains many additional entries, but I will be mainly referring to the following:

  • The flags field (0x1BF)
  • Digest sector entries (0x1E0 - 0x208)]
  • Modcrypt entries (0x220 - 0x230)
  • HMAC array (0x300 - 0x3B4)
  • RSA signature (0xF80 - 0x1000)
@Metalcape
Metalcape / veteran.md
Last active March 22, 2025 16:02
Veteran run mod + DENmaps

Veteran Run SotE - Guida alle invasioni

Ultimo aggiornamento mod: 23/3/2025

Cosa fare in caso di aggiornamento

Note

Ho aggiunto gli oggetti unici della mod alle vergini gemelle della Tavola Rotonda. Controllare le informazioni di installazione/aggiornamento per uno step aggiuntivo.

Installazione mod

@Metalcape
Metalcape / fnv-performance.md
Last active August 31, 2024 09:22
Guida rapida performance e stabilità per Fallout: New Vegas

Guida riassunta e tradotta in italiano da Metalcape, basata interamente sulla Perfomance Guide di ModdingLinked

Questa guida assume che si sia già completato almeno la prima parte (VNV Base) della guida Viva New Vegas.

Installare via Mod Manager (la posizione nel load order non è importante):

  • Main file: zlib Updated - NVSE

Sostituisce la libreria di compressione del gioco con una più moderna e circa il 50% più veloce. Riduce lo stuttering.

@Metalcape
Metalcape / velocità.md
Last active February 23, 2024 17:13
Come funziona la velocità in PMD Esploratori del Cielo

Velocità di movimento

In Esploratori del Cielo, i Pokémon non hanno una statistica di velocità come nella serie principale; al suo posto, esiste una statistica semi-nascosta chiamata "velocità di movimento" che ha cinque possibili stadi, da un minimo di -1 (velocità dimezzata) a un massimo di +3 (velocità quadrupla). Lo stadio base è ovviamente +0 (velocità normale). La velocità di movimento determina il numero di azioni che un Pokémon può effettuare all'interno di un turno. Da qui in poi chiamerò i Pokémon semplicemente "mostri", dato che questo sembra essere il termine usato dagli sviluppatori, che è stato anche adottato dalla community di ROM hacking.

Ordine di azione

L'ordine in cui i mostri agiscono è fisso, e non dipende in alcun modo dalle statistiche; anzi, in teoria le azioni in un turno avvengono tutte contemporaneamente anche se vengono mostrate in sequenza, un po' come succede in un round di combattimento di D&D. In effetti, c'è un caso in cui questo succede a schermo, cioè se tutti i mostri