Archipelago/worlds
lordlou 043ba418ec
SM generate without rom (#3460)
* - SM now displays message when getting an item outside for someone else (fills ROM item table)

This is dependant on modifications done to sm_randomizer_rom project

* First working MultiWorld SM

* some missing things:

- player name inject in ROM and get in client
- end game get from ROM in client
- send self item to server
- add player names table in ROM

* replaced CollectionState inheritance from SMBoolManager with a composition of an array of it (required to generation more than one SM world, which is still fails but is better)

* - reenabled balancing

* post rebase fixes

* updated SmClient.py

* + added VariaRandomizer LICENSE

* + added sm_randomizer_rom project (which builds sm.ips)

* Moved VariaRandomizer and sm_randomizer_rom projects inside worlds/sm and done some cleaning

* properly revert change made to CollectionState and more cleaning

* Fixed multiworld support patch not working with VariaRandomizer's

* missing file commit

* Fixed syntax error in unused code to satisfy Linter

* Revert "Fixed multiworld support patch not working with VariaRandomizer's"

This reverts commit fb3ca18528bb331995e3d3051648c8f84d04c08b.

* many fixes and improovement

- fixed seeded generation
- fixed broken logic when more than one SM world
- added missing rules for inter-area transitions
- added basic patch presence for logic
- added DoorManager init call to reflect present patches for logic
- moved CollectionState addition out of BaseClasses into SM world
- added condition to apply progitempool presorting only if SM world is present
- set Bosses item id to None to prevent them going into multidata
- now use get_game_players

* first working (most of the time) progression generation for SM using VariaRandomizer's rules, items, locations and accessPoint (as regions)

* first working single-world randomized SM rom patches

* - SM now displays message when getting an item outside for someone else (fills ROM item table)

This is dependant on modifications done to sm_randomizer_rom project

* First working MultiWorld SM

* some missing things:

- player name inject in ROM and get in client
- end game get from ROM in client
- send self item to server
- add player names table in ROM

* replaced CollectionState inheritance from SMBoolManager with a composition of an array of it (required to generation more than one SM world, which is still fails but is better)

* - reenabled balancing

* post rebase fixes

* updated SmClient.py

* + added VariaRandomizer LICENSE

* + added sm_randomizer_rom project (which builds sm.ips)

* Moved VariaRandomizer and sm_randomizer_rom projects inside worlds/sm and done some cleaning

* properly revert change made to CollectionState and more cleaning

* Fixed multiworld support patch not working with VariaRandomizer's

* missing file commit

* Fixed syntax error in unused code to satisfy Linter

* Revert "Fixed multiworld support patch not working with VariaRandomizer's"

This reverts commit fb3ca18528bb331995e3d3051648c8f84d04c08b.

* many fixes and improovement

- fixed seeded generation
- fixed broken logic when more than one SM world
- added missing rules for inter-area transitions
- added basic patch presence for logic
- added DoorManager init call to reflect present patches for logic
- moved CollectionState addition out of BaseClasses into SM world
- added condition to apply progitempool presorting only if SM world is present
- set Bosses item id to None to prevent them going into multidata
- now use get_game_players

* Fixed multiworld support patch not working with VariaRandomizer's

Added stage_fill_hook to set morph first in progitempool
Added back VariaRandomizer's standard patches

* + added missing files from variaRandomizer project

* + added missing variaRandomizer files (custom sprites)

+ started integrating VariaRandomizer options (WIP)

* Some fixes for player and server name display

- fixed player name of 16 characters reading too far in SM client
- fixed 12 bytes SM player name limit (now 16)
- fixed server name not being displayed in SM when using server cheat ( now displays RECEIVED FROM ARCHIPELAGO)
- request: temporarly changed default seed names displayed in SM main menu to OWTCH

* Fixed Goal completion not triggering in smClient

* integrated VariaRandomizer's options into AP (WIP)

- startAP is working
- door rando is working
- skillset is working

* - fixed itemsounds.ips crash by always including nofanfare.ips into multiworld.ips (itemsounds is now always applied and "itemsounds" preset must always be "off")

* skillset are now instanced per player instead of being a singleton class

* RomPatches are now instanced per player instead of being a singleton class

* DoorManager is now instanced per player instead of being a singleton class

* - fixed the last bugs that prevented generation of >1 SM world

* fixed crash when no skillset preset is specified in randoPreset (default to "casual")

* maxDifficulty support and itemsounds removal

- added support for maxDifficulty
- removed itemsounds patch as its always applied from multiworld patch for now

* Fixed bad merge

* Post merge adaptation

* fixed player name length fix that got lost with the merge

* fixed generation with other game type than SM

* added default randoPreset json for SM in playerSettings.yaml

* fixed broken SM client following merge

* beautified json skillset presets

* Fixed ArchipelagoSmClient not building

* Fixed conflict between mutliworld patch and beam_doors_plms patch

- doorsColorsRando now working

* SM generation now outputs APBP

- Fixed paths for patches and presets when frozen

* added missing file and fixed multithreading issue

* temporarily set data_version = 0

* more work

- added support for AP starting items
- fixed client crash with gamemode being None
- patch.py "compatible_version" is now 3

* commited missing asm files

fixed start item reserve breaking game (was using bad write offset when patching)

* Nothing item are now handled game-side. the game will now skip displaying a message box for received Nothing item (but the client will still receive it).

fixed crash in SMClient when loosing connection to SNI

* fixed No Energy Item missing its ID

fixed Plando

* merge post fixes

* fixed start item Grapple, XRay and Reserve HUD, as well as graphic beams (except ice palette color)

* fixed freeze in blue brinstar caused by Varia's custom PLM not being filled with proper Multiworld PLM address (altLocsAddresses)

* fixed start item x-ray HUD display

* Fixed start items being sent by the server (is all handled in ROM)

Start items are now not removed from itempool anymore
Nothing Item is now local_items so no player will ever pickup Nothing. Doing so reduces contribution of this world to the Multiworld the more Nothing there is though.
Fixed crash (and possibly passing but broken) at generation where the static list of IPSPatches used by all SM worlds was being modified

* fixed settings that could be applied to any SM players

* fixed auth to server only using player name (now does as ALTTP to authenticate)

* - fixed End Credits broken text

* added non SM item name display

* added all supported SM options in playerSettings.yaml

* fixed locations needing a list of parent regions (now generate a region for each location with one-way exits to each (previously) parent region

did some cleaning (mainly reverts on unnecessary core classes

* minor setting fixes and tweaks

- merged Area and lightArea settings
- made missileQty, superQty and powerBombQty use value from 10 to 90 and divide value by float(10) when generating
- fixed inverted layoutPatch setting

* added option start_inventory_removes_from_pool

fixed option names formatting
fixed lint errors
small code and repo cleanup

* Hopefully fixed ROR2 that could not send any items

* - fixed missing required change to ROR2

* fixed 0 hp when respawning without having ever saved (start items were not updating the save checksum)

* fixed typo with doors_colors_rando

* fixed checksum

* added custom sprites for off-world items (progression or not)

the original AP sprite was made with PierRoulette's SM Item Sprite Utility by ijwu

* - added missing change following upstream merge

- changed patch filename extension from apbp to apm3 so patch can be used with the new client

* added morph placement options: early means local and sphere 1

* fixed failing unit tests

* - fixed broken custom_preset options

* - big cleanup to remove unnecessary or unsupported features

* - more cleanup

* - moved sm_randomizer_rom and all always applied patches into an external project that outputs basepatch.ips

- small cleanup

* - added comment to refer to project for generating basepatch.ips (https://github.com/lordlou/SMBasepatch)

* fixed g4_skip patch that can be not applied if hud is enabled

* - fixed off world sprite that can have broken graphics (restricted to use only first 2 palette)

* - updated basepatch to reflect g4_skip removal

- moved more asm files to SMBasepatch project

* - tourian grey doors at baby metroid are now always flashing (allowing to go back if needed)

* fixed wrong path if using built as exe

* - cleaned exposed maxDifficulty options

- removed always enabled Knows

* Merged LttPClient and SMClient into SNIClient

* added varia_custom Preset Option that fetch a preset (read from a new varia_custom_preset Option) from varia's web service

* small doc precision

* - added death_link support

- fixed broken Goal Completion
- post merge fix

* - removed now useless presets

* - fixed bad internal mapping with maxDiff

- increases maxDiff if only Bosses is preventing beating the game

* - added support for lowercase custom preset sections (knows, settings and controller)

- fixed controller settings not applying to ROM

* - fixed death loop when dying with Door rando, bomb or speed booster as starting items

- varia's backup save should now be usable (automatically enabled when doing door rando)

* -added docstring for generated yaml

* fixed bad merge

* fixed broken infinity max difficulty

* commented debug prints

* adjusted credits to mark progression speed and difficulty as Non Available

* added support for more than 255 players (will print Archipelago for higher player number)

* fixed missing cleanup

* added support for 65535 different player names in ROM

* fixed generations failing when only bosses are unreachable

* - replaced setting maxDiff to infinity with a bool only affecting boss logics if only bosses are left to finish

* fixed failling generations when using 'fun' settings

Accessibility checks are forced to 'items' if restricted locations are used by VARIA following usage of 'fun' settings

* fixed debug logger

* removed unsupported "suits_restriction" option

* fixed generations failing when only bosses are unreachable (using a less intrusive approach for AP)

* - fixed deathlink emptying reserves

- added death_link_survive option that lets player survive when receiving a deathlink if the have non-empty reserves

* - merged death_link and death_link_survive options

* fixed death_link

* added a fallback default starting location instead of failing generation if an invalid one was chosen

* added Nothing and NoEnergy as hint blacklist

added missing NoEnergy as local items and removed it from progression

* SM Varia can now generate without ROM

* removed stage_assert_generate
2025-01-10 21:46:17 +01:00
..
_bizhawk BizHawkClient: Fix typing mistake (#3938) 2024-09-28 22:49:11 +02:00
_sc2common SC2: don't close all SC2 instances when one quits (#3507) 2024-06-12 02:14:30 +02:00
adventure Adventure: Remove unused variables (#4301) 2024-12-06 07:15:26 +01:00
ahit AHiT: Fix reconnecting rift access regions for starting and plando acts (#4200) 2024-11-23 00:13:57 +01:00
alttp LTTP: sort of use new options system (#3764) 2024-11-29 05:02:26 +01:00
apsudoku APSudoku: Update setup guide, remove extraneous options page link (#3849) 2024-08-29 08:12:58 +02:00
aquaria Aquaria: Replacing the release link to the latest link (#4381) 2024-12-19 20:17:56 -05:00
archipidle ArchipIDLE 2024 (#3079) 2024-04-12 00:32:10 -04:00
blasphemous Blasphemous: Fix starting_location: random affecting all Blasphemous worlds (#4428) 2025-01-03 07:03:30 -05:00
bomb_rush_cyberfunk Bomb Rush Cyberfunk: Fix Coil quest being in glitched logic too early (#3720) 2024-07-31 17:32:51 +02:00
bumpstik Bumper Stickers: Update tests to bases.py #4137 2024-11-06 09:37:36 +01:00
celeste64 Celeste 64: Typo #3840 2024-08-24 02:05:42 +02:00
checksfinder Checksfinder: clean up setup guide intro and change ownership #4147 2024-11-07 10:35:12 +01:00
clique Clique: Update to new options API (#3759) 2024-08-11 14:47:17 +02:00
cv64 CV64: Fix the first Waterway 3HB ledge setting the flag of one of the Nitro room item locations. #4277 2024-11-29 01:36:21 +01:00
cvcotm Castlevania: Circle of the Moon - Implement New Game (#3299) 2024-12-12 14:47:47 +01:00
dark_souls_3 DS3: Convert post_fill to stage_post_fill for better performance (#4122) 2024-12-26 08:50:18 -05:00
dkc3 Various worlds: Fix more absolute world imports (#3510) 2024-06-27 08:51:27 +02:00
dlcquest DLC Quest Bug Fix 50+ coin bundle basic Campaign (#4276) 2024-11-29 01:35:09 +01:00
doom_1993 id Tech 1 games: Add command line instructions/info (#3757) 2024-12-01 04:10:43 +01:00
doom_ii id Tech 1 games: Add command line instructions/info (#3757) 2024-12-01 04:10:43 +01:00
factorio Factorio: add fluid mining technology to logic requirements (#4385) 2025-01-07 23:06:48 +01:00
faxanadu New Game: Faxanadu (#3059) 2024-11-29 22:45:36 +01:00
ff1 Core: Remove Universally Unique ID Requirements (Per-Game Data Packages) (#1933) 2024-06-01 06:07:13 -05:00
ffmq FFMQ: Fix encoding issue with Game Page (#4299) 2025-01-02 22:03:07 -05:00
generic Docs: Clarify !alias commands in commands_en.md (#4426) 2025-01-06 09:42:18 -05:00
heretic id Tech 1 games: Add command line instructions/info (#3757) 2024-12-01 04:10:43 +01:00
hk HK: add location counts to option descriptions (#4083) 2025-01-06 09:35:12 -05:00
hylics2 Core: Remove Universally Unique ID Requirements (Per-Game Data Packages) (#1933) 2024-06-01 06:07:13 -05:00
inscryption Inscryption: Implement new game (#3621) 2024-12-21 23:12:35 +01:00
kdl3 Various Worlds: use / explicitly for pkgutil (#4232) 2024-12-09 01:59:40 +01:00
kh1 Kingdom Hearts: Minor Logic Fixes (#4236) 2024-11-24 18:42:21 +01:00
kh2 KH2: Doc Updates (#4434) 2025-01-06 14:02:04 -05:00
ladx LADX: Open Mabe Option (#3964) 2024-12-20 07:55:32 -05:00
landstalker Landstalker: Fix paths Lantern logic affecting other Landstalker worlds (#4394) 2024-12-24 20:44:47 -05:00
lingo Lingo: Fix number hunt issues on panels mode (#4342) 2024-12-10 20:36:38 +01:00
lufia2ac Core/Docs: Adding apostrophe quotes around variables in printed error messages (#3914) 2024-12-19 20:47:33 -05:00
meritous Core: Remove Universally Unique ID Requirements (Per-Game Data Packages) (#1933) 2024-06-01 06:07:13 -05:00
messenger The Messenger: reduce strictness of output path check (#4442) 2025-01-07 23:11:26 +01:00
minecraft Various Worlds: use / explicitly for pkgutil (#4232) 2024-12-09 01:59:40 +01:00
mlss MLSS: Various bugfixes and QoL updates (#3744) 2024-09-18 19:33:02 +02:00
mm2 Various Worlds: use / explicitly for pkgutil (#4232) 2024-12-09 01:59:40 +01:00
mmbn3 MMBN3: Typo for SloGauge (#3457) 2024-11-12 00:03:48 +01:00
musedash Muse Dash: Remove bad option defaults. #4340 2024-12-12 09:18:19 +01:00
noita Noita: Make greed die a trap (#4382) 2024-12-19 20:30:41 -05:00
oot OoT: Turn Logic Tricks into an OptionSet (#3551) 2024-11-29 01:40:53 +01:00
osrs OSRS: Fixes to Logic errors related to Max Skill Level determining when Regions are accessible (#4188) 2024-11-22 16:33:27 +01:00
overcooked2 oc2: Reduce calls to meets_requirements (#4060) 2024-10-29 11:07:49 +01:00
pokemon_emerald Pokemon Emerald: Remove unnecessary code (#4364) 2024-12-16 09:06:48 +01:00
pokemon_rb Pokemon RB: Fixing misnamed locations (#4404) 2025-01-04 08:27:41 -05:00
raft Raft: Place locked items in create_items and fix get_pre_fill_items (#4250) 2024-12-09 01:57:34 +01:00
rogue_legacy Rogue Legacy: Remove item/location id overlap rejection code. (#3893) 2024-11-05 08:33:41 +00:00
ror2 RoR2: Remove recursion from explore mode access rules (#3681) 2024-08-07 23:57:07 +02:00
sa2b Fix Incorrect Link Syntax in SA2B Linux Setup (#3524) 2024-06-13 06:53:01 +02:00
saving_princess Saving Princess: implement new game (#3238) 2024-12-07 11:29:27 +01:00
sc2 SC2: Fix wrongly classified location type (#4249) 2024-11-26 00:35:24 +01:00
shivers Shivers: Fix spelling error in naming (#4425) 2025-01-04 07:42:34 -05:00
shorthike A Short Hike: Fix Boat Rental purchase being incorrectly calculated (#3639) 2024-07-22 01:47:46 +02:00
sm SM generate without rom (#3460) 2025-01-10 21:46:17 +01:00
sm64ex Super Mario 64: Rework logic for 100 Coins (#4131) 2024-12-12 14:50:48 +01:00
smw Various worlds: Fix more absolute world imports (#3510) 2024-06-27 08:51:27 +02:00
smz3 SMZ3: Fix minimal logic considering SM boss tokens unnecessary (#4377) 2024-12-21 20:39:38 +01:00
soe SoE: fix determinism (#3745) 2024-08-10 13:08:24 +02:00
spire Spire: Convert options, clean up random calls, and add DeathLink (#3704) 2024-07-31 18:27:35 +02:00
stardew_valley Stardew Valley: Hide the Mods from the simple options page (#4446) 2025-01-08 08:13:32 +01:00
subnautica Subnautica: compose DeathLink custom text instead of overwriting (#4172) 2024-11-17 00:55:18 +01:00
terraria Core: Remove Universally Unique ID Requirements (Per-Game Data Packages) (#1933) 2024-06-01 06:07:13 -05:00
timespinner Timespinner: Implemented support for universal tracker (#3771) 2024-12-01 04:11:45 +01:00
tloz TLOZ: Assorted Logic Fixes (#4203) 2024-11-18 02:19:26 +01:00
tunic TUNIC: Add relics and abilities to the item pool in deterministic order (#4411) 2024-12-30 23:57:09 -05:00
undertale Undertale: Fix slot_data and options.as_dict() (#3774) 2024-08-12 01:53:40 +02:00
v6 VVVVVV: Make unnecessary Trinkets filler (#3806) 2024-08-18 23:03:57 +02:00
wargroove Wargroove: Switched to options API. (#3306) 2024-05-16 18:46:13 +02:00
witness The Witness: Make location order in the spoiler log deterministic (#3895) 2024-12-30 00:50:39 +01:00
yachtdice Yacht Dice: Textual fixes and changes (Docs / yaml description) (#3967) 2024-10-28 02:37:21 +01:00
yoshisisland Yoshi's Island: Fix client giving victory randomly (#3586) 2024-06-26 13:19:16 +02:00
yugioh06 YGO06: add Item groups (#3737) 2024-12-01 04:09:22 +01:00
zillion Zillion: use "new" settings api and cleaning (#3903) 2024-11-29 21:25:01 +01:00
zork_grand_inquisitor Zork Grand Inquisitor: Precollect Start with Hotspot Items in deterministic order (#4412) 2024-12-31 09:16:29 -05:00
AutoSNIClient.py SNIClient: Let clients based on SNIClient monitor packages via on_package method (#3093) 2025-01-07 00:10:23 +01:00
AutoWorld.py Core: Add some more world convenience methods (#3021) 2024-12-15 23:30:35 +01:00
Files.py APProcedurePatch: fix RLE/COPY incorrect sizing (#3006) 2024-03-22 09:02:38 +01:00
LauncherComponents.py Core: add docstrings for launcher components (#4148) 2025-01-06 09:35:37 -05:00
__init__.py Core: purge py3.8 and py3.9 (#3973) 2024-11-27 03:28:00 +01:00