SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=219)
-   -   [REL] S3D - Silent 3ditor (https://www.subsim.com/radioroom/showthread.php?t=119571)

PepsiCan 08-05-07 04:31 PM

Parse error
 
Hi

I'm trying to open a stock SH4 SIM file (NSS_TAMBOR.SIM). I get the message PARSE ERROR... It happens as well for other NSS_XXX.SIM files in the "submarine" directory. Other SIM files can be opened though.

If you need the SIM file, let me know.

That's all.

THE_MASK 08-05-07 08:08 PM

Ok , i found sea speed in the scene dat/Env Data/properties . I want to change the number from 0.06 to 0.04 . How do i do it in Silent 3ditor (alpha). How do i open an already modified Scent dat file . I am trying to open the scene dat in the silent hunter data folder that is enabled with JSGME that incorporated living breathing ocean adjustments . It has a message that says The specified type must not be a generic type definition . Parameter name:t

skwasjer 08-05-07 10:28 PM

Quote:

Originally Posted by sober
Ok , i found sea speed in the scene dat/Env Data/properties . I want to change the number from 0.06 to 0.04 . How do i do it in Silent 3ditor (alpha). How do i open an already modified Scent dat file . I am trying to open the scene dat in the silent hunter data folder that is enabled with JSGME that incorporated living breathing ocean adjustments . It has a message that says The specified type must not be a generic type definition . Parameter name:t

If you read the first page of the thread, you'll find the solution :hmm:

@PepsiCan: yes, please send me the file.

PepsiCan 08-06-07 12:19 PM

Done
 
@skwasjer: done

CaptainCox 08-06-07 12:49 PM

At the mo I am using S3D in conjunction with Hexed to find addys and stuff, and again I can only say its a kick ass tool, even in its current state. I have nothing to add as such at the mo. Just keep her on track man ;).

skwasjer 08-06-07 04:10 PM

Thanks PepsiCan, I've identified the problem. It will be fixed with the next release.

Speaking of which, just a few days, and a new version will be available...

The current changelog (although I've still some things to add/fix, one which is the highly anticipated property value editor):

New
  • Ability to delete chunks.
  • Import raw chunk added (export was already supported). Be carefull with this though. Incorrect use can make the file you are working unreadable to the game.
  • When you run S3D again while another instance is already running, it will bring the existing instance up and terminate the new one.
  • Added a file info pane at the bottom. The pane displays the path, dates and size of the opened file. To view it, click the thin blue bar just above the statusbar.
  • When selecting an individual property, info of that property is shown: date type, offset, size, etc.
Changed
  • Seperated resources from main assembly, so it is smaller (for quick patches in the future).
  • Renamed propertydefitions.xml to propertydefinitions.xml (doh!)
  • Due to some internal changes, all user preferences are reset. I hope this won't need to happen next time...
  • Renamed 'Size' to 'Chunk size' and 'Chunk size' to 'Data size'. Sorry for overlooking this. (thanks Anvart)
  • Changed behavior of File > Close. Previously, the application would close if the last file was closed. Now, the last window will remain open. Use File > Exit to exit the application. (thanks Anvart)
  • Part of the property parser is reworked. These changes generally should improve data type detection. However, because I can't test it on all files all the time, if you find it doesn't open a particular file anymore, please tell me...
Fixes
  • Fixed a parse bug with cameras.dat (thanks CaptainCox)
  • Fixed issue with move up/down chunk.
  • Some minor bugfixes
  • Color edit control sometimes displayed a descriptive string of the color (for instance: Red) where you expect numeric values. This is corrected. (thanks Anvart)
Improved
  • Updated installer with logo.
  • Updated interface with some visual styles.
Latest screenshot

http://sh4.skwas.net/temp/properties_v1010.jpg

Fearless 08-06-07 05:22 PM

Awesome:rock:

PepsiCan 08-07-07 03:09 AM

Filepath
 
Yep! Especially the file path is a welcome addition! Simple but o so usefull.

Bando 08-07-07 03:19 AM

It's great :up: :up:

CaptainCox 08-07-07 05:12 AM

The end of the Minitweaker draws near :cry: hail the Minitweaker :)
And long live S3D:p

pontius 08-07-07 10:28 AM

Thank you again for your great tool, it is a very good help for me.

One thing I came across is:

When i am adding manually a new 3D- or Non3d- Node I tried to give them new ID and the correct Parent-ID using your tool. So I changed the ID's and your Tool shows the correct changes, but somehow it didn't work correctly.
Looking into the nodes with the hexeditor I saw, it only changed the first appaerance of the Node-ID and Parent-ID. I found also a second appearance of these ID's in the nodes that had to be changed, it would be great if your tool could do this too.

It was the really first time i tried hex-editing, so maybe i am just overlooking something ;)

greetings,
pontius

skwasjer 08-07-07 11:34 AM

This is by design (right now). As you've seen, changing an id breaks the tree as child nodes no longer reference an existing node. You'll have to go through the file and update each place where the id is referenced.

There's a few reasons why I didn't implement this (yet): it is complicated and risky. The main reason is there may be places where an id sits, but I don't know about it (in particular: specific properties with an id, other external files, or even unknown chunks). If I'd update the places I know about now, you'll run the risk of having the file only partial updated. Inexperienced modders will assume 'all is good' and there the trouble starts. At least now you know there's a manual fix up to go through.

So, it is up to the modder to rebuild a tree structure chunk by chunk (node by node) where changing id's is involved.

pontius 08-07-07 05:47 PM

Thanks for the answer, it sounds reasonable to me. As long as we put new Nodes in manually, it will be no problem also changing the ID's manually.
(But maybe in future it will be possible to just get a new node with correct ID's just by pressing a button? :hmm:)

Keep up the good work!
Ah, and I really love the way you made assigning materials really easy :)

Greetings,
pontius

tater 08-07-07 06:52 PM

Found something it won't open.

Data/Library/ShipParts/guns_radars.sim and Data/Library/ShipParts/guns_radars_02.sim. _03.sim opens fine.

The error dialog says, "The specified Type must not be a generic type definition. Parameter name: t"

tater

skwasjer 08-07-07 07:21 PM

Thanks, I'll have a look... I've made some improvements to the parser already, and it should show better messages (indicating the actual problem), and hopefully less too... ;)


All times are GMT -5. The time now is 08:21 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.