Recent

Author Topic: Valve's Source SDK <- C++ DLL <- Free Pascal DLL  (Read 2084 times)

cpicanco

  • Hero Member
  • *****
  • Posts: 618
  • Behavioral Scientist and Programmer
    • Portfolio
Valve's Source SDK <- C++ DLL <- Free Pascal DLL
« on: February 14, 2019, 01:30:29 pm »
Hi guys, C++ is ugly, and this is a fact. I love how readable Pascal is comparable to it. Right now I am modifying the following code for research purposes:

https://github.com/NeKzor/SourceAutoRecord

It is a plugin (a dll) for speed runs in some valve games (actually I am interested in the architecture of the solution only). The dll is loaded during runtime and I am testing it using Portal 2. It depends on Valve's Source SDK. I want to automate some research routines related to log files, record files and the like.

1) I am considering to write a minimal example plugin using free pascal. Do you know how feasible it would be?

2) If writing a minimal plugin prove to be not feasible, I am considering to write a dll in free pascal for use in C++ code. Anyone have ever tried to use a pascal dll in this context (Valve's Source SDK)?

3) Any comments about Free Pascal and Valve's Source SDK will be well received.
« Last Edit: February 14, 2019, 05:24:04 pm by cpicanco »
Be mindful and excellent with each other.
https://github.com/cpicanco/

cpicanco

  • Hero Member
  • *****
  • Posts: 618
  • Behavioral Scientist and Programmer
    • Portfolio
Be mindful and excellent with each other.
https://github.com/cpicanco/

garlar27

  • Hero Member
  • *****
  • Posts: 652
Re: Valve's Source SDK <- C++ DLL <- Free Pascal DLL
« Reply #2 on: February 14, 2019, 09:07:04 pm »
I remember someone did something to use Steam
look here VALVE Steam® API Wrapper for Delphi/Lazarus [Open source]
and here VALVE Steam® API Wrapper

Maybe that can point you to the right direcction.


cpicanco

  • Hero Member
  • *****
  • Posts: 618
  • Behavioral Scientist and Programmer
    • Portfolio
Re: Valve's Source SDK <- C++ DLL <- Free Pascal DLL
« Reply #3 on: February 15, 2019, 01:05:37 pm »
Thanks garlar27, I will take a look.
Be mindful and excellent with each other.
https://github.com/cpicanco/

 

TinyPortal © 2005-2018