Register FAQ Search Today's Posts Mark Forums Read
Go Back   JazzJackrabbit Community Forums » Open Forums » General Jazz Jackrabbit Talk

Levels: TSF to 123

GoGi

JCF Member

Joined: Jul 2001

Posts: 23

GoGi is doing well so far

May 20, 2002, 08:12 AM
GoGi is offline
Reply With Quote
Levels: TSF to 123

Okay i made a hack to the 1.23 JCS.EXE which enables to load almost all TSF levels into the 1.23 JCS. Then you can save the level for it to become 1.23-format

I think it's not legal to offer the JCS.EXE for download but may i make a patch or post some dissassembly here?
Chiyu

JCF member

Joined: Nov 2001

Posts: 1,949

Chiyu has disabled reputation

May 20, 2002, 08:35 AM
Chiyu is offline
Reply With Quote
and what happens to the animations and such after the level is saved as 1.23? and does it work properly?
__________________
GoGi

JCF Member

Joined: Jul 2001

Posts: 23

GoGi is doing well so far

May 20, 2002, 08:39 AM
GoGi is offline
Reply With Quote
Unhappy

You really shouldn't load a level which has anything TSF-Specific in it into the 1.23 JCF - and some TSF tilesets will crash as well. I'll have to test everything....

Now can i release a patch for the JCS.EXE ?
GoGi

JCF Member

Joined: Jul 2001

Posts: 23

GoGi is doing well so far

May 20, 2002, 09:32 AM
GoGi is offline
Reply With Quote
Talking

Okay no answer is ok as well.. i made the patch and it's available here:

GoGi's TSF in 1.23-JCS load patch v0.1
http://www.gogi.tv/tsfjcs01.exe

Please BACKUP your old JCS.EXE!!!

If you are interested in how i did it, i will post some information here
Krezack

JCF member

Joined: Nov 2001

Posts: 5,156

Krezack has disabled reputation

May 20, 2002, 10:29 PM
Krezack is offline
Reply With Quote
Did you hexedit the executable or disassemble>edit>reassemble?

What i am asking is did you use a hexeditor or a disassembler?
__________________
"Are we not threatened with a flood of information? And is this not the monstrousness of it: that it crushes beauty by means of beauty, and annihilates truth by means of truth? For the sound of a million Shakespeares would produce the very same furious din and hubbub as the sound of a herd of prairie buffalo or sea billows."
—Stanisław Lem, Imaginary Magnitude (1973)
GoGi

JCF Member

Joined: Jul 2001

Posts: 23

GoGi is doing well so far

May 21, 2002, 12:26 AM
GoGi is offline
Reply With Quote
Talking

I needed a disassembler to disassemble the file, then i looked for the bytes to change, and then i changed them with a hexeditor because i know that NOP is 90 and JNE is 75
Cpp

JCF Member

Joined: Mar 2001

Posts: 1,557

Cpp is doing well so far

May 21, 2002, 06:39 AM
Cpp is offline
Reply With Quote
Ahem!
A patch like this already exists.
http://www.jazz2online.com/downloads...p?levelid=1173
__________________
<a href="http://nmap.org/"><img border="0" alt="Nmap Security Scanner" src="http://images.insecure.org/nmap/images/prop/nmap_bnr_matrix_pfos.gif"/></a>
GoGi

JCF Member

Joined: Jul 2001

Posts: 23

GoGi is doing well so far

May 21, 2002, 07:19 AM
GoGi is offline
Reply With Quote
Unhappy

Whoops!
Didn't notice that!
How did you do it?
Cpp

JCF Member

Joined: Mar 2001

Posts: 1,557

Cpp is doing well so far

May 21, 2002, 09:52 AM
Cpp is offline
Reply With Quote
Quote:
Originally posted by GoGi
Whoops!
Didn't notice that!
How did you do it?
I changed the JNE or JE or whatever that jump was to JMP.
__________________
<a href="http://nmap.org/"><img border="0" alt="Nmap Security Scanner" src="http://images.insecure.org/nmap/images/prop/nmap_bnr_matrix_pfos.gif"/></a>
Violet CLM

JCF Éminence Grise

Joined: Mar 2001

Posts: 11,090

Violet CLM has disabled reputation

May 21, 2002, 01:33 PM
Violet CLM is offline
Reply With Quote
Of course, Overlord's crashes, and doesn't save the animations.

Might I ask if this new one works?
__________________
Unhit

Pornocrat

Joined: Nov 2001

Posts: 3,771

Unhit is doing well so far

May 21, 2002, 11:08 PM
Unhit is offline
Reply With Quote
I didn't try it yet...well, does it really work and spoil as few as possible?
__________________
<center>somebody holds the key</center>
Cpp

JCF Member

Joined: Mar 2001

Posts: 1,557

Cpp is doing well so far

May 21, 2002, 11:31 PM
Cpp is offline
Reply With Quote
I think it does the same as mine. I compared the files and saw that it patchec the same offset as mine does. It disables the version check.
__________________
<a href="http://nmap.org/"><img border="0" alt="Nmap Security Scanner" src="http://images.insecure.org/nmap/images/prop/nmap_bnr_matrix_pfos.gif"/></a>
Krezack

JCF member

Joined: Nov 2001

Posts: 5,156

Krezack has disabled reputation

May 22, 2002, 02:34 AM
Krezack is offline
Reply With Quote
Hmm, I tried this with a heaxeditor and it was extremely buggy, but maybe doing it in assembly may work better.

What offset exactly did you change?
__________________
"Are we not threatened with a flood of information? And is this not the monstrousness of it: that it crushes beauty by means of beauty, and annihilates truth by means of truth? For the sound of a million Shakespeares would produce the very same furious din and hubbub as the sound of a herd of prairie buffalo or sea billows."
—Stanisław Lem, Imaginary Magnitude (1973)
Cpp

JCF Member

Joined: Mar 2001

Posts: 1,557

Cpp is doing well so far

May 22, 2002, 04:05 AM
Cpp is offline
Reply With Quote
Quote:
Originally posted by Krezack
Hmm, I tried this with a heaxeditor and it was extremely buggy, but maybe doing it in assembly may work better.

What offset exactly did you change?

Here's what my patch does:

At offset: 0000C355
Original data: 7451663D02
Patched data: E94E000000

After a CMP I changed the JE (Jump if equal - 74) to JMP (Jump - E9). This makes the JCS continue loading either the level is TSF or not.

The patch by Gogi does as follows:
At offset: 0000C357
Original data: 663D020274
Patched data: 9090909075

Gogi replaced the original data - the CMP operation (compare 2 values) to 90's. 90 = NOP = NOOP = NO OPERATION. After that the JE (Jump if equal - 74) was changed to JNE (Jump if not equal - 75). It does nearly the same as my patch.
__________________
<a href="http://nmap.org/"><img border="0" alt="Nmap Security Scanner" src="http://images.insecure.org/nmap/images/prop/nmap_bnr_matrix_pfos.gif"/></a>

Last edited by Cpp; May 22, 2002 at 04:31 AM.
Krezack

JCF member

Joined: Nov 2001

Posts: 5,156

Krezack has disabled reputation

May 22, 2002, 04:26 AM
Krezack is offline
Reply With Quote
Ta (thanks)

Btw don't be discouraged GoGi, theres plenty of problems out there we haven't solved yet =)
__________________
"Are we not threatened with a flood of information? And is this not the monstrousness of it: that it crushes beauty by means of beauty, and annihilates truth by means of truth? For the sound of a million Shakespeares would produce the very same furious din and hubbub as the sound of a herd of prairie buffalo or sea billows."
—Stanisław Lem, Imaginary Magnitude (1973)
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

All times are GMT -8. The time now is 05:10 AM.