|
-
Zitat von N1kX
Sorry, my english. I meant that it would be possible to encrypt a vdf volume or mod volume that only the developer would have access to.
I will take that as a challenge to break that encryption
I don't see how that is a good thing, modders should share openly with each other so everyone benefits.
-
Gnah, dieses HideFocus ist aber buggy (Leichen sind noch focusbar mit schnell drehen und ctrl spammen) oder manchmal illegalerweise "versteckt" wenn man sie mit Magie tötet. Das hab ich auch schonmal besser gelöst, indem ich die CreateVobList Funktion ausm Sequel nachgeschrieben habe, wo die leeren Leichen gar nicht erst in der focusable List landen (und es gibt auch keine Bugs mit Magie).
Das klappt mit HideFocus nämlich so, dass die Priorität sehr weit runter gesetzt wird.
And encrypting vdf files is a really bad idea. First off, isn't the encryption scheme known, and by that I mean at which exact location the decryption key will be? At some point the files will be unencrypted in memory anyway, so what exactly is the point of that?
-
Zitat von withmorten
Gnah, dieses HideFocus ist aber buggy (Leichen sind noch focusbar mit schnell drehen und ctrl spammen) oder manchmal illegalerweise "versteckt" wenn man sie mit Magie tötet. Das hab ich auch schonmal besser gelöst, indem ich die CreateVobList Funktion ausm Sequel nachgeschrieben habe, wo die leeren Leichen gar nicht erst in der focusable List landen (und es gibt auch keine Bugs mit Magie).
Das wusste ich nicht. Deine Lösung klingt gut. Würdest du das Skript veröffentlichen?
-
-
Habe mal den Post von MaGoth auf Gratts Releaseseite übersetzt für Euch, vielleicht hilfts.
https://worldofplayers.ru/threads/41415/
Das ist der russische Thread.
Meine derzeitige Übersetzung dazu:
"Gothic ½ Union"
"Gothic ½ Union: Ressourcenmanager"
Portal:
www.worldofgothic.ru
Modherkunft: Russische Föderation
Spieleplattform: Multiplatformer
Updatetyp: Paket
Versionen: 1.0a, 1.0b
Autoren/Ersteller: @Gratt (Ersteller des Pakets), @killer-m(Low-level Patches), @Jr13San (Debugging), @MaGoth (Informationsverwaltung)
Referenzmaterial: @Haart (Russische "Hilfe") @LikerGothic (Übersetzung ins Englische)
Status: 100%
Paket Union 100% (fertiggestellt)
Virtuelles Dateisystem 100% (fertiggestellt)
Einstellungen an Plug-In Vorlage 100% (fertiggestellt)
Externe Bibliothek zur Speicherverwaltung 100% (fertiggestellt)
GothicAPI 100% (mehr als 3.000 Dateien aus dem Gothicinterface fertiggestellt)
Integration des SystemPacks 90% (keine vollständige Realisierung)
Die Dokumentation des Interfaces erfolgt nach der Veröffentlichung
Berschreibung:
Union - Dies ist ein Updatepaket, welches auf Grundlage der AST-Bibliotheken und des ServicePacks für Gothic 1, 2, DNdR und den auf ihnen basierenden Modifikationen erstellt wurde.
"Gothic ½ AST (Agama Script Tools)"
https://worldofplayers.ru/threads/39266/ (russisch)
"Gothic ½ SP (SystemPack)"
https://worldofplayers.ru/threads/36519/ (russisch)
Architektur
Union bietet Tools zum Auslesen, zum Patchen und zum Bearbeiten.
Weitere Updates an AgamaST & SystemPack erfolgen auf Basis dieses Moduls.
Virtuelles Dateisystem
Vdfs32g.dll - Bibliothek des virtuellen Dateisystems, welches das Original ersetzt.
* Das System erstellt virtuelle Hash-Tabellen zu Dateien und erhöht dadurch die Arbeitsgeschwindigkeit und vor allem die Ladezeit des Spiels. Nach Abbrüchen wird keine Erneuerung von "Dumpfiles" benötigt.
* Der Datencash minimiert den Zugriff auf die Festplatte und erhöht somit die Lesegeschwindigkeit.
* Durch Optimierungsprozesse werden gleichlautende Dateien erkannt, und lediglich eine Kopie dieser, mit höchstem "Kapitelprioritätslevel" behalten.
* Eine strikte Trennung der Daten in physische und virtuelle, vereinfacht das Arbeiten mit diesen und verhindert/minimiert Fehler des Anwenders
* Beobachtung von "defekten" Abschnitten in Kapiteln
Bibliothek zur Speichersteuerung
Shw32g.dll - Das System beschleunigt in gewisser Hinsicht die Arbeit des Programms und hilft beim Aufspüren von Lecks bzw. Fehlerquellen. Die Standardbibliothek verursachte mit ihrem Speicherwachstum Microruckler und bremste aus, wenn sie versuchte Speicherzuordnungen vorzunehmen.
Vdfs32g.dll, Gothic.exe und ihre Plugins verwenden nun diese Bibliothek.
Plug-Ins und Modulerstellung
Union beerbt das System für .dll Plug-Ins. Plug-Ins auf Basis von ZenGin, welche das Schreiben von Erweiterungen ermöglicht und zugleich sogar die virtuellen Tabellen der Engine beachtet.
Der Start der .dll Plug-Ins erfolgt aus dem Ordner System oder System\Plugins oder einfach direkt aus der .vdf eurer Mod. Für die Erstellung wird ein Kompilator wie VC2008 oder VC2010 und für IDE ein von euch bevorzugtes Visual Studio empfohlen.
Plattform
Union kann auf absolut jeder Plattform arbeiten. Für die Erstellung von Erweiterungen und zur Patcherstellung wird empfohlen auf die Originalsystemdateien der deutschen Versionen von Gothic zuzugreifen.
Unterstützung von AST-PugIns
Damit Ihre AST-PlugIns weiterhin unter Union funktionieren, ist es ausreichend die Systemdateien des PlugIns zu aktualisieren oder den Code auf das angebotene Paket zu übertragen.
Verwendung von Zieldateien
Einfach das Spiel über die Gothic.exe oder den GothicStarter starten.
Injectoren werden nicht benötigt!
"Ressourcenmanager"
Installationsprogramm für Komponenten und ihre Aktualisierung
Das Programm wurde erstellt zum schnellen Zugriff zu allen Komponenten und ihren Aktualisierungen im Rahmen der Weiterentwickung von Union (Programm zur Erweiterung und Verbesserung der ZenGin Engine). Alle Dateien werden mit einem Indikator versehen, welcher sofort beurteilt, ob neuere Dateien im Netz zur Aktualisierung bereitsstehen. Offlinemodus ist möglich um Internettraffic zu sparen. Der Client an sich kann sich automatisch aktualisieren, sollten Updates bereit stehen.
1. Installation und Updates
Der Download und die Installation erfolgen über den Browser im Online-Modus. Beispielbilder für den Ressourcenmanager:
ResourceManager.png ResourceManager_Download.png ResourceManager_Install.png ResourceManager_Update.png
Vor der Installation des Union-Pakets muss unbedingt das Spiel gepatcht werden. Dies muss nur einmalig auf eine Neuinstallation des Spiels aufgesetzt werden und kann anschließend einfach ignoriert werden. Ziffer 1:
ResourceManager_Components.png
Danach kann man das Union-Paket herunterladen und installieren in den vorgestellten Versionen 1.0a oder 1.0b.
Wichtig! Das Union-Paket funktioniert mit allen Versionen. Getestet wurden auch die Versionen von Steam und GoG.
2. Systempack:
Über die Funktionen des Systempacks siehe:
https://worldofplayers.ru/threads/36519/
Einzige Ausnahme ist, dass die derzeitige Union-Version noch nicht BINK kompatibel ist und zudem .Ogg-Files noch nicht unterstützt werden.
Ergänzungen in der Systempack.ini
[DEBUG]
WindowPosX = "0"
; ... Horizontale Fensterposition, - Standard: 0.
; ... Position kann nur verändert werden bei gleichzeitigem BorderlessWindow = 1
WindowPosY = "0"
; ... Vertikale Fensterposition, - Standard: 0.
; ... Position kann nur verändert werden bei gleichzeitigem BorderlessWindow = 1
3. Plug-Ins:
Bei Installation von SDK-Plug-Ins, wird der Ressourcenmanager ins ausgewählte Visual Studio automatisch eine Schablone des Projekts einfügen und alle benötigten Instrumente einfügen.
Es wird eine aktuelle Version des Studios empfohlen. Unbedingt notwendig ist jedoch ein Kompilatior in der Version: vc2010. Die einfachste Möglichkeit an diesen zu kommen, ist das installieren des Visual Studio 2010 (und danach nicht mehr anfassen). Einzelheiten werden später beschrieben. In Kürze jedoch das Wichtigste:
Das Projekt enthält mehrere Konfigurationen:
G1 Release und ihresgleichen - Projekt wird für Kompilierung mit einer bestimmten Engine erstellt.
Release - Kompilierung mit Engineauswahl.
Es ist notwendig im Rahmen des Namens der Engine zu arbeiten. namespace: Gothic_I_Classic, Gothic_I_Addon, Gothic_II_Classic, Gothic_II_Addon in Übereinstimmung.
Der Unterschied zwischen 1.0a und 1.0b besteht im Algorithmus der Dateisysteme. Normalerweise wird die Verwendung der Version b empfohlen.
Übersetzt von Niko5511
-
"Weitere Updates an AgamaST & SystemPack erfolgen auf Basis dieses Moduls."
Bedeutet das, dass es keine weitere Version des SystemPacks mehr geben wird, sondern nur noch neue Union-Versionen? Das wäre dann ja z.B. ein Punkt, der Union auch für alle deutschen Modder relevant machen sollte und die Frage der Kompatibilität aufwirft.
edit: Danke natürlich für deine Übersetzung!
Geändert von lali (08.07.2019 um 07:45 Uhr)
-
1.8 ist wohl nicht in allzuweiter ferne laut russischen foren. Aber mehr kann dazu wohl nur MaGoth sagen.
-
Zitat von lali
"Weitere Updates an AgamaST & SystemPack erfolgen auf Basis dieses Moduls."
Bedeutet das, dass es keine weitere Version des SystemPacks mehr geben wird, sondern nur noch neue Union-Versionen? Das wäre dann ja z.B. ein Punkt, der Union auch für alle deutschen Modder relevant machen sollte und die Frage der Kompatibilität aufwirft.
edit: Danke natürlich für deine Übersetzung!
Ich denke damit ist eher gemeint, dass AgamaST und SystemPack in Zukunft so weiterentwickelt werden, dass sie kompatibel mit Union sind.
-
Also es ist momentan so, dass wenn man alles mit union istalliert, die union.ini und systempack.ini beim spielstart generiert werden, obwohl man das systempack nicht installiert hat. Zudem werden die .dll plugins (grafischer quickloot wie in gothic 3 usw) aus dem systemordner gelesen. Ich erstell mal heute abend ne installationsanleitung.
-
The latest version of Systempack which will be released is 1.8. Further support will only be through Union.
upd.2 https://worldofplayers.ru/threads/41486/#post-1049674
The first useful and general plugin for all versions of G2 and mods.
Quickloot of items (right mouse button or V button)
Quick Save (F10), Quick Download (F12)
Removal of animal corpses after collecting items from them
Change the color of the selected dialog line (especially important on dx11, where there are problems with contrast in the dialogs)
Potions shortcut keys (Shift + 1 ... 6, for 1-3 health potions, 4-6 mana)
Fix bug 1 fps
Fix random number generator (Gothic is standard on Windows, and it’s very bad, because of this, with a 50% chance, you can’t stop it 10 times in a row)
The plugin is compatible in any mod for G2 NotR (well, except for Return 2.0 and AB)
upd.3
bug 1 fps - It occurs when the hero makes a strafe and turns the camera.
The author wrote that this is the reason that somewhere the components of the vector become NaN, I just check them with NaN and change them with zeros.
If this is solved through Icarus+Lego, how to fix it?
Geändert von N1kX (09.07.2019 um 15:06 Uhr)
-
Zitat von N1kX
...
upd.2 https://worldofplayers.ru/threads/41486/#post-1049674
The first useful and general plugin for all versions of G2 and mods.
Quickloot of items (right mouse button or V button)
Quick Save (F10), Quick Download (F12)
Removal of animal corpses after collecting items from them
Change the color of the selected dialog line (especially important on dx11, where there are problems with contrast in the dialogs)
Potions shortcut keys (Shift + 1 ... 6, for 1-3 health potions, 4-6 mana)
Fix bug 1 fps
Fix random number generator (Gothic is standard on Windows, and it’s very bad, because of this, with a 50% chance, you can’t stop it 10 times in a row)
The plugin is compatible in any mod for G2 NotR (well, except for Return 2.0 and AB)
...
This mod/patch looks useful.
I would like to be able to toggle all options. (Quicksave Buttons, FastKeys - is this SHIFT + NUM ?, dialog-highlighting)
Also they are all grouped under "Union" in Gothic.Ini, which could collide with other Union-Patches. (Is this a union limitation, or just an oversight?)
i would actually prefer the features as separate patches (UN_QuickSave.dll, UN_ShiftHotkeys.dll, UN_QuickLoot.dll, UN_SelectedHighlighter.dll)
-
Zitat von N1kX
upd.2 https://worldofplayers.ru/threads/41486/#post-1049674
The first useful and general plugin for all versions of G2 and mods.
Quickloot of items (right mouse button or V button)
Quick Save (F10), Quick Download (F12)
Removal of animal corpses after collecting items from them
Change the color of the selected dialog line (especially important on dx11, where there are problems with contrast in the dialogs)
Potions shortcut keys (Shift + 1 ... 6, for 1-3 health potions, 4-6 mana)
Fix bug 1 fps
Fix random number generator (Gothic is standard on Windows, and it’s very bad, because of this, with a 50% chance, you can’t stop it 10 times in a row)
The plugin is compatible in any mod for G2 NotR (well, except for Return 2.0 and AB)
But the plugin still requires union, which isn't compatible with most recent (German) mods that use Ikarus / LeGo? Or has something changed about that? (The first step of the plugin is "Install Union")
upd.3
bug 1 fps - It occurs when the hero makes a strafe and turns the camera.
The author wrote that this is the reason that somewhere the components of the vector become NaN, I just check them with NaN and change them with zeros.
If this is solved through Icarus+Lego, how to fix it?
Is the code of the plugin open-source? That might make it easier to figure out where to replace the NaN by 0 / where to hook to do so. I personally hadn't heard of the bug before, so it might be that people here are just aware that there is this bug to be fixed. I suppose this might even be a decent application of mud-freaks Ninja system to allow players to activate the patch independent of mods (essentially the same functionality as the plugin).
-
Zitat von Milky-Way
But the plugin still requires union, which isn't compatible with most recent (German) mods that use Ikarus / LeGo? Or has something changed about that? (The first step of the plugin is "Install Union")
Yes, installation is needed union. You can try on pure Gothic 2 to be like him, the performance with him is beyond praise. His plugins are enabled via union.ini
Installation:
Install Union from this topic https://worldofplayers.ru/threads/40376/
Do not install 4 GB patch, Union is not compatible with it, and it is not needed if Union is used.
Place the file G2_NR_Plugin.dll in the system folder gothic.
Add the line G2_NR_Plugin.dll to the Union.ini file (it also lies in the system) in the PluginList field. (via the download link this item is already configured in the file).
If you have installed everything correctly, then in the main menu the inscription union will appear and the highlighted menu item will turn green.
Zitat von Milky-Way
Is the code of the plugin open-source? That might make it easier to figure out where to replace the NaN by 0 / where to hook to do so. I personally hadn't heard of the bug before, so it might be that people here are just aware that there is this bug to be fixed. I suppose this might even be a decent application of mud-freaks Ninja system to allow players to activate the patch independent of mods (essentially the same functionality as the plugin).
I asked the author to throw off the code for this fix. Hold, maybe, you will think up something.
https://drive.google.com/file/d/1-LD...ew?usp=sharing
-
Zitat von N1kX
Yes, installation is needed union. You can try on pure Gothic 2 to be like him, the performance with him is beyond praise. His plugins are enabled via union.ini
Installation:
Install Union from this topic https://worldofplayers.ru/threads/40376/
Do not install 4 GB patch, Union is not compatible with it, and it is not needed if Union is used.
Place the file G2_NR_Plugin.dll in the system folder gothic.
Add the line G2_NR_Plugin.dll to the Union.ini file (it also lies in the system) in the PluginList field. (via the download link this item is already configured in the file).
If you have installed everything correctly, then in the main menu the inscription union will appear and the highlighted menu item will turn green.
I was wondering more about the statement: "The plugin is compatible in any mod for G2 NotR"
Which sounds like its incorrect because Union isn't compatible with many recent mods?
Thanks!
Others are much better at this kind of stuff than I am. But it looks like a hook of
Code:
int __fastcall zCBspBase::RayIntersection(zVEC3 const & zVEC3 const & zVEC3 &)const 0x005321F0 0 5 protected: int __fastcall zCBspBase::RayIntersection(zVEC3 const & zVEC3 const & zVEC3 &)const
would do, and then go through the elements of the three arguments to overwrite any NaN (what an NaN would look like in Gothic).
-
Why? Compatible, but I think that there are limitations related to the same functionality, for example, they made a patch on Union for better behavior of the NPC, and in the fashion, it was also implemented exactly the same, but with the help of expanders, I think that departures are possible. this is why the developer wrote that this patch does not work with Returning 2.0 and AB, because they use AST.
The intersection of the rays ... The author has cycled and, in the case of the discovery of the value of NaN, reset it. Our forum has long discussed the problem that the
zCBspBase::RayIntersection function works crookedly.
https://worldofplayers.ru/threads/36519/post-806318
Also, the developer began to do small lessons on working with Union, knowledge of C ++ is desirable.
In the last lesson, the author wrote how to create a new class of NPC, which can be expanded and improved, as you please with examples, and which will work everywhere.
https://worldofplayers.ru/forums/1129/
Geändert von N1kX (10.07.2019 um 19:11 Uhr)
-
Zitat von N1kX
Why? Compatible, but I think that there are limitations related to the same functionality, for example, they made a patch on Union for better behavior of the NPC, and in the fashion, it was also implemented exactly the same, but with the help of expanders, I think that departures are possible. this is why the developer wrote that this patch does not work with Returning 2.0 and AB, because they use AST.
My understanding was that if a mod uses Ikarus / LeGo, then also installing Union is likely to causes crashes? Or is this a distinction between Union and AST?
-
Zitat von Milky-Way
My understanding was that if a mod uses Ikarus / LeGo, then also installing Union is likely to causes crashes? Or is this a distinction between Union and AST?
This is the difference between Union and AST. I play a mod made on Icarus/Lego with the Union package and there are no problems.
-
So everyone can do his own plugins for union, right? Are there already any plugins developed by some programers which are not included in the union package itself? Like the stone throwing troll etc. Can somebody make a list of things realized so far (and which is available for the public to use)? So we could actualise this list over time, maybe in a thread of its own.
-
Zitat von N1kX
This is the difference between Union and AST. I play a mod made on Icarus/Lego with the Union package and there are no problems.
That's cool! I didn't realize that was an option.
-
@ Milky
Ich habe es schon mit verschiedenen Mods versucht, da ging es immer.
Berechtigungen
- Neue Themen erstellen: Nein
- Themen beantworten: Nein
- Anhänge hochladen: Nein
- Beiträge bearbeiten: Nein
|
|