We have pushed out an update to pΛ ( Project Lambda ) on the production branch today. This update only affects the client, which will automatically update. The server is unchanged.
Summarized changelog
- Support loading data files (including various
.meta
files) from the resource manifest (__resource.lua
) entries. - Implement
ADD_TEXT_ENTRY
andADD_TEXT_ENTRY_BY_HASH
client-side natives. - Skip reading
commandline.txt
from the game folder, this should resolve incompatibilities after using other multiplayer mods. - Minor bugfixes and other internal changes.
Developer information
Unfortunately there’s no official wiki yet ( Coming soon ), so this will have to do.
Resource manifest (__resource.lua
) changes
- The Resource Manifest is now expected to contain a version manifest (
resource_manifest_version
). Old resources will not have access to some new features or mechanics.
Non-manifested resources will continue to work for the foreseeable time, but may lose access to future said features. - The
data_file
directive got added. This can be used to load the same.meta
files ascontent.xml
in a DLC pack. The.meta
files has to be added in the same order as in thecontent.xml
file. Currently the<fileType>TEXTFILE_METAFILE<fileType/>
does not work, It’s not needed anyways.
This example is taken from the IVPack port for pΛ.
-- the current manifest version level (2016-12-30)
resource_manifest_version '77731fab-63ca-442c-a67b-abc70f28dfa5'
-- add the files to be sent to the client
files {
'vehicles.meta',
'carvariations.meta',
'carcols.meta',
'handling.meta'
}
-- specify data file entries to be added
-- these entries are the same as content.xml in a DLC pack
data_file 'HANDLING_FILE' 'handling.meta'
data_file 'VEHICLE_METADATA_FILE' 'vehicles.meta'
data_file 'CARCOLS_FILE' 'carcols.meta'
data_file 'VEHICLE_VARIATION_FILE' 'carvariations.meta'
-- and a client script
client_script 'vehicle_names.lua'
ADD_TEXT_ENTRY native
This native allows you to override GXT2 entries from your client script, to reduce the need for modifying global.gxt2
in RPF files.
It is not yet added to natives.lua
, so you’ll have to refer to it manually using its hash key. This can be done as follows:
AddTextEntry('0x018B36C6', 'STD Spoiler')
AddTextEntry('0x04F48FC4', 'Rebla')
AddTextEntry('0x067AC0A5', 'Carbon Wing Type II')
AddTextEntry('0x09B56631', 'DF8-90')
AddTextEntry('PINNACLE', 'Pinnacle')
To make it easier to convert OpenIV .oxt files, ADD_TEXT_ENTRY
also supports hashes as strings using 0x1234ABCD
hexadecimal notation.
Future plans
We’re still at work debugging the issues with graphics card initialization. No progress has been made on this far, but it will be fixed it eventually.
There also has been a lack of transparency with regards to recent updates and changes the project has been going through. You’ll have to bear with us for the next while as we rearrange the project structure to serve you better.
The focus for the next while will be stability, reliability and adding documentation and other unfinished features, and making it possible for you to do more things server-side without requiring client-side modifications.
@Oui has been hard at work on a server-side version of his trainer, and we’re expecting to be able to deliver this to you early 2017.
If your country uses a normal Gregorian calendar, we wish you a happy new year - and if not, you’re probably trained to ignore these wishes anyhow.