Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Help to compile a c code for the ea HUFF compression

Featured Replies

  • Author
  • Localization

Alpha1001, posted Tue Jan 17, 2023 11:55 am (75049)


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!
  • Author
  • Localization

atom0s, posted Wed Jan 18, 2023 12:31 am (75059)


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
  • Author
  • Localization

Alpha1001, posted Wed Jan 18, 2023 1:52 pm (75068)


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!
  • Author
  • Localization

Alpha1001, posted Thu Jan 19, 2023 10:54 am (75085)


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"
  • Author
  • Localization

Alpha1001, posted Thu Jan 19, 2023 4:24 pm (75091)


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.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.