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
Daemian Offline
Posting Freak

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

(10-16-2014, 12:17 AM)Viper85626 Wrote: I'd love to help out, but I don't know Java. Sad
You could help by testing and giving advice on how to solve stuff or what to implement.

I think the loader is ok to use right now -I use it while testing my mod-, but it would be better if we add some more functionality to it.
Cause right now it just makes a list of mods and runs them depending the OS.
It's a good start, easier for modders and users, but it needs more.

For the shaders deal, how about this:

Whenever the user starts a given mod, the loader:
  • Checks for .glsl files inside the mod dir
  • If any, it moves them to [game_dir]/core/shaders (just temporally)
  • Instead of replacing the original files, it renames those to .glsl_back (or whatever)
  • Runs the game, user plays.
  • When the loader closes, it makes a check: looks for any .glsl_back, and renames them back, removing the custom ones.

Example, let's say I upload a mod, let's call it Rabbit. I include my custom shader in Rabbit/MyShaders

When people use the loader with my mod, it finds my shader in there, and places it in my game dir/core/shaders but it does not replace any files, it just renames the originals and places the custom ones.

So, my custom shaders get included when the users launch my mod. And it gets rid of them later, when the user is not using them.
Would this work? I think this it's the proper way to go.

As for the %my documents% issue, you could save the file (modloader.properties) in the same dir the loader was opened from.
If the user starts moving the loader around his disk, hopefully, he moves both files or the whole folder /ModLoader.
The worst thing that could happen is that he/she has to set his/her preferences again.

10-16-2014, 02:01 AM
Find


Messages In This Thread
Modloader GitHub Repository - by Mudbill - 10-13-2014, 10:40 AM
RE: Modloader GitHub Repository - by Daemian - 10-13-2014, 05:11 PM
RE: Modloader GitHub Repository - by Daemian - 10-14-2014, 02:35 AM
RE: Modloader GitHub Repository - by Mudbill - 10-14-2014, 07:56 AM
RE: Modloader GitHub Repository - by Viper85626 - 10-16-2014, 12:17 AM
RE: Modloader GitHub Repository - by Daemian - 10-16-2014, 02:01 AM
RE: Modloader GitHub Repository - by Mudbill - 10-16-2014, 07:32 AM
RE: Modloader GitHub Repository - by Daemian - 10-16-2014, 02:24 PM
RE: Modloader GitHub Repository - by Mudbill - 10-18-2014, 04:02 AM
RE: Modloader GitHub Repository - by Daemian - 10-18-2014, 03:13 PM
RE: Modloader GitHub Repository - by Mudbill - 10-18-2014, 05:46 PM
RE: Modloader GitHub Repository - by Acies - 10-20-2014, 12:16 AM
RE: Modloader GitHub Repository - by Daemian - 10-28-2014, 10:17 PM
RE: Modloader GitHub Repository - by Daemian - 10-29-2014, 03:08 AM
RE: Modloader GitHub Repository - by Mudbill - 10-29-2014, 08:28 AM
RE: Modloader GitHub Repository - by Daemian - 10-29-2014, 04:38 PM
RE: Modloader GitHub Repository - by Mudbill - 10-29-2014, 05:06 PM



Users browsing this thread: 1 Guest(s)