Welcome!

Final Burn Neo => FBN Development => Topic started by: KingHanco on December 11, 2004, 06:42:55 PM

Title: Crouching Tiger, Hidden Dragon 2003 - CTHD2003 - Source code and Compilation Help!!!
Post by: KingHanco on December 11, 2004, 06:42:55 PM
Ok.

I put in everything from the hard side part - http://neosource.1emu.net/pages/games/fba/cthd2003/h_ct2k3.htm

Do I need to added the easy also?

I got an error and it didn't added it in the fba_029498 after compile FBA.

Maybe since it is bootleg, I need the rest of it to added in abled to work fully. :)

Let me know why it didn't pick up right.
Title: Whoops.
Post by: KingHanco on December 11, 2004, 06:58:21 PM
I forgot to added the zip of the 3 files for you to look at.

I think that I need to added the King of Fighters 2001 in those.
Title: Crouching Tiger, Hidden Dragon 2003 - CTHD2003 - Source code and Compilation Help!!!
Post by: iq_132 on December 12, 2004, 02:12:28 AM
lol.  You see the */ at the end of your d_neogeo.cpp ?
Make sure you put any drivers you want to add AFTER that set of characters.

Just so you know, anything between /* example text */ won't be compiled.

Also, the error you get is in the neo_run.cpp

This:
Code: [Select]
int NeoExit()
ncthd2003 =-1;
{


Should be this:

Code: [Select]
int NeoExit()
{
ncthd2003 =-1;
Title: Crouching Tiger, Hidden Dragon 2003 - CTHD2003 - Source code and Compilation Help!!!
Post by: Accosta_m on December 12, 2004, 02:29:26 AM
i have this problem

Quote from: mingw

src/burn/neogeo/d_neogeo.cpp: In function `void cthd2003_c()':
src/burn/neogeo/d_neogeo.cpp:7517: warning: suggest parentheses around
   assignment used as truth value
src/burn/neogeo/d_neogeo.cpp: In function `int cthd2003Init()':
src/burn/neogeo/d_neogeo.cpp:7556: `ncthd2003' undeclared (first use this
   function)
src/burn/neogeo/d_neogeo.cpp:7556: (Each undeclared identifier is reported only

   once for each function it appears in.)
mingw32-make: *** [d_neogeo.o] Error 1

to te moment to ADD this game on the compilation
Title: Re:
Post by: KingHanco on December 12, 2004, 05:50:59 AM
Quote from: iq_132
lol.  You see the */ at the end of your d_neogeo.cpp ?
Make sure you put any drivers you want to add AFTER that set of characters.

Just so you know, anything between /* example text */ won't be compiled.

Also, the error you get is in the neo_run.cpp

This:
Code: [Select]
int NeoExit()
ncthd2003 =-1;
{


Should be this:

Code: [Select]
int NeoExit()
{
ncthd2003 =-1;


Ok.

I will try again later on for testing my brain. :)

I will test out on the Pochi and Nyaa first.

Lets get this stright.

Removed the */ at the end will do the trick on newer games add on right without the */ on newer ones.
Title: Ok.
Post by: KingHanco on December 12, 2004, 11:34:38 PM
I change the setting now.

int NeoExit()
{
   ncthd2003 =-1;

But I still got an errors. :(
Title: Crouching Tiger, Hidden Dragon 2003 - CTHD2003 - Source code and Compilation Help!!!
Post by: iq_132 on December 12, 2004, 11:43:39 PM
Hey... ya know what's a great idea?? Telling us what your errors are.
Title: Re:
Post by: KingHanco on December 14, 2004, 12:55:02 AM
Quote from: iq_132
Hey... ya know what's a great idea?? Telling us what your errors are.


Same errors as Accosta_m got.

Is the scorce coding is bad???

Seem like it.
Title: Crouching Tiger, Hidden Dragon 2003 - CTHD2003 - Source code and Compilation Help!!!
Post by: iq_132 on December 14, 2004, 01:47:05 AM
ok, the problem with the source should be fixed.  
Please try to re-add it.
http://neosource.1emu.net/pages/games/fba/cthd2003/h_ct2k3.htm
Title: No newline error
Post by: James33 on December 14, 2004, 02:31:23 AM
Thats a typo error on his part by looking at it .
Title: Crouching Tiger, Hidden Dragon 2003 - CTHD2003 - Source code and Compilation Help!!!
Post by: Accosta_m on December 14, 2004, 02:56:33 AM
Quote from: iq_132
ok, the problem with the source should be fixed.  
Please try to re-add it.
http://neosource.1emu.net/pages/games/fba/cthd2003/h_ct2k3.htm


 :D thnx IQ
Title: Re:
Post by: KingHanco on December 15, 2004, 02:33:21 AM

Quote from: iq_132
ok, the problem with the source should be fixed.  
Please try to re-add it.
http://neosource.1emu.net/pages/games/fba/cthd2003/h_ct2k3.htm

Ok.

When you said...

Search for:
Code: [Select]
if (pNeoInitCallback) {
pNeoInitCallback();
}
Move it after:

BurnLoadRom(NeoZ80ROM, pInfo->nSoundOffset, 1);


You meain removed the...

if (pNeoInitCallback) {
pNeoInitCallback();
}

and replace it with...

BurnLoadRom(NeoZ80ROM, pInfo->nSoundOffset, 1);

Or

Put it this way???

BurnLoadRom(NeoZ80ROM, pInfo->nSoundOffset, 1);

if (pNeoInitCallback) {
pNeoInitCallback();
}


Very confused here. :confused:
Title: Crouching Tiger, Hidden Dragon 2003 - CTHD2003 - Source code and Compilation Help!!!
Post by: iq_132 on December 15, 2004, 03:19:40 AM
Adding drivers I make generally takes a bit of an understanding of the english language.

When I say MOVE this:
Code: [Select]
if (pNeoInitCallback) {
pNeoInitCallback();
}

AFTER THIS:
Code: [Select]
BurnLoadRom(NeoZ80ROM, pInfo->nSoundOffset, 1);
Title: Crouching Tiger, Hidden Dragon 2003 - CTHD2003 - Source code and Compilation Help!!!
Post by: Accosta_m on December 15, 2004, 03:57:24 AM
i have this code

Code: [Select]

BurnLoadRom(NeoZ80ROM, pInfo->nSoundOffset, 1);

 if (pNeoInitCallback) {
pNeoInitCallback();
}


i have the correct code??

Note: the game run propety
Title: Crouching Tiger, Hidden Dragon 2003 - CTHD2003 - Source code and Compilation Help!!!
Post by: iq_132 on December 15, 2004, 04:27:47 AM
Perfect ;)
Title: Re
Post by: KingHanco on December 15, 2004, 05:28:00 AM
Quote from: Accosta_m
i have this code

Code: [Select]

BurnLoadRom(NeoZ80ROM, pInfo->nSoundOffset, 1);

 if (pNeoInitCallback) {
pNeoInitCallback();
}


i have the correct code??

Note: the game run propety


Oh. Ok.
I was thinking the other way around.
He shouldv'e said place the BurnLoadRom(NeoZ80ROM, pInfo->nSoundOffset, 1); at the top where the other one is.