.DEFS

What program will open .DEFS correctly with that files formatting correct and not changed??

5,290 views 11 replies
Reply #1 Top

I don't know what files you're talking about, but when in doubt try notepad.

Reply #2 Top

If I remember correctly, only brush, entity, mesh, and particle files need to be converted from BIN to TXT...everything else (gameplay constants, galaxy scenario def, etc) is already in a nice text format...

Or perhaps you are getting formatting problems from using something like wordpad (which can use tabs and endlines differently, perhaps?)...as Goa said, notepad is a better choice...however, I do believe some people use notepad plus or something like that, mainly because it shows you line numbers...

 

Reply #3 Top

Quoting GoaFan77, reply 1
I don't know what files you're talking about, but when in doubt try notepad.
End of GoaFan77's quote

Are you sure your modding Sins? I'm with Goa, I have no idea what files you are talking about.

Reply #4 Top

Well, there are multiple files with "DEF" in the filetype...GALAXYSCENARIODEF, REFERENCEDEF, ASTEROIDDEF, etc...I assumed they were referring to those, but that may be a bad assumption...

Reply #5 Top

nope for some reason i have this phantom .DEFS file sitting in my rebellion mod that is annoying me due to crashs with the mod enabled saying ".defs error" idk where the file came from and notepad opens at bytecode but it can not be opened correctly with an JAVA plugin i have (i code in java as my job)

Reply #6 Top

Did you get this mod from somewhere, or is this something you made?

Reply #7 Top

something i made all its "supposed" is change the tech bonus percentage for one tech in the game :P

Reply #8 Top

Does the mod work if the .DEF file is gone?

Reply #9 Top

hmmm let me try that i was just working on getting the DEF file opened to see what it was lol x_x

Reply #10 Top

from a quick search in the vanilla gameinfo folder here are several files of the namestructure Name.Namedata, and from my checking of several files at random, they ARE in PLAIN TEXT and would suggest using either notepad OR notepad++ to edit(if you really NEED to, and do not remember seeing any ods that did alter them).

harpo

Reply #11 Top

lol i was wondering for the program for defs beacuse i got this pretty much   │ª4▲7«56L74░▐ so thats why

 

i fixed my mod with removing the DEFS and wiping my caches so now it works  lol before cache wipe i got the DEFS not found error lol idk what happened