Zhang Wei thought that by relying on the knowledge of later generations, he could create a rifled mini gun and become invincible in the late Ming Dynasty. But what limited him was never the firearms, but the Ming system.
He never understood that many good generals in the late Ming Dynasty were unable to pacify the rogue Qinglu. It was not until he became a general that he finally understood.