Skip to content

ACD and Acode vs Text File #48

Answered by thoni56
tajmone asked this question in ARun Design
Jan 22, 2022 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

A historical data point that might help is to remember that in Alan v2 there actually were two separate files, one containing the generated instructions and data, the other containing the texts/strings.

At some point, probably early experimenting with Alan v3, the files was merged, which simply meant that the Alan compiler as a final step bolted the text data onto the end of the Acode file. Thus making it easier to distribute a game it being a single file. (Although we now might have media files which are not, at least not yet, merged into the .a3c file.)

The v3 Acode header then contains the offset into the file where the strings are, and there are some arithmetic to read a string from t…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@tajmone
Comment options

tajmone Jan 23, 2022
Maintainer Author

@thoni56
Comment options

@tajmone
Comment options

tajmone Jan 23, 2022
Maintainer Author

@tajmone
Comment options

tajmone Jan 26, 2022
Maintainer Author

@tajmone
Comment options

tajmone Jan 28, 2022
Maintainer Author

Answer selected by tajmone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants