JazzJackrabbit Community Forums

JazzJackrabbit Community Forums (http://www.jazz2online.com/jcf/index.php)
-   General Jazz Jackrabbit Talk (http://www.jazz2online.com/jcf/forumdisplay.php?f=4)
-   -   Levels: TSF to 123 (http://www.jazz2online.com/jcf/showthread.php?t=4367)

GoGi May 20, 2002 08:12 AM

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 May 20, 2002 08:35 AM

and what happens to the animations and such after the level is saved as 1.23? and does it work properly?

GoGi May 20, 2002 08:39 AM

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 May 20, 2002 09:32 AM

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 May 20, 2002 10:29 PM

Did you hexedit the executable or disassemble>edit>reassemble?

What i am asking is did you use a hexeditor or a disassembler?

GoGi May 21, 2002 12:26 AM

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 May 21, 2002 06:39 AM

Ahem!
A patch like this already exists.
http://www.jazz2online.com/downloads...p?levelid=1173

GoGi May 21, 2002 07:19 AM

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

Cpp May 21, 2002 09:52 AM

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.

Violet CLM May 21, 2002 01:33 PM

Of course, Overlord's crashes, and doesn't save the animations.

Might I ask if this new one works?

Unhit May 21, 2002 11:08 PM

I didn't try it yet...well, does it really work and spoil as few as possible?

Cpp May 21, 2002 11:31 PM

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.

Krezack May 22, 2002 02:34 AM

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?

Cpp May 22, 2002 04:05 AM

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.

Krezack May 22, 2002 04:26 AM

Ta (thanks)

Btw don't be discouraged GoGi, theres plenty of problems out there we haven't solved yet =)


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

Powered by vBulletin® Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
JCF © 2001-Infinity Jazz2Online