![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
02-21-13, 08:50 PM
|
#1846 | |
|
Black Magic
![]() |
Quote:
- if pointers come before data the app knows that all strings have only 1 null character (0x0) - if pointers come after data then the number of null characters are the number required to get to the alignment boundary (most in section 0 [where the strings are] are 0x4 (0x...0, 0x...4, 0x...8, 0x...C). If the alignment is 0x4 and the app reads 4 null characters and cannot find a pointer referencing it then it will throw an error (this is only true if the string doesn't end on an alignment boundary - if the string ends on an alignment boundary then the app will expect to read alignment number of null characters). If the name was Test and alignment is 0x4 then the app is looking for: Test00000000 (Test of course would be in hex numbers) If the name was Test2 and alignment is 0x4 then the app is looking for: Test2000000 (Test2 of course would be in hex numbers) Try loading the stock 7b GR2 file to ensure you can load it without problems. I can load it without error using 1.1.339.1. I can also rename bones and meshes without error. |
|
|
|
02-21-13, 09:04 PM
|
#1847 |
|
Ace of the Deep
![]() |
hmm. Strange. I guess I was messing it up somewhere, because this time it worked. Everything the same, even replacing the same way.
meh at me ![]() Well, will be testing more later. |
|
|
02-21-13, 09:29 PM
|
#1848 | |
|
Black Magic
![]() |
Quote:
I'm working on the next big thing for the app now
|
|
|
|
02-21-13, 11:38 PM
|
#1849 |
|
Watch
![]() Join Date: Dec 2009
Posts: 20
Downloads: 91
Uploads: 0
|
For a DarkWraith you have a very bright uniform. Maybe that's why I found it a bit of a shock. Never mind you'll soon reach vice admiral. That will sound even better !!
|
|
|
02-22-13, 02:20 AM
|
#1850 |
|
Ace of the Deep
![]() |
|
|
|
02-22-13, 04:24 AM
|
#1851 |
|
Grey Wolf
![]() Join Date: Dec 2012
Location: Perth, Western Australia
Posts: 768
Downloads: 103
Uploads: 2
|
Once again, I get an error trying to edit aircraft, just opening the GR2 causes this.
********* Section 0's mixed values count was found to be 45 vice 0. Please forward file and error to TheDarkWraith @ Subsim.com for review ********* This is very annoying because I just want to add more nodes to the JU-290 so it is actually useful, because it currently only has 2 bomb nodes, and in real life it could carry 30 100 Kg bombs. |
|
|
02-22-13, 10:11 AM
|
#1852 | ||
|
Black Magic
![]() |
Quote:
Quote:
|
||
|
|
02-22-13, 12:46 PM
|
#1853 |
|
Black Magic
![]() |
Created a copy of the CMD_small_boat so I could 'play' with it. Did some playing with it with new version I'm working on. What is new in it?
Last edited by TheDarkWraith; 02-22-13 at 01:22 PM. |
|
|
02-22-13, 02:44 PM
|
#1854 |
|
Frogman
![]() Join Date: Aug 2011
Location: Poland, my homeland.
Posts: 304
Downloads: 241
Uploads: 0
|
Hi TDW!
I'm glad that you're on .Best regards, Micha³. EDIT I found big bug, when I load file "Room_QR1.gr2" from my mod (silentmichal's interior mod 1.2.1), I have this:
__________________
Dining place in Silent Hunter 5? NOW it's possible http://www.subsim.com/radioroom/showthread.php?t=200862 Last edited by silentmichal; 02-22-13 at 03:09 PM. |
|
|
02-22-13, 04:03 PM
|
#1855 |
|
Black Magic
![]() |
ah yes, Room_QR1 was the odd ball. I was trying to remember which one defined DiffuseColor0 as 3 floats instead of 3 bytes. Now I have to figure out how to account for this
|
|
|
02-22-13, 04:09 PM
|
#1856 |
|
Frogman
![]() Join Date: Aug 2011
Location: Poland, my homeland.
Posts: 304
Downloads: 241
Uploads: 0
|
And what about duplicating GR2 files?
__________________
Dining place in Silent Hunter 5? NOW it's possible http://www.subsim.com/radioroom/showthread.php?t=200862 |
|
|
02-22-13, 04:12 PM
|
#1857 |
|
Black Magic
![]() |
|
|
|
02-22-13, 04:15 PM
|
#1858 | |
|
Frogman
![]() Join Date: Aug 2011
Location: Poland, my homeland.
Posts: 304
Downloads: 241
Uploads: 0
|
Quote:
So, can I add "......MergeCtrl.........[text].....data/Submarine/Common/Rooms/QR1_Room.PRT" into DER_Room.PRT file?
__________________
Dining place in Silent Hunter 5? NOW it's possible http://www.subsim.com/radioroom/showthread.php?t=200862 Last edited by silentmichal; 02-22-13 at 04:37 PM. |
|
|
|
02-22-13, 06:31 PM
|
#1859 |
|
Black Magic
![]() |
v1.1.343.1 released. See post #1
This version fixes the problem that silentmichal found. The problem was due to DiffuseColor0 can be either a granny_real32, granny_uint8, or an uint8. I had it hard coded to uint8. Thus I had to change the app to make this value be generic (object) and cast it to the correct type when needed.
|
|
|
02-22-13, 06:37 PM
|
#1860 | |
|
Ace of the Deep
![]() |
Quote:
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
