Unless the custom forum somehow keeps its data in csv files, or you have zero programming knowledge, I’d recommend that you modify some sql-based importer.
I think vBulletin or vanilla might be good places to start.
But how to modify the existing script is mostly beyond the level of support you’re likely to get here.