SOURCE CODE WITH THOUSANDS OF FILES

This forum is for discussion pertaining to homebrew and indie software for the Dreamcast, such as homebrew games, emulators/interpreters, and other homebrew software/applications. Porting requests and developmental ideas are not to be made here; you can make those here. If you need any help burning discs for homebrew software, this is the place to ask as well.
Post Reply
dcemuler
Insane DCEmu
Insane DCEmu
Posts: 126
https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
Joined: Fri Dec 07, 2001 3:21 pm
Location: Campinas
Has thanked: 0
Been thanked: 0
Contact:

SOURCE CODE WITH THOUSANDS OF FILES

Post by dcemuler »

I'm trying to port a SPC player to DC , but , the source code has thousands of files , instead of just 1 file

Can somebody help ??
Image
Seeking only strenght
Couldness that could burn a person
Throwing away pride
Stopping time with hatred
Holly Hasney
DCEmu Respected
DCEmu Respected
Posts: 577
Joined: Wed Oct 17, 2001 7:44 pm
Location: Daventry, UK
Has thanked: 0
Been thanked: 0
Contact:

Post by Holly Hasney »

Have you ever seen source code before?

Bah, whatever, I'm out....
miah
Insane DCEmu
Insane DCEmu
Posts: 167
Joined: Sun Jan 20, 2002 1:29 pm
Has thanked: 0
Been thanked: 0
Contact:

Post by miah »

hahahaahahahahahahahahahahaahahahahahahahahahahaahahahahahahahahahahaahahahahahahahahahahaahahahahahahahahahahaahahahahahahahahahahaahahahahahahahahahahaahahahahahahahahahahaahahahahahahahahahahaahahahahahahahahahahaahahahahahahahahahahaahahahahahahahahahahaahahahahahahaha


/me says *duh*


maybe you should try learning to program before you try porting a piece of software.

-miah
discostu55555
DCEmu Respected
DCEmu Respected
Posts: 236
Joined: Wed Oct 17, 2001 7:44 pm
Has thanked: 0
Been thanked: 0

Post by discostu55555 »

there are very few source code ive ever seen with only one file...i mean sure the one piece of dreamcast "software" that i "wrote" was only one file, but that hardly counts ("hello world" example replaced with "Disco Stu likes Disco music")...and you say youre trying to port this, eh...
Sanchez
DCEmu Ex-Admin
DCEmu Ex-Admin
Posts: 1098
Joined: Wed Oct 17, 2001 7:44 pm
Has thanked: 0
Been thanked: 0

Post by Sanchez »

Just to do my good deed for the day....

Look for a Makefile. You'll notice that in said Makefile, the instructions for compiling each of those files and linking them into a single executable.

Each file should represent some section of code, be it controls, logic, etc....

If you've only seen code with one file, it's either

a) simplistic, or

b) way too convoluted (hence my tic-tac-toe game...)

Go pick up a book or tutorial on C and you'll understand this a little better...
atf487
DCEmu's Ranter
DCEmu's Ranter
Posts: 2529
Joined: Sun Feb 17, 2002 2:54 pm
Has thanked: 0
Been thanked: 0

Post by atf487 »

tee hee. IM 12 and i knew the answer to that 8) Yeah..make a make file. Then you'll prolly be able to port something.
discostu55555
DCEmu Respected
DCEmu Respected
Posts: 236
Joined: Wed Oct 17, 2001 7:44 pm
Has thanked: 0
Been thanked: 0

Post by discostu55555 »

i think dcsi was written in one file also...
dcemuler
Insane DCEmu
Insane DCEmu
Posts: 126
Joined: Fri Dec 07, 2001 3:21 pm
Location: Campinas
Has thanked: 0
Been thanked: 0
Contact:

Post by dcemuler »

dammit , i always use 1 file
Image
Seeking only strenght
Couldness that could burn a person
Throwing away pride
Stopping time with hatred
dcemuler
Insane DCEmu
Insane DCEmu
Posts: 126
Joined: Fri Dec 07, 2001 3:21 pm
Location: Campinas
Has thanked: 0
Been thanked: 0
Contact:

Post by dcemuler »

miah wrote: hahahaahahahahahahahahahahaahahahahahahahahahahaahahahahahahahahahahaahahahahahahahahahahaahahahahahahahahahahaahahahahahahahahahahaahahahahahahahahahahaahahahahahahahahahahaahahahahahahahahahahaahahahahahahahahahahaahahahahahahahahahahaahahahahahahahahahahaahahahahahahaha


/me says *duh*


maybe you should try learning to program before you try porting a piece of software.

-miah
HEY BITTCH , THAT WAS A LEGITIMATE QUESTION SUCCKER
Image
Seeking only strenght
Couldness that could burn a person
Throwing away pride
Stopping time with hatred
Sanchez
DCEmu Ex-Admin
DCEmu Ex-Admin
Posts: 1098
Joined: Wed Oct 17, 2001 7:44 pm
Has thanked: 0
Been thanked: 0

Post by Sanchez »

Chill out guys...
Post Reply