Gothic 2 modding questions.

Gothic II modifications

Re: Gothic 2 modding questions.

Postby Darkenius » Tue Apr 11, 2017 5:33 pm

A co teprve Saipirinha z marvinu. To už je matrix. :)
Daemonium ab inferno.
User avatar
Darkenius
The Dark Mages Mod Team
The Dark Mages
The Modders
The Dark Forests Times
Dragonkiller
Dragonkiller
 
Posts: 7049
Joined: Thu Jul 04, 2013 4:49 pm

Re: Gothic 2 modding questions.

Postby pembalint » Tue Apr 11, 2017 9:47 pm

I just realized that there is a section called "Gothic Editing" :shock:

I am so sorry, I automatically went to the Gothic 2 section and browsed there, but not elsewhere. If this topic is at the wrong place, please replace it.

I just tried to use the Diakreion Texture Converter, but somehow it didn't worked for me.

I loaded the image (tried bmp and tga)
selected "automatic conversion" (also tried with "show only")
"to format:" selected .TEX
also "2-A8B8G8D8R8" (also tried with all the others)
Mipmaps set to 1
Clicked to "text"
Clicked to "export"
nothing happens

But maybe I am really dumb...
pembalint
Novice
Novice
 
Posts: 15
Joined: Sun Apr 02, 2017 10:49 pm
  topic author

Re: Gothic 2 modding questions.

Postby Aeternitas » Tue Apr 11, 2017 11:48 pm

This Text -> Export is the residuum of my debugging procedures.

If you want to use automatic conversion, set up all things you want for conversion and then drop the image on the converter window. It will be then converted. If the picture is already loaded, it can't be converted. I know it's quite limited thing, so I will work to improve it in the next Ebee release of Diakreion (530).
ImageImageImageImageImageImage
User avatar
Aeternitas
The Dark Mages Mod Team
The Dark Mages
The Modders
The Dark Forests Times
The Highest Dark Mage
The Highest Dark Mage
 
Posts: 34960
Joined: Mon Sep 24, 2012 8:15 pm
Location: Nordmar Highland

Re: Gothic 2 modding questions.

Postby pembalint » Thu Apr 13, 2017 9:11 pm

Thank you! It really WORKS!
Diakreion is great!

My next question (I hope you are not tried of this...)

How can I change the title in the main menu. Originally it is "Gothic 2", but right now it is "die nacht des raben".

First I thought it is texture, but I didn't found it, so I tried to look for clue in script.
Is it related somehow to this?
flags = flags | MENU_SHOW_INFO;

Also when I start the game, a small box pops up (Gothic 2 - Die nacht des raben; with a picture of a raven with a "starring" eye). Can I modify this?

Thank you for your kind support.
pembalint
Novice
Novice
 
Posts: 15
Joined: Sun Apr 02, 2017 10:49 pm
  topic author

Re: Gothic 2 modding questions.

Postby Darkenius » Thu Apr 13, 2017 9:41 pm

My turn to answer some of your questions! :D

I think it's this:
In Menu_Main.d

Code:Select all
CODE ONLY AVAILABLE FOR REGISTERED USERS



As you see they are textures.
You have to edit menu_gothic.tga and menu_gothicshadow.tga (second one is like transparent/ghost font or something).
You can also disable menu_gothicshadow.tga and use just menu_gothic.tga. it's far easier for you.

Code:Select all
CODE ONLY AVAILABLE FOR REGISTERED USERS



It's all about of trying if it works or not.
By the way converting textures to work with menu or loading screens is a little bit tricky. You need to have exact resolution, decent size and exact type of format. Diakreion convertor kinda helps you with this.
Daemonium ab inferno.
User avatar
Darkenius
The Dark Mages Mod Team
The Dark Mages
The Modders
The Dark Forests Times
Dragonkiller
Dragonkiller
 
Posts: 7049
Joined: Thu Jul 04, 2013 4:49 pm

Re: Gothic 2 modding questions.

Postby Aeternitas » Thu Apr 13, 2017 11:49 pm

This small box at start cannot be changed by standard modding procedures. You can change it only by overwriting exe file of Gothic, what I don't recommend.

In Diakreion Texture Converter you can go through all the textures, even compiled, so you easily see, what they are.
ImageImageImageImageImageImage
User avatar
Aeternitas
The Dark Mages Mod Team
The Dark Mages
The Modders
The Dark Forests Times
The Highest Dark Mage
The Highest Dark Mage
 
Posts: 34960
Joined: Mon Sep 24, 2012 8:15 pm
Location: Nordmar Highland

Re: Gothic 2 modding questions.

Postby pembalint » Sat Apr 22, 2017 10:54 pm

Thank you very much so far.
I progressed a lot.

Right now I would like to change a few subtitles. I found "OU Im/Exporter" in Diakreion.
There I read the OU.bin. I changed a few lines, then I clicked to "Write" and created the new one. The subtitles changed, but sadly all hungarian special character (á,é,í,ö,ő,ü,ű) changed to "?".

ISO_8859_2 should support these characters. In diakreion everything is fine. But when I write new ou.bin, all the special character turn to ?.

I tried to:
- select ISO_8859_2 , select ---> UTF-8 , Apply : Result: in Diakreion special characters OK, in game just "?"
- select ISO_8859_2, select UTF-8 ---> , Apply : Result: even in Diakreion special characters turned to "?"

I have my changed, ok text saved.

Please help me. Is it possible to creat the modified ou.bin with hungarian special characters?
pembalint
Novice
Novice
 
Posts: 15
Joined: Sun Apr 02, 2017 10:49 pm
  topic author

Re: Gothic 2 modding questions.

Postby Aeternitas » Sun Apr 23, 2017 12:16 am

If you want to change just texts, the OU im/exported should work. I think UTF-8 is not supported by Gothic. So you need to find another coding for Gothic. ISO_8859_2 should work well. Or some other. I guess it may also work no change of coding possibly, but you write it failed. This technique is mostly used when you don't have source codes of scripts. If you have source codes you mostly use OU button on the front and then Update OU.

I will test the coding by myself, too.
ImageImageImageImageImageImage
User avatar
Aeternitas
The Dark Mages Mod Team
The Dark Mages
The Modders
The Dark Forests Times
The Highest Dark Mage
The Highest Dark Mage
 
Posts: 34960
Joined: Mon Sep 24, 2012 8:15 pm
Location: Nordmar Highland

Re: Gothic 2 modding questions.

Postby Aeternitas » Sun Apr 23, 2017 7:09 pm

I tested this feature. In Ou Im-Ex-porter is bug, therefore you see only question marks. I fixed it and you will find it working in the next release of Diakreion. Ou updater works fine also in the current released version.

ImageImageImageImageImageImage
User avatar
Aeternitas
The Dark Mages Mod Team
The Dark Mages
The Modders
The Dark Forests Times
The Highest Dark Mage
The Highest Dark Mage
 
Posts: 34960
Joined: Mon Sep 24, 2012 8:15 pm
Location: Nordmar Highland

Re: Gothic 2 modding questions.

Postby pembalint » Mon Apr 24, 2017 5:02 pm

Thank you very much!
I waiting for the next release.
pembalint
Novice
Novice
 
Posts: 15
Joined: Sun Apr 02, 2017 10:49 pm
  topic author

PreviousNext

Return to Mods of Gothic II

Who is online

Users browsing this forum: No registered users and 1 guest