IPB

Здравствуйте Гость ( Вход | Регистрация )

 
Reply to this topicStart new topicStart Poll
Wingard
post Четверг, 24 Апреля 2014, 15:31
Отправлено #1


Henchman
Group Icon

Группа: Members
Сообщений: 11
Регистрация: 24-Апр-14
Пользователь №: 6,105



Hi! My russian isnt the best so id like to ask a question using english. is there a way to open and modify .reg files from Evil Islands without breaking them? They are not usual registry files, i can tell you that. I can open them with Notepad, but it gives many weird symbols and changing anything and saving changes changes the whole file and makes it not work afterwards.

To be honest im looking for a extactor for this type of files not because of Evil Islands but Etherlords, another game by Nival. There .reg files are used to store the informations about interface, and my goal is to create a mod which would allow to run the game in widescreen (as it does not support it at the moment and even if we try running it widescreen the interface is being displayed in the center of the screen sad.gif ).

So, do you know some extractor/opener for this kind of files? I will list you few of them from Evil islands as i suppose some of you have the game installed on your pc at the moment so it may help you know which files im talking about:

config/ai.reg
res/music.reg
res/smessbase.reg
res/streamsn.reg

Any help will be appreciated smile.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Jet
post Понедельник, 28 Апреля 2014, 13:39
Отправлено #2


Honor Guard
Group Icon

Группа: Add-on Developers
Сообщений: 1,045
Регистрация: 23-Фев-02
Из: gipat.ru
Пользователь №: 116



As i remember the format of the Etherlords .reg file is similar to the Evil Islands but with minor addition.
Can you provide an example of the .reg file?
I will check and reply.


--------------------
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Wingard
post Вторник, 29 Апреля 2014, 21:26
Отправлено #3


Henchman
Group Icon

Группа: Members
Сообщений: 11
Регистрация: 24-Апр-14
Пользователь №: 6,105



Ok, here is one file from Evil Islands (there arent many of them and they dont seem to keep any important info) and one file from Etherlords 2 im trying to get into (holds informations about game's interface). smile.gif

By the way i found something here: allods2.eu/en/files/
one file's description says that it allows to convert these .reg files into .xml (openable in Notepad) and other way round but i have no idea how to use this converter. :/ It was created for yet another game from Nival, i thought it may help.

Сообщение отредактировал Wingard - Вторник, 29 Апреля 2014, 21:49

Присоединённые файлы
Присоединённый файл  nival_regs.rar ( 8.79кб ) Кол-во скачиваний: 93
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Jet
post Вторник, 29 Апреля 2014, 23:57
Отправлено #4


Honor Guard
Group Icon

Группа: Add-on Developers
Сообщений: 1,045
Регистрация: 23-Фев-02
Из: gipat.ru
Пользователь №: 116



Can you check this tool (attached)?
Run !Encode.cmd to convert .ini to .reg

Присоединённые файлы
Присоединённый файл  InterfaceTextures.zip ( 63.43кб ) Кол-во скачиваний: 86


--------------------
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Wingard
post Среда, 30 Апреля 2014, 00:13
Отправлено #5


Henchman
Group Icon

Группа: Members
Сообщений: 11
Регистрация: 24-Апр-14
Пользователь №: 6,105



Wow, it really works! smile.gif I made a resource file for Etherlords 2 using EiEdit and the game does not crash.
Untortunately it seems like this reg does not contain as much informations as i was hoping for. sad.gif I thought it will have placement of the textures and such (not only their names)... i guess i would have to look for these in another .reg file.

Thanks for showing interest in this, i really appreciate that. smile.gif Would you be able to explain me how to convert other etherlords .reg files? Do you need me to send them to you for test or is there a program for them that you've used? (i mean the way you've converted reg files into .ini files. ive tried programs like reg2ini but with no effect, they dont accept Nival's .reg files)

Сообщение отредактировал Wingard - Среда, 30 Апреля 2014, 00:35
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Jet
post Среда, 30 Апреля 2014, 00:59
Отправлено #6


Honor Guard
Group Icon

Группа: Add-on Developers
Сообщений: 1,045
Регистрация: 23-Фев-02
Из: gipat.ru
Пользователь №: 116



Here is a decoder.

Присоединённые файлы
Присоединённый файл  Decode_example.zip ( 44.46кб ) Кол-во скачиваний: 88


--------------------
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Wingard
post Среда, 30 Апреля 2014, 01:08
Отправлено #7


Henchman
Group Icon

Группа: Members
Сообщений: 11
Регистрация: 24-Апр-14
Пользователь №: 6,105



<3

Thank you! You are my hero! I'll get to converting right away smile.gif
If i will be able to succed in creating widescreen mod i will surely upload it and type link here. smile.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Jet
post Среда, 30 Апреля 2014, 01:27
Отправлено #8


Honor Guard
Group Icon

Группа: Add-on Developers
Сообщений: 1,045
Регистрация: 23-Фев-02
Из: gipat.ru
Пользователь №: 116



Good luck!


--------------------
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Wingard
post Пятница, 02 Мая 2014, 19:35
Отправлено #9


Henchman
Group Icon

Группа: Members
Сообщений: 11
Регистрация: 24-Апр-14
Пользователь №: 6,105



There is some progress already! biggrin.gif Sort of...
Присоединённое изображение
I managed to move interface's panels to the bottom but i cant figure out how to move numbers and values... Also using the automatic camera is not that great, its always either too high or too low, never perfect. It looks as if it's trying to match the screen proportion considering only its width to keep the 4:3 screen ratio. :/ This would be fixable if i had acess to camera files, but Notepad shows werid stuff as always here. Im not counting for it but i guess it wont hurt to ask - Jet, you are the miracles-doer, would you happen to be able to decode .cmf (camera file) somehow? smile.gif One is attached to this post.

Присоединённые файлы
Присоединённый файл  AttackOwnRightMonsters1_1.rar ( 1.37кб ) Кол-во скачиваний: 73
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Jet
post Понедельник, 05 Мая 2014, 13:04
Отправлено #10


Honor Guard
Group Icon

Группа: Add-on Developers
Сообщений: 1,045
Регистрация: 23-Фев-02
Из: gipat.ru
Пользователь №: 116



Now you can play with camera file using Notepad or Excel.


Присоединённые файлы
Присоединённый файл  CfmUtility.zip ( 15.46кб ) Кол-во скачиваний: 75


--------------------
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Wingard
post Понедельник, 05 Мая 2014, 13:42
Отправлено #11


Henchman
Group Icon

Группа: Members
Сообщений: 11
Регистрация: 24-Апр-14
Пользователь №: 6,105



Oh. My. Godness.

I love you, dude! laugh.gif This tool will allow me to fix these stupid camera routes! Thank you!

By the way, this is how Main menu will look like:
(please dont mind the language, texts are NOT textures so the mod will NOT change the game's main menu language! smile.gif )

Присоединённое изображение

After finishing 1366x768 version im planning also to do a 1920x1080 one, but its still long way to go from now. Nonetheless the project of it is already done. smile.gif
Присоединённое изображение

Heres the original menu for comprasion:
Присоединённое изображение

Сообщение отредактировал Wingard - Понедельник, 05 Мая 2014, 13:44
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Wingard
post Суббота, 10 Мая 2014, 20:18
Отправлено #12


Henchman
Group Icon

Группа: Members
Сообщений: 11
Регистрация: 24-Апр-14
Пользователь №: 6,105



Alright, this is as far as i can go... sad.gif
Присоединённое изображение

Присоединённое изображение

All the menus are working nicely, but the combat screen is moderately comfortable with these portraits and numbers floating in the center of it. :/ The rest of the interface is fine (buttons and spells are clickable/pushable and they interract correctly).
Second pain would be the one providing by the adventure screen. If we move our mouse too far to the right (over 800 pixels from the left border of the screen) then the game thinks we are trying to rotate the view and will not react to anything else. Moving the mouse below 600 pixels from the top of the screen has no use, the game will not react to any of our clicking).
Присоединённое изображение
That means the the true gameplay screen is practically equal to 800x600.


There is no way of moving portraits and values, ive tried eveything that came to my mind. The only thing remaining is cracking the .exe file, but i have no idea how to do HEX editing. :/ The game already knows how to move the values vertically (by 168 pixels), so thing would require the game thinking the first resolution (800x600) is the second one (1024x768) and then job would be halfway done. I suppose the next step would be adding some command for it to move values 566 pixels to the right, (but only these being displayed on the right half of the screen). Of course these are only my assumptions.

The only close-to-widescreen resolution the game is capable of displaying is 1024x600, but i wouldnt call it a HD one. :/

But anyway, looks like the mod wont come to life without it. D: If there is some programmer / hacker interested in helping with this issue i will gladly provide him whatever he needs (like the .exe file (i cant upload it into the post on forum), or my work on this mod so far) If not, then i guess Etherlords will never see the playable widescreen version sad.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Wingard
post Суббота, 26 Августа 2017, 17:48
Отправлено #13


Henchman
Group Icon

Группа: Members
Сообщений: 11
Регистрация: 24-Апр-14
Пользователь №: 6,105



Hey guys, i just remembered that i posted here a long while ago. I had no luck changing the .exe file myself but there was a kind soul on the widescreen gaming forum that managed to create a fix for Etherlords 2! Here is the link to the forum thread, you can find that fix there:
http://www.wsgf.org/forums/viewtopic.php?f=64&t=16064
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Demoth
post Воскресенье, 27 Августа 2017, 13:34
Отправлено #14


Conjurer
Group Icon

Группа: Add-on Developers
Сообщений: 167
Регистрация: 14-Мар-11
Пользователь №: 5,879



Hi, Wingard!
It is an interesting topic. Can you send original files from Etherlords2_v2.7z? I need them because I want too see the differences.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Jet
post Воскресенье, 27 Августа 2017, 16:20
Отправлено #15


Honor Guard
Group Icon

Группа: Add-on Developers
Сообщений: 1,045
Регистрация: 23-Фев-02
Из: gipat.ru
Пользователь №: 116



Here is Присоединённый файл  files.zip ( 4.96мб ) Кол-во скачиваний: 15


--------------------
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Demoth
post Воскресенье, 27 Августа 2017, 18:11
Отправлено #16


Conjurer
Group Icon

Группа: Add-on Developers
Сообщений: 167
Регистрация: 14-Мар-11
Пользователь №: 5,879



Thanks. wink.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Wingard
post Четверг, 31 Августа 2017, 05:54
Отправлено #17


Henchman
Group Icon

Группа: Members
Сообщений: 11
Регистрация: 24-Апр-14
Пользователь №: 6,105



Do you guys think that a similar fix could be done for Evil Islands? Both these games were made by the same company, maybe the .exe files arent that different from one another. Would be great to see EI in the sweet widescreen glory. Though the shop screen would probably need to be centered with black bars on the sides...
One can always dream biggrin.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Jet
post Пятница, 01 Сентября 2017, 22:02
Отправлено #18


Honor Guard
Group Icon

Группа: Add-on Developers
Сообщений: 1,045
Регистрация: 23-Фев-02
Из: gipat.ru
Пользователь №: 116



QUOTE(Wingard @ Четверг, 31 Августа 2017, 03:54)
One can always dream biggrin.gif
*


Dreams must remain dreams. biggrin.gif


--------------------
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Reply to this topicTopic OptionsStart new topic
1 чел. читают эту тему (1 Гостей и 0 Скрытых Пользователей)
0 Пользователей:
 

Упрощённая версия Сейчас: 16 Декабря 2017 - 23:30