Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] Is the ASCII assumption even true, though?

[DiscordArchive] Is the ASCII assumption even true, though?

[DiscordArchive] Is the ASCII assumption even true, though?

rektbyfaith
Administrator
0
02-21-2025, 11:21 AM
#1
Archived author: MeFisto94 • Posted: 2025-02-21T11:21:12.950000+00:00
Original source

Is the ASCII assumption even true, though?
rektbyfaith
02-21-2025, 11:21 AM #1

Archived author: MeFisto94 • Posted: 2025-02-21T11:21:12.950000+00:00
Original source

Is the ASCII assumption even true, though?

rektbyfaith
Administrator
0
02-21-2025, 11:23 AM
#2
Archived author: MeFisto94 • Posted: 2025-02-21T11:23:32.224000+00:00
Original source

I would probably also go with xrefing, but not sure if one can load dynamic lua files during runtime, e.g..

WDT -> ADT -> M2 is easy
rektbyfaith
02-21-2025, 11:23 AM #2

Archived author: MeFisto94 • Posted: 2025-02-21T11:23:32.224000+00:00
Original source

I would probably also go with xrefing, but not sure if one can load dynamic lua files during runtime, e.g..

WDT -> ADT -> M2 is easy

rektbyfaith
Administrator
0
02-21-2025, 11:46 AM
#3
Archived author: Aleist3r • Posted: 2025-02-21T11:46:11.179000+00:00
Original source

dbcs should be easy too, just read header and you have some knowledge
rektbyfaith
02-21-2025, 11:46 AM #3

Archived author: Aleist3r • Posted: 2025-02-21T11:46:11.179000+00:00
Original source

dbcs should be easy too, just read header and you have some knowledge

rektbyfaith
Administrator
0
02-21-2025, 12:11 PM
#4
Archived author: 4bhorrent • Posted: 2025-02-21T12:11:06.527000+00:00
Original source

for MPQ archives which only contain ASCII filenames it is
rektbyfaith
02-21-2025, 12:11 PM #4

Archived author: 4bhorrent • Posted: 2025-02-21T12:11:06.527000+00:00
Original source

for MPQ archives which only contain ASCII filenames it is

rektbyfaith
Administrator
0
02-21-2025, 12:14 PM
#5
Archived author: 4bhorrent • Posted: 2025-02-21T12:14:37.847000+00:00
Original source

you can speed up computation a ton.

given those 2 files:
`foo\bar\garrosh\did\nothing\wrong\alpha.blp`
`foo\bar\garrosh\did\nothing\wrong\beta.wav`

you can hash this:
`foo\bar\garrosh\did\nothing\wrong\`
and then use the hash you got for that as basis to calculate the rest for `alpha.blp` and `beta.wav`.
you don't have to start hashing from scratch for every input.
there is quite a lot of optimizations one can do, because of the way the hashing algorithm works.
rektbyfaith
02-21-2025, 12:14 PM #5

Archived author: 4bhorrent • Posted: 2025-02-21T12:14:37.847000+00:00
Original source

you can speed up computation a ton.

given those 2 files:
`foo\bar\garrosh\did\nothing\wrong\alpha.blp`
`foo\bar\garrosh\did\nothing\wrong\beta.wav`

you can hash this:
`foo\bar\garrosh\did\nothing\wrong\`
and then use the hash you got for that as basis to calculate the rest for `alpha.blp` and `beta.wav`.
you don't have to start hashing from scratch for every input.
there is quite a lot of optimizations one can do, because of the way the hashing algorithm works.

rektbyfaith
Administrator
0
02-21-2025, 12:16 PM
#6
Archived author: 4bhorrent • Posted: 2025-02-21T12:16:31.961000+00:00
Original source

still... hooking the function which looks up the files inside the MPQ is still a lot less painful than doing the cracking approach ^^
rektbyfaith
02-21-2025, 12:16 PM #6

Archived author: 4bhorrent • Posted: 2025-02-21T12:16:31.961000+00:00
Original source

still... hooking the function which looks up the files inside the MPQ is still a lot less painful than doing the cracking approach ^^

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)