Using Lua for FA from github directly.

Talk about general things concerning Forged Alliance Forever.

Moderators: FtXCommando, Ze Dogfather

Using Lua for FA from github directly.

Postby Janus » 04 Oct 2018, 03:28

Hi, I know this is kind of an off question.

Been trying out Loud for a while, have given up on it.
While it runs faster, their changes beyond the graphics do not work for me, it alters the game play to much for me.
I am wanting to try out some of the newer updates/rebalances from here but have been unable to.
I tried installing the faf client beside the game, but saw nothing about integrating the newer patches.
I pointed it to my install, but I have not been able to get it to do anything except try to make me login to an account I do not have, or sync with steam which I also do not have.
All of my games are installed from CD/DVD that I have on my game shelf.
I also do not game online.

Does anyone have the directions to use the Lua for FA from github?
My system is not setup the 'standard' way.
The only things on my C drive, are Win7, Drivers & Vs2013, nothing else.
I do not use the user profile for anything, and have put nothing in there.
Windows has only managed to put/spill <2Gb in it, and that includes some save games for SCFA, which I have been unable to move elsewhere, but would like to.
All of my software is installed to other drives, modified/configured to put things where I want them, or in portable mode.

Nothing is where the faf client expects it, and I have been unable to make sense of the loading mechanism.
All of my games are on one drive, sorted by type.
I have tried putting the lua archive it in SCFA\faf then calling init.lua, but it does not load.
Most of the directories it looks for are not present on my system.

Is there an idiots guide I can use to get started?


Janus.
Janus
Crusader
 
Posts: 44
Joined: 17 Mar 2017, 06:24
Has liked: 0 time
Been liked: 11 times
FAF User Name: Janus

Re: Using Lua for FA from github directly.

Postby Wesmania » 04 Oct 2018, 07:56

I think README.md from github.com/FAForever/fa is what you're looking for.
Wesmania
Contributor
 
Posts: 391
Joined: 19 Nov 2014, 19:17
Has liked: 2 times
Been liked: 79 times
FAF User Name: MazorNoob

Re: Using Lua for FA from github directly.

Postby tatsu » 04 Oct 2018, 08:10

i've had a setup with FA and FAF on another drive than C. the part it stops at is program data and appdata which I'm not sure windows allows you to have elsewhere.
User avatar
tatsu
Supreme Commander
 
Posts: 1553
Joined: 02 Jul 2012, 21:26
Has liked: 1952 times
Been liked: 171 times
FAF User Name: tatsu

Re: Using Lua for FA from github directly.

Postby Janus » 04 Oct 2018, 08:23

Wesmania wrote:I think README.md from github.com/FAForever/fa is what you're looking for.


Which culminates here:

After adding all maps and mods to the search path, all .nxt compressed directories are loaded (as filtered by the whitelist). This currently includes: murderparty, labwars, avanced strategic icons and texturepack. They are loaded in alphabetical order.

Followed by .nxt files, .nx2 files are loaded. These comprise compressed directories for each subdirectory of the FA virtual file system: effects, env, loc, lua, modules, schook, projectiles, units, textures and meshes.

After all FAF-files have been loaded, the init file loads the base-game .scd files. Since these are loaded last, files that are in the FAF-directories take precedence and shadow the base game files.


Which is rather confusing since there are no scd, nxt or nx2 files in the archive, fa-3698.zip, gotten from github.

I know I am "doing it wrong" since I do do not allow anything non essential on my C drive, or use my user profile at all.
However, the directions provided refer to non present files, and the downloadable components appear to have a different structure or layout than expected based on what I can find to refer to, such as above.

Do I need to reformat the directory structure of the archive?


Janus.
Janus
Crusader
 
Posts: 44
Joined: 17 Mar 2017, 06:24
Has liked: 0 time
Been liked: 11 times
FAF User Name: Janus

Re: Using Lua for FA from github directly.

Postby Exotic_Retard » 04 Oct 2018, 09:10

the scds are not shipped with faf, the way the loading works is it looks in directories and loads EVERYTHING that fits the criteria. that means that it loads nxt files first, then nx2 and then anything from the fa install path, which in this case contains the scd that it needs.

this way, the faf and fa installation paths are kept entirely separate so you can run faf without changing your fa installation in any way.

to run the game offline you need to get the faf files downloaded into the same directory, and then run the exe which comes as part of the faf files, with some command line arguments. luckily you can run that with a shortcut so you dont need to do fancy things more than once. to get the patch files you dont really have to have faf installed at any one point, just ask someone for the contents of their faf gamedata directory. you can run it from source as well, but this might be easier for you.
User avatar
Exotic_Retard
Contributor
 
Posts: 1470
Joined: 21 Mar 2013, 22:51
Has liked: 557 times
Been liked: 626 times
FAF User Name: Exotic_Retard

Re: Using Lua for FA from github directly.

Postby Janus » 04 Oct 2018, 09:35

I am unable to make sense of what you are meaning.

I installed faf, despite not having any account login with or desire to play online, and it did not download any scd,nxt or nx2 files.
Nor did it offer any options to launch scfa, even after I set the install path.
There are also no files of those types in the archive from github.

Have you looked at the zip from

https://github.com/FAForever/fa/releases

to see what it contains?
This is what I am looking at.

I do not wish to run the faf client, I wish to bypass it.
I am trying to load the updated lua code, without using the client that is not going to run on my system anyway.
Because I am only running it locally, since I do not with to play online.

I hope I am finally able to be clear this time.


Janus.
Janus
Crusader
 
Posts: 44
Joined: 17 Mar 2017, 06:24
Has liked: 0 time
Been liked: 11 times
FAF User Name: Janus

Re: Using Lua for FA from github directly.

Postby Nojoke185 » 04 Oct 2018, 10:34

Hi

You are trying to run FAF offline and want to additionally load some of the github game patches locally for test/offline play?

First you probably need to install the client and then host a game (to pull a copy of the game files to your PC) I think they get copied to c:\programdata\faforever folder
Without that the folder likely wont have any of the game files (client install only puts the client files in place - the game files get pulled down from the server when you first host the game)
You can then run the game FAF patched game by looking for C:\ProgramData\FAForever\bin\ForgedAlliance.exe

Next try here for some info on how to load and run the latest FAF game pull requests and patches from github https://wiki.faforever.com/index.php?ti ... nd_testing

hope that helps and is what you were looking for
User avatar
Nojoke185
Contributor
 
Posts: 38
Joined: 02 Jul 2012, 21:52
Has liked: 0 time
Been liked: 6 times
FAF User Name: Nojoke

Re: Using Lua for FA from github directly.

Postby Janus » 04 Oct 2018, 19:56

@Nojoke185

Perhaps I have been unclear.
I do not play online, nor do I have an account to do so.
I can not host a game, my lan/wan security blocks such things, even if I wanted to.
I do not have git, nor even know what a pull request is.
Git, svn, and the rest are things I avoid.
I do not work in shared environments, only in snapshots.

I am trying to bypass using the client at all.
I simply want to test the update, that is all.

If I figure out the logic of how to use the update, I will post it.


Janus.
Janus
Crusader
 
Posts: 44
Joined: 17 Mar 2017, 06:24
Has liked: 0 time
Been liked: 11 times
FAF User Name: Janus

Re: Using Lua for FA from github directly.

Postby Exotic_Retard » 04 Oct 2018, 21:40

so what you want to do is, get this: https://mega.nz/#!Qtgm1ApC!F9kWvnkuO2b1 ... ZL32ZB3TNs
it contains the patch files, and a fa exe.
you need to unpack the archive into:
C:\ProgramData\FAForever

and then run the fa.exe inside the bin folder provided, hopefully it should just work but if it doesnt then you need to edit the fa_path.lua file provided in the download to point to wherever your install location of forged alliance is, currently its the default install location.

how it should look like when youre done:
Image
notice that its programData not program files

like i mentioned in my post above, you dont need to run FAF at all to get this to work. so what we are doing here is replacing its patching mechanism with a manual download, and replacing its game launching mechanism with launching it manually.
User avatar
Exotic_Retard
Contributor
 
Posts: 1470
Joined: 21 Mar 2013, 22:51
Has liked: 557 times
Been liked: 626 times
FAF User Name: Exotic_Retard

Re: Using Lua for FA from github directly.

Postby Janus » 05 Oct 2018, 01:27

Thank you very much.
Saves me the hassle of figuring out how the client does it.
I am horrid at python, even worse than I am at perl.

Fixed the path for my install, but placed it beside my install, not on my C drive.
Launches fine, but oh man is that whole thing dark, I hate having my monitor set that bright.
I am hoping there is a skin or theme that can fix that problem though.

Only issue I am having so far is cybran tech3 engineering build options are not showing for anything.
T1 & T2 menus work fine in for T1 & T2 engineers and ACU, but T3 ACU or engineer shows just an icon to build a ground lab, and oddly, a fuel icon for aircraft.

I will try disabling all my mods and see if that helps.
Otherwise I will have some investigation to do.
Once I figure out how the faf client makes the archive you posted, I will post the directions just in case anyone else has a use for them.
I do not believe I am the only one who does use C for anything except the OS.


Janus.
Janus
Crusader
 
Posts: 44
Joined: 17 Mar 2017, 06:24
Has liked: 0 time
Been liked: 11 times
FAF User Name: Janus

Next

Return to General Discussions

Who is online

Users browsing this forum: No registered users and 1 guest