Add 4 extra rompath (already added in the original FBA, but only 4 rompath can be set with the Win32 interface, the 4 extra rompath have to be set by editing the ini file....really annoying)
app.rc (src\burner)
Find this
IDD_ROMSDIR DIALOGEX 0, 0, 271, 120
STYLE DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Edit ROM paths"
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
DEFPUSHBUTTON "OK", IDOK, 215, 100, 50, 14
GROUPBOX "", IDC_STATIC, 3, 0, 264, 94
RTEXT "Path #1:", IDC_STATIC, 9, 11, 32, 12, SS_CENTERIMAGE
CONTROL "", IDC_STATIC, "Static", SS_WHITERECT, 44, 10, 158, 14, WS_EX_STATICEDGE
CONTROL "", IDC_ROMSDIR_EDIT1, "Edit", ES_LEFT | ES_AUTOHSCROLL | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 45, 13, 154, 10
PUSHBUTTON "Browse...",IDC_ROMSDIR_BR1, 209, 10, 50, 14
RTEXT "Path #2:", IDC_STATIC, 9, 32, 32, 12, SS_CENTERIMAGE
CONTROL "", IDC_STATIC, "Static", SS_WHITERECT, 44, 31, 158, 14, WS_EX_STATICEDGE
CONTROL "", IDC_ROMSDIR_EDIT2, "Edit", ES_LEFT | ES_AUTOHSCROLL | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 45, 34, 154, 10
PUSHBUTTON "Browse...",IDC_ROMSDIR_BR2, 209, 31, 50, 14
RTEXT "Path #3:", IDC_STATIC, 9, 53, 32, 12, SS_CENTERIMAGE
CONTROL "", IDC_STATIC, "Static", SS_WHITERECT, 44, 52, 158, 14, WS_EX_STATICEDGE
CONTROL "", IDC_ROMSDIR_EDIT3, "Edit", ES_LEFT | ES_AUTOHSCROLL | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 45, 55, 154, 10
PUSHBUTTON "Browse...",IDC_ROMSDIR_BR3, 209, 52, 50, 14
RTEXT "Path #4:", IDC_STATIC, 9, 74, 32, 12, SS_CENTERIMAGE
CONTROL "", IDC_STATIC, "Static", SS_WHITERECT, 44, 73, 158, 14, WS_EX_STATICEDGE
CONTROL "", IDC_ROMSDIR_EDIT4, "Edit", ES_LEFT | ES_AUTOHSCROLL | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 45, 76, 154, 10
PUSHBUTTON "Browse...",IDC_ROMSDIR_BR4, 209, 73, 50, 14
PUSHBUTTON "Cancel", IDCANCEL, 160, 100, 50, 14
END
with this :
IDD_ROMSDIR DIALOGEX 0, 0, 271, 220
STYLE DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Configuration des répertoires"
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
DEFPUSHBUTTON "OK",IDOK,215,200,50,14
GROUPBOX "",IDC_STATIC,3,0,264,188
RTEXT "#1:",IDC_STATIC,9,11,32,12,SS_CENTERIMAGE
CONTROL "",IDC_STATIC,"Static",SS_WHITERECT,44,10,158,14,
WS_EX_STATICEDGE
EDITTEXT IDC_ROMSDIR_EDIT1,45,13,154,10,ES_AUTOHSCROLL | NOT
WS_BORDER
PUSHBUTTON "Browse...",IDC_ROMSDIR_BR1,209,10,50,14
RTEXT "#2:",IDC_STATIC,9,32,32,12,SS_CENTERIMAGE
CONTROL "",IDC_STATIC,"Static",SS_WHITERECT,44,31,158,14,
WS_EX_STATICEDGE
EDITTEXT IDC_ROMSDIR_EDIT2,45,34,154,10,ES_AUTOHSCROLL | NOT
WS_BORDER
PUSHBUTTON "Browse...",IDC_ROMSDIR_BR2,209,31,50,14
RTEXT "#3:",IDC_STATIC,9,53,32,12,SS_CENTERIMAGE
CONTROL "",IDC_STATIC,"Static",SS_WHITERECT,44,52,158,14,
WS_EX_STATICEDGE
EDITTEXT IDC_ROMSDIR_EDIT3,45,55,154,10,ES_AUTOHSCROLL | NOT
WS_BORDER
PUSHBUTTON "Browse...",IDC_ROMSDIR_BR3,209,52,50,14
RTEXT "#4:",IDC_STATIC,9,74,32,12,SS_CENTERIMAGE
CONTROL "",IDC_STATIC,"Static",SS_WHITERECT,44,73,158,14,
WS_EX_STATICEDGE
EDITTEXT IDC_ROMSDIR_EDIT4,45,76,154,10,ES_AUTOHSCROLL | NOT
WS_BORDER
PUSHBUTTON "Browse...",IDC_ROMSDIR_BR4,209,73,50,14
RTEXT "#5:",IDC_STATIC,9,95,32,12,SS_CENTERIMAGE
CONTROL "",IDC_STATIC,"Static",SS_WHITERECT,44,94,158,14,
WS_EX_STATICEDGE
EDITTEXT IDC_ROMSDIR_EDIT5,45,97,154,10,ES_AUTOHSCROLL | NOT
WS_BORDER
PUSHBUTTON "Browse...",IDC_ROMSDIR_BR5,209,94,50,14
RTEXT "#6:",IDC_STATIC,9,116,32,12,SS_CENTERIMAGE
CONTROL "",IDC_STATIC,"Static",SS_WHITERECT,44,115,158,14,
WS_EX_STATICEDGE
EDITTEXT IDC_ROMSDIR_EDIT6,45,118,154,10,ES_AUTOHSCROLL | NOT
WS_BORDER
PUSHBUTTON "Browse...",IDC_ROMSDIR_BR6,209,115,50,14
RTEXT "#7:",IDC_STATIC,9,137,32,12,SS_CENTERIMAGE
CONTROL "",IDC_STATIC,"Static",SS_WHITERECT,44,136,158,14,
WS_EX_STATICEDGE
EDITTEXT IDC_ROMSDIR_EDIT7,45,139,154,10,ES_AUTOHSCROLL | NOT
WS_BORDER
PUSHBUTTON "Browse...",IDC_ROMSDIR_BR7,209,136,50,14
RTEXT "#8:",IDC_STATIC,9,158,32,12,SS_CENTERIMAGE
CONTROL "",IDC_STATIC,"Static",SS_WHITERECT,44,157,158,14,
WS_EX_STATICEDGE
EDITTEXT IDC_ROMSDIR_EDIT8,45,160,154,10,ES_AUTOHSCROLL | NOT
WS_BORDER
PUSHBUTTON "Browse...",IDC_ROMSDIR_BR8,209,157,50,14
PUSHBUTTON "Cancel",IDCANCEL,160,200,50,14
END
AND (the extra rompath are added but not activated, so we'll activate them now)
roms.cpp (src\burner)
Replace this :
case WM_COMMAND:
if (LOWORD(wParam) == IDOK) {
for (int i = 0; i < 4; i++) {
if (GetDlgItemText(hDlg, IDC_ROMSDIR_EDIT1 + i, buffer, sizeof(buffer)) && lstrcmp(szAppRomPaths[i], buffer)) {
chOk = true;
lstrcpy(szAppRomPaths[i], buffer);
}
}
with this :
case WM_COMMAND:
if (LOWORD(wParam) == IDOK) {
for (int i = 0; i < 8; i++) {
if (GetDlgItemText(hDlg, IDC_ROMSDIR_EDIT1 + i, buffer, sizeof(buffer)) && lstrcmp(szAppRomPaths[i], buffer)) {
chOk = true;
lstrcpy(szAppRomPaths[i], buffer);
}
}