Niels-NTG / FTLAV

FTL: Faster Than Light Adventure Visualiser
MIT License
21 stars 2 forks source link

Problem with the new version of FTL #7

Open BluTree opened 6 years ago

BluTree commented 6 years ago

Hello. I have a problem with FTL-AV because of the new version. If you didn't know, the beta 1.6.1 is available to download (via steam properties). This change the location of the resources. They were in resources\data.dat and same for resource.dat but now there is only one big ftl.dat where there are resource and data. So, when I try to launch FTL-AV, a window appear telling me to find the path to data.dat but there isn't any data.dat so I cant laucnh FTL-AV

Niels-NTG commented 6 years ago

First off all, thanks for letting me know that at least one of you actually uses FTLAV. To be honest I've been a bit out of the loop when it comes to FTL and its updates.

This particular issue can be solved by changing some stuff in FTLUltilities class. This code is lifted from Vhati's FTL Profile Editor project, as are many pieces of FTLAV responsible for the parsing of the game data. You should definitely report this issue to him as well.

~I've set myself to goal to finish FTLAV version 3 before the end of this year.~ Before then I could launch a 2.1 version with a fix that addresses this specific issue.

Vhati commented 6 years ago

Yeah, the new FTL packaged the resources in a new format.

And it replaced hard-coded XML strings with an attribute to look up in a separate file.

And there's a new SavedGame format to decipher.

And a new hard-coded cross-platform RNG (unless it's a legacy SavedGame, in which case native gets used). I've already reverse engineered the RNG. =)

Thread: Big Changes in FTL 1.6.1+

I'm back to work on the editor...

Post: Editor's Current Status

I've got the 1.03.3 and 1.5.13 beacon scattering algorithms figured out. There are a bunch more rolls using the sector 'layout' seed, presumably assigning future events (with stores / hazards / distress / exits), but I haven't looked into them. It's just x/y coords for now, a cosmetic improvement over the grid.

Niels-NTG commented 6 years ago

@Vhati outstanding work!

Vhati commented 6 years ago

As of v27, the editor supports FTL 1.6.1-1.6.2.

@Niels-NTG: Thanks! Btw, I adjusted the beacon isolation threshold from 150 to 165. (v26 sometimes re-rolled all the random beacon locations, when it shouldn't have.)