Jump to content

Recommended Posts

Edit: Added zip of not working mod menu files in case anyone with LFS on switch wants to take a crack at it.

iYb5myOkay so first of all I would like to say. First!

Now that's out of the way I'd like to ask for help from anyone who know's more what they're doing to help me with two things. Getting the mod menu to work, and editing the minimap_atlas.tex and minimap_data.xml to work. (my attempts have all left me with a blank minimap.)

Okay so the minimap. What I've done is use the Texture and atlas Packer tool to extract, add images, then repack. I've tried with and without crop and power of two so if anyone has any ideas help would be appreciated.

Now about the mod menu. If you're familiar with how the mod menu for android that's been floating around works I tried to port that to the switch. The mod menu shows up on the home screen and when clicked functions exactly as a pc menu but with no populated mods. The only difference between my version and the android version is that the switch fails to launch on one crucial line of code. At the end of \scripts\main.lau If mods_enabled = true this line of code makes the game hang on loading.

if not MODS_ENABLED then
	-- No mods in nacl, and the below functions are async in nacl
	-- so they break because Main returns before ModSafeStartup has run.
	ModSafeStartup()
else
	KnownModIndex:Load(function() 
		KnownModIndex:BeginStartupSequence(function()
			ModSafeStartup()
		end)
	end)
end

 

fkedmodmenu.rar

Edited by Kam297
Add source files.
Link to comment
https://forums.kleientertainment.com/forums/topic/93780-mod-menu-on-switch/
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...