Forged Alliance Forever Forged Alliance Forever Forums 2015-10-19T16:57:37+02:00 /feed.php?f=45&t=10804 2015-10-19T16:57:37+02:00 2015-10-19T16:57:37+02:00 /viewtopic.php?t=10804&p=112520#p112520 <![CDATA[Re: Testing environment for non-mod changes]]>
I've got the mod saved in the FAF vault and I've got the mod discussion here: viewtopic.php?f=67&t=10335
I wont' push it to github :P

Statistics: Posted by Korbah — 19 Oct 2015, 16:57


]]>
2015-10-18T19:51:15+02:00 2015-10-18T19:51:15+02:00 /viewtopic.php?t=10804&p=112469#p112469 <![CDATA[Re: Testing environment for non-mod changes]]>
Korbah wrote:
Until such permission is obtained I'll just keep working with the zip archive which can be readily reset in 10seconds.


You don't need permission to make pull requests and maintain a fork of the FAF codebase on github, it's free and encouraged :)

Though for you to distribute the code as a mod, you should not be using this workflow. Instead you should be maintaining a normal mod. This is not the resource you want for that. I don't have any references for this handy for you, unfortunately -- we don't have many that I know of either.

Statistics: Posted by Sheeo — 18 Oct 2015, 19:51


]]>
2015-10-17T06:52:52+02:00 2015-10-17T06:52:52+02:00 /viewtopic.php?t=10804&p=112395#p112395 <![CDATA[Re: Testing environment for non-mod changes]]>
Eg. my first leverage mod is Air Leverage - it only addresses t2 and t3 air units & air counters with the goal of improving air gameplay. As mentioned I'll work on a seraphim leverage mod where I'll try and make seraphim more interesting and unique, increase their tactical and strategic options in t2/3.

Statistics: Posted by Korbah — 17 Oct 2015, 06:52


]]>
2015-10-17T06:24:37+02:00 2015-10-17T06:24:37+02:00 /viewtopic.php?t=10804&p=112393#p112393 <![CDATA[Re: Testing environment for non-mod changes]]> Statistics: Posted by nine2 — 17 Oct 2015, 06:24


]]>
2015-10-17T06:04:56+02:00 2015-10-17T06:04:56+02:00 /viewtopic.php?t=10804&p=112392#p112392 <![CDATA[Re: Testing environment for non-mod changes]]> Statistics: Posted by Korbah — 17 Oct 2015, 06:04


]]>
2015-10-17T05:18:51+02:00 2015-10-17T05:18:51+02:00 /viewtopic.php?t=10804&p=112390#p112390 <![CDATA[Re: Testing environment for non-mod changes]]> Statistics: Posted by nine2 — 17 Oct 2015, 05:18


]]>
2015-10-17T04:51:40+02:00 2015-10-17T04:51:40+02:00 /viewtopic.php?t=10804&p=112388#p112388 <![CDATA[Re: Testing environment for non-mod changes]]>

I worked out the problem with the init_dev.lua that I was having. I used capitals. However, init_faf.lua and the init_dev.lua on github are different with init_faf having a white and blacklist logging - I ended up modifying a copy of my init_faf.lua to add the dev_path calls and it works perfectly including having the faf pre-gamemenu.


I know I have two init_dev.luas (although now I have 0 as I've deleted them and created a new .lua as I mentioned). I was moving them out of programdata as per Anihilnine's suggestion - turns out it doesn't matter and I've moved them back for convenience.


I also know I've got a fair few mods - I've not changed my installation since 2010 when I bought this computer so there's a fair bit of clutter. T2 air leverage.rar is actually the mod I'm making and working on - that's just an archived older version, although logged as an error it doesn't seem to cause problems. I should probably move it somewhere to be safe. As for my base game folder is there a list of files of the redundant old files that I could go through and spring clean?

Finally as for gitbuh I did indeed just download the zip and unpack it. I'm only doing balance modding and whilst my intention is to make something that can be integrated directly into the base game - doing so without community consent did seem brash. If you're happy with me modding and pushing my changes onto the base repo then I shall proceed with vigour! :D Until such permission is obtained I'll just keep working with the zip archive which can be readily reset in 10seconds.

Many thanks for all your help and advice guys! Happily it's working well now and I'm modding again after several months grinding out exam study - happy times :D

Statistics: Posted by Korbah — 17 Oct 2015, 04:51


]]>
2015-10-17T01:38:41+02:00 2015-10-17T01:38:41+02:00 /viewtopic.php?t=10804&p=112384#p112384 <![CDATA[Re: Testing environment for non-mod changes]]>
Korbah wrote:
Ok so I now think that the best way to fix the problem is with this updated .lua file instead of the recommended one in the thread/githup. It's basically the init_faf.lua modified to add the repo dump pull


I don't know what you mean with this, your init file isn't different from the one on github except for the path.

On a random note, you have ~ 37 odd mods in your mods directory, which should be fine, but a lot of them seem weird. E.g. "t2 air leverage.rar". (The game can't mount .rar files).

You should clean up your base game folder, the following .scd file shouldn't exist:

Code:
info: DISK: AddSearchPath: 'd:\misc games\supreme commander\supreme commander - forged alliance\gamedata\faladder.scd', mounted as '/'



Looking at your screendumps, you've got two init_dev.lua files. Make sure you only have one, and it should be in c:\programdata\faforever\bin, anything else gets confusing.


Korbah wrote:
]All I've done is extract the github fa-develop zip to a folder


This makes it sound like you didn't use a git client to download it. You should. Don't download a zip from github and use it as your base for development -- then you won't be able to easily commit and push your changes back up to github.

Statistics: Posted by Sheeo — 17 Oct 2015, 01:38


]]>
2015-10-16T16:54:52+02:00 2015-10-16T16:54:52+02:00 /viewtopic.php?t=10804&p=112368#p112368 <![CDATA[Re: Testing environment for non-mod changes]]> Statistics: Posted by Korbah — 16 Oct 2015, 16:54


]]>
2015-10-16T16:47:31+02:00 2015-10-16T16:47:31+02:00 /viewtopic.php?t=10804&p=112367#p112367 <![CDATA[Re: Testing environment for non-mod changes]]>
Although that's brought a new problem. When I start a game it freezes once the game loads and you can't actually play/test. Faf is also using the old GPGnet in-game lobby for setting up a game instead of faf's (which I assume is normal?). There's loads of errors in the log I've attached.

Statistics: Posted by Korbah — 16 Oct 2015, 16:47


]]>
2015-10-16T01:59:28+02:00 2015-10-16T01:59:28+02:00 /viewtopic.php?t=10804&p=112332#p112332 <![CDATA[Re: Testing environment for non-mod changes]]>
edit:


here

Statistics: Posted by Korbah — 16 Oct 2015, 01:59


]]>
2015-10-16T01:10:11+02:00 2015-10-16T01:10:11+02:00 /viewtopic.php?t=10804&p=112330#p112330 <![CDATA[Re: Testing environment for non-mod changes]]>
Cant check it init file now.

Hoe about a screenshot of your working folder?

Statistics: Posted by nine2 — 16 Oct 2015, 01:10


]]>
2015-10-15T22:45:22+02:00 2015-10-15T22:45:22+02:00 /viewtopic.php?t=10804&p=112327#p112327 <![CDATA[Re: Testing environment for non-mod changes]]> Statistics: Posted by Korbah — 15 Oct 2015, 22:45


]]>
2015-10-15T15:27:34+02:00 2015-10-15T15:27:34+02:00 /viewtopic.php?t=10804&p=112316#p112316 <![CDATA[Re: Testing environment for non-mod changes]]> Statistics: Posted by nine2 — 15 Oct 2015, 15:27


]]>
2015-10-15T15:26:53+02:00 2015-10-15T15:26:53+02:00 /viewtopic.php?t=10804&p=112315#p112315 <![CDATA[Re: Testing environment for non-mod changes]]> Statistics: Posted by nine2 — 15 Oct 2015, 15:26


]]>