🔧 [HELP] FlyFF v15 - DatabaseServer.exe won't read databaseserver.ini (already tried

07/08/2025 02:01 Mosablack#1
Hey everyone,

I'm setting up a FlyFF v15 private server using the pack:
VS22 FlyFF v15 Custom – Stable Base Enhanced, and I’ve hit a very frustrating wall.

❌ The Problem:
Every time I launch DatabaseServer.exe, either manually or via a .bat, I get the same error:


FAIL read ini - databaseserver.ini

💻 Setup details:
OS: Windows 10 x64

SQL Server Express instance: HOT-POTATOS\SQLEXPRESS ✅ running

ODBC (32-bit) configured:

character01 → CHARACTER_01_DBF

log01 → LOG_01_DBF

SQL credentials:


📁 File Path:
plaintext
Copier
Modifier
J:\Flyff Server\V15 - Stable Base Enhanced\Output\DatabaseServer\Release\
├── DatabaseServer.exe
└── DatabaseServer.ini ✅ (located here, same dir)


🧪 What I've already tried:
Verified DatabaseServer.ini is encoded in ANSI (via HxD hex editor)

Removed BOM manually

Placed .ini in the same folder as the .exe

Launched as admin

Tried .bat and manual start

Tried using a minimal .ini with only required lines

SQL Server is running and accepting connections

ODBC configuration confirmed working

Made sure there are no hidden extensions

⚠️ Notepad++ Encoding Issue:
Every time I open the file with Notepad++, it automatically reverts encoding to UTF-8, even if I save it again in ANSI.
I suspect this behavior may be corrupting the file and preventing DatabaseServer.exe from reading it properly — despite being ANSI-encoded according to HxD.

📣 Any help would be really appreciated 🙏
If someone knows what else could be blocking the .ini parsing, I’m all ears. I can send hex dumps, .ini files, and even full logs if needed.

Thanks a ton in advance!
08/15/2025 11:42 - DK#2
Quote:
Originally Posted by Mosablack View Post
Hey everyone,

I'm setting up a FlyFF v15 private server using the pack:
VS22 FlyFF v15 Custom – Stable Base Enhanced, and I’ve hit a very frustrating wall.

❌ The Problem:
Every time I launch DatabaseServer.exe, either manually or via a .bat, I get the same error:


FAIL read ini - databaseserver.ini

💻 Setup details:
OS: Windows 10 x64

SQL Server Express instance: HOT-POTATOS\SQLEXPRESS ✅ running

ODBC (32-bit) configured:

character01 → CHARACTER_01_DBF

log01 → LOG_01_DBF

SQL credentials:


📁 File Path:
plaintext
Copier
Modifier
J:\Flyff Server\V15 - Stable Base Enhanced\Output\DatabaseServer\Release\
├── DatabaseServer.exe
└── DatabaseServer.ini ✅ (located here, same dir)


🧪 What I've already tried:
Verified DatabaseServer.ini is encoded in ANSI (via HxD hex editor)

Removed BOM manually

Placed .ini in the same folder as the .exe

Launched as admin

Tried .bat and manual start

Tried using a minimal .ini with only required lines

SQL Server is running and accepting connections

ODBC configuration confirmed working

Made sure there are no hidden extensions

⚠️ Notepad++ Encoding Issue:
Every time I open the file with Notepad++, it automatically reverts encoding to UTF-8, even if I save it again in ANSI.
I suspect this behavior may be corrupting the file and preventing DatabaseServer.exe from reading it properly — despite being ANSI-encoded according to HxD.

📣 Any help would be really appreciated 🙏
If someone knows what else could be blocking the .ini parsing, I’m all ears. I can send hex dumps, .ini files, and even full logs if needed.

Thanks a ton in advance!
Check DatabaseServer.cpp -> You fill find:
Code:
static char g_szINI[] = "Script\\databaseserver.ini";
Change it to

Code:
static char g_szINI[] = "databaseserver.ini";
Kind regards,

DK