hatoving / gdash-vita

Port of Geometry Dash to the PS Vita
MIT License
35 stars 0 forks source link

Ship default low-performance configuration settings enabled-by-default #5

Open MotoLegacy opened 9 months ago

MotoLegacy commented 9 months ago

It would be nice if by default this wrapper enabled the following Performance settings, which allows every (non-platformer) level but Dash to play without performance impact (only tested @ 500MHz)

hatoving commented 9 months ago

The only way I could do that is either by A) providing a save with those options already in there or B) somehow telling the game to enable those options; which isn't really possible since this is a Android port; not a source code port.

MotoLegacy commented 9 months ago

I'm not sure why you're asserting that this is a wrapper and not a source port like I'm ignorant to it, but anyway..

You already perform creation of the save file automatically on presumed first-launch as demonstrated here: https://github.com/hatoving/gdash-vita/blob/23043361964d7ae0ee3cf8aba9579a44e4758e94/source/main.c#L92

There is documentation on parsing and interpreting CCGameManager.dat with community documentation: https://github.com/Wyliemaster/gddocs/blob/c37b53666b7214a708cb051d8cf1332d26f4c60e/docs/resources/client/gamesave.md?plain=1#L3

It's of course to be noted that either the documentation is incomplete, or this save data is stored in another .dat, presumably with the same "encryption". I will personally look more into this, but based on the information provided it is not a complex task and I am offering assistance so being immediately dismissive is a bit disrespectful.

hatoving commented 9 months ago

I apologize; wasn't trying to be dismissive or disrespectful. I wasn't aware that there was documentation on those files, so this is news to me 😭 I'll look into it sooner or later!