Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (ozgur, EternallyCurious, howardR, 1 invisible), 623 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Acknex pxtone plugin [Re: 3run] #466250
06/03/17 09:34
06/03/17 09:34
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline OP
Expert
Kartoffel  Offline OP
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Thanks a lot laugh

The programs used to create those files are a bit strange to use (they're not super intuitive in my opinion), especially if you haven't used any DAW software before. But once you're familiar with them it's not as bad grin


POTATO-MAN saves the day! - Random
Re: Acknex pxtone plugin [Re: Kartoffel] #466251
06/03/17 14:01
06/03/17 14:01
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline OP
Expert
Kartoffel  Offline OP
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
So, this is probably the (second) last update for the AckPxtone plugin.

The only thing I'd like to fix is OpenAL support, other than that I'm happy with the result.

Once again, all the new stuff is in the first post


POTATO-MAN saves the day! - Random
Re: Acknex pxtone plugin [Re: Kartoffel] #466253
06/03/17 17:34
06/03/17 17:34
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline OP
Expert
Kartoffel  Offline OP
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Okay, I'm just now realising that once I compile my script to an executable, pretty much any dll-function call crashes the game. Does anyone know what's causing this?


POTATO-MAN saves the day! - Random
Re: Acknex pxtone plugin [Re: Kartoffel] #466254
06/03/17 17:42
06/03/17 17:42
Joined: Oct 2011
Posts: 1,082
Germany
C
Ch40zzC0d3r Offline
Serious User
Ch40zzC0d3r  Offline
Serious User
C

Joined: Oct 2011
Posts: 1,082
Germany
Use LoadLibrary and GetProcAddress and dont let the engine load dependencies

Re: Acknex pxtone plugin [Re: Ch40zzC0d3r] #466256
06/03/17 20:20
06/03/17 20:20
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline OP
Expert
Kartoffel  Offline OP
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
I tried it but the result is the same. I also realized that the crash is somewhat random (sometimes it works the way it should) smirk

edit: I changed something and it seems to work now
...just in case: This is how I'm supposed to do it, right?

Code:
HMODULE HAckPxtn = LoadLibrary("dll\AckPxtn.dll"); // the forum code-box deletes the double backslash o.O

_Pxtn_CreateInstance = GetProcAddress(HAckPxtn, "_Pxtn_CreateInstance");

etc...


Last edited by Kartoffel; 06/03/17 20:27.

POTATO-MAN saves the day! - Random
Re: Acknex pxtone plugin [Re: Kartoffel] #466257
06/03/17 22:24
06/03/17 22:24
Joined: Oct 2011
Posts: 1,082
Germany
C
Ch40zzC0d3r Offline
Serious User
Ch40zzC0d3r  Offline
Serious User
C

Joined: Oct 2011
Posts: 1,082
Germany
Yes that looks right, the forum seems to try to escape "\" by deleting one. Using four works fine => "\\"
Anyways, you can make sure everything is right by checking the return values for 0.
Both functions return 0 incase of a failure

Last edited by Ch40zzC0d3r; 06/03/17 22:26.
Page 2 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1