Thread overview
GTA5 mods in D?
May 02, 2015
Israel
May 02, 2015
w0rp
May 03, 2015
Israel
May 02, 2015
I know you guys are programmers and not gamers but it thought maybe you want to experiment or help expand D?

Currently there is a Script hook program that allows users to create mods/scripts for GTA5. http://www.dev-c.com/gtav/scripthookv/

Some people have made plugins for script hook to support other languages like Lua and .Net languages like C# and VB. https://www.gta5-mods.com/tools. If this sounds interesting, maybe someone can make a plugin for D. Im not even sure if or how it will work.

I wont hide anything from you though. It might dissuade you from trying.
This will require you to obtain a copy of the game, obviously to test it.
However, the company Rockstar doesnt like people modding the game so if you plan on playing Multiplayer, you will probably get banned.

Anyways, Thanks for looking.
May 02, 2015
On Saturday, 2 May 2015 at 18:51:53 UTC, Israel wrote:
> I know you guys are programmers and not gamers but it thought maybe you want to experiment or help expand D?
>
> Currently there is a Script hook program that allows users to create mods/scripts for GTA5. http://www.dev-c.com/gtav/scripthookv/
>
> Some people have made plugins for script hook to support other languages like Lua and .Net languages like C# and VB. https://www.gta5-mods.com/tools. If this sounds interesting, maybe someone can make a plugin for D. Im not even sure if or how it will work.
>
> I wont hide anything from you though. It might dissuade you from trying.
> This will require you to obtain a copy of the game, obviously to test it.
> However, the company Rockstar doesnt like people modding the game so if you plan on playing Multiplayer, you will probably get banned.
>
> Anyways, Thanks for looking.

If it's a C API, you can use it from D. You just need to write the bindings to the library to use it with some extern(C) functions. If it's a C++ API, you can kind of sort of use it from D, mileage may vary.

It's a shame Rockstar is banning modding. They must hate fun.
May 03, 2015
On Saturday, 2 May 2015 at 20:38:11 UTC, w0rp wrote:
>
> If it's a C API, you can use it from D. You just need to write the bindings to the library to use it with some extern(C) functions. If it's a C++ API, you can kind of sort of use it from D, mileage may vary.
>
> It's a shame Rockstar is banning modding. They must hate fun.

Yup, you were right, its a c++ api. At least thats what the .Net plugin shows me here.

https://github.com/crosire/scripthookvdotnet/tree/master/source

The thing is im not advanced enough to make it happen.