~ Forums of Enroth ~
Would you like to react to this message? Create an account in a few clicks or log in to continue.

~ Forums of Enroth ~

The Enroth diehard fan community
 
HomeHome  Latest imagesLatest images  SearchSearch  RegisterRegister  Log inLog in  
Latest topics
» Songs of Silence (HoMM like game)
Heroes II localisation: how to make no-CD patch. Icon_minitimeby Blake01 2024-03-27, 16:52

» Heroes Orchestra's 5th Birthday concerts with Paul Romero
Heroes II localisation: how to make no-CD patch. Icon_minitimeby rrravyn 2024-03-23, 22:45

» WARNING - The dreaded moment is here: Heroes 6 servers shutting down
Heroes II localisation: how to make no-CD patch. Icon_minitimeby Sir Albe 2024-03-22, 07:15

» fheroes2 General Announcements
Heroes II localisation: how to make no-CD patch. Icon_minitimeby sirDranik 2024-03-17, 23:35

» Photo Gallery
Heroes II localisation: how to make no-CD patch. Icon_minitimeby Sir Albe 2024-03-07, 06:57

» Polskie powitanie
Heroes II localisation: how to make no-CD patch. Icon_minitimeby rrravyn 2024-03-05, 04:02

» Heroes II localisation: how to make no-CD patch.
Heroes II localisation: how to make no-CD patch. Icon_minitimeby kiku 2024-02-19, 02:43

Poll
Global announcements should be:
Everlasting, 1 for each project.
Heroes II localisation: how to make no-CD patch. Redbar110%Heroes II localisation: how to make no-CD patch. Redbar12
 0% [ 0 ]
Temporary, when there is something new to announce.
Heroes II localisation: how to make no-CD patch. Redbar11100%Heroes II localisation: how to make no-CD patch. Redbar12
 100% [ 6 ]
Holalala... No idea where the Ultimate artifact is.
Heroes II localisation: how to make no-CD patch. Redbar110%Heroes II localisation: how to make no-CD patch. Redbar12
 0% [ 0 ]
Total Votes : 6
Most Viewed Topics
H3SW: General Graphics discussion
Ragoon's Graphics For HoMM3SW
Introduce yourself
H3SW General Discussion
H3SW Map List: Work in progress
H3SW: Dwelling Development
Forum Admins Feed
The Floody Land
Enrothian Fan Art
Heroes III: The Succession Wars v0.8.1 Beta

 

 Heroes II localisation: how to make no-CD patch.

Go down 
3 posters
AuthorMessage
Baronus
Nomad
Nomad
Baronus


Messages : 64
Quality Points : 1
Registration Date : 2016-06-12

Heroes II localisation: how to make no-CD patch. Empty
PostSubject: Heroes II localisation: how to make no-CD patch.   Heroes II localisation: how to make no-CD patch. Icon_minitime2020-02-09, 08:56

As you know to play H2 in local language you must have local version of the game. In my case is polish. Cant play it without cdroom. Cant use english nocd because it change language. If someone has knowledge and can do it fast please do it! As I read its some bits but I dont know which in my local exe.
Here is all to run it using eng rest.
http://wrzucplik.pl/pokaz/1941134---kbdl.html
Disc image is probably heroes2/anim etc.
Thanks.


Last edited by Baronus on 2020-02-11, 09:51; edited 1 time in total
Back to top Go down
GodRage
Webmaster
Webmaster
GodRage


Messages : 1042
Quality Points : 228
Registration Date : 2009-09-21
Location : France

Heroes II localisation: how to make no-CD patch. Empty
PostSubject: Re: Heroes II localisation: how to make no-CD patch.   Heroes II localisation: how to make no-CD patch. Icon_minitime2020-02-10, 00:05

Yes, the agg file is all the images. Heroes II localisation: how to make no-CD patch. 3584857407
Your Heroes2.exe seems to be a Price of Loyalty version 2.1. Can you confirm? Heroes II localisation: how to make no-CD patch. 3293758093

I will try to make it no CD, but I get some crashes, so, I hope I don't need all the polish files to make it. Heroes II localisation: how to make no-CD patch. 555873010


edit :
I'm sorry but for the moment I can't make it no cd.
I don't even remember how I made the French PoL to a no-cd version...
There is the few things I kept:
Code:
================
(2014, for French Heroes2w PoL 2.0)
=-...no CD...-=

84 => 85
Message "CD-ROM de price of L. n'est pas dans le lecteur..." 00 00 0f 84 1f 00 00 000ac865 84 => 85 2.2e
Dégriser les menus solo 00 00 0f 84 3b 00 00 00 0006f549 84=>85 2.2e

Version " no CD " ! 000ece60 ; (usually: hex 74 => 75) http://www.fileforums.com/showthread.php?t=59480
51 PUSH ecx
FFD7 CALL edi
85C0   TEST eax, eax
7420 JE 00401A52
74 represents JE (Jump if Equal), 75 would be JNE (Jump if Not Equal)
=-../no CD/..-=

================
But even, I don't know how I found out what to search in the exe. Heroes II localisation: how to make no-CD patch. 2789701914

Seems I just had to replace "84" with a "85", two times.
So, there is a list of what I tried with your Polish version of the exe:
Code:
0f 84 1f  ::: 84 => 85
0001d010    no effects
00055340    no effects
00099ae0    crash black screen (need to restart the computer)
000a0060    crash black screen 2
00098ae0 no effects
000d02f0 no effects

84 1f 01 => 85 1f 00
00098ae0 no effects

00 0f 84 3b 02 => 00 0f 85 3b 02
0008f0c0 no effects
00 0f 84 3b 02 => 00 0f 85 3b 01
0008f0c0 no effects
00 0f 84 3b 02 => 00 0f 85 3b 00
0008f0c0 no effects
Nothing worked.  Sad

I used W32dsm87.exe to try to find a way to get informations about the datas in my French Heroes2w at offsets 000ac865 and 0006f549.
But I failed, the disassembly program i use seems very old, is a freeware, and I am not even used to disassembly in general. (neither to programmation xD)
Maybe if you find a program that can tell you an information about why/how Heroes2 checks the no-cd by looking at the English no-cd and the French no-cd, you should be able to do the same for the Polish version.

Spoiler:

________________________
~Lands of Enroth~
Back to top Go down
http://homm2.free.fr
Baronus
Nomad
Nomad
Baronus


Messages : 64
Quality Points : 1
Registration Date : 2016-06-12

Heroes II localisation: how to make no-CD patch. Empty
PostSubject: Re: Heroes II localisation: how to make no-CD patch.   Heroes II localisation: how to make no-CD patch. Icon_minitime2020-02-11, 06:44

Thanks a lot! It gives mi big help!
I monut these two files on eng version and was the same like polish. Wing smack miss can be from all.
I think thats is special polish version. It has 1.1 Mb but eng has 1.5! They built his own exe and its a big problem. How they codded it?!

w32dsm gives two references:
B928b350 ox 669cf
00D0d84700 ox e3004

But i cant find 74 and 84 jumps there. Only 84 gives crash.
And I see something sholud be changed from 02 to 00...
Eg.
For dos:
https://cloakedthargoid.wordpress.com/no-cd/no-cd-homm2/

For russian:
http://faqs.org.ru/games/strat/hmm26.htm

But thanks a lot for fast reply! I learned how to do nocd using disassembler! May be helpfull!
Back to top Go down
GodRage
Webmaster
Webmaster
GodRage


Messages : 1042
Quality Points : 228
Registration Date : 2009-09-21
Location : France

Heroes II localisation: how to make no-CD patch. Empty
PostSubject: Re: Heroes II localisation: how to make no-CD patch.   Heroes II localisation: how to make no-CD patch. Icon_minitime2020-02-11, 08:16

Heroes II localisation: how to make no-CD patch. 3862677156 I can't understand what you said:
Baronus wrote:
I monut these two files on eng version and was the same like polish. Wing smack miss can be from all.

Yeah, each language has a different Heroes2w.exe file-size Heroes II localisation: how to make no-CD patch. 400282857
The Japanese version is even worst, the game have extra cinematics and extra protections that prevent me to use it on my French Windows  Heroes II localisation: how to make no-CD patch. 555873010 .


According to this post, seems that i followed theses steps :

  1. found where the call is,
  2. where is the jne...
  3. And then, problem.  Heroes II localisation: how to make no-CD patch. 3293758093


Okay, seems I followed theses steps from this post (on another forum) :
Quote :
[...] better to use a disassembler like W32DASM. You could, for example, disassemble the program (assuming it isn't packed) with w32dasm, open the string data reference window and find the message you get (e.g. "please insert the CD into your CD rom") and then double click it. It takes you to a bunch of code and usually right above it is some type of check that usually looks like this:

Code:
00401A2B 51    PUSH ecx
00401A2C FFD7  CALL edi
00401A2E 85C0      TEST eax, eax
00401A30 7420   JE 00401A52

The 74 represents JE (Jump if Equal), 75 would be JNE (Jump if Not Equal) and in some cases is the only thing you'd need to change. Some CDs actually require the files on the CD, but most of them don't. You won't always be able to disassemble the program, and the string won't always be in the string data references either.

I'd suggest you read some beginner tutorials on reverse engineering. Get a copy of W32DASM and Softice (or as it's called now, "Compuware Driver Studio"). You already have a hex editor (UltraEdit) so you're good there, those 3 would be enough to get started. You should be able to find some helpful tutorials on krobar.cjb.net (If it doesn't work, google the term "The Krobar Collection") which'll get you started.

[...] Reversing CD checks isn't hard. [...] You can find loads of reverse engineering tutorials with any major search engine, and if you look, you'll also be able to find how to get started with cracking CD checks.

I can't remember the URL (so you'll have to google it) but there are still a few sites that have crackmes' for reversing CD checks. They're useful, especially to beginners.

I also remembered that I had a MSDOS box on the right (a program similar to SoftICE maybe?), that was telling me what Heroes2w.exe was doing. And it somehow helped me to get the offset of the first CD check when we open the game.

ps: I changed the title of the topic. Heroes II localisation: how to make no-CD patch. 3822145216

________________________
~Lands of Enroth~
Back to top Go down
http://homm2.free.fr
kiku
Peasant
Peasant
kiku


Messages : 1
Quality Points : 1
Registration Date : 2024-02-19

Heroes II localisation: how to make no-CD patch. Empty
PostSubject: Re: Heroes II localisation: how to make no-CD patch.   Heroes II localisation: how to make no-CD patch. Icon_minitime2024-02-19, 02:43

you can use OllyDBG or PW32Dasm9b to Decompiler the program. just skip the checking warning and jump to right address

==========================================
Here is a mothed for DOS VERSION ONLY


The No-CD crack requires only a single byte to be changed in the executable.

Instructions
1) Open the file in a HEX editor.
2) Search for the following string: “31 C0 EB 05 B8 02 00 00”
The string should be found only once in the executable.
The expected starting offset for v2.0 is 0xF87B4
The expected starting offset for v2.1 is 0xFA1FC
3) Change the string to “31 C0 EB 05 B8 00 00 00”
(effectively changing the 5th byte from 02 to 00)

GodRage likes this post

Back to top Go down
Sponsored content





Heroes II localisation: how to make no-CD patch. Empty
PostSubject: Re: Heroes II localisation: how to make no-CD patch.   Heroes II localisation: how to make no-CD patch. Icon_minitime

Back to top Go down
 
Heroes II localisation: how to make no-CD patch.
Back to top 
Page 1 of 1
 Similar topics
-
» [Patch][FR] Patch de l'Archange (patch PoL for FRENCH versions)
» [Patch][EN] UndeadHalfOrc's Patch (SW/PoL, only Windows version)
» [Ironfist ver 0.8.4] Enemy heroes reveal the map for the player (original Heroes 2 save file)
» [Heroes 2 Bugs] No Disappearance Effect For AI Heroes Defeated During AI Turn
» Quelques "Jouons à" Heroes 1 et Heroes 2 en français

Permissions in this forum:You cannot reply to topics in this forum
~ Forums of Enroth ~ :: Modding Guild :: General Heroes II Modding-
Jump to: