Final Burn Neo > FBN Discussion

A little advice about FBA Sample Support

(1/3) > >>

Arcadez:
FBL currantly doesn't support samples as it was ported to the xbox at a time when FBA didn't have samples or supported any games
that used em Anyway ive been trying to add sample support myself for the Donkey Kong, Super Mario and Zaxxon games as currantly they have no or just partial sound :(

i have an idea how to set up the samples and add paths for them in the xbox side of the Src so i added samples.cpp/h to the build
and from looking at the FBA side of the FBL Src the samples code seems to be all present and correct certainly it matches whats in
FBA currantly problem is im getting a single error during an overall compile... :S

in samples.cpp this decleration fails on an overall compile with a simple error warning and after a good search around
i cant find anything that would cause this as szAppSamplesPath is declared externally the same as in FBA

#define SAMPLE_DIRECTORY szAppSamplesPath

which is used here

sprintf(szTempPath, _TtoA(SAMPLE_DIRECTORY));


--- Quote ---samples.obj : error LNK2001: unresolved external symbol _szAppSamplesPath
Release/Default.exe : fatal error LNK1120: 1 unresolved externals

--- End quote ---

Ive found Sample code in these Src Files in FBA it's all present and correct in FBL unless ive missed another file that has code for this..???

Burn/Burn.h Samples.h samples.cpp
Burner/win32/cona.cpp support paths.cpp

Hate to bother you with this guys but any ideas whats causing the Build Error..??

Of course it might be easier and less hastle for me to just port the discrete sound core from MAME to FBA and hook it up to the
DK Driver then i wont need the samples

im joking LOL  ;p ;P






Barry Harris:

--- Quote from: gamez fan on June 09, 2015, 09:43:03 AM ---FBL currantly doesn't support samples as it was ported to the xbox at a time when FBA didn't have samples or supported any games
that used em Anyway ive been trying to add sample support myself for the Donkey Kong, Super Mario and Zaxxon games as currantly they have no or just partial sound :(

i have an idea how to set up the samples and add paths for them in the xbox side of the Src so i added samples.cpp/h to the build
and from looking at the FBA side of the FBL Src the samples code seems to be all present and correct certainly it matches whats in
FBA currantly problem is im getting a single error during an overall compile... :S

in samples.cpp this decleration fails on an overall compile with a simple error warning and after a good search around
i cant find anything that would cause this as szAppSamplesPath is declared externally the same as in FBA

#define SAMPLE_DIRECTORY szAppSamplesPath

which is used here

sprintf(szTempPath, _TtoA(SAMPLE_DIRECTORY));

Ive found Sample code in these Src Files in FBA it's all present and correct in FBL unless ive missed another file that has code for this..???

Burn/Burn.h Samples.h samples.cpp
Burner/win32/cona.cpp support paths.cpp

Hate to bother you with this guys but any ideas whats causing the Build Error..??

Of course it might be easier and less hastle for me to just port the discrete sound core from MAME to FBA and hook it up to the
DK Driver then i wont need the samples

im joking LOL  ;p ;P

--- End quote ---

It looks like you haven't actually declared szAppSamplesPath?

We define it in burner/win32/support_paths.cpp as;


--- Code: ---TCHAR szAppSamplesPath[MAX_PATH]    = _T("support/samples/");
--- End code ---

Arcadez:
Thanks barry for your Reply i have this decleration in support_paths.cpp although it looks slightly different in my older Src

TCHAR szAppSamplesPath[MAX_PATH]   = _T("support\\samples\\");

But Doh silly me i was looking over my Src files i never checked if they were actually enabled in my Virtual Studio FBL Solution
im missing cona.cpp and Support_paths.cpp from my Solution if i add em i get tons of errors i think this is because FBL sets things
like the paths in seperate xbox Src files i'll have to add the above decleration there and then try and hook up the samples
code to that part of the Src i have an idea how to do it getting it to work is another matter ;)

Thanks again for your advice cheers!!!

Arcadez:
Ok finished adding Sample support to FBL thanks again for the advice barry i would have fell at the 1st hurdle without
you pointing out that decleration to me everything ive tested so far is good for some reason though the Toaplan Samples
you added a while back dont work ive got one last question if you dont mind..???

Apart from say the relevent Toaplan drivers is the Sample Code for the those games also declared or included elseware in the
FBA Src..??? i did a quick search but found nothing

Also fellas feel free to point out any drivers with Samples i may have missed i have these ones marked currantly.........

d_zaxxon.cpp
d_dkong.cpp
d_mario.cpp
d_invaders.cpp
d_galaga.cpp
d_rallyx.cpp
d_toaplan.cpp (Hacked Samples from ThunderMame)



iq_132:
Donpachi!

Navigation

[0] Message Index

[#] Next page

Go to full version