Welcome, Guest.
Username: Password: Remember me

TOPIC: Open Source

Open Source 2 years 1 month ago #41

Marty McFly wrote:
Well, all experience I got with open source was as negative as possible. But as you said crosire, it's the modding community. Let's see if I stand corrected :)
In all honesty, Marty, aren't you too not always doing things by the book? ;) Your shaders contain this:
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//For more information about license agreement contact me:
//https://www.facebook.com/MartyMcModding
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//Copyright (c) 2009-2015 Gilcher Pascal aka Marty McFly
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//Credits :: prod80 (for some ideas, color hue fx, 3 strip technicolor)
//Credits :: Ubisoft (Reinhard tonemapping, Haarm Peter Duiker Tonemap, Filmiccurve, Spherical Tonemap)
//Credits :: Ryosuke (Colormod Contrast/Gamma/Saturation controls)
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
But really, you can't do that. Something written by e.g. prod80 isn't copyrightable by you, that's not how it works. He wrote it, he owns the copyright, not you, left alone re-license it, especially things from e.g. Ubisoft ;). See how things can go in a different route very quickly, even if you don't mean any harm?

Likely prod80 doesn't give a hoot, as it normally goes, and it's highly likely you all acted in good faith, and that's perfectly fine. The majority of cases in OSS land where things aren't done how they should be are cases of people acting in good faith and/or where the original authors/owners really couldn't care less. Most people, like you too, act in good faith and mean no harm whatsoever. :) It will be fine.
Last Edit: 2 years 1 month ago by OtisInf.
The administrator has disabled public write access.

Open Source 2 years 1 month ago #42

I asked all of these people if it's fine, posting them my project, and they agreed. Some disagreed, then I didn't use their code. Obviously not Ubisoft, I should maybe remove that code even, because I got it from someone else, and changed author later on as I found out where it really stems from. But this is MasterEffect, where you're right, I added almost everything I could find. But im not so savvy with these things, in the original ME I think I only licensed the code I actually write on myself. For Framework and Shader repo, ppl who.ported it just copied my license stuff into it.
However ME hasn't been stolen so far, but my ENB mods (which contain only code from me, as most of the code available is useless) have been stolen all the time.
Last Edit: 2 years 1 month ago by Marty McFly.
The administrator has disabled public write access.

Open Source 2 years 1 month ago #43



Insane!!! Can't wait!
The administrator has disabled public write access.

Open Source 2 years 1 month ago #44

It's live :) github.com/crosire/reshade
Picked up the low hanging fruit of fixing a url in the readme :P.

Nice code in there, Crosire! Already learned some stuff with respect to intercepting (and thus blocking) input, which is great for my injectable cameras: didn't think of hooking the actually windows functions to intercept them!
The administrator has disabled public write access.

Open Source 2 years 1 month ago #45

OtisInf wrote:
It's live :) github.com/crosire/reshade
Picked up the low hanging fruit of fixing a url in the readme :P.

Nice code in there, Crosire! Already learned some stuff with respect to intercepting (and thus blocking) input, which is great for my injectable cameras: didn't think of hooking the actually windows functions to intercept them!

Yeah, I'm looking through the code as well. I don't have any idea what I'm looking at though XD. I Also can't build at this point in time, I assume it has something to do with me not having "Latter" which is said to be required, yet I can't find it anywhere... Regardless, this is f-ing cool!!!!!!!!!!
The administrator has disabled public write access.

Open Source 2 years 1 month ago #46

"latter" is an english word meaning the last one of the previous list. It refers to Visual Studio in this case. Make sure you have cloned all Git submodules too.
Cheers, crosire =)
The administrator has disabled public write access.

Open Source 2 years 1 month ago #47

crosire wrote:
"latter" is an english word meaning the last one of the previous list. It refers to Visual Studio in this case. Make sure you have cloned all Git submodules too.

Ah. Silly me with my horrible english :D So I'm assuming you mean to have both visual studio 2013 and visual studio 2015 installed?? BTW, I have all of the submodules!!!

EDIT: Unrelated, but I just noticed that VS 2017 RC has gone live :O
Link: www.visualstudio.com/vs/visual-studio-2017-rc/ (Delete this if I'm not supposed to post this)
Last Edit: 2 years 1 month ago by NoMansReshade.
The administrator has disabled public write access.

Open Source 2 years 1 month ago #48

Amazing stuff!

Just quickly -- how will we try to ensure 'safe' versions out there? I.e, insist people only download from reshade.me? Or sign binaries?

And Crosire are you going to do a Linus and accept patches and build the 'official' releases on occasion?

Some of us aren't programmers, so we'll be relying -- even if you get too busy to work on it anymore -- for someone (presumably who you trust) to be a caretaker and create official builds as it new features are added etc.
The administrator has disabled public write access.

Open Source 2 years 1 month ago #49

We could try and maintain 3.0.5 as-is, and do a link redirecting to a BuildBot from the crosire's git.

Other ReShade-releated stuff could be forks.
The administrator has disabled public write access.

Open Source 2 years 1 month ago #50

@NoMansReShade You only need Visual Studio 2015.

Martigen wrote:
And Crosire are you going to do a Linus and accept patches and build the 'official' releases on occasion?

Some of us aren't programmers, so we'll be relying -- even if you get too busy to work on it anymore -- for someone (presumably who you trust) to be a caretaker and create official builds as it new features are added etc.
Yes. Official builds will come from this website. I continue to maintain the project, just not as frequently with my own contributions.
Cheers, crosire =)
The administrator has disabled public write access.
The following user(s) said Thank You: BlueSkyKnight

Open Source 2 years 1 month ago #51

I got it to compile. Somehow I cloned the repo twice, once inside of the same folder XD
The administrator has disabled public write access.

Open Source 2 years 1 month ago #52

My friend tried to compile and he stumbled upon a compiling error: pastebin.com/DB6H9UCy

Why did this happen? He said he downloaded the repo just fine.
The administrator has disabled public write access.

Open Source 2 years 1 month ago #53

matsilagi wrote:
My friend tried to compile and he stumbled upon a compiling error: pastebin.com/DB6H9UCy

Why did this happen? He said he downloaded the repo just fine.

I'm not sure.... He cloned it through github, right? And if so, make sure you included all of the modules. Also check to make sure you don't have a "Reshade" folder inside the solution folder!

EDIT:
This is as far as my coding knowledge extends XD

(Rest assured, I'm NOT releasing this!!!!)
The administrator has disabled public write access.

Open Source 2 years 1 month ago #54

Circular menus are pretty.

I see people are already using this for the good.
The administrator has disabled public write access.
The following user(s) said Thank You: luluco250

Open Source 2 years 1 month ago #55

matsilagi wrote:
Circular menus are pretty.

I see people are already using this for the good.

It would be evil if it had Comic Sans as a font.....
My GitHub page where you can get the Latest release of SuperDepth3D github.com/BlueSkyDefender/Depth3D

My PayPal Me Link If you like to donate paypal.me/BlueSkyDefender

Also my steam page steamcommunity.com/id/BlueSkyDefender

Discord Server discord.gg/W2f7YhX
Last Edit: 2 years 1 month ago by BlueSkyKnight.
The administrator has disabled public write access.

Open Source 2 years 1 month ago #56

It seems Microsoft has changed the layout of it's compiler tools: blogs.msdn.microsoft.com/vcblog/2016/10/...in-visual-studio-15/

This causes gl3w_gen.py to be unable to execute CL.exe as it cannot find it, it seems to be the only thing breaking the compilation process for me.
I'm gonna try and see if I can fix this for VS2017, maybe need to point the python script to the correct path?

MS did provide a batch script that sets up variables to get the correct path of CL.exe for the target platform, located at
Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build
, after running it even allows easy access to the compiler from the command prompt.
I'm thinking a pre-build event could fix this, simply executing
"E:\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat  x86_amd64"
could fix the issue (maybe change x86_amd64 to just x86 OR amd64 depending on the target platform).
Likes to reinvent the wheel.

My shaders repository: www.github.com/luluco250/FXShaders
Last Edit: 2 years 1 month ago by luluco250.
The administrator has disabled public write access.

Open Source 2 years 1 month ago #57

luluco250 wrote:
This causes gl3w_gen.py to be unable to execute CL.exe as it cannot find it, it seems to be the only thing breaking the compilation process for me.
It doesn't need CL.exe. Forgot to mention in the readme that you need a python installation in your PATH evironment variable though or else the script cannot execute. It should still work with 2017.
Cheers, crosire =)
The administrator has disabled public write access.

Open Source 2 years 1 month ago #58

@Crosire. Question, How did you compile the setup with both the 64 and 32 bit dlls? Would I just compile both and then compile the setup?

EDIT:

Got it! I compiled both DLLs and then compiled the setup and everything works perfectly!!

@matsilagi, It wasn't hard to do :P just open "runtime.cpp" and change these lines:
imgui_style.WindowRounding = 10.0f;
imgui_style.ChildWindowRounding = 10.0f;
imgui_style.FrameRounding = 10.0f;
imgui_style.ScrollbarRounding = 10.0f;
imgui_style.GrabRounding = 10.0f; 

I think they're set to 0 by default.
Last Edit: 2 years 1 month ago by NoMansReshade.
The administrator has disabled public write access.

Open Source 2 years 1 month ago #59

Well, after struggling way too long with the glorious installation process of VS2015 with such wonderful annoyances like this, this or this (just to name a few...), I'm finally able to build ReShade for myself.

Here are some "tips" to save you some time:
-VS2015 Installation requires at least the following services to run: Windows Update, BITS, Server
-don't forget to also install Python 2.7 or higher (for gl3w) and the Vulkan SDK
-the gl3w_gen.py script wants to download www.opengl.org/registry/api/GL/glcorearb.h, so if you're on an offline machine (like I am), get it manually and put it in gl3w/include/GL/
-Reshade needs the following packages when choosing the custom installation of VS2015: Common Tools for V++ 2015, Python Tools for Visual Studio, Windows 10 SDK 10.010586
-watch for cool problems like the ones mentioned in the first sentence...
-in VS2015 always set the target of the project to 10.0.10586 before building (can be a problem if multiple sdk's were installed), look for option "retarget solution"
Last Edit: 2 years 1 month ago by brussell.
The administrator has disabled public write access.

Open Source 2 years 1 month ago #60

brussell wrote:
and the Vulkan SDK
No longer required.

brussell wrote:
Python Tools for Visual Studio
Nope. The other two should be default if you install VS for C++ development (the setup is configured for C# development by default for some reason).
Cheers, crosire =)
Last Edit: 2 years 1 month ago by crosire.
The administrator has disabled public write access.
The following user(s) said Thank You: brussell