  Background: The established GADGET detection system, designed for measuring
weak, low-energy $\beta$-delayed proton decays, features a gaseous Proton
Detector with MICROMEGAS readout for calorimetric particle detection,
surrounded by a Segmented Germanium Array for high-resolution prompt
$\gamma$-ray detection. Purpose: To upgrade GADGET's Proton Detector to operate
as a compact Time Projection Chamber (TPC) for the detection, 3D imaging and
identification of low-energy $\beta$-delayed single- and multi-particle
emissions mainly of interest to astrophysical studies. Method: A new high
granularity MM board with 1024 pads has been designed, fabricated, installed
and tested. A high-density data acquisition system based on Generic Electronics
for TPCs has been installed and optimized to record and process the gas
avalanche signals collected on the readout pads. The TPC's performance has been
tested using a $^{220}$Rn $\alpha$-particle source and cosmic-ray muons. In
addition, decay events in the TPC have been simulated by adapting the ATTPCROOT
data analysis framework. Further, a novel application of 2D convolutional
neural networks for GADGET II event classification is introduced. Results: The
GADGET II TPC is capable of detecting and identifying $\alpha$-particles, as
well as measuring their track direction, range, and energy. It has also been
demonstrated that the GADGET II TPC is capable of tracking cosmic-ray muons. In
addition to being one of the first generation of micro pattern gaseous
detectors to utilize a resistive anode applied to low-energy nuclear physics,
the GADGET II TPC will also be the first TPC surrounded by a high-efficiency
array of high-purity germanium $\gamma$-ray detectors. \textbf{Conclusions:}
The TPC of GADGET II has been designed, fabricated, tested, and is ready for
operation at the FRIB for radioactive beam-line experiments.
