necropotame / teeworlds-infclass

Infection Mod with a class system for TeeWorlds
Other
40 stars 25 forks source link

How do I compile a project? #223

Open yozhikZver opened 5 months ago

yozhikZver commented 5 months ago

Please tell me how to compile the project, I tried it in visual studio, but I never figured it out. Thank you in advance)

progval commented 5 months ago

You need to use bam

yozhikZver commented 5 months ago

I downloaded bam, but I don't understand how to merge the source code with bam and set up compilation, if you don't mind helping please do so

progval commented 5 months ago

Don't merge source codes. You need to compile bam, and you'll get a bam.exe (assuming you're on Windows). Then run the executable from infclass's directory (ie. cd to it, then run C:\path\to\bam\bam.exe)

yozhikZver commented 5 months ago

As I understand it, I need to compile a bam file, I get a bam.exe and move this file to the inflclas source directory, and then open this bam.exe? Sorry I just can't understand how exactly this works, I would be grateful for your help.

progval commented 5 months ago

As I understand it, I need to compile a bam file, I get a bam.exe

yes

move this file to the inflclas source directory

no. bam.exe stays in the directory it is in; what needs to change is your terminal's working directory

then open this bam.exe

run instead of open, but yes.

yozhikZver commented 5 months ago

I again did not understand much, I do not understand what I need to change I tried to do on this tutorial https://www.teeworlds.com/?page=docs&wiki=compiling_everything_windows but there at the point where you need to enter the path in the Native Tools Command Prompt everything is already screwed up, I do not have such a path and it does not go. I seem to be stupid, explain to me as for a dumb please.

progval commented 5 months ago

did you run make_win64_msvc.bat? Did it show any error?

yozhikZver commented 5 months ago

I ran but nothing works, I must be doing something wrong can you give a tutorial point by point or I seem to be somewhere I'm very wrong

progval commented 5 months ago

What is not working? The tutorial you linked is already more detailed than what I could give you as I don't use Windows myself.

yozhikZver commented 5 months ago

I tried very hard to understand you, but I understand that to understand a programmer you have to become a programmer)