ROM Hack CTRPF plugin: How to read file line by line from plugin directory?

SirEnder125

Well-Known Member
Newcomer
Joined
Dec 8, 2020
Messages
86
Reaction score
12
Trophies
0
Age
19
XP
240
Country
United States
Hello. I am currently making a plugin for ACNL and I want to know
if there is a function like std::getline(std::ifstream, std::string)
that I can use to read a file in the directory "sdmc:/luma/plugins/
0004000000086300" since std::ifstream does not allow file paths,
justs file names... Correct me if I am wrong.
 
Last edited by SirEnder125,

Site & Scene News

Popular threads in this forum