Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider becoming a contibuting member by either clicking this text or the Patreon link on the right.

Patreon

[RESOLVED] Cannot read some PDF files


Recommended Posts

Posted

Hi all,

I encounter a strange problem when opening some manuals. Though they are in regular pdf format (and perfectly readable in Foxit) they can't be read by GameEx. GameEx just jumps back to the game menu after clicking on "manual".

I attached one of the non-working manuals, maybe someone can check what is wrong?

Regards,

Arjen

Incubation.part1.rar

Incubation.part2.rar

Posted

Post the log when trying to read that file too please.

Here it is, hope it helps.

In the log it says "03:16:23.1 15-11-2010: Game Manual images not found" when I try to open the manual pdf ?

Arjen

log.txt

Posted

Can someone test the attached pdf to see if the problem can be replicated?

Thanks,

Arjen

Posted

I'm doing some work on my cab so I'll test it for you right now and report back.

.:EDIT:. Well for me, it just loads infinitely. It doesn't jump back to the menu, or crash GameEx... It just basically loads for all eternity. Let me try something right quick...

.:EDIT #2:. I opened it and re-saved it in Adobe Acrobat, just to eliminate the possibility of a bad file. While the same thing happened again (infinite loading process), a window popped up in the background this time. Apparently, while loading this file, gswin32c.exe has encountered a problem and needs to close. Awesome to know that this has something to do with the error, because it popped up immediately after I tried to view the file, and when I managed to escape GameEx, it closed itself.

Not sure if this is helpful or not...

.:EDIT #3:. Well okay... The problem seems to be with the file and not the reader. There's something in there that the reader doesn't like... I tried stripping all the hidden text comments and metadata out of the file hoping it would help. Unfortunately it still crashes GhostScript, so I don't know what to do about it other than hope that the manual viewer authors will update to fix it. I literally have tried everything... I'm willing to bet the person who authored the PDF in QuarkXPress is passing something that GhostScript doesn't like, and for whatever reason I can't seem to take it out of the file.

There is a command line switch from what I can gather on the internet -dSAFER that supposedly bypasses image rendering issues... Maybe that will work here? I just don't know. I did try to re-render the PDF but I keep getting "Invalid ICC Profile" errors when trying to load it up in Photoshop. Long story short is that the origin file is fubared somehow.

Posted

I also could not run this file with gs. I did however notice that the version used by GameEx is 8.54 and the current version is 9.00. I did download the new version to test and was able to open the file with the current version. Perhaps we need to upgrade to the newest version. I will notify Tom and we'll do some testing and hopefully it will be supplied with the next version of GameEx. Till then maybe try just upgrading to the new version and see if it works for you in GameEx as I only tested from the command-line.

Posted

Yes Frequency... I also noticed this new version passes -dSAFER as a default option. I bet it really is an image rendering issue after all. Excellent work my friend. :)

If you want to install this yourself, can you just overwrite the executable GameEx uses? If so, where is it located?

Posted

Yes Frequency... I also noticed this new version passes -dSAFER as a default option. I bet it really is an image rendering issue after all. Excellent work my friend. :)

If you want to install this yourself, can you just overwrite the executable GameEx uses? If so, where is it located?

I don't see why installing ourselves would be a problem. Unless command-line parameters have changed or something. Haven't done enough research to verify. Would just have to make sure that the files are located in the exact place that Tom has them programmed in GameEx. Depending on the user's system.......GameEx looks for this file on my system in C:\Program Files (x86)\gs\gs\bin directory. Note that this can change depending on the user's system. But at least have a general idea of where the file needs to be. I contacted Tom and we'll do some testing and hopefully can just release with future versions to make it simple for the user.

Posted

I did notice the version GameEx uses is quite outdated anyways. On one hand I want to try and install it, and on the other hand I don't want to lose my manuals. Decisions decisions (which are better left to Tom! Hahaha!)

Well keep me in the loop. :)

Posted

I did notice the version GameEx uses is quite outdated anyways. On one hand I want to try and install it, and on the other hand I don't want to lose my manuals. Decisions decisions (which are better left to Tom! Hahaha!)

Well keep me in the loop. :)

You won't lose your manuals since that's kept in a different directory. Just replace the exe's with the new vesion and you should be good to go. If not then back up the files and no harm will be done.

Posted

I should clarify... I meant I didn't want to lose the ability to view them in GameEx. ;)

I'm gonna go ahead and give it a try. Hopefully it'll be gravy, and not the wavy kind! Heh!

.:EDIT:. Hey now! It works!

I had to change the program folder from gs9.00 to gs and the rest is great (and edited the shortcuts appropriately also). This PDF comes up just as it should for the game in question. Looks like we're in business here. :)

I don't think it edits the registry at all (maybe I'm wrong)... If I upload a ZIP file anyone willing to extract it and see if it works on their machine?

Posted

Thanks a lot for your efforts guys, got it working now by installing version 9.00.

(Note for all windows x64 users: download the 32 bit version, as the 64 bit version is not recognised by GameEx).

You can find the installfile on this page:

GPL Ghostscript 9.00

(look for the gs900w32.exe file on the bottom of the page)

Thanks again,

Arjen

Posted

Thanks a lot for your efforts guys, got it working now by installing version 9.00.

(Note for all windows x64 users: download the 32 bit version, as the 64 bit version is not recognised by GameEx).

You can find the installfile on this page:

GPL Ghostscript 9.00

(look for the gs900w32.exe file on the bottom of the page)

Thanks again,

Arjen

No problem. Maybe an idea for 64bit users is to name the file to the 32bit one and it will still be used by GameEx. Also maybe something for Tom to think about for future releases. I have notified but haven't heard back yet. So we'll wait for Tom to chime in at this point.

Guest
This topic is now closed to further replies.
×
×
  • Create New...