|
Luigi Auriemmaaluigi.org (ARCHIVE-ONLY FORUM!) |
|
It is currently 19 Jul 2012 16:57
|
View unanswered posts | View active topics
|
Page 1 of 1
|
[ 5 posts ] |
|
Author |
Message |
sechrist
|
Post subject: HEDWADEXT dies after 2.14 billion offset Posted: 07 Jan 2008 06:51 |
|
Joined: 29 Dec 2007 02:05 Posts: 5
|
Hi Luigi, your hedwadext seems to always die after reaching offset 2,147,483,647 in the wad file, then it gives an "Invalid argument" error.
This was no issue with Tony Hawk's American Wasteland as the WAD was under 2gb, but as the wad gets bigger in Project 8 your tool chokes on it.
I checked your source to see if you used signed integer and as far as I could tell you didn't.
I've attached the HED file for my THP8 HED/WAD combination
It dies on the "\movies\sm\m_sp_mat.bik" file
Please patch your tool.
Thanks.
Attachments: |
DATAP.zip [53.09 KiB]
Downloaded 110 times
|
|
|
Top |
|
|
aluigi
|
Post subject: Posted: 07 Jan 2008 12:03 |
|
Joined: 13 Aug 2007 21:44 Posts: 4068 Location: http://aluigi.org
|
try the attached beta and let me know if it works
Last edited by aluigi on 23 Jan 2008 15:17, edited 1 time in total.
|
|
Top |
|
|
sechrist
|
Post subject: Posted: 07 Jan 2008 13:14 |
|
Joined: 29 Dec 2007 02:05 Posts: 5
|
0000000078b73800 00e92560 movies\sm\m_sp_dvs.bik
0000000079a06000 008d970c movies\sm\m_sp_elc.bik
000000007a2df800 00e54f48 movies\sm\m_sp_elm.bik
000000007b134800 00d80088 movies\sm\m_sp_es.bik
000000007beb5000 00e6330c movies\sm\m_sp_etn.bik
000000007cd18800 0312d918 movies\sm\m_sp_hos.bik
000000007fe46800 00f4527c movies\sm\m_sp_hur.bik
000007ff80d8c000 01158b5c movies\sm\m_sp_mat.bik
Error: Invalid argument
Nope, still goes boom. :/
I managed to get the rest of my files though by chopping up the wad and the hed and using your original hedwadext, but I don't think your tool should do this!
|
|
Top |
|
|
aluigi
|
Post subject: Posted: 23 Jan 2008 15:21 |
|
Joined: 13 Aug 2007 21:44 Posts: 4068 Location: http://aluigi.org
|
try the attached new version (damned Mingw and its fseek 64 bit support).
Let me know if this works.
Attachments: |
File comment: new beta
hedwadext.zip [7.27 KiB]
Downloaded 106 times
|
|
|
Top |
|
|
sechrist
|
Post subject: Posted: 25 Jan 2008 03:05 |
|
Joined: 29 Dec 2007 02:05 Posts: 5
|
This time it didn't crash, and actually finished it's operations.
But still, on the file that made the previous version break it starts copying from the wrong offset(0x80d8a800), and oddly enough, every subsequent file after that one also starts on that same offset in the WAD file when your tool extracts it. So basically your tool is making every file after movies\sm\m_sp_mat.bik identical, but with different file sizes.
|
|
Top |
|
|
|
Page 1 of 1
|
[ 5 posts ] |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|