Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Team Requests Modloader GitHub Repository
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#11
RE: Modloader GitHub Repository

Alright, I think I got it. What was stopping me was that I didn't think of replacing my local files because I thought it would just resync with the web. After replacing, the commit options appeared.

I added some documentation to the scripts. Also changed the Launcher.exe name from retail to Amnesia.exe when I was testing. Is this functional, and was it actually fine from before? This change might be unnecessary. Will it make a difference?

Launch4j was the name of the application I used for the .exe package. It worked pretty well.
http://launch4j.sourceforge.net/

(This post was last modified: 10-18-2014, 05:48 PM by Mudbill.)
10-18-2014, 05:46 PM
Find
Acies Offline
Posting Freak

Posts: 1,643
Threads: 60
Joined: Feb 2011
Reputation: 73
#12
RE: Modloader GitHub Repository

Really liking the initiative from you guys! Best of luck!

[Image: mZiYnxe.png]


10-20-2014, 12:16 AM
Find
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#13
RE: Modloader GitHub Repository

:>

I did the shaders' thing. I'm uploading it all in a minute, when I'm done with some tests.

10-28-2014, 10:17 PM
Find
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#14
RE: Modloader GitHub Repository

mud: (or any other dev around):
Here it is the new version that supports custom shaders.

In-game screenshot using black&white effect
Spoiler below!
[Image: fy0qwy.jpg]

Loader's look. It shows whether a mod has custom shaders or not.
Spoiler below!

[Image: 2vb3e6v.jpg]


Below the .jar so you may test or whatever:
.zip   AmnesiaLoader1.2.zip (Size: 425.71 KB / Downloads: 191)

And this next zip contains the files: (in case you need any)
aml.cfg
colorconv_sepia.tga
posteffect_color_conv_tex_frag.glsl

.zip   CustomShader_BlackAndWhite.zip (Size: 1.93 KB / Downloads: 175)


It works pretty much how many said it should work in this thread 'Black&White screen effect possible?'
Looks for custom shaders, copies to /core/shaders, renames originals, renames back.
Full code is too large and scattered to show it all here, but it's available at GitHub.

I couldn't find any problem, it's pretty decent. :>


Attached Files
.jpg   preview6589345634.jpg (Size: 357.39 KB / Downloads: 154)

10-29-2014, 03:08 AM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#15
RE: Modloader GitHub Repository

Amazing work man Big Grin

I'm afraid I haven't been able to work much on this myself, so I'm really happy you're actually picking it up and showing interest in improving it ^^

I'll have to check it out once I get home from work!

Btw, is it supposed to look that long or did you make it resizable? My intention of making it a static square was to resemble the original launcher, but if need be, it can be resizable just fine. If so, though, it should probably extend the shaders/version info to the bottom and resize the text box along with the window. Also, for the background, perhaps we should make our own tileable texture?

(This post was last modified: 10-29-2014, 08:35 AM by Mudbill.)
10-29-2014, 08:28 AM
Find
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#16
RE: Modloader GitHub Repository

Oh yeap I had to change the height a little, it was cutting the buttons in half when I added the shaders' label. I forgot to tweak it, 583 to 800 seems too much.

        //this.setSize(700, 583);
        this.setSize(700, 800);

I put it now to 600, it looks good, almost as before.
this.setSize(700, 600)
Blush

10-29-2014, 04:38 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#17
RE: Modloader GitHub Repository

If you're using Eclipse (which I guess you are), you can install WindowBuilder Pro for it to more easily edit the design of the GUI. It takes some practise to understand and get the hang of, but it's very useful.

10-29-2014, 05:06 PM
Find




Users browsing this thread: 1 Guest(s)