# Continue SimSync EA Gallery integration on the Sims computer

Continue the work from the private handoff and support ZIP for game 1.129.39.1030. The previous pass stopped at a JPEXS PlaceObject3 parsing issue. The new ABC Workbench resolves that specific display-tag preservation problem: isolate the DoABC code, edit that minimal movie, then splice the code into the untouched original resource. See WORKBENCH.md for commands, exact hashes and the reproduced no-op experiment. **The real Gallery button is still not implemented. Do not stop after repeating the no-op test or report it as a finished mod.**

Project: AnubisMods `appgprj_6ad6a2050a148191aba5c54842ee8f48`.
Site/downloads: https://anubismods.rangerred221.chatgpt.site/simsync

Use a new isolated branch/worktree from the current project source. Another Codex session manages the website. Do not edit its checkout, deploy the site, replace stable downloads, change access, alter daily automations or rebuild/re-sign Android. Preserve 1 GB ZIP support, the website's 12,000 Tray-file cap, user records and read-only game-file safeguards. Return a reviewable patch and test evidence. If project source is unavailable, report that precise blocker instead of creating an unrelated implementation.

## Grounded starting points

- The supplied report identifies `LibraryPanel.OnListItemClick` -> `ExchangeData` -> `ExchangeDetail` and `MY_SAVES`.
- The local `ExchangeData.id` is a String, separate from `remote_id`. Preserve all 64 bits as text. **Its runtime encoding and relationship to a prepared Tray ID still need observation.** Do not guess by name, convert through Number or silently prefer decimal over hex.
- The real `CommunicationManager.CallGameService("PostServerCommand", {command, commandArgs})` path exists in the supplied UI. Verify the actual Python command registration/argument serialization in game before relying on it.
- Target ExchangeDetail resource key and original SHA-256 are in WORKBENCH.md. Other patches/hashes need fresh review. Never reserialize the original display records or overwrite the game's installed UI.package.

## Do the remaining work

1. Check current installed game/version and source release manifest. The last local handoff observed Desktop **0.7.0**, while the site declares Desktop **0.11.0**, Bridge **0.3.0**, Live **0.2.0**. Close the old desktop normally, extract the current Desktop to a separate folder, and check its startup version. Keep existing pairing/data; do not silently migrate or re-pair. Use the matching Bridge. Do not kill a game with unsaved progress.
2. Inspect the actual supplied classes privately. Implement a separate **Send to SimSync with CC** action for the selected local My Library creation only. Preserve EA's existing buttons. Use the ABC workbench to keep all 475 other outer records unchanged; inspect compiler logs and compare methods, traits, constants, branches and exception tables. Do not distribute the no-op experiment as a candidate.
3. Add a small Bridge adapter around the existing review/upload path (`simsync_gallery.py`, `simsync_panel.py`, `simsync_bridge.py`). The Desktop's `gallery-service.mjs` remains responsible for ZIP creation and private upload. The game must not receive tokens or perform network uploads. A click must lead to review/confirmation, not immediately send files.
4. Before uploading, establish an exact selected-ID match against a current prepared catalogue. Reject missing/ambiguous IDs, stale sessions, changed/wrong saves, disabled permission, unavailable Desktop and repeated pending requests. Recheck state at confirmation. Handle closing/reopening the EA modal without leaving stuck dialogs or dispatching late requests. Online Gallery creations must first be saved to My Library. Do not change EA's online upload behavior.
5. Prepare the test save and My Library catalogue in the current Desktop. Use a disposable save copy and a user-confirmed known creation. A previously nominated personal save is not disposable by default. Ask the user to operate the game if necessary; do not assume UI access or claim unseen results. Enable the specific private Gallery-upload permission only through the supported setup flow.
6. Run meaningful automated tests for cancellation, stale state, bad/large/ambiguous IDs, wrong saves, unavailable Desktop, repeated clicks and retries. Then test the actual button, exact selection, cancel with no request, approved private ZIP upload, downloaded bytes, navigation and other Gallery controls in game 1.129.39.1030. Test household/lot/room behavior as supported and state omissions. Household CC detection is partial; lots/rooms and other dependencies still need manual extras. Never promise all CC was found.

## Return to this chat

- A source patch ZIP with the isolated commit/base SHA, changed paths and concise implementation notes. Exclude credentials, personal saves/Tray/Mods, original EA resources and decompilation.
- If built, a clearly marked **private test candidate**, plus install/remove instructions and exact required game/resource versions. Keep it separate from stable releases. Include only resources necessary for the override; no full UI.package or raw support collection.
- A test report distinguishing automated, static and actual in-game results; describe user-observed steps and any remaining failures. Include preservation output and checksums.
- If blocked, provide the precise failing command/log and what input or game action is missing. Do not invent callbacks or hardcode a creation to make a mock test pass.

Put results in a clearly named handoff ZIP and tell the user its exact local path so they can attach it in this conversation. You cannot automatically send files back into the other chat. Do not publish the UI candidate or upload a private test creation to EA's Gallery.
