Commit graph

1564 commits

Author SHA1 Message Date
riperiperi
4c6b3e8f58 Fix 2d thumbnail lighting at night
SpriteBatch doesn't work with linear space lighting, so I just converted the multiple to SRGB.
2025-08-22 01:48:08 +01:00
riperiperi
019a80537e Stop building libraries as x86 only 2025-07-17 01:02:16 +01:00
riperiperi
ca72f62c1e Correct paths 2025-07-17 00:00:54 +01:00
riperiperi
1228ec45f1 Fix azure build (hopefully) 2025-07-16 23:46:01 +01:00
riperiperi
0c464cccbb Fix build for x64 2025-07-16 00:19:26 +01:00
riperiperi
c2eba83adf Reduce audio stutters by calming down the GC.Collect when nothing is being derefed 2025-07-16 00:05:42 +01:00
riperiperi
9772dbaa5b x64 fix 2025-07-16 00:05:26 +01:00
riperiperi
979f675113 Fix race condition
That's not how locks work
2025-07-16 00:05:17 +01:00
riperiperi
bacee31913 Make avatar tool work a bit better in TS1
Still needs the ability to swap outfits.
2025-03-29 14:59:24 +00:00
riperiperi
b38936fbee Add new TS1 lot loader, fix FSO lighting
Still need to inherit neighbours on lot load, figure out what happens with vacation saves.

FSO lighting for windows has been kind of broken for a while, this should fix it.
2025-03-14 01:32:34 +00:00
riperiperi
36d55ed034 Complete OBJM person struct, HouseSpy
House Spy allows you to open a house iff and see person state contained within. You can play and save the house in TS1 (press ctrl-s), and the display on House Spy will instantly update. The current purpose is for seeing how the unknown values change based on interactions ingame, but it could be expanded to do more.
2025-03-10 22:54:24 +00:00
riperiperi
ac88b84c0e Propert OBJM parsing (TS1 save files)
Seems to catch everything included in complete collection. Missing:

- Some unknowns about things that never appear to be different (512 flag for stack, unknown data always 1)
- A bunch of info for Person type objects:
  - Interaction queue (partially worked out)
  - Motive changes
  - Routing info
  - Find best action history?
  - A bunch of fields that are 0 most of the time...

Person type objects read up to these unknown fields. (includes appearance, animations, motives, person data)

Until info for people is worked out, the game still recreates all objects and people when opening the lot (with full tile positions), rather than restoring existing state. (so stuff doesn't get stuck occupied)

Fixes a lot of objects being missing when loading saved lots in Simitone.
2025-03-02 19:33:39 +00:00
riperiperi
05ce4a53b8 Add ability to disable subworld fading for Simitone 2025-01-16 22:08:49 +00:00
riperiperi
be092ac421 Remove unused config, correct a few things, add docs 2024-12-30 17:25:21 +00:00
riperiperi
0573590be4 Fix broken log date format, add file logging 2024-12-30 01:28:33 +00:00
riperiperi
e8d4250b2e Delete unused API project 2024-12-30 01:21:52 +00:00
riperiperi
36bf4a507b Remove unused API project 2024-12-30 01:21:10 +00:00
riperiperi
a982a1f9f7 Update Content 2024-12-30 00:05:58 +00:00
riperiperi
f5590b2c34 Update docs, api fixes and changes. 2024-12-29 21:25:08 +00:00
riperiperi
bda2994c60 Fix registration, password api. give moderators/admins starter money. 2024-12-27 22:08:43 +00:00
riperiperi
f60d52b8d9 Split registration and password api controllers 2024-12-24 23:53:49 +00:00
riperiperi
e13ca09cc8 Add registration docs, fixes, update templates. 2024-12-24 19:31:18 +00:00
riperiperi
ec7347138b Add a default nhood failsafe
This is in a weird position - the data service providers initialize before the city server itself, so the best place to add the failsafe nhood is immediately before it precaches the nhoods to send to users via the data service.
2024-12-23 14:05:19 +00:00
riperiperi
0b6807a0de Automatically set internal and public hosts for shards in database
Untested, but I don't see why it wouldn't work.
2024-12-23 03:01:18 +00:00
riperiperi
04334790c8 Admin docs, build fix 2024-12-23 02:49:18 +00:00
riperiperi
3e9893a1f0 Improve city interaction when there's only 1 nhood 2024-12-23 00:27:20 +00:00
riperiperi
d45593bc04 Fix single nhood rendering 2024-12-22 23:55:00 +00:00
riperiperi
e72dca1d11 Fix rendering crash when map contains invalid terrain in bounds
This isn't ideal, but it prevents the game from crashing rendering some of the base game maps.
2024-12-22 23:32:12 +00:00
riperiperi
538644ccbe Possibly fix the admin user create api 2024-12-22 18:36:10 +00:00
riperiperi
0757002eb7 Fix lot interaction, SPR1 rendering 2024-12-19 20:26:47 +00:00
riperiperi
bd41598afb Fix plugins and improve city view mesh gen performance
Significantly reduced stutter when loading city view, too.
2024-12-18 20:00:18 +00:00
riperiperi
289a12caa0 Update sample config, add initial setup doc 2024-12-18 02:13:43 +00:00
riperiperi
1bbeaca6df Add upgrades json 2024-12-17 21:11:02 +00:00
riperiperi
fba9265675 Fix debug draw lines
Fixes `!debugroutes true` cheat.
2024-12-17 18:22:02 +00:00
riperiperi
69adb2dec6 Content Project Restructure
- Adds FreeSO Server content
- Adds FSO.Content.TSO content, for content that should be included with FreeSO Client/Server but not Simitone.
2024-12-16 18:57:00 +00:00
riperiperi
9df7ec4613 Fix 3d thumbnails some more
Relax some fire restrictions

Finale graphical effects

Should only activate on finale.
2024-12-16 16:27:00 +00:00
riperiperi
182dc48e60 Fix 3d object thumbnails
- Fixes a game crash after a desync
- Fixes it so you can actually see the object
2024-12-16 16:26:59 +00:00
riperiperi
8e0f2ac438 Fix rendering issues caused by ceilings change
He's Back

Deploying surprise in 3... 2... 1...

Fix build ?

Make others visible even when controller is not plugged in

Fix lighting

Improve 3d camera

Fix lighting error

Add enable tuning, fix integration with direct control, regen health
2024-12-16 16:26:57 +00:00
riperiperi
e4d3c9a56b Alter vertex color a little 2024-12-02 02:35:57 +00:00
riperiperi
2f86b3a7c7 Patch up the city painter a little, add the final town hall island
City painter needs a lot of work, especially in terms of performance.
2024-12-02 01:50:21 +00:00
riperiperi
9d083e8c8a Make direct control smoother by deferring duplicate commands
- Notably improved smoothness of direct control when connected to a game server
2024-12-01 22:33:31 +00:00
riperiperi
fc3d50065f Improve world reload
- Fixed an issue where first person and direct control cameras would either disengage or change facing direction dramatically when reloading due to desync
- Slightly reduced stutter when reloading due to desync
2024-12-01 17:16:48 +00:00
riperiperi
c0844afe28 Fix ceiling rendering
- Fix an issue where viewing a floor tile at an extreme angle (or at the edge of a hill) would cause it to appear white. This was caused by the addition of ceiling rendering with Direct Control.
2024-12-01 16:40:57 +00:00
riperiperi
6a86ccaf6d Improve direct control considerably, DPI fixes
- Direct control is now its own camera type, separate from Free Camera.
- Direct control is now triggered by F10, or a button in live mode. Free Camera is still triggered by Tab.
- Fixed an issue where the cursor would jitter when moving the camera in Direct Control.
- Fixed an issue where sometimes the user would be forced into first person unexpectedly.
- Fixed an issue where the direct control / freecam cursor was pushed up to the top left of the screen when Anti Alias was set to max (4x SSAA).
- Fixed an issue where the camera position would lag behind the head position by a variable amount, causing the camera to appear to vibrate when looking down.
- Fixed an issue with DPI scaling where the right mouse scrolling anchor graphic would appear in the wrong place.
- Fix positioning with certain panels (EODs, query panel) with DPI scaling.
2024-12-01 16:07:16 +00:00
riperiperi
9df59c2904 Fix some more issues with Custom GUID avatars 2024-11-29 00:36:55 +00:00
riperiperi
97d92bfdf2 Fix crash when saving avatars without heads
Yes, this can actually happen.
2024-11-28 01:31:54 +00:00
riperiperi
7e9b0d2e96 Fix change suit primitive editor
Not fantastic, but it works.
2024-11-26 00:39:47 +00:00
riperiperi
7424f18050 Fix avatars without the leave lot action crashing when leaving lots 2024-11-25 23:03:22 +00:00
riperiperi
62466acbf2 Fix version saving for FSOV
Some tools open an FSOV, process it then save it again. This doesn't update Version, but we always save out the latest version so it could create a corrupt file where the version wasn't the latest, but the data layout was.
2024-11-21 20:24:44 +00:00
riperiperi
b24a3fa079 Improve logging for restore tool 2024-11-21 17:24:02 +00:00