Enjoying Fate a lot more lately — updated automap (v1.6/1.7, FS-UAE/WinUAE)

Hier kann man Fragen über Fate stellen, die man schon immer mal beantwortet haben wollte.
Fate 1 - Fanpage

Moderatoren: sircharles, Xajorkith, erni

Antworten
Rangerous the Second
Dieb(in)
Dieb(in)
Beiträge: 51
Registriert: Sa 21.01.2017 - 04:15
Wohnort: US

Enjoying Fate a lot more lately — updated automap (v1.6/1.7, FS-UAE/WinUAE)

Beitrag von Rangerous the Second »

Guten Tag from Rangerous the Second,

I’ve been enjoying Fate quite a bit again lately, and that sent me back into the rabbit hole of the automap tool I had posted here years ago.

Back then (around 2019), I had just finished my own reverse engineering pass and thought I had something decent — right up until I found this forum and realized how much deeper you all had already gone. I did manage to contribute a few small pieces (save game encryption, name generation variants, and some encounter behavior), and learned a lot in the process.

Anyway, I recently revisited the automap and cleaned it up quite a bit.

It now works with:

* FS-UAE and WinUAE
* Fate v1.6 and v1.7

The tool reads emulator memory in real time and provides:

* Wilderness and city automap
* Player tracking and grid overlay
* Up to 99 nearby encounters (pre-generated by the game)
* Encounter attitude (hostile / neutral / recruitable)
* Full encounter composition (up to 5 groups)

It also includes some convenience functions such as:

* Heal, mana, food, drink, piasters
* Teleport (city / dungeon / wilderness)

---

### What’s new

The biggest change is around encounters:

* Each encounter can now be viewed in more detail in the encounter list.
* The encounter list (F2) and map display (F3) share matching encounter index.

This finally makes it practical to discover the full details of an encounter group before you decide whether or not to engage.

Also added:

* **F12 shortcut** to jump back to the emulator (a little less alt-tabbing while playing, but honestly, not as game-changing as I thought it would be LOL)

---

(If I'm able given the 15 MB size) I'll attach the readme files, the executable, and full python source code for those who enjoy seeing how the sausage is made : )


---

### Notes

The tool reads emulator memory via Windows APIs, so is is possible that some antivirus tools may flag it for that activity.
* it reads and writes emulator memory for map display and optional convenience functions
* full source code is included for transparency
* it also runs well in a shared sandbox with Fate and the Amiga emulator (user must provide own sandbox : )
---

If anyone is still digging into Fate and enjoys a quick peek at the automap, I’d love to hear your thoughts or suggestions for improvement.

With the greatest respect and admiration,
— Rangerous the Second

https://drive.google.com/file/d/1Ter-TZ ... sp=sharing
Dateianhänge
FateAutomapV259.py_screenshot_001.png
FateAutomapV259.py_screenshot_004.png
FateAutomapV259.py_screenshot_003.png
Rangerous the Second
Dieb(in)
Dieb(in)
Beiträge: 51
Registriert: Sa 21.01.2017 - 04:15
Wohnort: US

"fate-automap" now available on github.com

Beitrag von Rangerous the Second »

Gutan Dag! I hope two posts in a row isn't too impolite : )

I wanted to let everyone know that the new automap is also available on github, easily found by searching (with quotes) "fate-automap" and then click on the one result: "fateAutomap/fate-automap".

Locate and click "Releases" in the right sidebar, then fateAutomapV259 is available as both .exe and as source code. Those with Python 3.13 or later can run straight from source.

Regrettably, on my system, Windows observes fateAutomapV259 reading maps and party position information from the FS-UAE.exe process, and decides that reading another process' memory is a suspicious activity. When it tells me, "Windows protected your PC", I have to click "More info" and then "Run anyway". I know, I hate that, but I really don't see any alternative to reading FS-UAE.exe memory, so I don't know how to avoid that false positive, except of course to make complete source code available. The most reassuring option is to run the Python source code after asking ChatGPT or Google Gemini or something similar to analyze the source code and evaluate it's threat for any Windows system. The answer will be clear and reassuring.

Summarizing, at github.com, search for "fate-automap" (with quotes), click the result, click "Releases" in the right hand column, and both the source and the .exe are available.

I hope since this recent version is more user-friendly and relevant to both FS-UAE and WinUAE running either Fate v1.6 or v1.7, that it will be move useful within the community. LOL I also hope that the passage of nearly 10 years since I first discovered this wonderful forum hasn't discouraged the many incredibly knowledgeable and enthusiastic Fate fans!

With the greatest respect and admiration for the amazing resources and for the many members who have such deep knowledge and experience with Fate, I remain respectfully yours,

Rangerous the Second
Benutzeravatar
erni
Moderator
Moderator
Beiträge: 2952
Registriert: Di 09.10.2001 - 19:06

Re: Enjoying Fate a lot more lately — updated automap (v1.6/1.7, FS-UAE/WinUAE)

Beitrag von erni »

Ich habe die beiden obigen Posts ins deutsche übersetzt.

Guten Tag! Ich hoffe, zwei Beiträge hintereinander ist nicht zu unhöflich 😊 Ich wollte alle wissen lassen, dass die neue Automap auch auf GitHub verfügbar ist – leicht zu finden, indem man (mit Anführungszeichen) nach „fate-automap" sucht und dann auf das einzige Ergebnis klickt: „fateAutomap/fate-automap". Dort auf „Releases" in der rechten Seitenleiste klicken – fateAutomapV259 ist sowohl als .exe als auch als Quellcode verfügbar. Wer Python 3.13 oder höher hat, kann den Quellcode direkt ausführen.
Leider erkennt Windows auf meinem System, dass fateAutomapV259 Karten- und Parteipositionsdaten aus dem Prozess FS-UAE.exe ausliest, und stuft das Lesen des Speichers eines anderen Prozesses als verdächtige Aktivität ein. Wenn die Meldung „Windows hat Ihren PC geschützt" erscheint, muss man auf „Weitere Informationen" und dann auf „Trotzdem ausführen" klicken. Ich weiß, das ist lästig – aber ich sehe wirklich keine Alternative zum Auslesen des FS-UAE.exe-Speichers und daher keine Möglichkeit, diesen Fehlalarm zu vermeiden. Außer natürlich, den vollständigen Quellcode bereitzustellen. Die beruhigendste Option ist, den Python-Quellcode auszuführen und zuvor ChatGPT, Google Gemini oder ein ähnliches Tool zu bitten, den Quellcode zu analysieren und auf Bedrohungen für Windows-Systeme zu prüfen. Die Antwort wird eindeutig und beruhigend sein.
Zusammenfassung: Auf github.com nach „fate-automap" (mit Anführungszeichen) suchen, auf das Ergebnis klicken, in der rechten Spalte auf „Releases" klicken – dort sind sowohl der Quellcode als auch die .exe verfügbar.
Ich hoffe, dass diese neuere, benutzerfreundlichere Version, die sowohl für FS-UAE als auch für WinUAE mit Fate v1.6 oder v1.7 geeignet ist, der Community nützlich sein wird. 😄 Ich hoffe auch, dass die fast 10 Jahre, seit ich dieses wunderbare Forum entdeckt habe, die vielen unglaublich kenntnisreichen und begeisterten Fate-Fans nicht entmutigt haben!
Mit größtem Respekt und Bewunderung für die großartigen Ressourcen und die vielen Mitglieder mit ihrem tiefen Wissen und ihrer Erfahrung mit Fate verbleibe ich
hochachtungsvoll,
Rangerous der Zweite


Guten Tag von Rangerous dem Zweiten,
Ich spiele seit einiger Zeit wieder recht viel Fate, und das hat mich zurück in den Kaninchenbau des Automap-Tools geführt, das ich hier vor Jahren gepostet hatte.
Damals (um 2019) hatte ich gerade meinen eigenen Reverse-Engineering-Durchgang abgeschlossen und dachte, ich hätte etwas Ordentliches – bis ich dieses Forum fand und merkte, wie viel tiefer ihr alle bereits gegangen wart. Ich konnte ein paar kleine Beiträge leisten (Spielstand-Verschlüsselung, Namensgenerierungsvarianten und einiges zum Begegnungsverhalten) und dabei viel lernen.
Jedenfalls habe ich die Automap kürzlich überarbeitet und deutlich aufgeräumt.
Sie funktioniert jetzt mit:

FS-UAE und WinUAE
Fate v1.6 und v1.7

Das Tool liest den Emulator-Speicher in Echtzeit aus und bietet:

Wildnis- und Stadt-Automap
Spieler-Tracking und Gitterüberlagerung
Bis zu 99 nahegelegene Begegnungen (vom Spiel vorab generiert)
Begegnungsgesinnung (feindlich / neutral / rekrutierbar)
Vollständige Begegnungszusammensetzung (bis zu 5 Gruppen)

Außerdem enthält es einige Komfortfunktionen wie:

Heilen, Mana, Nahrung, Getränke, Piaster
Teleport (Stadt / Verlies / Wildnis)


Was ist neu
Die größte Änderung betrifft die Begegnungen:

Jede Begegnung kann nun in der Begegnungsliste detaillierter eingesehen werden.
Die Begegnungsliste (F2) und die Kartenanzeige (F3) teilen einen übereinstimmenden Begegnungsindex.

Das macht es endlich praktisch, die vollständigen Details einer Begegnungsgruppe zu erkunden, bevor man entscheidet, ob man sich ihr stellt oder nicht.
Ebenfalls hinzugefügt:

F12-Shortcut, um direkt zum Emulator zurückzuspringen (etwas weniger Alt-Tabben beim Spielen – aber ehrlich gesagt nicht so bahnbrechend, wie ich dachte 😄)


(Falls es die 15-MB-Größe erlaubt) werde ich die Readme-Dateien, die ausführbare Datei und den vollständigen Python-Quellcode anhängen – für alle, die gerne sehen, wie die Wurst gemacht wird 😊

Hinweise
Das Tool liest den Emulator-Speicher über Windows-APIs, daher ist es möglich, dass einige Antivirenprogramme es dafür markieren.

Es liest und schreibt den Emulator-Speicher für die Kartenanzeige und optionale Komfortfunktionen
Der vollständige Quellcode ist zur Transparenz enthalten
Es läuft auch gut in einer gemeinsamen Sandbox mit Fate und dem Amiga-Emulator (Benutzer muss eigene Sandbox bereitstellen 😊)


Falls noch jemand in Fate gräbt und einen schnellen Blick auf die Automap genießt – ich würde mich sehr über eure Gedanken oder Verbesserungsvorschläge freuen.
Mit größtem Respekt und Bewunderung,
— Rangerous der Zweite
https://drive.google.com/file/d/1Ter-TZ ... sp=sharing
Rangerous the Second
Dieb(in)
Dieb(in)
Beiträge: 51
Registriert: Sa 21.01.2017 - 04:15
Wohnort: US

Re: Enjoying Fate a lot more lately — updated automap (v1.6/1.7, FS-UAE/WinUAE)

Beitrag von Rangerous the Second »

Vielen Dank, Erni!
Sincerely,
Rangerous the Second
Antworten

Zurück zu „Fate - Gates of Dawn“