Dark Bit Factory & Gravity

PROGRAMMING => Other languages => ASM => Topic started by: energy on August 14, 2009

Title: Using Crinkler with MASM32
Post by: energy on August 14, 2009
Hi!
Does anybody have an example, how to use Crinkler with Masm32??

Thanx in Advance...
eNeRGy
Title: Re: Using Crinkler with MASM32
Post by: Rbz on August 14, 2009
Here one example for you, make sure to add a correct path /LIBPATH: for make.bat file.
Title: Re: Using Crinkler with MASM32
Post by: Jim on August 14, 2009
OK, so you'd be wanting to call crinkler without integration in Visual Studio?
Does this post help?
http://www.dbfinteractive.com/forum/index.php/topic,2110.0.html (http://www.dbfinteractive.com/forum/index.php/topic,2110.0.html)

Jim
Title: Re: Using Crinkler with MASM32
Post by: energy on August 15, 2009
will test....
Thanx my friends!!!
 :P
Title: Re: Using Crinkler with MASM32
Post by: rain_storm on August 16, 2009
Once you've got it up and running this thread might be of interest to you :

http://www.dbfinteractive.com/forum/index.php/topic,3149.0.html
Title: Re: Using Crinkler with MASM32
Post by: energy on August 17, 2009
Thanx rainstorm...
will have a big test this evening in case of a wedding last weekend...
Im curious to test...
Thanx to all   :goodpost:
eNeRGy
Title: Re: Using Crinkler with MASM32
Post by: energy on August 20, 2009
Perhaps im a bit stupid,
i got RbRaz test working by linking with SDK Libs.
But here with my conversion of 4klangs Software Synthesizer for 4Ks
i didnt get it to work...
Files attached!

If anybody can try....
Thanx in Advance...
Title: Re: Using Crinkler with MASM32
Post by: rain_storm on August 20, 2009
No problem just unpack 4Klang_SoftSynth to the root directory of your C drive
Now go to C:\4Klang_SoftSynth and create a text file call it whatever you want
Open that text file and type in the following
Code: [Select]
CD C:4Klang_SoftSynth
"C:\masm32\bin\ml.exe" /c /coff /Cp 4Klang_SoftSynth.asm
"C:\crinkler\crinkler.exe" /subsystem:windows /entry:start /libpath:"C:\masm32\lib" kernel32.lib user32.lib winmm.lib 4Klang_SoftSynth.obj 4Klang\4Klang.obj /OUT:4Klang_SoftSynth_crinkled.exe
and save it as "whatever.bat"
run the bat file

I assume that you have crinkler.exe at this location "C:\crinkler\crinkler.exe"
I also have assumed that you have installed masm32 to the default location. It should work as is
Title: Re: Using Crinkler with MASM32
Post by: energy on August 20, 2009
Hi Rain_storm.
That what i tried.
the exe will be generated with 2.2k  but if i start it, all it does is running in memory but nothing else more and i had to shut down it
handy...
Did yu tried it on yur system? is it running?


Title: Re: Using Crinkler with MASM32
Post by: Rbz on August 21, 2009
@energy/rain_storm: I've compiled it with same command line as Rain_storm, except for crinkler libpath which should be your msvc library path (you can't use masm libs), and works fine for me, file attached here.



Title: Re: Using Crinkler with MASM32
Post by: energy on August 21, 2009
Yes RBraz works fine for me too!
 :P
Im at moment a bit confused cause i linked with MS SDK libs and crinkler 1.1, not MASM libs.
What Version of MSVC yu have installed?
Thanx for yur help
Title: Re: Using Crinkler with MASM32
Post by: energy on August 21, 2009
Problem solved ...
downloaded newest WSDK Server 2008
Thanx.....  :-*
Title: Re: Using Crinkler with MASM32
Post by: ferris on August 21, 2009
Glad it works for ya :)
Title: Re: Using Crinkler with MASM32
Post by: energy on August 22, 2009
Thanx Ferris.
 ;)
Title: Re: Using Crinkler with MASM32
Post by: rain_storm on August 27, 2009
Hi Rain_storm.
That what i tried.
the exe will be generated with 2.2k  but if i start it, all it does is running in memory but nothing else more and i had to shut down it
handy...
Did yu tried it on yur system? is it running?

Yes it compiled same as you say but I assumed that it was just a framework, a blank proggy that you can do whatever with. Like with the GL frameworks.