Cross Code V1.0

Ask about cheats/tables for single player games here
edale
Cheater
Cheater
Posts: 45
Joined: Sun Feb 03, 2019 11:54 pm
Reputation: 14

Re: Cross Code V1.0

Post by edale » Mon Jan 27, 2020 7:54 am

Whew.... I'm... Not sure if I'd be capable of porting that... It'd be an experience trying though, lol.

The cheats menu is AMAZING.

As far as making changes to it savable... Maybe it'd help to move all the variable settings to separate file, that can be saved over without impacting anything else?

I've tried playing with CCLoader, but I couldn't figure it out...

ZeikJT
What is cheating?
What is cheating?
Posts: 4
Joined: Mon Jan 13, 2020 3:51 pm
Reputation: 13

Re: Cross Code V1.0

Post by ZeikJT » Thu Jan 30, 2020 4:01 pm

@edale CCLoader is definitely not very well documented anywhere that I could find. It's seemingly built for pre-existing developers.

If I make any more updates I'll try and release the all-in-one js file here too so that if I happen to disappear someone might have an easier time porting the cheats like before. The new code is just one big blob at the bottom of the file so porting it over should just be a matter of copy-paste unless something fundamental changes. If something about the menu does break it's really just a matter of either figuring out how to fix it or removing the ig.module("cheats-gui") altogether. The cheats in the code itself should continue to work.

I got the separate file working for saving the cheats' state. Wrote it so that it should work for both the CCLoader and all-in-one versions. I did fold the cheat declarations into the config for the menu but it still writes to the window so that the existing way of accessing cheats still works. Now when you change the cheats in-game (which you can also do from the main menu now! mostly because I added one NG+ cheat) your changes will get saved to a separate cheats.json file! Hopefully there's no more need to change any files manually :)

I also added a bit of polish to the menu such as making it animate like other menus do and disabling cheats when they depend on another cheat. Ex: if you disable creditcheat it'll make the UI for creditmultiplier non-interactable.

As always, let me know if anything isn't working properly.
Attachments
CrossCode V1.2.0-5 All-In-One + Menu V2.zip
Password: CrossCode
(883.14 KiB) Downloaded 103 times

edale
Cheater
Cheater
Posts: 45
Joined: Sun Feb 03, 2019 11:54 pm
Reputation: 14

Re: Cross Code V1.0

Post by edale » Sat Feb 01, 2020 5:31 am

ZeikJT wrote:
Thu Jan 30, 2020 4:01 pm
@edale CCLoader is definitely not very well documented anywhere that I could find. It's seemingly built for pre-existing developers.

If I make any more updates I'll try and release the all-in-one js file here too so that if I happen to disappear someone might have an easier time porting the cheats like before. The new code is just one big blob at the bottom of the file so porting it over should just be a matter of copy-paste unless something fundamental changes. If something about the menu does break it's really just a matter of either figuring out how to fix it or removing the ig.module("cheats-gui") altogether. The cheats in the code itself should continue to work.

I got the separate file working for saving the cheats' state. Wrote it so that it should work for both the CCLoader and all-in-one versions. I did fold the cheat declarations into the config for the menu but it still writes to the window so that the existing way of accessing cheats still works. Now when you change the cheats in-game (which you can also do from the main menu now! mostly because I added one NG+ cheat) your changes will get saved to a separate cheats.json file! Hopefully there's no more need to change any files manually :)

I also added a bit of polish to the menu such as making it animate like other menus do and disabling cheats when they depend on another cheat. Ex: if you disable creditcheat it'll make the UI for creditmultiplier non-interactable.

As always, let me know if anything isn't working properly.
I've gotten CCLoader installed to the point I could access the dev console (I needed it to help figure out a problem I was having while making all the cheats use variables), but even when I managed to get CCLoader installed, I couldn't figure out how to actually get any of the mods, or what the mods actually did if I did manage to pull up a list (it's been a while since I toyed with it).

If you're coding in CCLoader, you probably already are in this server, but just in case:
https://discord.gg/TFs6n5v
That's the CrossCode Modding Discord server, they primarily work with CCLoader there, and they've helped me out a few times while I was working on this mod (mostly help figuring out syntax problems).

Awesome that the separate file idea worked! I may not be able to do much coding myself, but I do have enough of an understanding of the logic to come up with a good idea now and then. :mrgreen:

I'm busy at work on a MSU-1 mod for Final Fantasy V atm, so can't check out the updated menu system; but the next time I need a break from that, I'll check it out!

ZeikJT
What is cheating?
What is cheating?
Posts: 4
Joined: Mon Jan 13, 2020 3:51 pm
Reputation: 13

Re: Cross Code V1.0

Post by ZeikJT » Thu Feb 13, 2020 2:26 am

It actually hadn't even crossed my mind that there'd be a discord but that makes a lot of sense.

Good luck with the MSU-1 mod! I'm actually working on another CrossCode mod now to help people trying to complete the game (like myself). Will show you what enemies you haven't fought yet, what plants you haven't collected yet, quests you haven't unlocked yet, etc.

Post Reply

Who is online

Users browsing this forum: Baidu [Spider]