uMod2 Alpha Version:

known bugs: I disabled the remove device function inside the gui, because something in the event handling goes terrible wrong.

Changes:
- hashing algorithm is now a CRC64 value
- changed CRC32 algorithm to a faster one
- in save single texture mode, the selected texture can now be displayed
- the way how uMod get the raw data of the texture was changed
This commit is contained in:
code@koerner-de.net
2012-08-04 19:30:29 +00:00
parent 0bc7eebede
commit 071ac3ece5
41 changed files with 1126 additions and 1108 deletions
+31 -29
View File
@@ -16,14 +16,14 @@ diese dll nicht mit Universal Modding Engine mit geliefert werden. Wenn diese dl
deinem System nicht installiert ist, wird dich Universal Modding Engine darauf hinweisen.
Was kann Universal Modding Engine (uMod) V1.0?
Was kann Universal Modding Engine (uMod) V2.0?
-einzelne Texturen aus einem Spiel extrahieren und speichern (Die Zieltextur kann im Spiel geändert werden.)
-alle Texturen aus einem Spiel extrahieren und speichern
-alle Texturen aus einem Spiel extrahieren und speichern (mit Größen- und Texturformat-Filter)
-Texturen in ein Spiel laden und Zieltexturen ersetzen
-Support einzelner dds Texturen
-Support von zip-Dateien
-Support der originalen TexMod *.tpf Datein
-Support einzelner Texturen
-Support von zip-Dateien (mit Darstellung von Textur-Gruppen als Baumstruktur)
-Support der originalen TexMod *.tpf Dateien (der Support muss über das Kontext-Menü aktiviert werden)
Alle diese Optionen können während des Spieles an und aus geschaltet werden!
Du kannst also nach einer Textur suchen, diese speichern, sie anschließend
@@ -37,12 +37,8 @@ geladen werden. Stellst du diese Option an, w
wahrscheinlich nichts geschehen, da alle Texturen für diese Map bereits geladen sind.
Wechsle also die Map oder lade erneut.
Zip Dateien können eine "texmod.def" Datei enthalten, welche die Hash-Werte und
Dateinamen enthält. Jede Zeile sollte dem Format "hash|filename.dds" entsprechen.
Wenn es keine "texmod.def" Datei enthält, wird jede Datei entpackt und jene, deren
Namen auf das Wildcard "*_hash.dds" zutrifft, werden benutzt.
Die Zip Datei kann eine "Comment.txt" Datei enthalten. Der Inhalte wird als Kommentar
in der GUI angezeigt.
Zip Dateien können eine "content.txt" Datei enthalten, welche Informationen Gruppen und Texturen enthält.
Siehe dazu die zwei mitgelieferten Beispiele.
Wenn du einzelne Dateien lädst, sollten diese dem Wildcard "*_hash.dds" entsprechen.
@@ -69,9 +65,9 @@ Es gibt drei Wege wie uMod sich in die DirectX Verbindung einklinken kann:
bekannte Probleme: Guild Wars (Win XP)
2) Starte das Spiel direkt durch OTM über das Menü
"Einstellungen->Sarte Spiel durch OTM" oder
"Einstellungen->Sarte Spiel durch OTM (mit Kommandozeile)".
2) Starte das Spiel direkt durch uMod über das Menü
"Einstellungen->Sarte Spiel durch uMod" oder
"Einstellungen->Sarte Spiel durch uMod (mit Kommandozeile)".
Das Spiel startet sofort.
3) Kopiere die d3d9.dll (vom uMod Verzeichnis) in das Spiele Verzeichnis.
@@ -86,25 +82,31 @@ Universal Modding Engine und danach das Spiel. Starte das Spiel in beiden F
Universal Modding Engine .
Wenn das Spiel startet und alles glatt läuft, öffnet sich sofort ein neuer Tab in uMod.
In diesem Tab kannst du nun das Spiel modden. Drücke den "Update" Button um
die Einstellungen an das Spiel zu senden. Du kannst deine aktuellen Einstellungen auch
als ein Template speichern. Ein Template kann auch als Standard eingestellt werden.
Es wird dann automatisch geladen und an das Spiel gesendet, wenn
dieses Spiel das nächste Mal gestartet wird.
Im obersten Feld steht die Methode, welche verwendet wurde um sich in das Spiel
ein zu klinken. Danach sollten Informationen über erzeugte DirectX Devices stehen.
z.B. (DX9) oder (DX9EX: 3). Dies gibt an, welches Device und wie viele durch das Spiel
gestartet (und von uMod umgeleitet) wurden. Fehlt diese Information, so ist das Modden
nicht möglich. Mögliche Ursachen können sein, dass das Spiel kein DirectX 9 verwendet
oder uMod zu langsam war, um sich in das Spiel ein zu klinken.
Um einen Mod zu laden, musst du das Häkchen vor den Namen setzen. Wenn du
den Mod entladen willst, entferne das Häkchen und klicke auf "Update".
Der Update Button lädt nur Veränderungen (wenn 1) Pakete aus der Liste entfernt
wurden, 2) du die Häkchen verändert hast oder 3) sich die Reihenfolge geändert hat)
Der "neu laden" Button erzwingt das Neuladen von Festplatte (z.B. wenn du die
Texturen verändert hast).
Wenn Du Veränderungen vornimmst, so musst Du diese über das Kontext-Menü
(rechte Maustaste im unteren Fenster) -> Update bestätigen.
Update (neu laden) bewirkt, dass die Texturen neu von der Festplatte geladen werden.
Diese Option ist nur für diejenigen sinnvoll, die Texturen editieren.
Weil verschiedene Mods die gleiche Ziel-Textur verändern könnten, wird nur die
Mod-Textur des ersten Mods berücksichtigt. Die Aktion dieses Mods (also Laden oder
Entladen) wird durchgeführt, ungeachtet dessen, was die restlichen Mods mit der
Ziel-Textur machen sollen.
Neue Mods oder Texturen kannst Du über das Kontext-Menü oder per Drag&Drop aus
dem Explorer heraus öffnen. Die Reihenfolge der Mods veränderst Du ebenfalls über
Drag&Drop. Die Reihenfolge kann dann wichtig sein, wenn zwei Mods, die gleiche
Spiele-Textur verändern wollen. Dann wird die Änderung des Mods aktiv, welcher weiter
oben gelistet ist.
Zusätzlich kannst Du jeden Mod aufklappen und einzelne Texturen aktivieren oder deaktivieren.
Mods mit dem neuen Mod-Format können auch mehrere Ebenen von Gruppen enthalten.
Hier kannst du einzelne Gruppen aktivieren und deaktivieren.
Während bei Texturen immer eines der beiden Häkchen gesetzt sein muss, können beim
Mod-Paket oder bei Gruppen beide Häkchen entfernt werden, um die Kontrolle an die nächst
tiefer liegende Ebene zu übergeben.
Wie bekommt man Universal Modding Engine mit Steam zum Laufen?
+22 -20
View File
@@ -13,14 +13,14 @@ cannot be delivered together with Universal Modding Engine . If D3DX9_43.dll is
installed on your system, Universal Modding Engine will give you a hint at program start.
What can Universal Modding Engine (uMod) V1.0?
What can Universal Modding Engine (uMod) V2.0?
-extract and save single textures from a DX9 game (the target texture can be toggled in the game)
-extract and save all textures from a DX9 game
-extract and save all textures from a DX9 game (with size and texture format filter)
-load textures into a game to replace target textures
-support single dds texture
-support zip-files as whole mod package
-support the original TexMod *.tpf files
-support zip-files as whole mod package (groups of textures can be displayed as tree view)
-support the original TexMod *.tpf files (the tpf support must be enabled through the context menu)
All these options can be switched on or off, while the game is already running!
So you can search for a texture in the game, save it to disk, edit it,
@@ -32,12 +32,8 @@ the textures are loaded by the game and only in the moment they are loaded.
If you switch this option on, while a map is loaded, probably nothing will hapen,
because all textures are loaded for this map. Change the Map or reload it again.
Zip files can include a "texmod.def" file which contains the hash and the file name.
Each line should be in the format "hash|filename.dds"
If it does not contain a "texmod.def" each file will be unpacked and those which match
the wildcard "*_hash.dds" will be used.
The zip file can include a "Comment.txt" file. The content will be shown as comment
in the GUI.
Zip files can include a content.txt" file which contains information about
groups and textures. Two examples are included in the package.
If you load single files, they should match the wildcard "*_hash.dds"
@@ -80,23 +76,29 @@ If you have chosen the first or third method, you simply start Universal Modding
and afterwards the game. Do NOT start the game through Universal Modding Engine.
If the game starts and all works fine, a new tab opens immediately in uMod.
In this tab you can now mod the game. Press the "update" button to commit
the changes to the game. You can also save your current settings as a template.
One template can be set as default for a game, which will be loaded and
and committed automatically when you start this game the next time.
In the upper text control you can read the method of injection. An additional information
about created DirectX devices follows e.g. (DX9) or (DX9EX: 3). It informs you, what kind of
device and how many devices were created by the game (and detoured by uMod). If this
information is not displayed, you are not able to modify the game. Possible reason might
be, that the game does not use DirectX9 or uMod was not fast enough to inject the game.
To load a mod, you must set the check mark of the file. If you wish to unload a mod,
just remove the check mark and click on update again.
After you have changed Settings you have to update via the context menu (right click
in the bottom window). Update (reload) reloads all texture from disk, this is only for
users, which edit textures.
Clicking on update will only update the differences (if packages have been
removed from the list, you toggled check marks or changed the order). The reload
button forces to reload from disk (if you have edited the texture itself).
Due to the fact that different mods can modify the same target texture, only the
mod-texture of the first file in the list is taken into account. The action of this file
(load or unload) is proceeded regardless of what the following mods are opposed
to do with their mod-textures.
New mods or textures can be opened through the context menu or through drag&drop
from the explorer. The order of mods can be rearranged also using drag&drop. The order
of mods is important, if two mods try to modify the same game texture. In this case,
the texture from the mod listed first is taken.
Additionally you can expand mods and activate or deactivate single textures. Mod
with the new mod-format can contain many groups, which can be activated or deactivated
separately. For textures at least one tick mark must be set, for mods and groups bot tick
marks can be unset to give the control to the underlying layer.
How to get Universal Modding Engine work together with Steam?
@@ -1,5 +1,5 @@
If you have created a language package and would like to add to the officially download, please send it to me.
Email address and support can be found at http://code.google.com/p/texmod/
Email address and support can be found at http://code.google.com/p/texmod/
The file name must match the wildcard uMod_LanguagePack_NAMEOFLANGUAGE.txt
@@ -36,117 +36,122 @@ English itself is compiled into the uMod_GUI.exe, thus there exists no uMod_Lang
The following list is an example of how an English package would look like (maybe not all keywords are present).
MenuHelp:
Help|
MenuAbout:
About|
MenuLanguage:Change language|
MenuHelp:Help|
MenuAbout:About|
MenuAcknowledgement:Acknowledgement|
MenuStartGame:Start game through uMod|
MenuStartGameCMD :Start game through uMod (with command line)|
MenuStartGameCMD:Start game through uMod (with command line)|
MenuUseHook:Use global hook|
MenuAddGame:
Add game|
MenuDeleteGame:
Delete Game|
MenuAddGame:Add game|
MenuDeleteGame:Delete game|
MenuLoadTemplate:Load template|
MenuSaveTemplate:Save template|
MenuSaveTemplateAs:Save template as ...|
MenuSetDefaultTemplate:Set template as default|
MenuLanguage:Change language|
MenuExit:Exit|
MainMenuMain:Main|
MainMenuHelp:
Help|
MainMenuHelp:Help|
MenuOpenPackage:Open texture/package|
MenuRemovePackage:Remove package|
MenuRemoveSelectedPackages:Remove selected packages|
ButtonOpen:
Open texture|
ButtonDirectory:
save directory|
ButtonUpdate:
Update|
ButtonReload:Update (reload)|
MenuUpdate:Update|
MenuReload:Update (reload)|
MenuSupportTPF:Support TPF-Mods|
ButtonUpdate:Update|
ButtonDirectory:Set save directory|
ChooseFile:Choose a file|
ChooseDir:
Choose a directory|
CheckBoxSaveSingleTexture:
Save single texture|
ChooseDir:Choose a directory|
MultipleSingleFiles:Multiple single files|
HookInjection:Hook Injection: |
DirectInjection:Direct Injection: |
NoInjection:No Injection: |
InvalidGamePage:default page|
TextCtrlTemplate:Template: |
CheckBoxSaveAllTextures:
Save all textures|
TextCtrlSavePath:
Save path: |
SelectLanguage:
Select a language|
CollapseTextureCapture:Capture textures|
CheckBoxSaveSingleTexture:Save single texture|
CheckBoxShowStringSaveSingleTexture:Show message in the upper left corner|
CheckBoxShowSingleTexture:Show texture in the upper left corner|
CheckBoxSaveAllTextures:Save all textures|
SelectLanguage:Select a language.|
StartGame:Select the game to start.|
CommandLine:Set command line arguments.|
ChooseGame:
Select a game binary.
DeleteGame:
Select the games to be deleted.|
GameAlreadyAdded:
Game has been already added.|
ExitGameAnyway:
Closing Universal Modding Engine while a game is running might lead to a crash of the game.
Exit anyway?|
NoComment:
No comment.|
Author:
Author: |
ChooseTemplate:Chose a template|
OpenTemplate:Open template|
SaveTemplate:Save template|
DefaultTemplate:Set default template|
AutoSaveTemplate:auto save|
ChooseGame:Select a game binary.|
DeleteGame:Select the games to be deleted.|
GameAlreadyAdded:Game has been already added.|
ExitGameAnyway:Closing OpenTexMod while a game is running might lead to a crash of the game.
Exit anyway?|
Title:Title|
Author:Author|
Comment:Comment|
SingleTextureNode:Single Textures|
Error_GameIsHooked:The global hook is active and this game will be injected! Please delete the game from the list or disable the hook.|
Error_ProcessNotStarted:The game could not be started.|
Error_RemoveHook:Removing the Hook while a game is running might lead to crash.|
Error_FileNotSupported:
This file type is not supported:|
Error_DLLNotFound:
Could not load the dll.
The dll injection won't work.
This might happen if D3DX9_43.dll is not installed on your system.
Error_FileNotSupported:This file type is not supported:
|
Error_FileIsEmpty:Could not retrieve textures from file:
|
Error_D3DX9NotFound:The D3DX9_43.dll (32bit) is not available on your system.
Please install the newest DirectX End-User Runtime Installer.|
Error_DLLNotFound:Could not load the dll.
The dll injection won't work.
This might happen if D3DX9_43.dll (32bit) is not installed on your system.
Please install the newest DirectX End-User Runtime Web Installer.|
Error_FktNotFound:
Could not load function out of dll.
Error_FktNotFound:Could not load function out of dll.
The dll injection won't work.|
Error_AlreadyRunning:An other instance of Universal Modding Engine is already running.|
Error_Send:
Could not send to game.|
Error_KeyTwice:
You assigned a key twice.|
Error_NoSavePath:
You did not set a save path.|
Error_KeyNotSet:
At least one key is not set.|
Error_SaveFile:
Could not save to file.|
Error_NoPipe:
Pipe is not opened.|
Error_WritePipe:
Could not write in pipe.|
Error_FlushPipe:
Could not flush pipe buffer.|
Error_Hash:
Could not find hash, maybe file is not named as *_HASH.dds|
Error_FileOpen:
Could not open file.|
Error_FileRead:
Could not read file.|
Error_Memory:
Could not allocate enough memory|
Error_Unzip:
Could not unzip.|
Error_ZipEntry:
Could not find zip entry.|
KeyBack:
Back|
KeySave:
Save|
KeyNext:
Next|
FontColour:
Font colour (RGB):|
TextureColour:
Texture colour (RGB):|
Error_AlreadyRunning:An other instance of OpenTexMod is already running.|
Error_Send:Could not send to game.|
Error_KeyTwice:You have assigned the same key twice.|
Error_NoSavePath:You did not set a save path.|
Error_KeyNotSet:At least one key is not set.|
Error_SaveFile:Could not save to file.|
Error_NoPipe:Pipe is not opened.|
Error_WritePipe:Could not write in pipe.|
Error_FlushPipe:Could not flush pipe buffer.|
Error_Hash:Could not find hash, maybe file is not named as *_HASH.dds|
Error_FileOpen:Could not open file:|
Error_FileRead:Could not read file:|
Error_NoTemplates:No templates available.|
Error_Memory:Could not allocate enough memory.|
Error_Unzip:Could not unzip.|
Error_ZipEntry:Could not find zip entry.|
CheckBoxUseSizeFilter:Use size filter|
CheckBoxUseFormatFilter:Use texture format filter|
SetFormatFilter:Set the filter|
WidthSpin:Width :|
HeightSpin:Height :|
DepthSpin:Depth :|
KeyBack:Back|
KeySave:Save|
KeyNext:Next|
AskForKey:Pleas press a Key.|
KeyNotSet:Not set|
UnknownKey:Unknown|
FontColour:Font colour|
TextureColour:Texture colour|