Recent Posts

Pages: [1] 2 3 4 5 6 ... 10
1
/ DOSBox.Windows.95B.OSR2.DirectX6.1.Portable-HcH
« Last post by HardcoreHacker on August 16, 2017, 10:06:48 PM »
DOSBox.Windows.95B.OSR2.DirectX6.1.Portable-HcH


About:
Thanks to this script, playing a game in Windows 95 through DosBox was never this easy!

Due file only limitations of Dosbox's internal copy function there is no subdirectory copy support, and we want that! This synchronizes the content of "%CD%\Game" to a Windows 95 HDD mounted in Dosbox, making the data available inside Windows once it's booted, because once Windows is booted, we will loose connection to the local filesystem. This meant someone usually uses a virtual driver or IMG editor of some sort to add new files/games/programs to a Windows 95 DosBox. This trick uses DosBox to synchronize the files inside the \Game directory with C:\Game inside Windows 95, using a expanded copy script to support subdirectories. The script will be generated by your local system in \Game in DosBox's acceptable commands, then it will boot to Windows.

Code: (Windows95-FILECOPY.bat) [Select]
@ECHO OFF
SETLOCAL ENABLEDELAYEDEXPANSION
PUSDH "%~dp0"

REM :: Due file only limitations of Dosbox's internal copy function there is no subdirectory copy support, and we want it! ::
REM :: This synchronizes the content of "%CD%\Game" to a Windows 95 HDD mounted in Dosbox ::
REM :: Thanks to the script, playing a game in Windows 95 was never this easy:
REM :: Step 1. Extract game to "%CD%\Game"
REM :: Step 2. Start "Windows95-FILECOPY.bat". The script generates a list of directories to create and files to copy from \Game.
REM :: Step 3. Automatically the script will start Dosbox and launch the generated script, it's now copying from the \Game dir to the Win95 HDD
REM ::         This is important, if we start Windows 95, we'll loose the D: drive because it's mounted through Dosbox, now it will copy the content to that HDD so we can use it in Windows 95!

SET OUTPUT=Game\filecopy.bat
if exist %OUTPUT% del /f %OUTPUT%

REM :: Get local directory name in 8.3 format to strip later on from the full filepaths of the files to copy ::
FOR /F "tokens=*" %%A IN ('echo %CD%\Game') DO set FIND=%%~sA

REM :: Get a sub directory list to create the directories before copying ::
FOR /F "tokens=*" %%A IN ('dir /ad /s /b .\Game\*.*') DO (echo Found: .%%~sA
set replace=
set line=%%~sA
set newline=!line:%find%=%replace%!
echo mkdir c:\Game!newline!>>!OUTPUT!)

REM :: Get filenames of the files to copy in 8.3 format ::
FOR /F "tokens=*" %%A IN ('dir /a-d /s /b .\Game\*.*') DO call :THETRICK %%~sA

REM :: Now here's the trick, this removes the directories before the main path so the simple 16bit copy command will also copy the subdirectories ::
:THETRICK
set replace=
if [%1]==[] start "DOSBox" DOSBox.exe -noconsole -conf Windows95-FILECOPY.conf
for %%F in (%1) do (set "line=%%F"
set newline=!line:%find%=%replace%!
echo Found: .!newline!
echo copy /y d:!newline! c:\Game!newline!>>!OUTPUT!)

Code: (Windows95-FILECOPY.conf Autoexec lines) [Select]
imgmount c: hdd-1gb-c.img -size 512,63,64,520 -fs fat
mount d .\Game
call d:\filecopy.bat
boot -l c

Usage:
Step 1. Extract game to "%CD%\Game"
Step 2. Start "Windows95-FILECOPY.bat". The script generates a list of directories to create and files to copy from \Game.
Step 3. Automatically the script will start Dosbox and launch the generated script, it's now copying from the \Game dir to the Win95 HDD. This is important, if we start Windows 95, we'll loose the D: drive because it's mounted through Dosbox, now it will copy the content to that HDD so we can use it in Windows 95!

Details:
* Sound Blaster (with updated Win95 driver)
* S3 VGA (with updated Win95 driver)
* DirectX 6.1
* 64MB RAM

Games tested:
* Monster Truck Madness
* Doom95
* Beavis & Butthead: Virtual Stupidity
* Fury 3

Download:
DOSBox.Windows.95B.OSR2.DirectX6.1.Portable-HcH.rar (134.5 MB)
Full package, including prepared 1GB FAT HDD IMG, Windows 95B OSR2, DirectX6.1, copy scripts and DOSBox v0.74
2
/ [BAT] Use WMI to list, (un)install software on remote systems
« Last post by HardcoreHacker on July 31, 2017, 09:44:38 AM »
Hey sysadmins, it has come to my attention that many sysadmins don't use the power of WMI, when I learnt it, it made my life easier, so let's share here what made it so easy:

If you are a little bit of a scripter you can easily make a script to run on all the computers on your network:

Basics:

index software packages:
wmic /node:%CNAME% product get name,version,vendor

index software based on vendor:
wmic /node:%CNAME% product where "vendor like 'Micro%'" get name,vendor

index software based on version:
wmic /node:127.0.0.1 product where "version like '7%'"

uninstall a certain software package:
wmic /node:%CNAME% product where "name='Adobe AIR'" call uninstall /nointeractive

uninstall all Acrobat on a LIST of computers (divided by newlines):
wmic /failfast:on /node:@"c:\computers.txt" product where name="Acrobat.com" call uninstall /nointeractive

uninstall all HP bloatware of a system (mutiple reboots required)
wmic /node:%CNAME% product where "vendor like 'Hewlett%'" call uninstall /nointeractive

install a msi:
wmic /node:%CNAME% product call install true,"" , "C:\%msiname%"
(please be warned as you first need to upload your MSI file to the remote station before you can deploy it there, I am sure you can make some easy script that does all this.
I have my simple networkscanner script setup to run together with wmic so each found system will receive the commands I define. With minor tweaking I can also patch according to OS version or presence of certain software for example. This made life a whole lot easier)


Usage:

You can easily combine this with something like: "SET /P CNAME=Enter target computername: " , if you put that in front of the command, and the command seeks %CNAME% for node, you can quickly remote command a system. Or combine it with a scanner: the code is a little iffy, but here's some shit-simple-ping-based-network-scanner-script that looks neat: http://www.techknow.one/forum/index.php?topic=9380.0 and since it's just batch code you can modify it easily.

Checks: ALWAYS check AND log if software is installed succesfully, use %ERRORLEVEL% to determine if a installation failed or was a succes.


Simple example of a script listing all MSI files in it's directory, mapping them to a number for easy selection, and deploying to a remote system:
Code: [Select]
@echo off > TMP1
:BOF
set #=0
setLocal EnableDelayedExpansion
cls
echo.
echo Remote App MSI Installer
echo.
for /f "tokens=*" %%D in ('dir /b *.msi') do (
set /a #+=1
echo [!#!] %%D >> TMP1 )
echo. >>TMP1
type TMP1|more
set /p dirNUM=Enter MSI number:
find "[!dirNUM!]" < TMP1 > TMP2
for /f "tokens=2" %%D in (TMP2) do set msiname=%%D
del /q TMP1 && del /q TMP2
set /p cname=Input computer name:
xcopy "%msiname%" "\\%cname%\c$" /y
if not exist "\\%cname%\c$\%msiname%" color 0c && rem cls && echo ERROR: FILE NOT FOUND! && pause && goto EOF
wmic /node:%CNAME% product call install true,"" , "C:\%msiname%"
echo.
echo Removing installation files from remote. . .
echo.
del /f "\\%cname%\c$\%MSINAME%"
echo Done && echo. && pause
goto :BOF
:EOF

Advanced example, including remote registry to deploy application settings:
Code: [Select]
@echo off > TMP1
:BOF
set #=0
setLocal EnableDelayedExpansion
cls
echo.
echo Remote App MSI Installer
echo.
for /f "tokens=*" %%D in ('dir /b *.msi') do (
set /a #+=1
echo [!#!] %%D >> TMP1 )
echo. >>TMP1
type TMP1|more
set /p dirNUM=Enter MSI number:
find "[!dirNUM!]" < TMP1 > TMP2
for /f "tokens=2" %%D in (TMP2) do set msiname=%%D
del /q TMP1 && del /q TMP2
set /p cname=Input computer name:
xcopy "%msiname%" "\\%cname%\c$" /y
if not exist "\\%cname%\c$\%msiname%" color 0c && rem cls && echo ERROR: FILE NOT FOUND! && pause && goto EOF
wmic /node:%CNAME% product call install true,"" , "C:\%msiname%"
sc \\%CNAME% start "remoteregistry"
echo Delaying for service to startup properly ...
ping %CNAME% -n 3
REG ADD \\%CNAME%\HKLM\Software\Wow6432Node\TightVNC\Server /v Password /t REG_BINARY /d "31bb662aace625aa" /f
REG ADD \\%CNAME%\HKLM\Software\Wow6432Node\TightVNC\Server /v ControlPassword /t REG_BINARY /d "31bb662aace625aa" /f
REG ADD \\%CNAME%\HKLM\Software\Wow6432Node\TightVNC\Server /t REG_DWORD /v SaveLogToAllUsersPath /d "0" /f
ping %CNAME% -n 5
echo.
echo Removing installation files from remote. . .
echo.
del /f "\\%cname%\c$\%MSINAME%"
echo Done && echo. && pause
goto :BOF
:EOF

Enjoy being more creative in your solutions.

Enjoy not installing third party software on servers and domain controllers (feeding it domain admin credentials and hope that it doesn't call home)

Enjoy not needing to pay for simple solutions.

Have a nice day
3
/ Re: [WM8850] Universal Uberoid v3.1 JB 4.1.1 22NOV2013
« Last post by HardcoreHacker on June 26, 2017, 01:43:32 PM »


HcH - been trying to get ahold of you. I wanted to send you the mods I  made to Uberoid (Android 4.1) for
CIFS network mounts and also for full USB host support (OTG)

I have a build of Android 5.0 that came on a generic WM8880 7" Netbook.  It's interesting because there are
a few goodies in the FIrmwareInstall directory, ie: a root script, alternate set of autorun.wmt scripts that boot
from SD card, and a launcher that was written for a WM8880 based car radio.

I have gotten this firmware to successfully update an iCraig CLP288 from Android 4.2 to Android 5.0.  I would
like to share it with the forum by putting the files in your downloads section.

Send me a private message with your email address, please ?
You've got mail :)
4
/ Re: [WM8850] Universal Uberoid v3.1 JB 4.1.1 22NOV2013
« Last post by allany2525 on June 25, 2017, 02:45:30 AM »


HcH - been trying to get ahold of you. I wanted to send you the mods I  made to Uberoid (Android 4.1) for
CIFS network mounts and also for full USB host support (OTG)

I have a build of Android 5.0 that came on a generic WM8880 7" Netbook.  It's interesting because there are
a few goodies in the FIrmwareInstall directory, ie: a root script, alternate set of autorun.wmt scripts that boot
from SD card, and a launcher that was written for a WM8880 based car radio.

I have gotten this firmware to successfully update an iCraig CLP288 from Android 4.2 to Android 5.0.  I would
like to share it with the forum by putting the files in your downloads section.

Send me a private message with your email address, please ?
5
/ Re: [WM8850] Universal Uberoid v3.1 JB 4.1.1 22NOV2013
« Last post by HardcoreHacker on June 21, 2017, 05:02:46 PM »
Start with the basics.... what make and model device are you using?

CPU? 

amount of RAM ?
Hey allany2525,

just a small update for you, still no 8880 :( I think it's either lost or stuck at customs.

@abhilash:

if you experience "erasing cache/misc partition" problems or other stuck on installation problems, it's because of some incompatibility.

I read your other post just now, and see this one now, did you try to reflash from CE to Android ?

HcH
6
/ Re: [WM8850] Windows CE 7.0
« Last post by HardcoreHacker on June 21, 2017, 04:59:40 PM »
Sir.
I had booted wince 7.0 in my nextab. But the touch display, keyboard and mouse was not working . Please help me.
I'm sorry to read that! So USB is not working as well? When you use WinCE you pretty much have to use a USB keyboard or mouse :(
7
/ Re: [WM8850] Universal Uberoid v3.1 JB 4.1.1 22NOV2013
« Last post by allany2525 on June 21, 2017, 03:20:17 AM »
Start with the basics.... what make and model device are you using?

CPU? 

amount of RAM ?

8
/ Re: [WM8850] Universal Uberoid v3.1 JB 4.1.1 22NOV2013
« Last post by abhilash2411 on June 18, 2017, 05:30:54 AM »
Sir.
I am trying to boot this but it stuck in "erasing cache/misc partition "
What to do?
9
/ Re: [WM8850] Windows CE 7.0
« Last post by abhilash2411 on June 18, 2017, 05:25:22 AM »
Sir.
I had booted wince 7.0 in my nextab. But the touch display, keyboard and mouse was not working . Please help me.
10
/ Re: [WM8850] Universal Uberoid v3.1 JB 4.1.1 22NOV2013
« Last post by huckleberrypie on May 13, 2017, 02:08:21 PM »
I wish I could get ahold of HCH - I want to be able to upload the ROMs I found so everyone can
toy around with them and maybe we can get some new Uberoid versions started foir Android 4.4 and 5.0.

Actually it was quite shocking and surprising to come across a newer MW8880 device with a more
recent version of Android.  There are some extra goodies in the factory firmware that came
with the device - ie: software from a car stereo device with FM radio and GPS and Bluetooth.

(Mtk6620 4 in one WiFi/GPS/FM/Bluetooth adapter.)

If HCH needs some free storage space, I have a private http and ftp server and would be
willing to host the forum downloads on my private server, for free.

I think that some new Uberoid releases would definitely revive interest in the forum....if we
could get Android 4.4 and 5.0 Uberoid releases into the hands of the members here.

I also have a number of other projects that you might want to host, e.g. a recovery for an MT6580-powered Galaxy S7 clone and some utils for the LeapFrog Epic, amongst other things. ;)
Pages: [1] 2 3 4 5 6 ... 10
Powered by EzPortal