- Site Map >
- Modding and Creation >
- Sims 4 Creation >
- Modding Tools >
- s4pe 0.4.3 ‒ release; 0.4.4-beta
- Site Map >
- Modding and Creation >
- Sims 4 Creation >
- Modding Tools >
- s4pe 0.4.3 ‒ release; 0.4.4-beta
Posts: 11,006
Thanks: 422652 in 1121 Posts
Update 2016-02-19: 0.4.3 has moved on to release status; features haven't changed since beta though (apart from some small additional fixes)
Update 2016-03-11: 0.4.4-beta is out now as well, contains some of the fixes mentioned below. Get it here.
Assorted fixes and updates by CmarNYC, Buzzler, pbox, Inge Jones (see the recent commits for details): Fixes:
Updates, edits, additions:
Use 7zip to uncompress the binary, it will likely not work otherwise. |
Download: https://github.com/s4ptacle/Sims4To...g/0.4.3-release
--
Bug reports / Feedback / Questions can go in this thread (preferred, because all of the current contributors are here more often), or in https://github.com/s4ptacle/Sims4Tools/issues.
Known Issues
-
Build procedure does not (always) copy tagtuning and extensions.txt like it should-- seems fixed; I haven't had this in a while (pbox) - MODL: Fade flags are not editable (old issue inherited from one of the 0.3 versions, used to work before that)
- STLK won't read from fb0 (is working for current version though)
- Deleted _KEY in SimulationDB0 can't be read/saved (post #17/DarkWalker)
- Editing text resources in external editor (via the menu item in Resource menu): Sometimes the preview won't update on-screen unless you reopen the resource (Inge)
- The Do Not Parse tickbox does not seem to toggle properly when a GEOM resource is selected (pbox)
To Do / Wishlist
- Remove "Prompt for dbc autosaving" menu item? (post #19)
- Check how feasible it would be to port the whole thing to mono (Buzz, ella?)
- Add XML export/import ability? (for non-XML resource types)
- Finish up the DATA wrapper (Inge)
- OBJD (possibly others): can we add the ability to add fields when an object does not have them, like Tuning/TuningID?
- List existing tools that use s4pi in the readme or wherever (pbox)
- TS4CASTools (Cmar) -- http://modthesims.info/showthread.php?t=532867
- Skininator (Cmar) -- http://modthesims.info/download.php?t=568474
- Mod Constructor (Zerbu) -- http://zerbu.tumblr.com/post/137431...onstructor-beta
- TS4Package Searcher (Cmar) -- upcoming
- Caster (Zerbu) -- is/was based on s3pi, is it still supported?
- DP STBL Editor -- http://modthesims.info/download.php?t=564576 -- is an actual derivative too, not just "inspired by"
- Batch Export As PNG option (for THUM)
- Doublecheck the COBJ update for 1.15 -- one of these fields is a count, and I don't think we saw anything where it wasn't zero so we don't account for that atm. They've updated the template: http://cd8ba0b44a15c10065fd-24461f3...dcad6d0659f.zip
Done (available in 0.4.4-beta)
- STBL: length info corrected for non-ASCII strings (which for the game did not matter but caused DP's STBL editor to complain and fall over (see this post)
- STBL: Fixed byte count (length info) not correctly increasing/decreasing when adding strings with Copy (not Add), or Delete
- Inline help added -- see this thread: s4pe Inline Help -- WIP/Feedback
- More meaningful error message (including package name) when package import fails
- SIMO: Updated for EP02 (Cmar) https://github.com/s4ptacle/Sims4To...2529a8673bc8d33
Stuff for TS2 · TS3 · TS4 | Please do not PM me with technical questions – we have Create forums for that.
In the kingdom of the blind, do as the Romans do.
Thanks
Posts: 11,006
Thanks: 422652 in 1121 Posts
Stuff for TS2 · TS3 · TS4 | Please do not PM me with technical questions – we have Create forums for that.
In the kingdom of the blind, do as the Romans do.
Posts: 11,006
Thanks: 422652 in 1121 Posts
Stuff for TS2 · TS3 · TS4 | Please do not PM me with technical questions – we have Create forums for that.
In the kingdom of the blind, do as the Romans do.
Posts: 11,006
Thanks: 422652 in 1121 Posts
Stuff for TS2 · TS3 · TS4 | Please do not PM me with technical questions – we have Create forums for that.
In the kingdom of the blind, do as the Romans do.
Posts: 11,682
Thanks: 9675 in 11 Posts
"You can do refraction by raymarching through the depth buffer" (c. Reddeyfish 2017)
Posts: 11,006
Thanks: 422652 in 1121 Posts
Stuff for TS2 · TS3 · TS4 | Please do not PM me with technical questions – we have Create forums for that.
In the kingdom of the blind, do as the Romans do.
Posts: 11,682
Thanks: 9675 in 11 Posts
"You can do refraction by raymarching through the depth buffer" (c. Reddeyfish 2017)
Posts: 273
Thanks: 12142 in 32 Posts
@MonoChaos -- can you check whether you're still seeing PNG export issues with this version? |
Sorry it took so long to notice the message. I downloaded the new version and checked the png export on a sim thumbnail and it works beautifully as long as I use the export to png option. The export to file now makes an icky png the looks the same as the icky jpegs.
I have moved again this time to a private domain here are the links:
Sims 4: https://monochaos.blog/
Sims 2: https://sims2.monochaos.blog/
Posts: 11,006
Thanks: 422652 in 1121 Posts
works beautifully as long as I use the export to png option. The export to file now makes an icky png the looks the same as the icky jpegs. |
Yes, "Export to File" is different from the separate "Export to PNG" option -- "To File" simply dumps the resource as-is, and since the Maxis thumbnails aren't quite PNGs (they are similar but the alpha channel works differently), they will look weird in Explorer or an image editor then .. those expect an actual proper PNG, which currently only the "Export to PNG" option will create (that is why it exists).
If you're interested in testing, I can post an experimental version that changes the "Export to File" option so that it works like the PNG export helper -- works fine for PNG, but it could use a bit more testing since it changes the generic export option (for all resources, not just thumbnails).
Stuff for TS2 · TS3 · TS4 | Please do not PM me with technical questions – we have Create forums for that.
In the kingdom of the blind, do as the Romans do.
Posts: 11,682
Thanks: 9675 in 11 Posts
"You can do refraction by raymarching through the depth buffer" (c. Reddeyfish 2017)
Posts: 11,006
Thanks: 422652 in 1121 Posts
The main use of that would be the batch export, which the helper does not handle (and I don't think it is meant to, or is it?). Thumbnails in particular typically come in bundles of four, and selecting them all and exporting > To File (all at once) seems more convenient than exporting them one by one.
Importing to another package works the same anyway, no matter how you exported.
Stuff for TS2 · TS3 · TS4 | Please do not PM me with technical questions – we have Create forums for that.
In the kingdom of the blind, do as the Romans do.
Posts: 11,682
Thanks: 9675 in 11 Posts
"You can do refraction by raymarching through the depth buffer" (c. Reddeyfish 2017)
Posts: 11,006
Thanks: 422652 in 1121 Posts
Separate option, you mean something like "Batch Export to PNG" in addition to "Export to File" which produces PNG with a weird alpha? I dunno, I find that a bit redundant since there is no real use for the PNG-with-weird-alpha.
Stuff for TS2 · TS3 · TS4 | Please do not PM me with technical questions – we have Create forums for that.
In the kingdom of the blind, do as the Romans do.
Posts: 11,682
Thanks: 9675 in 11 Posts
"You can do refraction by raymarching through the depth buffer" (c. Reddeyfish 2017)
Posts: 11,006
Thanks: 422652 in 1121 Posts
(Then again, https://en.wikipedia.org/wiki/Raw_image_format isn't very well defined after all so maybe that would just work?)
Stuff for TS2 · TS3 · TS4 | Please do not PM me with technical questions – we have Create forums for that.
In the kingdom of the blind, do as the Romans do.
Posts: 11,682
Thanks: 9675 in 11 Posts
"You can do refraction by raymarching through the depth buffer" (c. Reddeyfish 2017)
Posts: 75
Thanks: 547 in 13 Posts
Posts: 11,006
Thanks: 422652 in 1121 Posts
I have no idea of course whether he ever did anything to implement / follow up with that.
Stuff for TS2 · TS3 · TS4 | Please do not PM me with technical questions – we have Create forums for that.
In the kingdom of the blind, do as the Romans do.
Posts: 11,006
Thanks: 422652 in 1121 Posts
Stuff for TS2 · TS3 · TS4 | Please do not PM me with technical questions – we have Create forums for that.
In the kingdom of the blind, do as the Romans do.
Posts: 11,006
Thanks: 422652 in 1121 Posts
When attempting to export a THUM that was generated by TSRW I get the following:
0.4.3-release:
Results in the canned Windows message about "ThumbnailHelper does not work any more".
The thumbnail is rendered fine in the preview in this version.
0.4.4 experimental build (with the PNG export changes discussed above -- I haven't committed those and they're stashed now, but maybe the exception throws some light on what the error is actually):
System.IO.IOException: The process cannot access the file "C:\Users\User\AppData\Local\Temp\S4_3C2A8647_E5B92972_000000005E5B9297%%+THUM.png" , because it is used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) |
(translated)
The thumbnail is not rendered in the preview in this version ("Generic Error in GDI+"). I also get "Used By Another Process" when the package is opened readonly).
--
Offending resource is e.g. 0x3C2A8647-0xE5B92972-0x000000005E5B9297 in the "sinktest" package attached (this is an unedited package as exported from TSRW).
Exporting the same type of thumbnail from localthumbscache (e.g. 0x3C2A8647-0x6B2C05E2-0xE2CD59D4F6B2C05E) works fine in both versions.
TLDR:
Should we do something to accomodate this?
Stuff for TS2 · TS3 · TS4 | Please do not PM me with technical questions – we have Create forums for that.
In the kingdom of the blind, do as the Romans do.
Posts: 11,006
Thanks: 422652 in 1121 Posts
Attachment removed; this is available in 0.4.4-beta (see above)
Stuff for TS2 · TS3 · TS4 | Please do not PM me with technical questions – we have Create forums for that.
In the kingdom of the blind, do as the Romans do.
Also the recieved the same error when I ran STBLResourceEditor.exe
And yes, I use 7zip.
STBLResourceEditor, Version=1310.20.1749.21255, Culture=neutral, PublicKeyToken=null
== START ==
Source: mscorlib
Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Exception has been thrown by the target of an invocation.
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.ConstructorInfo.Invoke(Object[] parameters)
at s4pi.Helpers.RunHelper.Run(Type mainForm, String[] args)
-----
Source: mscorlib
Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Entry point was not found.
at System.Collections.Generic.IDictionary`2.get_Keys()
at s3pi_STBL_Resource_Editor.MainForm.loadStbl(Stream data)
at s3pi_STBL_Resource_Editor.MainForm..ctor(Stream ms)
-----
== END ==
Posts: 92
Thanks: 3798 in 5 Posts
Posts: 545
Thanks: 58284 in 142 Posts
I make sims worlds ... can you believe it ?
Who Posted
|