ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax
It is currently Sat Apr 01, 2023 4:48 pm

All times are UTC




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Tue Jan 17, 2023 11:55 am 

Joined: Tue Nov 06, 2018 10:11 am
Posts: 37
Hi aluigi, I've seen the quickbms source and I managed to use the c code for JDLZ algorithm in my tool, but the c code for HUFF algorithm won't compile. There are many warnings in Devc++. I have an own project to create tools for the Need for Speed games (PS2 version), and I'm using the quickbms source to help me.
Link with my attemp to compile this code using the Devc++ and a picture showing the warnings:
https://drive.google.com/file/d/1G9EiQn ... sp=sharing

Thanks in advance!


Attachments:
Compile log.png [119.56 KiB]
Not downloaded yet
Top
   
PostPosted: Wed Jan 18, 2023 12:31 am 
User avatar

Joined: Sat Dec 27, 2014 8:49 pm
Posts: 257
Error shows that there is a missing function call being made: msfastcall_call

Looking at the code, it appears that the header that probably includes that call is commented out:
Code:
//#include "calling_conventions.h"


However, that header isn't included with the code you posted, so you'll have to find where its from and add it to the project or at least copy in the function that is missing. If it's from aluigi's stuff, then the header it may be from is:
https://aluigi.altervista.org/mytoolz/c ... ventions.h

_________________
My personal site: http://atom0s.com
Donations can be made via Paypal: Click Here


Top
   
PostPosted: Wed Jan 18, 2023 1:52 pm 

Joined: Tue Nov 06, 2018 10:11 am
Posts: 37
Hi, I've seen your personal site here, it's nice! Really is missing the calling_conventions library, I will add this library and try to compile again and I'll post here the results.
Thanks!


Top
   
PostPosted: Thu Jan 19, 2023 10:54 am 

Joined: Tue Nov 06, 2018 10:11 am
Posts: 37
Hi ato0ms, I've inserted the "calling_conventiosn.h" in the source and some warnings disappeared, now there is only the warnings below and I can't fix it:
[Warning] cast from pointer to integer of different size [-Wpointer-to-int-cast]
[Note] in expansion of macro 'PATCHIT'

I believe that solve this warnings above will allow to compile the source. One more time I would like to ask your help.
Link with the new source: https://drive.google.com/file/d/12qSm3P ... sp=sharing
The password is "huff"


Top
   
PostPosted: Thu Jan 19, 2023 4:24 pm 

Joined: Tue Nov 06, 2018 10:11 am
Posts: 37
Hi atom0s, I got it to compile now! Finally, that code just compile in the 32 bits mode, thank you very much by help until here.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited