How to Compile ?

Programming related discussions related to game research
ENERGY
Posts: 3
Joined: Wed Jun 08, 2016 5:49 pm

How to Compile ?

Post by ENERGY »

Hello guys.
I have the source code from a program.There are 2 .asm files and one .rc file.How can I compile the program ?
Let me know if you want to post the code to take a look.
Thanks in advance !
atom0s
Posts: 250
Joined: Sat Dec 27, 2014 8:49 pm

Re: How to Compile ?

Post by atom0s »

Depends on how the code is written, if its MASM, you can download MASM here:
http://www.masm32.com/

You will need to use rc.exe to compile the .rc file(s).
You will need to use cvtres.exe to compile the .res file(s) to .obj files.
You will need to use ml.exe to compile the .asm file(s).
You will need to use link.exe to compile the .obj files created from ml.exe.
ENERGY
Posts: 3
Joined: Wed Jun 08, 2016 5:49 pm

Re: How to Compile ?

Post by ENERGY »

This is the source code.I have been using NASM to compile it but obviously I did something wrong.
Last edited by ENERGY on Wed Jun 08, 2016 9:12 pm, edited 1 time in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: How to Compile ?

Post by aluigi »

Use Masm as said by atom0s, that Stepmania cheat is written just with Masm.
ENERGY
Posts: 3
Joined: Wed Jun 08, 2016 5:49 pm

Re: How to Compile ?

Post by ENERGY »

Thanks for the help guys ! I got it working.