This is slighty off-topic:


I want to merge a .exe file and a pak file, and code into the exe file
the ability to read these file:

copy mini.exe minipak.exe
cat 8pool\pak1.pak >> minipak.exe

So minipak is mini.exe + pak1.exe (become a big 8 MB exe file)

But this fails:

f = fopen(argv[0], "rb");

Help!
Yes, I know the argv[0] file will be already open by windows. A
workaround? a solution?

TIA

--Tei




_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders



Reply via email to