![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
07-28-23, 02:47 PM
|
#1 |
|
GLOBAL MODDING TERRORIST
|
I can tell you that some text files do NOT show all the settings in the off files.
So may need to re-export all the text files. Format on export is done. Just need to convert the byte to a string character and then is all good. A glimpe at the script.......... string f; int k=3, i, c[3], y, x, h, w, sIndex; ubyte l; char W[40], sFile[]; //Start the code OutputPaneClear(); sFile = InputOpenFileName("Select File", ("*.off | *.txt")); sIndex = FileOpen(sFile); f = FileNameGetBase(sFile, false) + ".off"; Printf("%s \n", f);//test for file name Printf("Nb.char HSep VSep \n"); for( i = 0; i < k; i++) { c[i] = ReadInt(); FSkip(4); } Printf( " %i %i %i \n", c[0], c[1], c[2]); Printf("Char x y width height \n"); for( i = 0; i < c[0]; i++) { l = ReadUByte(); Last edited by Jeff-Groves; 07-28-23 at 02:58 PM. |
|
|
07-28-23, 08:58 PM
|
#2 | |
|
Electrician's Mate
![]() Join Date: Sep 2021
Posts: 138
Downloads: 210
Uploads: 6
|
Quote:
|
|
|
|
07-29-23, 10:06 AM
|
#3 |
|
GLOBAL MODDING TERRORIST
|
Everything IS Tab seperated.
Only difference to the output text is it uses DOS linefeed instead of the UNIX linefeed like the existing text files. Imports to Spread Sheets just like the originals. ![]() And is there a way to insert a equipment or upgrade and batch rename the item number behind? I have no idea what you mean.
|
|
|
07-29-23, 01:51 PM
|
#4 | |
|
Electrician's Mate
![]() Join Date: Sep 2021
Posts: 138
Downloads: 210
Uploads: 6
|
Quote:
|
|
|
|
07-29-23, 02:23 PM
|
#5 |
|
GLOBAL MODDING TERRORIST
|
We are talking about FONTS in this thread.
There is no Equipment to talk about. Now if you mean adding characters? Yes. Once I do a reverse Script it will encode to the off format. After that it's up to you to check and adjust as needed. Last edited by Jeff-Groves; 07-29-23 at 02:31 PM. |
|
|
08-01-23, 11:51 AM
|
#6 |
|
GLOBAL MODDING TERRORIST
|
Working with the Devs of 010 We found a Bug.
Some characters don't print out. They are going to fix that Bug. In the mean time I use NotePad++ to insert the missing characters. Since there's only around 16 off files that need a txt file it's not a big deal. Once I have all the text files done I'll post a link to down load them all. |
|
|
08-02-23, 12:12 AM
|
#7 | |
|
Electrician's Mate
![]() Join Date: Sep 2021
Posts: 138
Downloads: 210
Uploads: 6
|
Quote:
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
