F1 2016 Modding Questions Thread

maybe be possible to show us how the Step 3 file should look?
i have the same problem has jason stew. it hard to even see what part goes where. i use paint.net since cant get photoshop without paying for it
 
maybe be possible to show us how the Step 3 file should look?
i have the same problem has jason stew. it hard to even see what part goes where. i use paint.net since cant get photoshop without paying for it
That is what the file is meant to look like, livery modding has been very restrained since 2015
 
I'm just wondering is it gonna be possible to mod the game like it was possible in 2014 game?
If so does any one no where to download tools for modding like that Ego database editor and those Ryder tools like in 2014 game?
 
I'm just wondering is it gonna be possible to mod the game like it was possible in 2014 game?
If so does any one no where to download tools for modding like that Ego database editor and those Ryder tools like in 2014 game?
The game is as moddable as f1 2015 apart from the helmets (working on it ;)), that means we can mod liveries, performance and the language file (names etc) also @Gaspedal made a visulal effects upgrade
Links:
http://www.petartasev.com/modding/ego-engine/erp-archiver/ - Extracts .erp files
https://sourceforge.net/projects/petars-programs/files/Ego Engine/Ego BXML Converter/ - changes the car performance .vtf to an editable .C.xml
https://sourceforge.net/projects/petars-programs/files/Ego Engine/Ego Language Editor/ - Can open the language file
 
I'm just wondering is it gonna be possible to mod the game like it was possible in 2014 game?
If so does any one no where to download tools for modding like that Ego database editor and those Ryder tools like in 2014 game?
Moved to the modding questions sticky thread in the modding forum
 
That is what the file is meant to look like, livery modding has been very restrained since 2015
Alright thank. bi presume if i load the mod in like i did and only get a invisible/transparent car it is because i havent save the file has the right type?
Apart from that keep up the work. If only codemaster and FOM were more looser like f1 2014 and before
 
I have been trying my mightiest to get a helmet I edit to inject back into the game without any graphical artifacting. What would be useful is changing the colours I chose for my helmet. Basically, anyway I can keep my current career save, and start a new one?
 
Am having this weird game crashing pop up after i modify and load custom paint scheme, just changing the sauber main colors
 

Attachments

  • 14124043_10153694172862791_651135299_o.jpg
    14124043_10153694172862791_651135299_o.jpg
    247.9 KB · Views: 460
Last edited:
I think I figured it out with the helmets.
http://imgur.com/a/2HIdo

I used the intial Noesis script but changed the values. Those arent 4096x2048 DXT5 textures, they use double the compression, so 4096x4096 and DXT1.

Code:
elif datasize == 11173888:
     imgWidth = 4096
     imgHeight = 4096
     texFmt = noesis.NOESISTEX_DXT1
elif datasize == 348160:
        imgWidth = 512              
        imgHeight = 512              
        texFmt = noesis.NOESISTEX_DXT1
    elif datasize == 2795520:
        imgWidth = 2048              
        imgHeight = 2048              
        texFmt = noesis.NOESISTEX_DXT1
    elif datasize == 5591040:
        imgWidth = 2048
        imgHeight = 2048
        texFmt = noesis.NOESISTEX_DXT1
    elif datasize == 698368:
        imgWidth = 512              
        imgHeight = 512              
        texFmt = noesis.NOESISTEX_DXT1

Remove the dds header afterwards and you are good to go.
 
Looks good! I'm no coding expert can u please explain which part of the script needs to be changed or post the full code so I can copy it?

Remove the dds header afterwards and you are good to go.
And how do you remove the dds header? or how to inject the modified textures to the game? Does this work for career helmets? Thanks
 
Looks good! I'm no coding expert can u please explain which part of the script needs to be changed or post the full code so I can copy it?
Code:
from inc_noesis import *
import os

def registerNoesisTypes():
   handle = noesis.register("F1 2016 (headerless textures)", ".mipmaps")
   noesis.setHandlerTypeCheck(handle, noeCheckGeneric)
   noesis.setHandlerLoadRGBA(handle, F1LoadRGBA)
   #noesis.logPopup()
   return 1

def F1LoadRGBA(data, texList):
   datasize = len(data)
   print(datasize, "datasize")
   bs = NoeBitStream(data)
   data = bs.readBytes(datasize) 
   fileName = os.path.basename(rapi.getInputName())  #get file name + ext without path
   if datasize == 688128:
     imgWidth = 1024  
     imgHeight = 1024  
     texFmt = noesis.NOESISTEX_DXT1  
   elif datasize == 2785280:
     imgWidth = 2048  
     imgHeight = 2048  
     texFmt = noesis.NOESISTEX_DXT1
   elif datasize == 699008:
     imgWidth = 1024  
     imgHeight = 512  
     texFmt = noesis.NOESISTEX_DXT5
   elif datasize == 349504:
     imgWidth = 512  
     imgHeight = 512  
     texFmt = noesis.NOESISTEX_DXT5
   elif datasize == 327680:
     imgWidth = 512  
     imgHeight = 512  
     texFmt = noesis.NOESISTEX_DXT5
   #ATI2 normal maps
   elif "_nm" in fileName:
     imgWidth = 1024  
     imgHeight = 1024  
     data = rapi.imageDecodeDXT(data, imgWidth, imgHeight, noesis.FOURCC_ATI2)
     texFmt = noesis.NOESISTEX_RGBA32
   elif datasize == 1376256:
     imgWidth = 1024  
     imgHeight = 1024  
     texFmt = noesis.NOESISTEX_DXT5
   elif datasize == 5570560:
     imgWidth = 2048  
     imgHeight = 2048  
     texFmt = noesis.NOESISTEX_DXT5
   elif datasize == 16777216:
     imgWidth = 4096  
     imgHeight = 4096  
     texFmt = noesis.NOESISTEX_DXT5
   elif datasize == 11173888:
     imgWidth = 4096  
     imgHeight = 4096  
     texFmt = noesis.NOESISTEX_DXT1    
   elif datasize == 655360:
     imgWidth =  1024  
     imgHeight = 512  
     texFmt = noesis.NOESISTEX_DXT5      
   elif datasize == 1310720:
     imgWidth = 2048  
     imgHeight = 512  
     texFmt = noesis.NOESISTEX_DXT5      
   elif datasize == 2621440:
     imgWidth = 4096  
     imgHeight = 512  
     texFmt = noesis.NOESISTEX_DXT5  
   elif datasize == 5242880:
     imgWidth = 5120  
     imgHeight = 1024  
     texFmt = noesis.NOESISTEX_DXT5
   elif datasize == 2752512:
     imgWidth = 2048  
     imgHeight = 1024  
     texFmt = noesis.NOESISTEX_DXT5
   elif datasize == 348160:
     imgWidth = 512  
     imgHeight = 512  
     texFmt = noesis.NOESISTEX_DXT1
   elif datasize == 2795520:
     imgWidth = 2048  
     imgHeight = 2048  
     texFmt = noesis.NOESISTEX_DXT1
   elif datasize == 5591040:
     imgWidth = 2048  
     imgHeight = 2048  
     texFmt = noesis.NOESISTEX_DXT1
   elif datasize == 698368:
     imgWidth = 512  
     imgHeight = 512  
     texFmt = noesis.NOESISTEX_DXT1

    
    
    
   #unknown, not handled
   else:
     print("WARNING: Unhandled image format")
     return None
   texList.append(NoeTexture(rapi.getInputName(), imgWidth, imgHeight, data, texFmt))
   return 1
And how do you remove the dds header? or how to inject the modified textures to the game? Does this work for career helmets? Thanks
Should work for all helmets. I removed the header with an Hex Editor, first 128 bytes and ofc renamed the file.
 

Latest News

Are you buying setups?

  • Yes

  • No


Results are only viewable after voting.
Back
Top