Search Results

Search: Posts Made By: lilezek
1,808
Posted By lilezek
Transforming psmf to ogv
Hi all. I would like to create a program that converts psmf file format (PSMF - MultimediaWiki (http://wiki.multimedia.cx/index.php?title=PSMF)) to ogv (Ogg - Wikipedia, the free encyclopedia...
Forum: Programming 03-21-2011
8,962
Posted By lilezek
I'm getting in trouble trying to do this....
I'm getting in trouble trying to do this. Firstly, a c++ problem:

This is on memory.cpp (it got compiled):
template<class T>
bool peekValue(T * value, char * offset, pid_t pid)
{
// Get...
Forum: Programming 03-16-2011
9,801
Posted By lilezek
I'm compiling c++ with extern "C" (without it...
I'm compiling c++ with extern "C" (without it doesn't work). I'm compiling exactly the same code that works on 64 bits. I'm only changing -m32 -march-i386 for compiler and -m32 for linker.

$ ldd...
Forum: Programming 03-16-2011
9,801
Posted By lilezek
Quake4 seems to be 32 bits. The other one...
Quake4 seems to be 32 bits. The other one (tileracer) too.

Okay, this seems to be the problem. By the way, I compiled openglhack32 (which is a void override of glBegin) and speedhack32 (32 bit...
Forum: Programming 03-16-2011
9,801
Posted By lilezek
I see, but I don't know any way to give you more...
I see, but I don't know any way to give you more details. I always try to give as much details as I can.

openglhack32 is compiled (and linked) with -m32 and march-i386 (or something similar). So...
Forum: Programming 03-16-2011
9,801
Posted By lilezek
I did: $ ls /usr/lib/*hack*so ...
I did:

$ ls /usr/lib/*hack*so
/usr/lib/openglhack32.so /usr/lib/openglhack.so /usr/lib/speedhack.so
$ export LD_PRELOAD=/usr/lib/openglhack32.so
$ quake4
ERROR: ld.so: object...
Forum: Programming 03-16-2011
9,801
Posted By lilezek
$ echo $LD_PRELOAD speedhack.so $ ls...
$ echo $LD_PRELOAD
speedhack.so
$ ls /usr/lib/*hack.so
/usr/lib/openglhack.so /usr/lib/speedhack.so
Forum: Programming 03-16-2011
9,801
Posted By lilezek
Well. For an unknown reason (unknown for me)...
Well. For an unknown reason (unknown for me) LD_PRELOAD is not working for some programs, just half of them:

For instance:

quake4
ERROR: ld.so: object 'speedhack.so' from LD_PRELOAD cannot be...
Forum: Programming 03-16-2011
2,578
Posted By lilezek
Your code is not written in English nor...
Your code is not written in English nor commented:

int i;
char duom;
ifstream iv;
iv.open(file);
if (!iv.is_open())
{
cout<<"Neatidarytas '"<<file<<"' failas."<<endl;
return false;...
Forum: Programming 03-15-2011
9,879
Posted By lilezek
It is easy, if no brackets are present, it means...
It is easy, if no brackets are present, it means it only executes one instruction (or block) just after that line. That means:

for a hundred of times
{
cout << "foo";
cout << "bar" <<...
Forum: Programming 03-15-2011
9,879
Posted By lilezek
The pclose() function waits for the associated...
The pclose() function waits for the associated process to terminate and
returns the exit status of the command as returned by wait4(2).


The wait3() and wait4() system calls are...
Forum: SCO 03-15-2011
4,835
Posted By lilezek
In unix (I guess it is like linux) all devices...
In unix (I guess it is like linux) all devices are files which you can open for read and write streaming, placed on /dev/ folder.

If you want to do a driver, you need to read and write the file...
Forum: Programming 03-15-2011
9,066
Posted By lilezek
Spoiler: Koders Code Search: popen.c - C -...
Spoiler:

Koders Code Search: popen.c - C - BSD (http://www.koders.com/c/fid3204C91ABD374457CC6CDF5DCAB322544D646DB0.aspx?s=netbsd#L1)

Check that, it might help you.
Forum: Programming 03-15-2011
9,066
Posted By lilezek
You asked many questions but I don't know what...
You asked many questions but I don't know what are you trying.
Do you try to open a program and redirect both stdin and stdout?

I've got a function that does that pretty well, so if you are...
Forum: Programming 03-15-2011
8,962
Posted By lilezek
Linux read and write external memory.
Hi everyone. I asked once here and it went well, so I'm very happy with this community.

I have a new question to ask. I would like to read&write specify memory of a process which is not the...
Forum: What is on Your Mind? 03-15-2011
36,088
Posted By lilezek
I think unix, linux and GNU need good...
I think unix, linux and GNU need good advertisement.

The 99% of my partners doesn't even know what is Linux. When you talk about it they think they are too newbies to make Linux to work.

I...
Forum: Programming 03-15-2011
9,801
Posted By lilezek
Well. Now it is implemented and working well. The...
Well. Now it is implemented and working well. The next part is to try to modify that function while Run-Time. Is it possible? I mean, not to launch the application with modified library, but change...
Forum: Programming 03-15-2011
9,801
Posted By lilezek
I understand your looping through STL functions....
I understand your looping through STL functions. I don't need them for nothing but test purposes. That is, when I finish the library I'll erase the "LOOOL" line.

I don't need C++. Is just the...
Forum: Programming 03-15-2011
9,801
Posted By lilezek
Can anyone test it for me? Or give me a tip? I...
Can anyone test it for me? Or give me a tip? I can't imagine where to continue if the library is not executed (that seems to be the problem).

Thank you for read.

EDIT: Sorry, I didn't notice...
Forum: Programming 03-14-2011
9,801
Posted By lilezek
Sorry, it is not LOOOOOL, it is LOOOLAZO at the...
Sorry, it is not LOOOOOL, it is LOOOLAZO at the start of the gettimeofday from speed hack. A no sense mistake, sorry.

---------- Post updated at 04:55 PM ---------- Previous update was at 04:49 PM...
Forum: Programming 03-14-2011
9,801
Posted By lilezek
I'm forcing that function to print twice as the...
I'm forcing that function to print twice as the time that happened but nothing happens. To test, I added print("LOOOLAZO") but it doesn't print :(. Here is the code I'm using:

speed hack library:...
Forum: Programming 03-14-2011
9,801
Posted By lilezek
I'm using ubuntu: $ uname -a Linux...
I'm using ubuntu:

$ uname -a
Linux ********* 2.6.35-27-generic #48-Ubuntu SMP Tue Feb 22 20:25:46 UTC 2011 x86_64 GNU/Linux


I would like to do a kind of "speed hack" like Cheat Engine does...
Forum: Programming 03-14-2011
9,801
Posted By lilezek
Execute code in kernel mode.
Hi everyone. I would like to hook a system function (gettimeofday) to modify it. I guess I'll need kernel mode to do that. By the way, how could I do it (c++ or c)?

I want to modify that function...
Showing results 1 to 23 of 23

 
All times are GMT -4. The time now is 07:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy