Recent Posts

Pages: [1] 2 3 ... 10
Tools / Re: apoc'd
« Last post by jordos on January 10, 2017, 11:48:39 am »
Don't worry about it, no offense taken :)
Coding / Re: Battlescape progress and questions
« Last post by pmprog on January 04, 2017, 08:51:35 am »
Damn Istrebitel... I'm well behind in your battlescape work. Need to try and find some time and read most of this thread!
Tools / Re: apoc'd
« Last post by pmprog on January 04, 2017, 08:32:09 am »
Sorry jordos, and welcome. I don't get to spend as much time as I would like (hence why my name hasn't been listed on a github commit for a loooong time), so everything I do kind of a quickfire "pop in and pop out", which does mean I do misread/misjudge things.
Tools / Re: apoc'd
« Last post by jordos on December 28, 2016, 09:16:19 am »
Field sizes are defined in apoc'r.bas, where I do the actual reading of the data. Each read_... sub there contains a for loop like this
Code: [Select]
dim as ubyte btmp
for record=0 to sel3max
        posidata(record,0)=loc(mainfile(0))     'offset
        get #mainfile(0), ,btmp
        maindata(record,0)=btmp                 'main data
        'ideally these should get their own loop
        othrdata(0,0,0)=1                       'record length
        othrdata(0,0,1)=1                       'input modifier (1 = cycle up)
sel3max is the number of records
btmp is an unsigned byte, so the get operation reads one byte and puts it in the maindata array.
othrdata(0,0,0)=1 also defines the length of this field as one byte. This is later used for saving and also for showing the hex value in the editor.

So to change the length of a field you will have to change othrdata(0,X,0) and also use the proper variable in the get operation (byte/short/int/...)
When you change the length you will probably also need to add or remove existing fields. For this you need to change sel4max, which defines the number of fields. Then you remove or add a few gets, and review the misc_... sub to make sure the linktext and misctext references are still good.

Obviously this is not as trivial as it should be :)
Tools / Re: apoc'd
« Last post by Skin36 on December 27, 2016, 09:17:23 pm »
yet I could not understand how to specified field sizes
Tools / Re: apoc'd
« Last post by jordos on December 27, 2016, 10:12:16 am »
Great! If you have any questions, feel free to ask :)
Tools / Re: apoc'd
« Last post by Skin36 on December 25, 2016, 07:21:06 am »
I created a repository here and offer to work in it.
Tools / Re: apoc'd
« Last post by jordos on December 24, 2016, 12:44:58 pm »
Yep, that looks like it's the latest version :) Thanks!
Hey skin36, congratulations on your disassembly work on apocalypse! It's a good suggestion but I don't know if I will be doing any more work on apoc'd. Feel free to edit the source code though, field descriptions can be found in apoc'd.cfg :)
Tools / Re: apoc'd
« Last post by JonnyH on December 23, 2016, 09:37:57 pm »
I think I have 3.10b here:

They claim to be 3.10b in the readme and the apoc'd.bas has "const as string title="Apoc'd v3.10b"

I guess that means it's the latest? Jordos: If you could double check that would be great :)

BTW sorry Jordos, your work here is appreciated, but I think pmprog has spend quite a bit of time trying to cleanup some spam recently so this might have accidently triggered his mental filter :P

EDIT: I slightly relaxed the attachment file size limit and attached the zips
Tools / Re: apoc'd
« Last post by Skin36 on December 23, 2016, 08:16:08 am »
Hello jordos! Thank you for this wonderful tool! And I'm glad you're back! Also I wanted to say that you can often see the wrong address and the wrong interpretation of the offset variable. I would like to see in the editor the ability to add or change fields. Alternatively, it is possible to make the description of the fields and layout of an external text file.
Pages: [1] 2 3 ... 10

hogan outlet hogan outlet hogan outlet woolrich outlet hogan outlet woolrich outlet Nike Air Max Outlet Online replica ray ban outlet moncler outlet peuterey outlet giuseppe zanotti pas cher louboutin pas cher Zanotti Pas Cher nike air max pas cher Moncler Pas Cher cheap nike air max 90 louboutin outlet cheap nfl jerseys from china cheap jordans for sale louboutin pas cher air jordan pas cher lancel pas cher ralph lauren pas cher Sac Longchamp Pas cher ralph lauren pas cher