Topic: 4.4.0 release

if you didnt know already there is a 4.4.0 release of 3Impact.  thanks to the generosity of 3Impact, i should be able to have an upgraded mod for you by the end of the weekend.  just and FYI...  i have decided to not change the format of the mod (as mentioned in the DLL topic).

Re: 4.4.0 release

update is complete.  please see the current release topic.

Re: 4.4.0 release

I've got problems compiling. Since updating to the latest version of 3impact mod I'm getting the following error.

C:/Applications/Coding Apps/BlitzMax/bin/ld.exe: cannot find C:/Applications/Coding Apps/BlitzMax/mod/_3impact.mod/libs/libdll3impactd.a

I've got the dll's, as instructed in the chm help file, in system32 and in the directory where my game is. The .a files have both been moved "libdll3impact.a and libdll3impactd.a" in the lib folder under the _3impact.lib folder. This is in my mod folder.

I've noticed that it shows that it is looking for the .a files, when compiling, in a "libs" folder and not a "lib" folder as is in the mod folder. When changing the folder to "libs" I get a whole host of other errors.

I've tried building modules and a fresh install of blitzmax.

Any help would be appreciated. smile

Re: 4.4.0 release

i should probably make the instructions a little more readable.  from the CHM:

1.   Copy the contents of the mod sub-folder (located in C:\Program Files\3Impact4\3Impact_as_a_DLL\BLITZMAX directory) to the mod folder under your BlitzMax installation.  You should now see a folder called _3impact.mod under your BlitzMax mod folder, and under _3impact.mod a folder called lib.mod.
2.   From your 3Impact installation, copy the libdll3impact.a and libdll3impactd.a files from the 3Impact_as_a_DLL\DEVCPP folder into the _3impact.mod/libs folder.
3.         From the updated DLLs 3Impact distribution, copy the dll3impact.dll and dll3impactd.dll files into your windows\system32 directory.

the libs folder that it is asking for is the right folder as noted by #2.  i think the lib.mod / libs folder might be a bit confusing sad  so, you should have the following type setup:

BlitzMax/mod/_3impact.mod
BlitzMax/mod/_3impact.mod/lib.mod
BlitzMax/mod/_3impact.mod/libs

the .a files need to be inside of the libs folder.  given that, place them in there and try again.  please let me know what the errors are there.  hopefully we can get you up and running quickly smile

Re: 4.4.0 release

Hi gman! There was no libs folder when I extracted the mod zip file. There was only lib.mod. I created a libs folder manually and put the .a files in there and all is working. smile

What happens though with the default Blitzmax template is that when I run the following

SuperStrict
Framework _3impact.lib


If not i3ImpactOpen() RuntimeError "Unable to initialize the 3Impact game engine"
If not i3ImpactSettings(_ISETTINGS(640,480,32,False,True)) RuntimeError "3Impact settings failed"


Local myEngine:bmx_3IEngine=New bmx_3IEngine


' begin 3Impact processing
myEngine.Start()


Type bmx_3IEngine Extends _3IEngine 
' called to initialize game variables, load resources, etc
Method _Init()
EndMethod


' the main game loop
Method _Run()
EndMethod


' called when the application exits in order to clean up
Method _Exit()
EndMethod 
EndType

I don't get a window with a black screen anymore just a window with a screen that changes colour. Maybe it's my drivers. Will update drivers and let you know.

Thanks again for your help. smile

Re: 4.4.0 release

Nope, the drivers were not the issue. I'll try getting on with my game though and hope the problem sorts itself out. smile

Re: 4.4.0 release

hi amon.  all the demos should work.  what happens when you run a demo?  also, did you remember to update your DLLs with the new DLLs from the 3Impact 4.4.0 distribution?

Re: 4.4.0 release

Hi gman. It turned out that I had DirectX in Debug mode after working with Torque Shader Engine. I set it to release mode and everything is working fine.

Sorry to be of bother.

smile

Re: 4.4.0 release

not a problem smile  good to note and happy you resolved it!