v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Talk:Raw file"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
Line 9: Line 9:
 
  Filename : <Object-name>-whatever-you-want-.txt
 
  Filename : <Object-name>-whatever-you-want-.txt
 
With each raw file beginning with same file name and presumably followed by the same <code>[OBJECT:<Object-name>]</code> (I haven't tested the last) --[[User:Jan|Jan]] ([[User talk:Jan|talk]]) 18:48, 6 January 2023 (UTC)
 
With each raw file beginning with same file name and presumably followed by the same <code>[OBJECT:<Object-name>]</code> (I haven't tested the last) --[[User:Jan|Jan]] ([[User talk:Jan|talk]]) 18:48, 6 January 2023 (UTC)
 +
: AFAIK, this is correct. On a related note, it seems that the file header name (the one in the actually body text) can usually (but maybe not always) be anything you want. I did have some results where it seemed like this might be able to change the load order of the modded files, but would need more testing to confirm. [[User:Alpacalypse|Alpacalypse]] ([[User talk:Alpacalypse|talk]]) 16:24, 9 March 2023 (UTC)
  
 
== Links to related pages ==
 
== Links to related pages ==
  
 
I might add a "files" disambiguation page and add this to it. There are also a lot of pages on specific raw files and raw file usage that could be linked to from this page. It's a shame to have them tucked away and hard to find when they are often very informative and useful references from the wiki. [[User:Alpacalypse|Alpacalypse]] ([[User talk:Alpacalypse|talk]]) 16:16, 9 March 2023 (UTC)
 
I might add a "files" disambiguation page and add this to it. There are also a lot of pages on specific raw files and raw file usage that could be linked to from this page. It's a shame to have them tucked away and hard to find when they are often very informative and useful references from the wiki. [[User:Alpacalypse|Alpacalypse]] ([[User talk:Alpacalypse|talk]]) 16:16, 9 March 2023 (UTC)

Revision as of 16:24, 9 March 2023

One object type per file?

iirc I seen this mentioned on the forums, if so can someone please make note of it on the page, to avoid confusion of people using multiple objects per file. --Jan (talk) 11:13, 3 January 2023 (UTC)

I might be misunderstanding you, but you can definitely have more than one object defined per file, and I'm pretty certain this is universally true. I can't think of any file that doesn't have multiple objects defined in it. Alpacalypse (talk) 16:18, 9 March 2023 (UTC)

Parsing changes

It seems that filenames are no longer irrelevant. In my test it appears that filename must start with object name:

Filename : <Object-name>-whatever-you-want-.txt

With each raw file beginning with same file name and presumably followed by the same [OBJECT:<Object-name>] (I haven't tested the last) --Jan (talk) 18:48, 6 January 2023 (UTC)

AFAIK, this is correct. On a related note, it seems that the file header name (the one in the actually body text) can usually (but maybe not always) be anything you want. I did have some results where it seemed like this might be able to change the load order of the modded files, but would need more testing to confirm. Alpacalypse (talk) 16:24, 9 March 2023 (UTC)

Links to related pages

I might add a "files" disambiguation page and add this to it. There are also a lot of pages on specific raw files and raw file usage that could be linked to from this page. It's a shame to have them tucked away and hard to find when they are often very informative and useful references from the wiki. Alpacalypse (talk) 16:16, 9 March 2023 (UTC)