Author Topic: Using Crinkler with MASM32  (Read 9200 times)

0 Members and 1 Guest are viewing this topic.

Offline energy

  • Amiga 1200
  • ****
  • Posts: 280
  • Karma: 25
    • View Profile
Using Crinkler with MASM32
« on: August 14, 2009 »
Hi!
Does anybody have an example, how to use Crinkler with Masm32??

Thanx in Advance...
eNeRGy
coding: jwasm,masm
hobby: www.scd2003.de

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2757
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Re: Using Crinkler with MASM32
« Reply #1 on: August 14, 2009 »
Here one example for you, make sure to add a correct path /LIBPATH: for make.bat file.
« Last Edit: September 06, 2009 by rbz »
Challenge Trophies Won:

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: Using Crinkler with MASM32
« Reply #2 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

Jim
Challenge Trophies Won:

Offline energy

  • Amiga 1200
  • ****
  • Posts: 280
  • Karma: 25
    • View Profile
Re: Using Crinkler with MASM32
« Reply #3 on: August 15, 2009 »
will test....
Thanx my friends!!!
 :P
coding: jwasm,masm
hobby: www.scd2003.de

Offline rain_storm

  • Here comes the Rain
  • DBF Aficionado
  • ******
  • Posts: 3088
  • Karma: 182
  • Rain never hurt nobody
    • View Profile
    • org_100h
Re: Using Crinkler with MASM32
« Reply #4 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

Challenge Trophies Won:

Offline energy

  • Amiga 1200
  • ****
  • Posts: 280
  • Karma: 25
    • View Profile
Re: Using Crinkler with MASM32
« Reply #5 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
coding: jwasm,masm
hobby: www.scd2003.de

Offline energy

  • Amiga 1200
  • ****
  • Posts: 280
  • Karma: 25
    • View Profile
Re: Using Crinkler with MASM32
« Reply #6 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...
coding: jwasm,masm
hobby: www.scd2003.de

Offline rain_storm

  • Here comes the Rain
  • DBF Aficionado
  • ******
  • Posts: 3088
  • Karma: 182
  • Rain never hurt nobody
    • View Profile
    • org_100h
Re: Using Crinkler with MASM32
« Reply #7 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

Challenge Trophies Won:

Offline energy

  • Amiga 1200
  • ****
  • Posts: 280
  • Karma: 25
    • View Profile
Re: Using Crinkler with MASM32
« Reply #8 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?


coding: jwasm,masm
hobby: www.scd2003.de

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2757
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Re: Using Crinkler with MASM32
« Reply #9 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.



« Last Edit: September 06, 2009 by rbz »
Challenge Trophies Won:

Offline energy

  • Amiga 1200
  • ****
  • Posts: 280
  • Karma: 25
    • View Profile
Re: Using Crinkler with MASM32
« Reply #10 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
coding: jwasm,masm
hobby: www.scd2003.de

Offline energy

  • Amiga 1200
  • ****
  • Posts: 280
  • Karma: 25
    • View Profile
Re: Using Crinkler with MASM32
« Reply #11 on: August 21, 2009 »
Problem solved ...
downloaded newest WSDK Server 2008
Thanx.....  :-*
coding: jwasm,masm
hobby: www.scd2003.de

Offline ferris

  • Pentium
  • *****
  • Posts: 841
  • Karma: 84
    • View Profile
    • Youth Uprising Home
Re: Using Crinkler with MASM32
« Reply #12 on: August 21, 2009 »
Glad it works for ya :)
http://iamferris.com/
http://youth-uprising.com/

Where the fun's at.
Challenge Trophies Won:

Offline energy

  • Amiga 1200
  • ****
  • Posts: 280
  • Karma: 25
    • View Profile
Re: Using Crinkler with MASM32
« Reply #13 on: August 22, 2009 »
Thanx Ferris.
 ;)
coding: jwasm,masm
hobby: www.scd2003.de

Offline rain_storm

  • Here comes the Rain
  • DBF Aficionado
  • ******
  • Posts: 3088
  • Karma: 182
  • Rain never hurt nobody
    • View Profile
    • org_100h
Re: Using Crinkler with MASM32
« Reply #14 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.

Challenge Trophies Won: