razordemo / Insert-No-Coins

"Insert No Coins" 64k intro
47 stars 7 forks source link

Updated build instructions for MSVC? #2

Open Anvith00 opened 3 months ago

Anvith00 commented 3 months ago

I (am quite a noob) tried having this project built on MSVC (Visual Studio 2022) to deconstruct my favourite demoscene and managed to get it running although with some issues:

image

While the demoscene runs, the audio does not play, fonts do not render and it gets stuck on this particular icosahedron scene. Not quite sure how to proceed on here. The project compiles to a 32-bit binary (doesn't compile on 64-bit maybe because the asm definitions are specific to the 32-bit architecture).

Steps I followed: Linked opengl32.lib, glu32.lib, minifmod.lib (from the recent issue of this repository) and finally, winmm.lib and made the rand function in nolibc.cpp inline to deal with the conflict messages on the console.

Please do let me know over the parts I have made mistakes on, so that I might be able to write a build instruction/ a build system config to build it with ease.

Regards :-)

Anvith00 commented 3 months ago

I think it requires a particular data.rc script but am not quite sure what the declarations might be inside this script. I do hope to get it figured myself :-) .