Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
2.0 on usb stick?
#1
You know, taking v1.9(c) on a usb stick is easy, you can play it on any computer. However, 2.0 needs this runtime environment. Is it somehow possible to "emulate" this environment, so that you don't have to install it on every comp (especially if they're not yours)? Like... manipulating the file path. The stuff that is being written into the system32-folder could be put into a temporary folder on your flash drive thus enabling you to play "lf2 portable" :D

It is possible at all?
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

"Freeze, you're under vrest!" - Mark, probably.

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by:
#2
well, the c++ runtime isn't something that'll slow down anyone's computer (unless it's your school's then it's weird if they don't have it already). it MAY work if you know which dlls are needed, and paste it into the lf2 directory (where the exe is) coz I know windows searches through the app's directory as well if it's not found in the system32 stuff.

which dlls - you have to try each one won't u? (well u can be lazy and copy everything)




Azriel~
Reply
Thanks given by:
#3
Code:
// Generated by PE Explorer 1.99 (http://www.heaventools.com)
// File name: C:\lf2 2.0\2250 hp.exe
// Created  : 14.01.2009 18:24
// Type     : Dependencies


aclui.dll        C:\Windows\system32\aclui.dll
activeds.dll        C:\Windows\system32\activeds.dll
adsldpc.dll        C:\Windows\system32\adsldpc.dll
advapi32.dll        C:\Windows\system32\advapi32.dll
advpack.dll        C:\Windows\system32\advpack.dll
apphelp.dll        C:\Windows\system32\apphelp.dll
atl.dll            C:\Windows\system32\atl.dll
authz.dll        C:\Windows\system32\authz.dll
bcrypt.dll        C:\Windows\system32\bcrypt.dll
browcli.dll        C:\Windows\system32\browcli.dll
cabinet.dll        C:\Windows\system32\cabinet.dll
certcli.dll        C:\Windows\system32\certcli.dll
certenroll.dll        C:\Windows\system32\certenroll.dll
cfgmgr32.dll        C:\Windows\system32\cfgmgr32.dll
clbcatq.dll        C:\Windows\system32\clbcatq.dll
comctl32.dll        C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7000.0_none_ee2c028959bec753\comctl32.dll
comdlg32.dll        C:\Windows\system32\comdlg32.dll
credui.dll        C:\LF2 2.0\credui.dll
crypt32.dll        C:\Windows\system32\crypt32.dll
cryptbase.dll        C:\Windows\system32\cryptbase.dll
cryptsp.dll        C:\Windows\system32\cryptsp.dll
cryptui.dll        C:\Windows\system32\cryptui.dll
cscapi.dll        C:\Windows\system32\cscapi.dll
davhlpr.dll        C:\Windows\system32\davhlpr.dll
dbghelp.dll        C:\Windows\system32\dbghelp.dll
dciman32.dll        C:\Windows\system32\dciman32.dll
ddraw.dll        C:\Windows\system32\ddraw.dll
devmgr.dll        C:\Windows\system32\devmgr.dll
devobj.dll        C:\Windows\system32\devobj.dll
devrtl.dll        C:\Windows\system32\devrtl.dll
dfscli.dll        C:\Windows\system32\dfscli.dll
dhcpcsvc.dll        C:\Windows\system32\dhcpcsvc.dll
dhcpcsvc6.dll        C:\Windows\system32\dhcpcsvc6.dll
dnsapi.dll        C:\Windows\system32\dnsapi.dll
drvstore.dll        C:\Windows\system32\drvstore.dll
dsound.dll        C:\Windows\system32\dsound.dll
dsrole.dll        C:\Windows\system32\dsrole.dll
dui70.dll        C:\Windows\system32\dui70.dll
duser.dll        C:\Windows\system32\duser.dll
dwmapi.dll        C:\Windows\system32\dwmapi.dll
eappcfg.dll        C:\Windows\system32\eappcfg.dll
efsadu.dll        C:\Windows\system32\efsadu.dll
efsutil.dll        C:\Windows\system32\efsutil.dll
fms.dll            C:\Windows\system32\fms.dll
gdi32.dll        C:\Windows\system32\gdi32.dll
gdiplus.dll        C:\Windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7000.0_none_80887a5cd177566d\gdiplus.dll
gpapi.dll        C:\Windows\system32\gpapi.dll
gpsvc.dll        Path not Found.
iertutil.dll        C:\Windows\system32\iertutil.dll
imagehlp.dll        C:\Windows\system32\imagehlp.dll
imm32.dll        C:\Windows\system32\imm32.dll
iphlpapi.dll        C:\Windows\system32\iphlpapi.dll
kernel32.dll        C:\Windows\system32\kernel32.dll
kernelbase.dll        C:\Windows\system32\kernelbase.dll
linkinfo.dll        C:\Windows\system32\linkinfo.dll
logoncli.dll        C:\Windows\system32\logoncli.dll
lpk.dll            C:\Windows\system32\lpk.dll
mfc42u.dll        C:\Windows\system32\mfc42u.dll
microsoft-windows-system-console-l1-1-0.dll    C:\Windows\system32\microsoft-windows-system-console-l1-1-0.dll
microsoft-windows-system-datetime-l1-1-0.dll    C:\Windows\system32\microsoft-windows-system-datetime-l1-1-0.dll
microsoft-windows-system-debug-l1-1-0.dll    C:\Windows\system32\microsoft-windows-system-debug-l1-1-0.dll
microsoft-windows-system-delayload-l1-1-0.dll    C:\Windows\system32\microsoft-windows-system-delayload-l1-1-0.dll
microsoft-windows-system-errorhandling-l1-1-0.dll    C:\Windows\system32\microsoft-windows-system-errorhandling-l1-1-0.dll
microsoft-windows-system-fibers-l1-1-0.dll    C:\Windows\system32\microsoft-windows-system-fibers-l1-1-0.dll
microsoft-windows-system-file-l1-1-0.dll    C:\Windows\system32\microsoft-windows-system-file-l1-1-0.dll
microsoft-windows-system-handle-l1-1-0.dll    C:\Windows\system32\microsoft-windows-system-handle-l1-1-0.dll
microsoft-windows-system-heap-l1-1-0.dll    C:\Windows\system32\microsoft-windows-system-heap-l1-1-0.dll
microsoft-windows-system-interlocked-l1-1-0.dll    C:\Windows\system32\microsoft-windows-system-interlocked-l1-1-0.dll
microsoft-windows-system-io-l1-1-0.dll    C:\Windows\system32\microsoft-windows-system-io-l1-1-0.dll
microsoft-windows-system-libraryloader-l1-1-0.dll    C:\Windows\system32\microsoft-windows-system-libraryloader-l1-1-0.dll
microsoft-windows-system-localization-l1-1-0.dll    C:\Windows\system32\microsoft-windows-system-localization-l1-1-0.dll
microsoft-windows-system-memory-l1-1-0.dll    C:\Windows\system32\microsoft-windows-system-memory-l1-1-0.dll
microsoft-windows-system-misc-l1-1-0.dll    C:\Windows\system32\microsoft-windows-system-misc-l1-1-0.dll
microsoft-windows-system-namedpipe-l1-1-0.dll    C:\Windows\system32\microsoft-windows-system-namedpipe-l1-1-0.dll
microsoft-windows-system-process-environment-l1-1-0.dll    C:\Windows\system32\microsoft-windows-system-process-environment-l1-1-0.dll
microsoft-windows-system-process-processthreads-l1-1-0.dll    C:\Windows\system32\microsoft-windows-system-process-processthreads-l1-1-0.dll
microsoft-windows-system-profile-l1-1-0.dll    C:\Windows\system32\microsoft-windows-system-profile-l1-1-0.dll
microsoft-windows-system-registry-localregistry-l1-1-0.dll    C:\Windows\system32\microsoft-windows-system-registry-localregistry-l1-1-0.dll
microsoft-windows-system-rtlsupport-l1-1-0.dll    C:\Windows\system32\microsoft-windows-system-rtlsupport-l1-1-0.dll
microsoft-windows-system-security-base-l1-1-0.dll    C:\Windows\system32\microsoft-windows-system-security-base-l1-1-0.dll
microsoft-windows-system-security-lsalookup-l1-1-0.dll    C:\Windows\system32\microsoft-windows-system-security-lsalookup-l1-1-0.dll
microsoft-windows-system-security-sddl-l1-1-0.dll    C:\Windows\system32\microsoft-windows-system-security-sddl-l1-1-0.dll
microsoft-windows-system-services-l1-1-0.dll    C:\Windows\system32\microsoft-windows-system-services-l1-1-0.dll
microsoft-windows-system-string-l1-1-0.dll    C:\Windows\system32\microsoft-windows-system-string-l1-1-0.dll
microsoft-windows-system-synch-l1-1-0.dll    C:\Windows\system32\microsoft-windows-system-synch-l1-1-0.dll
microsoft-windows-system-sysinfo-l1-1-0.dll    C:\Windows\system32\microsoft-windows-system-sysinfo-l1-1-0.dll
microsoft-windows-system-threadpool-l1-1-0.dll    C:\Windows\system32\microsoft-windows-system-threadpool-l1-1-0.dll
microsoft-windows-system-util-l1-1-0.dll    C:\Windows\system32\microsoft-windows-system-util-l1-1-0.dll
mmdevapi.dll        C:\Windows\system32\mmdevapi.dll
mpr.dll            C:\Windows\system32\mpr.dll
mprapi.dll        C:\Windows\system32\mprapi.dll
mprmsg.dll        C:\Windows\system32\mprmsg.dll
msasn1.dll        C:\Windows\system32\msasn1.dll
msctf.dll        C:\Windows\system32\msctf.dll
msiltcfg.dll        C:\Windows\system32\msiltcfg.dll
msimg32.dll        C:\Windows\system32\msimg32.dll
mssign32.dll        C:\Windows\system32\mssign32.dll
msvcp80.dll        C:\LF2 2.0\msvcp80.dll
msvcr80.dll        C:\LF2 2.0\msvcr80.dll
msvcrt.dll        C:\Windows\system32\msvcrt.dll
ncrypt.dll        C:\Windows\system32\ncrypt.dll
ndfapi.dll        C:\Windows\system32\ndfapi.dll
netapi32.dll        C:\Windows\system32\netapi32.dll
netbios.dll        C:\Windows\system32\netbios.dll
netjoin.dll        C:\Windows\system32\netjoin.dll
netplwiz.dll        C:\Windows\system32\netplwiz.dll
netutils.dll        C:\Windows\system32\netutils.dll
newdev.dll        C:\Windows\system32\newdev.dll
normaliz.dll        C:\Windows\system32\normaliz.dll
nsi.dll            C:\Windows\system32\nsi.dll
ntdll.dll        C:\Windows\system32\ntdll.dll
ntdsapi.dll        C:\Windows\system32\ntdsapi.dll
ntshrui.dll        C:\Windows\system32\ntshrui.dll
odbc32.dll        C:\Windows\system32\odbc32.dll
ole32.dll        C:\Windows\system32\ole32.dll
oleacc.dll        C:\Windows\system32\oleacc.dll
oleaut32.dll        C:\Windows\system32\oleaut32.dll
oledlg.dll        C:\Windows\system32\oledlg.dll
pcwum.dll        C:\Windows\system32\pcwum.dll
powrprof.dll        C:\Windows\system32\powrprof.dll
printui.dll        C:\Windows\system32\printui.dll
profapi.dll        C:\Windows\system32\profapi.dll
propsys.dll        C:\Windows\system32\propsys.dll
puiapi.dll        C:\Windows\system32\puiapi.dll
rasapi32.dll        C:\Windows\system32\rasapi32.dll
rasdlg.dll        C:\Windows\system32\rasdlg.dll
rasman.dll        C:\Windows\system32\rasman.dll
regapi.dll        C:\Windows\system32\regapi.dll
rpcrt4.dll        C:\Windows\system32\rpcrt4.dll
rstrtmgr.dll        C:\Windows\system32\rstrtmgr.dll
rtutils.dll        C:\Windows\system32\rtutils.dll
samcli.dll        C:\Windows\system32\samcli.dll
samlib.dll        C:\Windows\system32\samlib.dll
scecli.dll        C:\Windows\system32\scecli.dll
secur32.dll        C:\Windows\system32\secur32.dll
sensapi.dll        C:\Windows\system32\sensapi.dll
setupapi.dll        C:\Windows\system32\setupapi.dll
shdocvw.dll        C:\Windows\system32\shdocvw.dll
shell32.dll        C:\Windows\system32\shell32.dll
shlwapi.dll        C:\Windows\system32\shlwapi.dll
slc.dll            C:\Windows\system32\slc.dll
spfileq.dll        C:\Windows\system32\spfileq.dll
spinf.dll        C:\Windows\system32\spinf.dll
sppc.dll        C:\Windows\system32\sppc.dll
srvcli.dll        C:\Windows\system32\srvcli.dll
sspicli.dll        C:\Windows\system32\sspicli.dll
tapi32.dll        C:\Windows\system32\tapi32.dll
urlmon.dll        C:\Windows\system32\urlmon.dll
user32.dll        C:\Windows\system32\user32.dll
userenv.dll        C:\Windows\system32\userenv.dll
usp10.dll        C:\Windows\system32\usp10.dll
uxtheme.dll        C:\Windows\system32\uxtheme.dll
vaultcli.dll        C:\Windows\system32\vaultcli.dll
version.dll        C:\Windows\system32\version.dll
vpnikeapi.dll        C:\Windows\system32\vpnikeapi.dll
w32topl.dll        C:\Windows\system32\w32topl.dll
wdi.dll            C:\Windows\system32\wdi.dll
webio.dll        C:\Windows\system32\webio.dll
webservices.dll        C:\Windows\system32\webservices.dll
wer.dll            C:\Windows\system32\wer.dll
werui.dll        C:\Windows\system32\werui.dll
winbrand.dll        C:\Windows\system32\winbrand.dll
windowscodecs.dll    C:\Windows\system32\windowscodecs.dll
winhttp.dll        C:\Windows\system32\winhttp.dll
wininet.dll        C:\Windows\system32\wininet.dll
winmm.dll        C:\Windows\system32\winmm.dll
winnsi.dll        C:\Windows\system32\winnsi.dll
winscard.dll        C:\Windows\system32\winscard.dll
winspool.drv        C:\Windows\system32\winspool.drv
winsta.dll        C:\Windows\system32\winsta.dll
wintrust.dll        C:\Windows\system32\wintrust.dll
wkscli.dll        C:\Windows\system32\wkscli.dll
wldap32.dll        C:\Windows\system32\wldap32.dll
ws2_32.dll        C:\Windows\system32\ws2_32.dll
wsock32.dll        C:\Windows\system32\wsock32.dll
wtsapi32.dll        C:\Windows\system32\wtsapi32.dll
xmllite.dll        C:\Windows\system32\xmllite.dll

I doubt it'll work, but you can try.
[Image: doty7Xn.gif]

10 ʏᴇᴀʀs sɪɴᴄᴇ ɪʀᴄ ɢᴏᴏᴅ.ɪ ᴡᴀʟᴋ ᴛʜʀᴏᴜɢʜ ᴛʜᴇ ᴇᴍᴘᴛʏ sᴛʀᴇᴇᴛs ᴛʀʏɪɴɢ ᴛᴏ ᴛʜɪɴᴋ ᴏғ sᴏᴍᴇᴛʜɪɴɢ ᴇʟsᴇ ʙᴜᴛ ᴍʏ ᴘᴀᴛʜ ᴀʟᴡᴀʏs ʟᴇᴀᴅs ᴛᴏ ᴛʜᴇ ɪʀᴄ. ɪ sᴛᴀʀᴇ ᴀᴛ ᴛʜᴇ sᴄʀᴇᴇɴ ғᴏʀ ʜᴏᴜʀs ᴀɴᴅ ᴛʀʏ ᴛᴏ sᴜᴍᴍᴏɴ ᴛʜᴇ ɢᴏᴏᴅ ɪʀᴄ. ɪ ᴡᴀᴛᴄʜ ᴏᴛʜᴇʀ ɪʀᴄ ᴄʜᴀɴɴᴇʟs ʙᴜᴛ ɪᴛ ɪs ɴᴏ ɢᴏᴏᴅ. ɪ ᴘᴇsᴛᴇʀ ᴢᴏʀᴛ ᴀɴᴅ ᴛʀʏ ᴛᴏ ʀᴇsɪsᴛ ʜɪs sᴇxɪɴᴇss ʙᴜᴛ ɪᴛ ɪs ᴀʟʟ ᴍᴇᴀɴɪɴɢʟᴇss. ᴛʜᴇ ᴇɴᴅ ɪs ɴᴇᴀʀ.ɪ ᴛʜᴇɴ ᴜsᴜᴀʟʟʏ ʀᴇᴀᴅ sᴏᴍᴇ ᴏʟᴅ ɪʀᴄ ʟᴏɢs ᴀɴᴅ ᴄʀʏ ᴍʏsᴇʟғ ᴛᴏ sʟᴇᴇᴘ.


Reply
Thanks given by:
#4
uhoh, that's a whole lot....
do you know if they have to stay on the same level as the exe or if I can move it into a folder?

and yes, our school computers don't have c++ runtime environment :(
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

"Freeze, you're under vrest!" - Mark, probably.

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by:
#5
They have to be in the same folder as the exe. I'm pretty sure you have to add them to the registery, but I may be wrong.
[Image: doty7Xn.gif]

10 ʏᴇᴀʀs sɪɴᴄᴇ ɪʀᴄ ɢᴏᴏᴅ.ɪ ᴡᴀʟᴋ ᴛʜʀᴏᴜɢʜ ᴛʜᴇ ᴇᴍᴘᴛʏ sᴛʀᴇᴇᴛs ᴛʀʏɪɴɢ ᴛᴏ ᴛʜɪɴᴋ ᴏғ sᴏᴍᴇᴛʜɪɴɢ ᴇʟsᴇ ʙᴜᴛ ᴍʏ ᴘᴀᴛʜ ᴀʟᴡᴀʏs ʟᴇᴀᴅs ᴛᴏ ᴛʜᴇ ɪʀᴄ. ɪ sᴛᴀʀᴇ ᴀᴛ ᴛʜᴇ sᴄʀᴇᴇɴ ғᴏʀ ʜᴏᴜʀs ᴀɴᴅ ᴛʀʏ ᴛᴏ sᴜᴍᴍᴏɴ ᴛʜᴇ ɢᴏᴏᴅ ɪʀᴄ. ɪ ᴡᴀᴛᴄʜ ᴏᴛʜᴇʀ ɪʀᴄ ᴄʜᴀɴɴᴇʟs ʙᴜᴛ ɪᴛ ɪs ɴᴏ ɢᴏᴏᴅ. ɪ ᴘᴇsᴛᴇʀ ᴢᴏʀᴛ ᴀɴᴅ ᴛʀʏ ᴛᴏ ʀᴇsɪsᴛ ʜɪs sᴇxɪɴᴇss ʙᴜᴛ ɪᴛ ɪs ᴀʟʟ ᴍᴇᴀɴɪɴɢʟᴇss. ᴛʜᴇ ᴇɴᴅ ɪs ɴᴇᴀʀ.ɪ ᴛʜᴇɴ ᴜsᴜᴀʟʟʏ ʀᴇᴀᴅ sᴏᴍᴇ ᴏʟᴅ ɪʀᴄ ʟᴏɢs ᴀɴᴅ ᴄʀʏ ᴍʏsᴇʟғ ᴛᴏ sʟᴇᴇᴘ.


Reply
Thanks given by:
#6
I'll just try it tomorrow :P
I copied all dll's from system32 (because I'm lazy) into a folder on the same level as the exe. Let's see and hope it works....

--

edit: didn't work :(
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

"Freeze, you're under vrest!" - Mark, probably.

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by:
#7
I've known that there is a program called "Virtual Application Studio" by Xenocode http://xenocode.com. It can make portable program which have a runtime environment built in. You can download a trial on its homepage. This is a screenshot:

[Image: jmodvas61rt3.jpg]

I don't know if it has our neccessary runtime(s). You can download it and try. As I know, it has flash/shockwave player, .NET Framework, Java, Adobe Reader.
Class 9C ---- Ha Noi - Amsterdam Specialized High School
Ams9c ~~~ http://ams9c.forumup.vn ~~~9cAms
tgquan67's inventory
[Image: tgquan67inventory900x30pz9.jpg]
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)