Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Faster episode booting #70

Open
wants to merge 71 commits into
base: master
Choose a base branch
from

Commits on Jan 20, 2024

  1. Wip redo

    Spencer Everly committed Jan 20, 2024
    Configuration menu
    Copy the full SHA
    8b4660c View commit details
    Browse the repository at this point in the history
  2. Merge branch 'WohlSoft:master' into faster-episode-booting

    Spencer Everly authored Jan 20, 2024
    Configuration menu
    Copy the full SHA
    5684f54 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2024

  1. Merge branch 'WohlSoft:master' into faster-episode-booting

    Spencer Everly authored Jan 21, 2024
    Configuration menu
    Copy the full SHA
    69b24c4 View commit details
    Browse the repository at this point in the history
  2. Finally works, geez

    Spencer Everly committed Jan 21, 2024
    Configuration menu
    Copy the full SHA
    2460364 View commit details
    Browse the repository at this point in the history
  3. Fix Misc.loadEpisode()

    Spencer Everly committed Jan 21, 2024
    Configuration menu
    Copy the full SHA
    667bc61 View commit details
    Browse the repository at this point in the history
  4. Oops

    Spencer Everly committed Jan 21, 2024
    Configuration menu
    Copy the full SHA
    4a92497 View commit details
    Browse the repository at this point in the history
  5. Oops again

    Spencer Everly committed Jan 21, 2024
    Configuration menu
    Copy the full SHA
    de2f75a View commit details
    Browse the repository at this point in the history
  6. Whoops, again

    Spencer Everly committed Jan 21, 2024
    Configuration menu
    Copy the full SHA
    2f5eb71 View commit details
    Browse the repository at this point in the history
  7. Fix this check

    Spencer Everly committed Jan 21, 2024
    Configuration menu
    Copy the full SHA
    52b5e41 View commit details
    Browse the repository at this point in the history
  8. Switch isBootingSinglePlayer bools, in case. Also add episodeLoadedOn…

    …boot, to make sure that there's a check before doing things for Misc.loadEpisode
    Spencer Everly committed Jan 21, 2024
    Configuration menu
    Copy the full SHA
    0cc2ca9 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    279a12d View commit details
    Browse the repository at this point in the history
  10. Oops

    Spencer Everly committed Jan 21, 2024
    Configuration menu
    Copy the full SHA
    63770b0 View commit details
    Browse the repository at this point in the history
  11. Oops x2

    Spencer Everly committed Jan 21, 2024
    Configuration menu
    Copy the full SHA
    6f3aecd View commit details
    Browse the repository at this point in the history
  12. Oops x3

    Spencer Everly committed Jan 21, 2024
    Configuration menu
    Copy the full SHA
    b836f2d View commit details
    Browse the repository at this point in the history
  13. Let's shorten and fix this

    Spencer Everly committed Jan 21, 2024
    Configuration menu
    Copy the full SHA
    a98c27e View commit details
    Browse the repository at this point in the history
  14. Even MORE checks ugh

    Spencer Everly committed Jan 21, 2024
    Configuration menu
    Copy the full SHA
    df02b5e View commit details
    Browse the repository at this point in the history
  15. Meh

    Spencer Everly committed Jan 21, 2024
    Configuration menu
    Copy the full SHA
    18416ba View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2024

  1. Idk how to make Misc.loadEpisode work at this point...

    Spencer Everly committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    d3db113 View commit details
    Browse the repository at this point in the history
  2. Fix autostart level loading (Kinda), and add episode list generation …

    …for LunaLua (World only)
    Spencer Everly committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    65a5cff View commit details
    Browse the repository at this point in the history
  3. Ugh

    Spencer Everly committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    5b4217c View commit details
    Browse the repository at this point in the history
  4. Add gLunaLua.exitContext() when loading episode from Lua

    Spencer Everly committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    201d3fb View commit details
    Browse the repository at this point in the history
  5. Remove unused P2 functions, use playerStoredCharacters if after boote…

    …d from an episode (Make playerStoredCharacters global), and have a shortened LaunchEpisode for Misc.loadEpisode
    Spencer Everly committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    85df082 View commit details
    Browse the repository at this point in the history
  6. Make world.getEpisodeList global everywhere

    Spencer Everly committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    090bf6b View commit details
    Browse the repository at this point in the history
  7. Add GameAutostart things into Misc.loadEpisode

    Spencer Everly committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    12f9485 View commit details
    Browse the repository at this point in the history
  8. Add GameAutostart.setSelectedEpisodePath

    Spencer Everly committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    11443bf View commit details
    Browse the repository at this point in the history
  9. Resort world-related global functions, bring GameAutostart functions …

    …from Misc.loadEpisode to LanuchEpisode itself
    Spencer Everly committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    5633156 View commit details
    Browse the repository at this point in the history
  10. Oops

    Spencer Everly committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    4f09594 View commit details
    Browse the repository at this point in the history
  11. Forgot to remove this

    Spencer Everly committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    a15aae0 View commit details
    Browse the repository at this point in the history
  12. Add support for autostart.ini on boot, make error message when nothin…

    …g is found a bit clearer
    Spencer Everly committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    f90bf7e View commit details
    Browse the repository at this point in the history
  13. Oops, again

    Spencer Everly committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    1a2d960 View commit details
    Browse the repository at this point in the history
  14. Add ANSI Windows path check to LaunchEpisode

    Spencer Everly committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    44378a3 View commit details
    Browse the repository at this point in the history
  15. Remove COMBOOL on the if statements

    Spencer Everly committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    2a3f0b2 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2024

  1. Massive commit. Not completely finished yet though

    Spencer Everly committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    90b6ba5 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2024

  1. Move LaunchEpisode to a new cpp/h file, add playerCount setting to Ga…

    …meAutostart, add support for world blocked characters, and so much more
    Spencer Everly committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    f65b54b View commit details
    Browse the repository at this point in the history
  2. Epiodes now finally boot, but there's still a lot to do before I can …

    …consider this finished
    Spencer Everly committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    1de67bc View commit details
    Browse the repository at this point in the history
  3. Make LunaDLL compilable again

    Spencer Everly committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    edcd7db View commit details
    Browse the repository at this point in the history
  4. Remove level load stuff, will be moved to another branch

    Spencer Everly committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    5ab9c3d View commit details
    Browse the repository at this point in the history
  5. CMD has a new argument ("--playSfxOnStartup"), which can be used to p…

    …lay a SFX when the episode has loaded on boot
    Spencer Everly committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    666ed5e View commit details
    Browse the repository at this point in the history
  6. Fix potential issues with unused functions

    Spencer Everly committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    add9f7d View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2024

  1. Fix up "tempLocation = WorldPath(A).Location" mess

    Spencer Everly committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    121ee6f View commit details
    Browse the repository at this point in the history
  2. Fix for loop error

    Spencer Everly committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    7501760 View commit details
    Browse the repository at this point in the history
  3. Fix templates, add GM_SAVE_PERCENTAGE_PTR (For later)

    Spencer Everly committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    5d400d4 View commit details
    Browse the repository at this point in the history
  4. Extended way to check for a wld file

    Spencer Everly committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    51e7222 View commit details
    Browse the repository at this point in the history
  5. Fix compile issues

    Spencer Everly committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    f52eb10 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2024

  1. More code reworking mess. Also added EpisodeMain::FindSaves

    Spencer Everly committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    8e91a30 View commit details
    Browse the repository at this point in the history
  2. Oops

    Spencer Everly committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    deb44c2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b20d601 View commit details
    Browse the repository at this point in the history
  4. Make episode setting values private again, also fix Misc.loadEpisode …

    …not loading the proper wld file when specifying a name
    Spencer Everly committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    8fafc92 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2024

  1. Merge branch 'WohlSoft:master' into faster-episode-booting

    Spencer Everly authored Jan 27, 2024
    Configuration menu
    Copy the full SHA
    0d3930a View commit details
    Browse the repository at this point in the history
  2. Remove unused LunaLua loadEpisode function

    Spencer Everly committed Jan 27, 2024
    Configuration menu
    Copy the full SHA
    7c0dcd5 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'faster-episode-booting' of https://github.com/SpencerEv…

    …erly/LunaLua into faster-episode-booting
    Spencer Everly committed Jan 27, 2024
    Configuration menu
    Copy the full SHA
    b8a2ab1 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2024

  1. Merge branch 'WohlSoft:master' into faster-episode-booting

    Spencer Everly authored Jan 28, 2024
    Configuration menu
    Copy the full SHA
    7d5e28e View commit details
    Browse the repository at this point in the history
  2. Fix issue with episode booting wrong

    Spencer Everly committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    c2b126a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2799bc3 View commit details
    Browse the repository at this point in the history
  4. Extend Misc.loadEpisode to also have a save slot, number of players, …

    …and other player IDs of a higher player count specified
    Spencer Everly committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    31717d1 View commit details
    Browse the repository at this point in the history
  5. Specify GM_MAX_CHARACTERS instead of just 5, and fix something with t…

    …he first/second characters that may not apply them correctly
    Spencer Everly committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    0d50c13 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1cc7069 View commit details
    Browse the repository at this point in the history
  7. Remove unused canExecuteViaLua variables

    Spencer Everly committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    a739917 View commit details
    Browse the repository at this point in the history
  8. Fix some line spaces and comments

    Spencer Everly committed Jan 28, 2024
    Configuration menu
    Copy the full SHA
    df3de97 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2024

  1. External wld files on Misc.loadEpisode can now be specified, but just…

    … to warn you: Some episodes might crash.
    Spencer Everly committed Jan 30, 2024
    Configuration menu
    Copy the full SHA
    c1341f3 View commit details
    Browse the repository at this point in the history
  2. Fix possible episodeName issue on Misc.loadEpisode

    Spencer Everly committed Jan 30, 2024
    Configuration menu
    Copy the full SHA
    bd8553c View commit details
    Browse the repository at this point in the history
  3. Forgot this

    Spencer Everly committed Jan 30, 2024
    Configuration menu
    Copy the full SHA
    e28c757 View commit details
    Browse the repository at this point in the history
  4. Fix things for episodes if the GM_EP_LIST_COUNT is more than 100, als…

    …o attempt to make external episode booting better but it's not there yet
    Spencer Everly committed Jan 30, 2024
    Configuration menu
    Copy the full SHA
    1e891be View commit details
    Browse the repository at this point in the history
  5. Actually fix more than 100 episode booting

    Spencer Everly committed Jan 30, 2024
    Configuration menu
    Copy the full SHA
    99e97b3 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2024

  1. Attempt to fix everything to satisfy the devs (Part 1, after this com…

    …mit I'll merge the latest LunaLua commit)
    Spencer Everly committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    b9b9025 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'upstream/master' into faster-episode-bo…

    …oting
    Spencer Everly committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    5593876 View commit details
    Browse the repository at this point in the history
  3. Make it compilable again

    Spencer Everly committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    5fbe9d8 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2024

  1. Merge remote-tracking branch 'upstream/master' into faster-episode-bo…

    …oting
    Spencer Everly committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    9703243 View commit details
    Browse the repository at this point in the history
  2. Put this pull request's new GlobalFuncs functions in the cpp file to …

    …below the file to prevent commit merge breaking changes
    Spencer Everly committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    3d82193 View commit details
    Browse the repository at this point in the history
  3. See description for changes

    - On the fast episode boot source codes & GlobalFunc.cpp fast episode boot source codes: Switch old GM, old native functions, and old SMBXInternal things to the new SMBX13 namespace environment
    - Port "Misc.getEpisodeList" to a new LuaBind namespace ("Episode"), along with adding some new world-related functions, as well as renaming the functions to be shorter and easier to remember ("Misc.getEpisodeList()" is now "Episode.list()", and there's also "Episode.id()", "Episode.name()", "Episode.path()", and "Episode.filename()")
    - Replace "WStr2Str(gAppPathWCHAR)" with gAppPathUTF8 in the checkIfWorldIsIn* functions (It looks better this way)
    - Make episode loading more better, it hopefully can now withstand more than 100 episodes in the worlds folder (Though it's still capped at 100)
    Spencer Everly committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    773c7e9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2b04f44 View commit details
    Browse the repository at this point in the history