GreebCables Posted September 3, 2011 Hi guys, I'm currently working on editing the iPhone source port of Doom, however many of the images (main menu etc) seem to be compressed in the base.iPack file. Does anyone know how to uncompress or edit the contents of this file? Many thanks. 0 Quote Share this post Link to post
Dark Yoda Posted September 5, 2011 There is code to unpack iPack directly in doom classic source code, obviously :) So you can easily write unpacker by yourself. We lost our version of unpacker, but you can use our packer: https://github.com/TermiT/mkpack 0 Quote Share this post Link to post
GreebCables Posted September 5, 2011 Thanks :) I see there's code to access the resources in the iPack in the code but I hadn't a clue how to put one together for my own images. I wonder what program Carmack initially used to put it together. One question about your program, though, I can't seem to get it to run... I keep getting "./mkpak: cannot execute binary file" error when I try to run it, am I doing something wrong? My linux skills are not the finest lol. 0 Quote Share this post Link to post
Dark Yoda Posted September 5, 2011 You need to rebuild the binary 0 Quote Share this post Link to post
GreebCables Posted September 5, 2011 Hmm I tried running Make and it gave me make: pkg-config: Command not found make: pkg-config: Command not found g++ -IPVRTexLib -DMKPAK -LPVRTexLib/Linux -o all mkpak.cpp -lPVRTexLib mkpak.cpp:14:22: error: sndfile.hh: No such file or directory mkpak.cpp: In function ‘void loadtexturebits(pkTextureData_t*)’: mkpak.cpp:279: error: ‘CPVRTexture’ was not declared in this scope mkpak.cpp:279: error: expected `;' before ‘tex’ mkpak.cpp:280: error: ‘PixelType’ was not declared in this scope mkpak.cpp:280: error: expected `;' before ‘pt’ mkpak.cpp:281: error: ‘pt’ was not declared in this scope mkpak.cpp:282: error: ‘OGL_RGB_565’ was not declared in this scope mkpak.cpp:283: error: ‘OGL_RGBA_5551’ was not declared in this scope mkpak.cpp:284: error: ‘OGL_RGBA_4444’ was not declared in this scope mkpak.cpp:285: error: ‘OGL_RGBA_8888’ was not declared in this scope mkpak.cpp:286: error: ‘OGL_BGRA_8888’ was not declared in this scope mkpak.cpp:287: error: ‘OGL_AI_88’ was not declared in this scope mkpak.cpp:288: error: ‘OGL_PVRTC4’ was not declared in this scope mkpak.cpp:288: error: ‘tex’ was not declared in this scope mkpak.cpp:289: error: ‘OGL_PVRTC2’ was not declared in this scope mkpak.cpp:294: error: ‘tex’ was not declared in this scope make: *** [all] Error 1 0 Quote Share this post Link to post
chungy Posted September 5, 2011 You need to find out how to install a development environment on your distro... pkg-config missing is not a good sign :P also it seems you also need to get libsndfile and opengl (development/header files). 0 Quote Share this post Link to post
GreebCables Posted September 5, 2011 Thanks I got it working by installing libsndfile and qualifying some of the namespaces in the .cpp file. Do the textures have to be in PVR format? 0 Quote Share this post Link to post
Dark Yoda Posted September 6, 2011 id released source code for updated version of doom classic (2.1), it also contains ipack utility. http://download.zenimax.com/idsoftware/src/doomclassic_ios_v21_src.zip 0 Quote Share this post Link to post
SyntherAugustus Posted September 11, 2011 Can someone compile the ipack tool? 0 Quote Share this post Link to post
GreebCables Posted September 25, 2011 You should be able to load it into xcode and compile it as a mac console app 0 Quote Share this post Link to post
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.