Author Topic: Crouching Tiger, Hidden Dragon 2003 - CTHD2003 - Source code and Compilation Help!!!  (Read 18878 times)

Offline KingHanco

  • Sr. Member
  • ****
  • Posts: 401
  • Karma: +0/-4
  • "Special " Member
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.

Offline KingHanco

  • Sr. Member
  • ****
  • Posts: 401
  • Karma: +0/-4
  • "Special " Member
Whoops.
« Reply #1 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.

Offline iq_132

  • Administrator
  • *****
  • Posts: 3732
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
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;


Offline Accosta_m

  • Newbies
  • *
  • Posts: 15
  • Karma: +0/-0
  • The Ghost Gundam
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
:D     :cool:     :eek:     ;)     :p

Offline KingHanco

  • Sr. Member
  • ****
  • Posts: 401
  • Karma: +0/-4
  • "Special " Member
Re:
« Reply #4 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.

Offline KingHanco

  • Sr. Member
  • ****
  • Posts: 401
  • Karma: +0/-4
  • "Special " Member
Ok.
« Reply #5 on: December 12, 2004, 11:34:38 PM »
I change the setting now.

int NeoExit()
{
   ncthd2003 =-1;

But I still got an errors. :(

Offline iq_132

  • Administrator
  • *****
  • Posts: 3732
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Hey... ya know what's a great idea?? Telling us what your errors are.


Offline KingHanco

  • Sr. Member
  • ****
  • Posts: 401
  • Karma: +0/-4
  • "Special " Member
Re:
« Reply #7 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.

Offline iq_132

  • Administrator
  • *****
  • Posts: 3732
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
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


Offline James33

  • Expert
  • *****
  • Posts: 532
  • Karma: +3/-0
  • The Mame Man
    • Emulation Zone
No newline error
« Reply #9 on: December 14, 2004, 02:31:23 AM »
Thats a typo error on his part by looking at it .
IQ Forum Member

Offline Accosta_m

  • Newbies
  • *
  • Posts: 15
  • Karma: +0/-0
  • The Ghost Gundam
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
:D     :cool:     :eek:     ;)     :p

Offline KingHanco

  • Sr. Member
  • ****
  • Posts: 401
  • Karma: +0/-4
  • "Special " Member
Re:
« Reply #11 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:
« Last Edit: May 10, 2005, 03:07:47 AM by iq_132 »

Offline iq_132

  • Administrator
  • *****
  • Posts: 3732
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
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);


Offline Accosta_m

  • Newbies
  • *
  • Posts: 15
  • Karma: +0/-0
  • The Ghost Gundam
i have this code

Code: [Select]

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

 if (pNeoInitCallback) {
pNeoInitCallback();
}


i have the correct code??

Note: the game run propety
:D     :cool:     :eek:     ;)     :p

Offline iq_132

  • Administrator
  • *****
  • Posts: 3732
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Perfect ;)