Comments (10)
Thanks for the bug report.
Can you show which file specifically causes the problems? On 64-bit Windows machine and 32-bit Debian machine, all of the files seem to extract correctly.
You can also attach a stack trace by doing following:
./waf configure -d
./waf
gdb --ex=r --args ./build/arc_unpacker ~/path/to/faulty.file
and inside gdb type:
bt
from arc_unpacker.
I changed the command:
gdb --ex=r --args ./build/arc_unpacker ~/path/to/faulty.file
TO
gdb --ex=r --args ../build/arc_unpacker /home/$USER/Documenti/clannad/G00 --fmt=g00
BACKTRACE
#0 __memcpy_sse2_unaligned ()
at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:35
#1 0x00000000004995f2 in BufferedIO::read (this=0x7fffffffda00,
destination=0xd065e5c, length=261408) at ../src/io/buffered_io.cc:61
#2 0x0000000000429b18 in decode_version_2 (file=..., width=800, height=600)
at ../src/formats/key/g00_converter.cc:245
#3 0x0000000000429ecf in Formats::Key::G00Converter::decode_internal (
this=0x76f020, file=...) at ../src/formats/key/g00_converter.cc:282
#4 0x000000000041a9b5 in Converter::decode (this=0x76f020, file=...)
at ../src/formats/converter.cc:31
#5 0x000000000041a796 in Converter::unpack (this=0x76f020, input_file=...,
file_saver=...) at ../src/formats/converter.cc:6
#6 0x0000000000407ac3 in ArcUnpacker::unpack (this=0x7fffffffde10,
transformer=..., file=..., base_name=..., file_saver=...)
at ../src/arc_unpacker.cc:218
#7 0x00000000004078a0 in ArcUnpacker::unpack (this=0x7fffffffde10,
transformer=..., file=..., base_name=...) at ../src/arc_unpacker.cc:198
#8 0x0000000000408031 in ArcUnpacker::guess_transformer_and_unpack (
this=0x7fffffffde10, file=..., base_name=...) at ../src/arc_unpacker.cc:286
#9 0x0000000000408366 in ArcUnpacker::run (this=0x7fffffffde10)
at ../src/arc_unpacker.cc:323
#10 0x0000000000405536 in main (argc=3, argv=0x7fffffffdf58)
at ../src/main.cc:5
from arc_unpacker.
Alright, looks like the regions inside one of the files are corrupted. To confirm this hypothesis, could you pinpoint which file specifically crashes the program by doing something like:
for x in /home/$USER/Documenti/clannad/G00/*; do
echo Decoding "$x";
./build/arc_unpacker "$x" --fmt=g00
done
and then attach this file here?
from arc_unpacker.
What's file? All file?
from arc_unpacker.
No, I need the only file that crashes the program. All files in the previous archive you posted worked for me, so I need one specific example what surely doesn't work on your machine. Thanks
from arc_unpacker.
There are 33 errors.
I'm cat typescript | grep -B 2 -e dump > typescript2
(i registred output of programs)
Decoding /home/amreo/Documenti/clannad/G00/cgbt10.g00
Unpacking...
../simple.bash: riga 3: 10249 Errore di segmentazione (core dump creato) ../build/arc_unpacker "$x" --fmt=g00
Decoding /home/amreo/Documenti/clannad/G00/cgbt11.g00
Unpacking...
../simple.bash: riga 3: 10256 Errore di segmentazione (core dump creato) ../build/arc_unpacker "$x" --fmt=g00
Decoding /home/amreo/Documenti/clannad/G00/cgbt12.g00
Unpacking...
../simple.bash: riga 3: 10258 Errore di segmentazione (core dump creato) ../build/arc_unpacker "$x" --fmt=g00
Decoding /home/amreo/Documenti/clannad/G00/cgbt13.g00
Unpacking...
../simple.bash: riga 3: 10260 Errore di segmentazione (core dump creato) ../build/arc_unpacker "$x" --fmt=g00
Decoding /home/amreo/Documenti/clannad/G00/cgbt14.g00
Unpacking...
../simple.bash: riga 3: 10262 Errore di segmentazione (core dump creato) ../build/arc_unpacker "$x" --fmt=g00
Decoding /home/amreo/Documenti/clannad/G00/cgbt15.g00
Unpacking...
../simple.bash: riga 3: 10264 Errore di segmentazione (core dump creato) ../build/arc_unpacker "$x" --fmt=g00
Decoding /home/amreo/Documenti/clannad/G00/cgbt16.g00
Unpacking...
../simple.bash: riga 3: 10267 Errore di segmentazione (core dump creato) ../build/arc_unpacker "$x" --fmt=g00
Decoding /home/amreo/Documenti/clannad/G00/cgbt17.g00
Unpacking...
../simple.bash: riga 3: 10269 Errore di segmentazione (core dump creato) ../build/arc_unpacker "$x" --fmt=g00
Decoding /home/amreo/Documenti/clannad/G00/cgbt20.g00
Unpacking...
../simple.bash: riga 3: 10271 Errore di segmentazione (core dump creato) ../build/arc_unpacker "$x" --fmt=g00
Decoding /home/amreo/Documenti/clannad/G00/cgbt21.g00
Unpacking...
../simple.bash: riga 3: 10273 Errore di segmentazione (core dump creato) ../build/arc_unpacker "$x" --fmt=g00
Decoding /home/amreo/Documenti/clannad/G00/cgbt22.g00
Unpacking...
../simple.bash: riga 3: 10275 Errore di segmentazione (core dump creato) ../build/arc_unpacker "$x" --fmt=g00
Decoding /home/amreo/Documenti/clannad/G00/cgbt23.g00
Unpacking...
../simple.bash: riga 3: 10281 Errore di segmentazione (core dump creato) ../build/arc_unpacker "$x" --fmt=g00
Decoding /home/amreo/Documenti/clannad/G00/cgbt24.g00
Unpacking...
../simple.bash: riga 3: 10283 Errore di segmentazione (core dump creato) ../build/arc_unpacker "$x" --fmt=g00
Decoding /home/amreo/Documenti/clannad/G00/cgbt25.g00
Unpacking...
../simple.bash: riga 3: 10285 Errore di segmentazione (core dump creato) ../build/arc_unpacker "$x" --fmt=g00
Decoding /home/amreo/Documenti/clannad/G00/cgbt26.g00
Unpacking...
../simple.bash: riga 3: 10287 Errore di segmentazione (core dump creato) ../build/arc_unpacker "$x" --fmt=g00
Decoding /home/amreo/Documenti/clannad/G00/cgbt27.g00
Unpacking...
../simple.bash: riga 3: 10289 Errore di segmentazione (core dump creato) ../build/arc_unpacker "$x" --fmt=g00
Decoding /home/amreo/Documenti/clannad/G00/MN_SLA_BODY00.g00
Unpacking...
../simple.bash: riga 3: 11777 Errore di segmentazione (core dump creato) ../build/arc_unpacker "$x" --fmt=g00
Decoding /home/amreo/Documenti/clannad/G00/MN_SLB_BODY00.g00
Unpacking...
../simple.bash: riga 3: 11807 Errore di segmentazione (core dump creato) ../build/arc_unpacker "$x" --fmt=g00
Decoding /home/amreo/Documenti/clannad/G00/SFWEC10.g00
Unpacking...
../simple.bash: riga 3: 12062 Errore di segmentazione (core dump creato) ../build/arc_unpacker "$x" --fmt=g00
Decoding /home/amreo/Documenti/clannad/G00/SFWEC20.g00
Unpacking...
../simple.bash: riga 3: 12064 Errore di segmentazione (core dump creato) ../build/arc_unpacker "$x" --fmt=g00
Decoding /home/amreo/Documenti/clannad/G00/SFWEC21.g00
Unpacking...
../simple.bash: riga 3: 12066 Errore di segmentazione (core dump creato) ../build/arc_unpacker "$x" --fmt=g00
Decoding /home/amreo/Documenti/clannad/G00/SFWEC22.g00
Unpacking...
../simple.bash: riga 3: 12068 Errore di segmentazione (core dump creato) ../build/arc_unpacker "$x" --fmt=g00
Decoding /home/amreo/Documenti/clannad/G00/SFWEC23.g00
Unpacking...
../simple.bash: riga 3: 12070 Errore di segmentazione (core dump creato) ../build/arc_unpacker "$x" --fmt=g00
Decoding /home/amreo/Documenti/clannad/G00/SFWEC24.g00
Unpacking...
../simple.bash: riga 3: 12072 Errore di segmentazione (core dump creato) ../build/arc_unpacker "$x" --fmt=g00
Decoding /home/amreo/Documenti/clannad/G00/SFWEC25.g00
Unpacking...
../simple.bash: riga 3: 12074 Errore di segmentazione (core dump creato) ../build/arc_unpacker "$x" --fmt=g00
Decoding /home/amreo/Documenti/clannad/G00/SFWEC26.g00
Unpacking...
../simple.bash: riga 3: 12076 Errore di segmentazione (core dump creato) ../build/arc_unpacker "$x" --fmt=g00
Decoding /home/amreo/Documenti/clannad/G00/SFWEC27.g00
Unpacking...
../simple.bash: riga 3: 12078 Errore di segmentazione (core dump creato) ../build/arc_unpacker "$x" --fmt=g00
Decoding /home/amreo/Documenti/clannad/G00/SFWEC28.g00
Unpacking...
../simple.bash: riga 3: 12080 Errore di segmentazione (core dump creato) ../build/arc_unpacker "$x" --fmt=g00
Decoding /home/amreo/Documenti/clannad/G00/SFWEC29.g00
Unpacking...
../simple.bash: riga 3: 12082 Errore di segmentazione (core dump creato) ../build/arc_unpacker "$x" --fmt=g00
Decoding /home/amreo/Documenti/clannad/G00/SFWEC30.g00
Unpacking...
../simple.bash: riga 3: 12084 Errore di segmentazione (core dump creato) ../build/arc_unpacker "$x" --fmt=g00
Decoding /home/amreo/Documenti/clannad/G00/SFWEC31.g00
Unpacking...
../simple.bash: riga 3: 12086 Errore di segmentazione (core dump creato) ../build/arc_unpacker "$x" --fmt=g00
Decoding /home/amreo/Documenti/clannad/G00/SSHREN10.g00
Unpacking...
../simple.bash: riga 3: 12219 Errore di segmentazione (core dump creato) ../build/arc_unpacker "$x" --fmt=g00
Decoding /home/amreo/Documenti/clannad/G00/STMCMB01.g00
Unpacking...
../simple.bash: riga 3: 12222 Errore di segmentazione (core dump creato) ../build/arc_unpacker "$x" --fmt=g00
from arc_unpacker.
Great. Attaching any of these .g00
files should be enough, but I'd prefer the biggest one if possible.
from arc_unpacker.
Input?
from arc_unpacker.
download from http://amxeoite.homepc.it/list.tgz
I use
cat a1 | grep -e Decoding > a2
cat a2 | awk ' {print($2) }' > files
tar -pcf lisy.tgz cat files
from arc_unpacker.
Fixed. The fix should appear in tonight's build (see readme for nightly builds).
from arc_unpacker.
Related Issues (20)
- Game Request: Memories Off -Innocent Fille-
- Game Request: Wagamama High Spec
- Game Request: Making*Lovers HOT 1
- Add "If You Love Me, Then Say So!" to supported game list
- 'recognition finished with errors (Bad value for option "--plugin".' HOT 1
- help :( with vnmaker
- G-Senjou No Maou (decrypting chunk issue)
- Are there plans for a new release? HOT 1
- Game Request: Oppai Gakuen Marching Band Bu!
- Game Request: Kyonyuu Kazoku Saimin
- Add "Baku Ane ~Otouto Shibocchau zo!" to supported game HOT 1
- boost : : filesystem: :path codecvt to wstring: error
- Front wing's (ISLAND STEAM GAME) HOT 1
- Game Request: Koi x Shin Ai Kanojo
- Game Request: [Silky's] Gakuen Saimin Reido -Sakki made, Daikirai Datta Hazu na no ni-
- Game request: The Runaway Girl And Me - recognition finished with errors (Premature end of file)
- Convert from tlg to png?
- Game request: Dolphin Divers
- Unpack Tsumamigui3 use CLI:--dec=alice-soft/afa report error: recognition finished with errors (Invalid byte sequence) HOT 1
- [Valkyria][140926]Gachinko! B* Club HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arc_unpacker.