Compiling: beatmania APPEND 5thMIX -Time to get down-

Anything other than PlayStation content may be posted here
Post Reply
shiroi
What is PSXDEV?
What is PSXDEV?
Posts: 2
Joined: April 26th, 2019, 8:29 pm

Compiling: beatmania APPEND 5thMIX -Time to get down-

Post by shiroi » April 28th, 2019, 8:59 am

Has anyone been able to compile "beatmania APPEND 5thMIX -Time to get down-"
Currently I'm able to compile the main executable and objects.
But in the APPEND MAKEFILE i'm missing a dependency "safechk.obj"
Does anyone have or know any information about this object file?
It sounds as if it's for CD protection.

User avatar
Shadow
Admin / PSXDEV
Admin / PSXDEV
Posts: 2295
Joined: December 31st, 2012, 5:37 pm
PlayStation Model: H2000/5502

Re: Compiling: beatmania APPEND 5thMIX -Time to get down-

Post by Shadow » May 14th, 2019, 6:09 am

Probably just comment it out and not include it. You won't be able to find that object file anywhere unless it is re-generated by the linker during compilation, but you'll have to look at the source to find if they actually do that.

Another idea is maybe, just maybe, you might be able to extract the object code from the retail release of the game and re-create it that way. To do that, it's best to attempt 'spirit_t0asters' work: viewtopic.php?f=62&t=1582
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.

PinAlan
What is PSXDEV?
What is PSXDEV?
Posts: 4
Joined: May 28th, 2019, 7:40 am
Location: Tampa, Florida

Re: Compiling: beatmania APPEND 5thMIX -Time to get down-

Post by PinAlan » May 28th, 2019, 7:43 am

"Another idea is maybe, just maybe, you might be able to extract the object code from the retail release of the game and re-create it that way."

Hmm, that might work as well.

By the way, new guy here as well. Whenever I’m taking a break from this particular interest, I’m usually found at home, watching my Pomeranian relax in his cooling dog bed while watching TV with the wife and kids. Such a simple, yet, happy life. Have a nice day!

Shiro
What is PSXDEV?
What is PSXDEV?
Posts: 3
Joined: May 31st, 2019, 10:42 pm

Re: Compiling: beatmania APPEND 5thMIX -Time to get down-

Post by Shiro » May 31st, 2019, 11:00 pm

I'm back, thanks for replying. I am locked out of my previous account :/
After deleting the comments (comments within data structures are causing parsing errors. And having spaces after semicolons will cause parsing errors.)

The pre-processor gives the error "Symbol multiply defined"
Does anyone know what this error means in regards to "ccpsx.exe"

Code: Select all

ccpsx @C:/WORK.5TH/options C:/WORK.5TH/Main/bm.c
C:\WORK.5TH\LIB\LIBOBJ.LIB : Error : Symbol 'OBJ_CopySet' multiply defined
C:\WORK.5TH\LIB\LIBOBJ.LIB : Error : Symbol 'OBJ_Clear' multiply defined
C:\WORK.5TH\LIB\LIBOBJ.LIB : Error : Symbol 'bzero_fast' multiply defined
C:\WORK.5TH\LIB\LIBOBJ.LIB : Error : Symbol 'GetWorkBase' multiply defined
C:\WORK.5TH\LIB\LIBOBJ.LIB : Error : Symbol 'SetWorkBase' multiply defined
C:\WORK.5TH\LIB\LIBOBJ.LIB : Error : Symbol 'copy_set' multiply defined
C:\WORK.5TH\LIB\LIBOBJ.LIB : Error : Symbol 'OBJ_Create' multiply defined
C:\WORK.5TH\LIB\LIBOBJ.LIB : Error : Symbol 'OBJ_CopySetOK' multiply defined
C:\WORK.5TH\LIB\LIBOBJ.LIB : Error : Symbol 'odma' multiply defined
C:\WORK.5TH\LIB\LIBOBJ.LIB : Error : Symbol 'OBJ_WorkCheck' multiply defined
C:\WORK.5TH\LIB\LIBOBJ.LIB : Error : Symbol 'OPD_Load' multiply defined
C:\WORK.5TH\LIB\LIBOBJ.LIB : Error : Symbol 'OPD_Free' multiply defined
Errors during pass 1 - pass 2 abortedmake.exe: *** [bm.obj] Error 1

User avatar
TriMesh
PSX Aptitude
PSX Aptitude
Posts: 193
Joined: December 20th, 2013, 2:25 pm
PlayStation Model: DTL-H1202
Location: Hong Kong

Re: Compiling: beatmania APPEND 5thMIX -Time to get down-

Post by TriMesh » June 1st, 2019, 12:23 am

That looks more like a linker error than anything from the preprocessor.

Shiro
What is PSXDEV?
What is PSXDEV?
Posts: 3
Joined: May 31st, 2019, 10:42 pm

Re: Compiling: beatmania APPEND 5thMIX -Time to get down-

Post by Shiro » June 1st, 2019, 7:46 pm

Sorry, I had multiple definitions from linking different libraries.
I have a similar error caused? by "MTS.LIB"

Code: Select all

ccpsx @C:/WORK.5TH/options C:/WORK.5TH/Main/bm.c
C:\WORK.5TH\LIB\MTS.LIB : Error : Symbol 'printf' multiply defined
Errors during pass 1 - pass 2 abortedmake.exe: *** [bm.obj] Error 1
Press any key to continue . . .
"options" file (no extension)

Code: Select all

C:/WORK.5TH/-c -O2 -Wall -kanji -Wno-format -comments-c++ -Wa,0 -G 0 
-DBM4TH_MASTER -DDEBUG -DDEBUG_MODE -DPSX -DNTSC 
-I C:/WORK.5TH/include -I C:/WORK.5TH/libfs -I C:/WORK.5TH/libmc -I C:/WORK.5TH/libsio -I C:/WORK.5TH/libbm -I C:/WORK.5TH/libsrn -I C:/WORK.5TH/dbgstr
-l C:/WORK.5TH/LIB/MTS.LIB
Without "MTS.LIB" ccpsx throws,

Code: Select all

ccpsx @C:/WORK.5TH/options C:/WORK.5TH/Main/bm.c
C:\DOCUME~1\ADMINI~1\LOCALS~1\TEMP\PQ4 : Error : Symbol 'init_sio' not defined
C:\DOCUME~1\ADMINI~1\LOCALS~1\TEMP\PQ4 : Error : Symbol 'sys' not defined
C:\DOCUME~1\ADMINI~1\LOCALS~1\TEMP\PQ4 : Error : Symbol 'sys' not defined
C:\DOCUME~1\ADMINI~1\LOCALS~1\TEMP\PQ4 : Error : Symbol 'bzero_fast' not defined

C:\DOCUME~1\ADMINI~1\LOCALS~1\TEMP\PQ4 : Error : Symbol 'sys0' not defined
C:\DOCUME~1\ADMINI~1\LOCALS~1\TEMP\PQ4 : Error : Symbol 'sys0' not defined
C:\DOCUME~1\ADMINI~1\LOCALS~1\TEMP\PQ4 : Error : Symbol 'bzero_fast' not defined

C:\DOCUME~1\ADMINI~1\LOCALS~1\TEMP\PQ4 : Error : Symbol 'oldsys2newsys' not defi
ned
C:\DOCUME~1\ADMINI~1\LOCALS~1\TEMP\PQ4 : Error : Symbol 'mts_init_vsync' not def
ined
C:\DOCUME~1\ADMINI~1\LOCALS~1\TEMP\PQ4 : Error : Symbol 'MC_StartDaemon' not def
ined
C:\DOCUME~1\ADMINI~1\LOCALS~1\TEMP\PQ4 : Error : Symbol 'mts_set_vsync_task' not
 defined
C:\DOCUME~1\ADMINI~1\LOCALS~1\TEMP\PQ4 : Error : Symbol 'mts_init_controller' no
t defined
C:\DOCUME~1\ADMINI~1\LOCALS~1\TEMP\PQ4 : Error : Symbol 'FS_StartDaemon' not def
ined
C:\DOCUME~1\ADMINI~1\LOCALS~1\TEMP\PQ4 : Error : Symbol 'SdMain' not defined
C:\DOCUME~1\ADMINI~1\LOCALS~1\TEMP\PQ4 : Error : Symbol 'cold_reset_init' not de
fined
C:\DOCUME~1\ADMINI~1\LOCALS~1\TEMP\PQ4 : Error : Symbol 'initRnd' not defined
C:\DOCUME~1\ADMINI~1\LOCALS~1\TEMP\PQ4 : Error : Symbol 'IR_Err_MakeCheckData' n
ot defined
C:\DOCUME~1\ADMINI~1\LOCALS~1\TEMP\PQ4 : Error : Symbol 'main_loop_tbl' not defi
ned
C:\DOCUME~1\ADMINI~1\LOCALS~1\TEMP\PQ4 : Error : Symbol 'main_loop_tbl' not defi
ned
C:\DOCUME~1\ADMINI~1\LOCALS~1\TEMP\PQ4 : Error : Symbol 'psys' not defined
C:\DOCUME~1\ADMINI~1\LOCALS~1\TEMP\PQ4 : Error : Symbol 'psys' not defined
C:\DOCUME~1\ADMINI~1\LOCALS~1\TEMP\PQ4 : Error : Symbol 'buf_clear' not defined
C:\DOCUME~1\ADMINI~1\LOCALS~1\TEMP\PQ4 : Error : Symbol 'BM_UpdatePad' not defin
ed
C:\DOCUME~1\ADMINI~1\LOCALS~1\TEMP\PQ4 : Error : Symbol 'odma' not defined
C:\DOCUME~1\ADMINI~1\LOCALS~1\TEMP\PQ4 : Error : Symbol 'vram_write' not defined

C:\DOCUME~1\ADMINI~1\LOCALS~1\TEMP\PQ4 : Error : Symbol 'vsync' not defined
C:\DOCUME~1\ADMINI~1\LOCALS~1\TEMP\PQ4 : Error : Symbol 'mts_boot_task' not defi
ned
make.exe: *** [bm.obj] Error 1
Press any key to continue . . .
Is the "Symbol multiply defined" error only caused by multiple definitions?

User avatar
Shadow
Admin / PSXDEV
Admin / PSXDEV
Posts: 2295
Joined: December 31st, 2012, 5:37 pm
PlayStation Model: H2000/5502

Re: Compiling: beatmania APPEND 5thMIX -Time to get down-

Post by Shadow » June 2nd, 2019, 3:33 am

That's strange. They've made their own printf function it seems and it's a multiple now of Psy-Q's. You could try disabling linking with the default Psy-Q libs and not include the one that has printf, or if that library source is compilable and linkable, rename the function.
Development Console: SCPH-5502 with 8MB RAM, MM3 Modchip, PAL 60 Colour Modification (for NTSC), PSIO Switch Board, DB-9 breakout headers for both RGB and Serial output and an Xplorer with CAETLA 0.34.

PlayStation Development PC: Windows 98 SE, Pentium 3 at 400MHz, 128MB SDRAM, DTL-H2000, DTL-H2010, DTL-H201A, DTL-S2020 (with 4GB SCSI-2 HDD), 21" Sony G420, CD-R burner, 3.25" and 5.25" Floppy Diskette Drives, ZIP 100 Diskette Drive and an IBM Model M keyboard.

Shiro
What is PSXDEV?
What is PSXDEV?
Posts: 3
Joined: May 31st, 2019, 10:42 pm

Re: Compiling: beatmania APPEND 5thMIX -Time to get down-

Post by Shiro » June 6th, 2019, 2:06 pm

I will update this post with more information, and updated Makefiles.
WORK.5TH Root Directory
WORK.5TH\MAKEFILE.A Main Makefile
WORK.5TH\APPEND Partially Compilable
WORK.5TH\AWK
WORK.5TH\CDROM.IMG

WORK.5TH\DBGSTR Compilable
Truncated headers are in here.

WORK.5TH\DOC
WORK.5TH\INCLUDE Header directory
WORK.5TH\LIB Dynamic libraries directory
WORK.5TH\LIBBM Compilable
WORK.5TH\LIBFS Compilable
WORK.5TH\LIBMC Compilable

WORK.5TH\LIBSRN Compilable
"SRNMAKE.C" Missing "color_w.h" can be commented out and compile.

WORK.5TH\MAIN Compilable
WORK.5TH\TAN Partially Compilable

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests