You are not logged in.

theuserbl

Intermediate

  • "theuserbl" started this thread

Posts: 436

Date of registration: Dec 20th 2008

  • Send private message

1

Thursday, October 20th 2011, 3:16am

Resourcefiles have wrong directory separator

Jabaco 1.5.2 creates in its Jar-files resource-files which begins with "res\".
The problem: If you unzip the Jar-File on Linux or an other Non-Windows system, the backslash is interpreted as part of the file.
So instead a directory called "res" and for example a file in it called "myimage.png", there exist in the main directory of the zipped file a file called "res\myimage.png".
The directory-seperator in zip (or jar-) files is the slash ("/") like on unix-systems.

I know this is only a very small bug. But I created a bugfix for it.
If you want to fix your Jabaco.exe, then unzip JabacoResFix.zip and copy the JabacoResFix.exe in your Jabaco-directory. Then start it.
There will be created a new file called JabacoFixed.exe. That is the fixed file.

Sourcecode is included in the archive called JabacoResFix.c.

Compiled with OpenWatcom 1.9.

Greatings
theuserbl
theuserbl has attached the following file:
  • JabacoResFix.zip (19.29 kB - 323 times downloaded - latest: Yesterday, 1:21am)

Rate this thread
WoltLab Burning Board