Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DATLoader #1

Open
Evilocity opened this issue Nov 5, 2016 · 1 comment
Open

DATLoader #1

Evilocity opened this issue Nov 5, 2016 · 1 comment

Comments

@Evilocity
Copy link

Evilocity commented Nov 5, 2016

On download TDWAnalysis.cpp Line 16 reads:
char ffxidir[512];
rather than your E: path I read that needed changing.

Anyhow, changed this to:
char ffxidir[512]="C:\Program Files (x86)\PlayOnline\SquareEnix\FINAL FANTASY XI";
(note - excluded '\' after 'FINAL FANTASY XI' in instructions as this led to a compile error)

Also removed 'US' from Line 29 to match my registry (EU English install may be the reason this is different):
"SOFTWARE\\PlayOnline\\InstallFolder"
(the 0001 value in the registry here is identical to what was defined above on Line 16)

Compiled with Microsoft Visual Studio Community 2015 with no errors.
On running the executable, a msgbox with the Line 38 message appears:
"1.テサモミユメオスFF11ーイラーオトラ「イ盂榘・ヌ・レFINAL FANTASY XIホトシシミマツヨエミミエヒウフミ・"
Which is stating that ffxidir's length == 0, so I'm at a loss. Any ideas?

also, I changed Line 16 back to just
char ffxidir[512];
but also received the msgbox w/JP text.

@galkareeve
Copy link
Owner

actually im referring to project mapViewer, in the file FFXILandscapeMesh.cpp.

but it does apply to project datLoader, however u need to mask the LocateFFXIDataFolder(), in file MainDatLoader.cpp

I hardcode the ffixdir[] so that it does not use registry to find the ffxi install folder.

back to yr problem, if u insist on using the registry, i believe
"SOFTWARE\PlayOnline\InstallFolder" -- is JP client
"SOFTWARE\PlayOnlineUS\InstallFolder" -- is NA client
"SOFTWARE\PlayOnlineEU\InstallFolder" -- is EU client

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants